/* ============================================
   VARIABLES Y RESET
============================================ */
:root {
    --violet:        #5B21B6;
    --violet-mid:    #7C3AED;
    --violet-soft:   #8B5CF6;
    --lila:          #C4B5FD;
    --lila-light:    #EDE9FE;
    --lila-xlight:   #F5F3FF;
    --gold:          #7A9E95;
    --gold-light:    #9DBDB5;
    --white:         #FFFFFF;
    --off-white:     #FAFAFA;
    --text-dark:     #1F1335;
    --text-mid:      #4B5563;
    --text-soft:     #9CA3AF;
    --font-display:  'Cormorant Garamond', Georgia, serif;
    --font-body:     'Lato', -apple-system, sans-serif;
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text-dark); background: var(--white); overflow-x: hidden; line-height: 1.7; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ============================================
   UTILIDADES
============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--violet-soft);
    margin-bottom: 18px;
}

.h1, .h2 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.1;
}
.h1 { font-size: clamp(52px, 10vw, 120px); }
.h2 { font-size: clamp(38px, 5vw, 64px); }
.h2 em { font-style: italic; color: var(--violet-mid); }

.lead {
    font-size: 17px;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.85;
    margin-top: 20px;
}

/* ============================================
   ANIMACIONES DE SCROLL
============================================ */
.anim {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.anim.from-left  { transform: translateX(-36px); }
.anim.from-right { transform: translateX(36px); }
.anim.visible    { opacity: 1; transform: translate(0); }

/* ============================================
   NAVBAR
============================================ */
#navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 44px;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    padding: 16px 44px;
    box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--white);
    transition: color 0.4s;
}
#navbar.scrolled .nav-logo { color: var(--violet); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 12.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--violet); }

.nav-wa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gold);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    transition: background 0.3s, transform 0.3s !important;
}
.nav-wa:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-wa svg  { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 26px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: background 0.4s, transform 0.3s;
}
#navbar.scrolled .hamburger span { background: var(--violet); }

/* Mobile overlay menu */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 950;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
#mobile-menu a:hover { color: var(--violet-mid); }
.mobile-close {
    position: absolute;
    top: 22px; right: 26px;
    font-size: 36px;
    cursor: pointer;
    color: var(--text-soft);
    line-height: 1;
}

/* ============================================
   HERO
============================================ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/hero-img.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(55,0,100,0.58) 0%, rgba(30,0,70,0.72) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 840px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 24px;
    display: block;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(72px, 14vw, 148px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.hero-name em {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--lila);
}

.hero-rule {
    width: 56px;
    height: 1px;
    background: rgba(196,181,253,0.5);
    margin: 28px auto;
}

.hero-slogan {
    font-family: var(--font-display);
    font-size: clamp(17px, 2.5vw, 24px);
    font-weight: 300;
    font-style: italic;
    opacity: 0.88;
    margin-bottom: 44px;
    letter-spacing: 0.3px;
}

/* Botones WhatsApp */
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--white);
    padding: 16px 38px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 36px rgba(122,158,149,0.38);
}
.btn-wa:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(122,158,149,0.5);
}
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }

.hero-scroll-hint {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: nudge 2.2s ease-in-out infinite;
}
.hero-scroll-hint::after {
    content: '';
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,0.3);
}
@keyframes nudge {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    55%       { transform: translateX(-50%) translateY(7px); }
}

/* ============================================
   SECCIÓN: QUÉ ES ALMA BELLA
============================================ */
#about {
    padding: 130px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}
.about-img-wrap img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 2px;
}
.about-img-wrap::before {
    content: '';
    position: absolute;
    top: -18px; left: -18px;
    right: 18px; bottom: 18px;
    border: 1px solid var(--lila);
    border-radius: 2px;
    z-index: -1;
}

.about-text p { color: var(--text-mid); font-size: 16.5px; font-weight: 300; margin-top: 18px; line-height: 1.9; }
.about-rule { width: 48px; height: 2px; background: linear-gradient(to right, var(--violet-mid), var(--lila)); margin-top: 36px; }

