/* --- 1. VARIABLES --- */
:root {
    --fucsia: #EE5B9B;
    --fucsia-dark: #d44182;
    --fucsia-soft: #FFF5F9;
    --border-soft: #fce2ee;
    --shadow: rgba(238, 91, 155, 0.3);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --max-width: 1200px;
}

/* --- 2. CONFIGURACIÓN BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    background-color: #fdfdfd;
    color: #444;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 3. HEADER --- */
#main-header {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid var(--fucsia);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
}

.brand-logo { height: 65px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--fucsia); }

/* --- 4. HERO SECTION --- */
.home-hero {
    width: 100%;
    background: #fff;
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
}

/* Pequeño label encima del título */
.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fucsia);
    background: var(--fucsia-soft);
    border: 1px solid var(--border-soft);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.hero-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
    line-height: 1.15;
}

/* La palabra "Belleza" en fucsia automáticamente via CSS */
.hero-text h2 em {
    font-style: italic;
    color: var(--fucsia);
}

.hero-text p {
    max-width: 560px;
    margin: 0 auto;
    color: #888;
    font-size: 1rem;
    font-weight: 300;
}

/* Línea decorativa bajo el hero */
.hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--fucsia), var(--fucsia-soft));
    border-radius: 2px;
    margin: 28px auto 0;
}

/* --- 5. CUADRÍCULA DE SERVICIOS --- */
.secondary-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: var(--max-width);
    margin: 30px auto 10px;
    padding: 0 20px;
}

/* --- 6. TARJETAS DE SERVICIO --- */
.content-section {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    overflow: hidden;
    text-align: left;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.content-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--fucsia);
}

/* Contenedor de imagen: con margen y bordes redondeados */
.service-image {
    width: calc(100% - 20px);
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
    margin: 10px 10px 0;
    border-radius: 14px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.content-section:hover .service-image img {
    transform: scale(1.06);
}

/* Bloque de texto dentro de la tarjeta */
.card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.content-section h2 {
    color: #1a1a1a;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.content-section p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 300;
    line-height: 1.65;
}

/* Botón "Ver más" centrado */
.price-tag {
    display: block;
    text-align: center;
    align-self: stretch;
    background: var(--fucsia-soft);
    color: var(--fucsia);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    border: 1px solid var(--border-soft);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.price-tag:hover {
    background: var(--fucsia);
    color: #fff;
    border-color: var(--fucsia);
}

/* --- 7. BOTONES --- */
.btn-registro {
    background: #ffffff !important;
    color: var(--fucsia) !important;
    border: 2px solid var(--fucsia) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-registro:hover {
    background: var(--fucsia) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 91, 155, 0.5);
}

/* --- Sección CTA al final --- */
.cta-bottom {
    padding: 70px 20px;
    text-align: center;
    background: var(--fucsia-soft);
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid var(--border-soft);
}

.cta-bottom p {
    font-size: 1.25rem;
    margin-bottom: 22px;
    color: #333;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}

/* --- 8. FOOTER --- */
#main-footer {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-reusable {
    background: #fff;
    border-top: 1px solid var(--border-soft);
    padding: 40px 20px;
    text-align: center;
}

.footer-map {
    max-width: var(--max-width);
    margin: 0 auto 30px;
}

.footer-map h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--fucsia);
    margin-bottom: 6px;
}

.footer-map p {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer-map iframe {
    border-radius: 14px;
    overflow: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--fucsia);
}

/* --- FOOTER COMPLETO: ICONOS + LINKS LEGALES --- */

.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.icono {
    min-width: 35px;
    min-height: 35px;
    max-width: 36px;
    max-height: 36px
    ;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.social-links a:hover .icono {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 5px 15px var(--fucsia));
}

.footer-content p {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 14px;
}

.links-legales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.links-legales a {
    text-decoration: none;
    color: #bbb;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.links-legales a:hover {
    color: var(--fucsia);
}

.links-legales a:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #eee;
    pointer-events: none;
}

/* --- 9. RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-text h2 { font-size: 2.4rem; }
    .secondary-sections {
        grid-template-columns: 1fr;
        padding: 0 14px;
    }
    .service-image { height: 220px; }
    .card-body { padding: 18px 18px 22px; }
}

@media (max-width: 480px) {
    .hero-text h2 { font-size: 2rem; }
    .social-links { flex-direction: row; flex-wrap: wrap; }
    .links-legales {
        flex-direction: column;
        gap: 8px;
    }
    .links-legales a:not(:last-child)::after { display: none; }
}