/* === Sandra Acupuntura — mobile first === */
:root{
  --verde-oscuro:#2f4f3a;
  --verde-medio:#2f6e4c;
  --crema:#f5f1e8;
  --gris:#666;
  --whatsapp:#25d366;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--verde-oscuro);
  background:#fff;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:var(--verde-medio);text-decoration:none;}

/* ============== HEADER (mobile first) ============== */
header.site{
  background:#f9faf4;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e9e4d8;
  position:sticky;
  top:0;
  z-index:50;
}
header.site .brand{display:flex;align-items:center;}
header.site .logo-mini{height:50px;width:auto;}

/* Hamburger: por defecto visible (móvil) */
header.site .menu-toggle{
  background:none;border:none;cursor:pointer;
  width:42px;height:42px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;
  padding:0;
}
header.site .menu-toggle span{
  display:block;width:24px;height:2px;background:var(--verde-oscuro);
  transition:transform .2s,opacity .2s;
}

/* Nav móvil: panel oculto que se despliega */
header.site nav{
  position:fixed;
  top:70px;left:0;right:0;
  background:#f9faf4;
  display:flex;
  flex-direction:column;
  gap:0;
  padding:0;
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease,border-bottom-width .25s ease;
  border-bottom:0 solid #e9e4d8;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
body.nav-open header.site nav{
  max-height:240px;
  border-bottom-width:1px;
}
header.site nav a{
  padding:16px 24px;
  border-top:1px solid #f0ebde;
  font-size:16px;
  color:var(--verde-oscuro);
  font-weight:500;
}
header.site nav a:first-child{border-top:none;}

/* Animación hamburger → X */
body.nav-open header.site .menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
body.nav-open header.site .menu-toggle span:nth-child(2){opacity:0;}
body.nav-open header.site .menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ============== HERO (mobile first) ============== */
.hero{
  position:relative;
  min-height:calc(100vh - 70px);
  background-image:url('../img/hero-mobile.jpg');
  background-size:cover;
  background-position:52% 8%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
  padding:32px 18px 36px;
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,.2) 35%,rgba(0,0,0,.0) 55%,rgba(0,0,0,.6) 100%);
  z-index:1;
}
.hero-top,.hero-bottom{position:relative;z-index:2;width:100%;max-width:400px;}

.hero h1{
  font-size:36px;font-weight:300;line-height:1.1;margin-bottom:14px;
  letter-spacing:-.5px;text-shadow:0 2px 16px rgba(0,0,0,.6);
}
.hero h1 strong{font-weight:700;}
.hero p.subclaim{font-size:17px;font-weight:300;margin-bottom:8px;text-shadow:0 2px 12px rgba(0,0,0,.6);}
.hero p.cities{font-size:13px;font-weight:400;opacity:.92;margin-bottom:0;text-shadow:0 1px 8px rgba(0,0,0,.6);letter-spacing:.4px;line-height:1.5;}