/* ============================================
   SECCIÓN: SERVICIOS
============================================ */
#services {
    padding: 130px 0;
    background: var(--lila-xlight);
}
.services-hd {
    text-align: center;
    margin-bottom: 76px;
}
.services-hd .lead { max-width: 560px; margin: 16px auto 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.s-card {
    background: var(--white);
    padding: 42px 30px 36px;
    border-radius: 3px;
    text-align: center;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.s-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet-mid), var(--lila));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease);
}
.s-card:hover { transform: translateY(-7px); box-shadow: 0 22px 60px rgba(92,40,200,0.1); border-color: var(--lila); }
.s-card:hover::after { transform: scaleX(1); }

.s-icon {
    width: 58px; height: 58px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--lila-light);
    border-radius: 50%;
}
.s-icon svg { width: 26px; height: 26px; fill: var(--violet-mid); }

.s-name {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.s-desc {
    font-size: 13.5px;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.75;
}

/* ============================================
   SECCIÓN: SOBRE SILVIA
============================================ */
#silvia {
    padding: 130px 0;
    background: var(--white);
}
.silvia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}
.silvia-img-wrap {
    position: relative;
}
.silvia-img-wrap img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: center top;
    border-radius: 2px;
}
.silvia-img-wrap::after {
    content: '';
    position: absolute;
    top: 18px; right: -18px;
    bottom: -18px; left: 18px;
    border: 1px solid var(--lila);
    border-radius: 2px;
    z-index: -1;
}
.silvia-copy blockquote {
    font-family: var(--font-display);
    font-size: clamp(19px, 2.2vw, 27px);
    font-style: italic;
    font-weight: 300;
    color: var(--violet);
    line-height: 1.5;
    padding-left: 22px;
    border-left: 2px solid var(--lila);
    margin: 26px 0;
}
.silvia-copy p { color: var(--text-mid); font-size: 16.5px; font-weight: 300; line-height: 1.9; margin-top: 16px; }
.silvia-sig {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 26px;
    font-style: italic;
    color: var(--violet-mid);
    margin-top: 32px;
}

/* ============================================
   SECCIÓN: POR QUÉ ALMA BELLA
============================================ */
#why {
    padding: 130px 0;
    background: linear-gradient(140deg, #4C1D95 0%, #2E1065 100%);
    color: var(--white);
}
.why-hd {
    text-align: center;
    margin-bottom: 76px;
}
.why-hd .tag { color: var(--lila); }
.why-hd .h2 { color: var(--white); }
.why-hd .h2 em { color: var(--lila); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.w-item { padding: 8px 10px; }
.w-icon {
    width: 66px; height: 66px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(196,181,253,0.28);
    border-radius: 50%;
}
.w-icon svg { width: 28px; height: 28px; fill: var(--lila); }
.w-title { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 12px; }
.w-desc  { font-size: 14px; opacity: 0.72; line-height: 1.75; font-weight: 300; }

/* ============================================
   SECCIÓN: TESTIMONIOS
============================================ */
#testimonials {
    padding: 130px 0;
    background: var(--off-white);
}
.test-hd { text-align: center; margin-bottom: 72px; }

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.t-card {
    background: var(--white);
    padding: 48px 34px 40px;
    border-radius: 3px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.046);
    position: relative;
}
.t-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 6px; }
.t-open  {
    font-family: var(--font-display);
    font-size: 88px;
    line-height: 0.45;
    color: var(--lila);
    display: block;
    margin-bottom: 22px;
}
.t-text {
    font-family: var(--font-display);
    font-size: 17.5px;
    font-style: italic;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 32px;
}
.t-author { display: flex; align-items: center; gap: 13px; }
.t-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.t-name    { font-size: 13.5px; font-weight: 700; color: var(--text-dark); }
.t-service { font-size: 12px; color: var(--violet-soft); margin-top: 2px; }

/* ============================================
   SECCIÓN: CONTACTO
============================================ */
#contact {
    padding: 130px 0 0;
    background: var(--white);
}
.contact-hd { text-align: center; margin-bottom: 76px; }
.contact-hd .lead { max-width: 520px; margin: 16px auto 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 100px;
}

.c-subtitle {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 34px;
    color: var(--text-dark);
}
.c-item {
    display: flex;
    gap: 16px;
    margin-bottom: 26px;
    align-items: flex-start;
}
.c-icon {
    width: 42px; height: 42px;
    background: var(--lila-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.c-icon svg { width: 18px; height: 18px; fill: var(--violet-mid); }
.c-label { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--violet-soft); margin-bottom: 4px; font-weight: 700; }
.c-value  { font-size: 16px; color: var(--text-dark); font-weight: 300; }

.btn-wa-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--white);
    padding: 16px 34px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 18px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 22px rgba(122,158,149,0.28);
}
.btn-wa-lg:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(122,158,149,0.42); }
.btn-wa-lg svg { width: 20px; height: 20px; fill: currentColor; }

.social-row { display: flex; gap: 12px; margin-top: 34px; }
.soc-link {
    width: 44px; height: 44px;
    border: 1px solid var(--lila);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--violet-mid);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.soc-link:hover { background: var(--violet-mid); border-color: var(--violet-mid); color: var(--white); }
.soc-link svg { width: 18px; height: 18px; fill: currentColor; }

.map-wrap {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.08);
}
.map-wrap iframe { width: 100%; height: 440px; border: none; display: block; }

/* ============================================
   FOOTER
============================================ */
footer {
    background: #13002A;
    color: rgba(255,255,255,0.55);
    padding: 54px 0 42px;
    text-align: center;
}
.f-logo  { font-family: var(--font-display); font-size: 34px; font-weight: 300; color: var(--white); margin-bottom: 8px; }
.f-slogan{ font-family: var(--font-display); font-style: italic; color: var(--lila); font-size: 16px; }
.f-rule  { width: 36px; height: 1px; background: rgba(196,181,253,0.25); margin: 22px auto; }
.f-copy  { font-size: 13px; }
.f-sub   { font-size: 12px; opacity: 0.4; margin-top: 6px; }

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
============================================ */
.wa-float {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 880;
    width: 62px; height: 62px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 28px rgba(122,158,149,0.45);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(122,158,149,0.6); animation: none; }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes waPulse {
    0%,100% { box-shadow: 0 8px 28px rgba(122,158,149,0.45); }
    50%      { box-shadow: 0 8px 28px rgba(122,158,149,0.7), 0 0 0 14px rgba(122,158,149,0.08); }
}

/* ============================================
   SEPARADOR DECORATIVO ENTRE SECCIONES
============================================ */
.sep {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--violet-mid), var(--lila));
    margin-top: 36px;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    #navbar { padding: 18px 22px; }
    #navbar.scrolled { padding: 13px 22px; }

    .nav-links { display: none; }
    .hamburger { display: flex; }

    .about-grid,
    .silvia-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }

    .about-img-wrap img,
    .silvia-img-wrap img { height: 360px; }

    .silvia-img-wrap { order: 1; }
    .silvia-copy { order: 2; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .test-grid { grid-template-columns: 1fr; }

    #about, #services, #silvia, #why, #testimonials, #contact { padding-top: 80px; padding-bottom: 80px; }
    #contact { padding-bottom: 0; }

    .hero-bg { background-attachment: scroll; }

    /* Espaciado interno de la sección Alma Bella en mobile */
    #about .tag         { margin-bottom: 14px; }
    #about .h2          { margin-bottom: 20px; line-height: 1.2; }
    #about .anim p      { margin-top: 16px; }
    #about .sep         { margin-top: 28px; }
}

@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .hero-name { letter-spacing: -1px; }
}