.cta-row{display:flex;flex-direction:column;gap:12px;width:100%;}
.cta{
  padding:16px 28px;border-radius:50px;
  font-size:16px;font-weight:600;
  border:none;cursor:pointer;text-align:center;
  transition:transform .2s,box-shadow .2s;
  box-shadow:0 4px 14px rgba(0,0,0,.35);
  display:inline-block;width:100%;
}
.cta:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.45);}
.cta-primary{background:var(--verde-medio);color:#fff;}
.cta-whatsapp{background:var(--whatsapp);color:#fff;}

/* ============== SECCIONES GENÉRICAS ============== */
.section{padding:50px 18px;}
.section.bg-crema{background:var(--crema);}
.section .container{max-width:960px;margin:0 auto;}
.section h2{font-size:26px;font-weight:300;color:var(--verde-oscuro);margin-bottom:14px;text-align:center;}
.section p.lead{color:var(--gris);font-size:16px;text-align:center;max-width:680px;margin:0 auto;}

/* ============== SOBRE SANDRA ============== */
.sobre-grid{display:flex;flex-direction:column;gap:30px;align-items:center;}
.sobre-foto{width:100%;}
.sobre-foto img{width:100%;height:auto;border-radius:12px;box-shadow:0 12px 32px rgba(47,79,58,.15);display:block;}
.sobre-texto h2{text-align:left;margin-bottom:18px;}
.sobre-texto p{color:#555;font-size:16px;line-height:1.7;margin-bottom:14px;}

.reviews-badge{
  margin-top:26px;
  background:#fff;
  padding:20px 22px;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  gap:14px;
  box-shadow:0 4px 16px rgba(47,79,58,.08);
  text-decoration:none;
  transition:transform .2s,box-shadow .2s;
}
.reviews-badge:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(47,79,58,.12);
}

.reviews-head{display:flex;align-items:center;gap:12px;}
.reviews-head .google-g{width:34px;height:34px;flex-shrink:0;}
.reviews-head .biz-name{display:flex;flex-direction:column;line-height:1.3;}
.reviews-head .biz-name strong{font-size:15px;color:var(--verde-oscuro);font-weight:700;}
.reviews-head .biz-name span{font-size:12px;color:#888;}

.reviews-stats{display:flex;align-items:center;gap:14px;padding:4px 0;border-top:1px solid #f0ebde;padding-top:14px;}
.reviews-stats .stars-row{display:flex;align-items:center;gap:8px;}
.reviews-stats .stars{color:#f5a623;font-size:18px;letter-spacing:2px;}
.reviews-stats .rating-value{font-size:22px;font-weight:700;color:var(--verde-oscuro);}
.reviews-stats .reviews-count{color:#666;font-size:14px;margin-left:auto;}

.reviews-cta{
  color:var(--verde-medio);
  font-weight:600;
  font-size:14px;
  border-top:1px solid #f0ebde;
  padding-top:12px;
}

/* ============== TRATAMIENTOS ============== */
#tratamientos.section{padding-top:24px;}
.trat-intro{
  color:#555;
  font-size:15px;
  line-height:1.6;
  text-align:center;
  max-width:680px;
  margin:0 auto 8px;
}
.tratamientos-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:22px;
}
.tratamiento{
  background:#fff;
  border:1px solid #ece8db;
  border-radius:14px;
  padding:22px 20px;
  transition:transform .2s,box-shadow .2s,border-color .2s;
}
.tratamiento:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(47,79,58,.1);
  border-color:#d7d0bb;
}
.trat-icon{
  width:38px;
  height:38px;
  color:var(--verde-medio);
  margin-bottom:14px;
  display:block;
}
.tratamiento h3{
  font-size:17px;
  font-weight:600;
  color:var(--verde-oscuro);
  margin-bottom:8px;
  line-height:1.25;
}
.tratamiento p{
  font-size:14px;
  color:#666;
  line-height:1.55;
}

/* Tarjeta logo clicable (cierre del grid, lleva al mapa) */
.tratamiento-logo{
  grid-column:1/-1;
  display:block;
  padding:0;
  background:#fff;
  overflow:hidden;
  text-decoration:none;
  cursor:pointer;
}
.tratamiento-logo:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(47,79,58,.15);
  border-color:#d7d0bb;
}
.trat-logo-label{
  display:block;
  text-align:center;
  background:var(--verde-medio);
  color:#fff;
  font-size:13px;
  font-weight:600;
  padding:14px 16px;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.tratamiento-logo img{
  width:100%;
  height:auto;
  max-width:none;
  display:block;
}

/* ============== CONTACTO ============== */
.contacto{text-align:center;}
.contacto h2{margin-bottom:12px;}
.contacto-ctas{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:380px;
  margin:28px auto 20px;
}
.contacto-ctas .cta{width:100%;font-size:17px;padding:18px 26px;}
.horarios{
  color:#666;
  font-size:14px;
  margin-top:14px;
}

/* ============== FOOTER ============== */
.site-footer{
  background:var(--verde-oscuro);
  color:#dce8df;
  padding:50px 18px 28px;
}
.footer-container{
  max-width:960px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:30px;
  text-align:center;
}
.footer-brand{display:flex;flex-direction:column;align-items:center;gap:6px;}
.footer-logo{
  width:90px;height:auto;
  background:#f9faf4;
  border-radius:12px;
  padding:6px;
}
.footer-name{font-size:16px;color:#fff;font-weight:600;margin-top:6px;}
.footer-domain{
  font-size:14px;color:#bcd0bf;
  letter-spacing:.5px;
  text-decoration:none;
}
.footer-domain:hover{color:#fff;}
.footer-howto{
  font-size:13px;
  color:#a5b9a9;
  text-decoration:none;
  margin-top:4px;
  opacity:.75;
  transition:opacity .2s,color .2s;
}
.footer-howto:hover{opacity:1;color:#fff;text-decoration:underline;}

.footer-links{
  display:flex;flex-direction:column;gap:14px;align-items:center;
}
.footer-link{
  display:flex;align-items:center;gap:10px;
  color:#dce8df;text-decoration:none;
  font-size:15px;
  transition:color .2s;
}
.footer-link:hover{color:#fff;}
.footer-icon{width:20px;height:20px;flex-shrink:0;}

.footer-legal{
  display:flex;flex-direction:column;gap:6px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:22px;
  width:100%;
  font-size:13px;color:#a5b9a9;
}
.footer-legal a{color:#a5b9a9;text-decoration:underline;}
.footer-legal a:hover{color:#fff;}

/* ============== DESKTOP ≥ 721px ============== */
@media(min-width:721px){
  header.site{padding:14px 40px;}
  header.site .logo-mini{height:64px;}
  header.site .menu-toggle{display:none;}
  header.site nav{
    position:static;
    flex-direction:row;
    gap:32px;
    max-height:none;
    overflow:visible;
    padding:0;
    box-shadow:none;
    border-bottom:none;
    background:transparent;
  }
  header.site nav a{
    padding:0;border-top:none;font-size:15px;
  }
  header.site nav a:hover{color:var(--verde-medio);}

  .hero{
    min-height:calc(100vh - 92px);
    background-image:url('../img/hero.jpg');
    background-position:center;
    padding:60px 30px 50px;
  }
  .hero-top,.hero-bottom{max-width:800px;}
  .hero h1{font-size:60px;letter-spacing:-1px;margin-bottom:20px;}
  .hero p.subclaim{font-size:22px;margin-bottom:10px;}
  .hero p.cities{font-size:15px;letter-spacing:.5px;}
  .cta-row{flex-direction:row;justify-content:center;gap:14px;}
  .cta{width:auto;padding:12px 26px;font-size:14px;}

  .section{padding:80px 30px;}
  .section h2{font-size:32px;}

  /* SOBRE SANDRA en desktop: grid 2 columnas, badge debajo de la foto */
  .sobre-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "foto texto"
      "badge texto";
    column-gap:50px;
    row-gap:24px;
    align-items:start;
  }
  .sobre-foto{grid-area:foto;max-width:480px;}
  .sobre-texto{grid-area:texto;}
  .sobre-texto h2{font-size:36px;margin-bottom:22px;text-align:left;}
  .sobre-texto p{font-size:17px;}
  .reviews-badge{grid-area:badge;margin-top:0;max-width:480px;}

  /* TRATAMIENTOS desktop: grid 3 columnas */
  #tratamientos.section{padding-top:40px;}
  .trat-intro{font-size:16px;}
  .tratamientos-grid{grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px;}
  .tratamiento{padding:28px 24px;}
  .trat-icon{width:44px;height:44px;}
  .tratamiento h3{font-size:18px;}
  .tratamiento-logo{padding:0;}
  .tratamiento-logo img{max-width:none;}
  .trat-logo-label{font-size:14px;padding:16px 20px;}

  /* CONTACTO desktop */
  .contacto-ctas{flex-direction:row;justify-content:center;max-width:none;}
  .contacto-ctas .cta{width:auto;}

  /* FOOTER desktop */
  .site-footer{padding:60px 30px 32px;}
  .footer-container{flex-direction:row;justify-content:space-between;align-items:flex-start;text-align:left;flex-wrap:wrap;gap:40px;}
  .footer-brand{align-items:flex-start;}
  .footer-links{flex-direction:column;align-items:flex-start;gap:12px;}
  .footer-legal{flex-direction:row;justify-content:space-between;align-items:center;}
}
