
:root{
  --cream:#F8F4F0;
  --petrol:#1F3E4D;
  --petrol-light:#315B6B;
  --gold:#E1C896;
  --line:rgba(31,62,77,.14);
  --max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Montserrat",sans-serif;
  color:var(--petrol);
  background:var(--cream);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
.container{
  width:min(calc(100% - 48px),var(--max));
  margin-inline:auto;
}

/* ========================================
   HEADER
   ======================================== */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#F8F4F0;
  border-bottom:1px solid rgba(31,62,77,.08);
}

.header-inner{
  min-height:58px;
  display:grid;
  grid-template-columns:300px 1fr 300px;
  align-items:center;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  justify-self:start;
}

.header-logo{
  display:block;
  width:215px;
  height:auto;
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:38px;
  font-size:1rem;
  font-weight:500;
  white-space:nowrap;
}

.main-nav a{
  transition:opacity .2s ease;
}

.main-nav a:hover{
  opacity:.6;
}

.header-cta{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 19px;
  background:#1F3E4D;
  color:#fff;
  border-radius:10px;
  font-size:.88rem;
  font-weight:600;
  transition:transform .2s ease,opacity .2s ease;
}

.header-cta:hover{
  transform:translateY(-1px);
  opacity:.92;
}

.menu-toggle{
  display:none;
  border:0;
  background:transparent;
}

.menu-toggle span{
  display:block;
  width:25px;
  height:2px;
  background:var(--petrol);
  margin:5px 0;
}

/* ========================================
   HERO
   ======================================== */

.hero{
  background:#F8F4F0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  min-height:calc(100vh - 58px);
  align-items:stretch;
}

.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:80px 85px 80px 0;
}

.hero-credential{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:9px 16px;
  margin-bottom:38px;
  background:rgba(31,62,77,.12);
  color:#1F3E4D;
  border-radius:10px;
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.10em;
}

.hero-name{
  display:flex;
  align-items:baseline;
  gap:14px;
  margin:0 0 16px;
  font-size:clamp(3.3rem,4.7vw,5.1rem);
  line-height:.95;
  letter-spacing:-.045em;
  font-weight:700;
}

.hero-name-first{
  color:#1F3E4D;
}

.hero-name-last{
  color:#315B6B;
}

.hero-title{
  max-width:680px;
  margin:0 0 10px;
  color:#1F3E4D;
  font-size:clamp(1.55rem,2vw,2.15rem);
  line-height:1.22;
  letter-spacing:-.025em;
  font-weight:600;
}

.hero-description{
  max-width:650px;
  margin:0;
  color:#1F3E4D;
  font-size:1.05rem;
  line-height:1.75;
  font-weight:400;
}

.placeholder-photo{
  min-height:520px;
  background:
    linear-gradient(145deg,rgba(31,62,77,.08),rgba(225,200,150,.18)),
    #ebe6df;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(31,62,77,.45);
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.12em;
}

.hero-photo{
  min-height:calc(100vh - 58px);
}

/* ========================================
   TRES PILARES
   ======================================== */

.pillars{
  margin-top:30px;
  padding:72px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fffdfa;
}

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

.pillar{
  text-align:center;
}

.pillar-symbol{
  width:48px;
  height:48px;
  margin:0 auto 18px;
  border:1px solid var(--petrol);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:.78rem;
  font-weight:700;
}

.pillar h2{
  margin:0 0 10px;
  font-size:1.25rem;
}

.pillar p{
  margin:0 auto;
  max-width:320px;
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */

.section{
  padding:120px 0;
}

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

.section-copy h2,
.section-heading h2{
  margin:10px 0 22px;
  font-size:clamp(2rem,3.4vw,3.7rem);
  line-height:1.08;
  letter-spacing:-.035em;
}

.eyebrow{
  color:#9b7d57;
  font-size:.76rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.15em;
}

.section-heading{
  max-width:760px;
  margin-bottom:54px;
}

/* ========================================
   CONSULTAS
   ======================================== */

.services{
  background:#fffdfa;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}

.service-card{
  padding:42px;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--cream);
}

.service-kicker{
  display:block;
  margin-bottom:12px;
  color:#9b7d57;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.74rem;
  font-weight:700;
}

.service-card h3{
  font-size:1.65rem;
  line-height:1.2;
}

.service-meta{
  display:flex;
  flex-direction:column;
  margin:28px 0;
}

.service-meta strong{
  font-size:1.55rem;
}

.service-meta span{
  font-size:.9rem;
  opacity:.72;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 24px;
  border-radius:999px;
  background:var(--petrol);
  color:#fff;
  font-weight:600;
}

.button.gold{
  background:var(--gold);
  color:var(--petrol);
}

/* ========================================
   ANTROPOMETRÍA
   ======================================== */

.clean-list{
  list-style:none;
  padding:0;
}

.clean-list li{
  padding:9px 0 9px 22px;
  position:relative;
}

.clean-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:19px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gold);
}

/* ========================================
   CÓMO TRABAJO
   ======================================== */

.process{
  background:var(--petrol);
  color:#fff;
}

.eyebrow.light{
  color:var(--gold);
}

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

.process-grid article{
  padding-top:30px;
  border-top:1px solid rgba(255,255,255,.25);
}

.process-grid article>span{
  color:var(--gold);
  font-weight:700;
}

/* ========================================
   RESEÑAS
   ======================================== */

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

.testimonial-grid blockquote{
  margin:0;
  min-height:180px;
  padding:32px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fffdfa;
}

/* ========================================
   CONTACTO
   ======================================== */

.contact{
  padding-top:30px;
}

.contact-box{
  padding:64px;
  border-radius:30px;
  background:var(--petrol);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
}

.contact-box h2{
  font-size:clamp(2rem,3vw,3.2rem);
  line-height:1.1;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer{
  padding:54px 0 26px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:40px;
}

.footer-links{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}

.footer-bottom{
    margin-top:36px;
    padding-top:20px;
    font-size:.8rem;
    opacity:.65;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width:900px){

  .header-inner{
    min-height:76px;
    display:flex;
    justify-content:space-between;
  }

  .header-logo{
    width:190px;
  }

  .header-cta{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .main-nav{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    padding:24px;
    background:var(--cream);
    flex-direction:column;
    gap:18px;
    border-bottom:1px solid var(--line);
  }

  .main-nav.open{
    display:flex;
  }

  .hero-grid,
  .split-grid{
    grid-template-columns:1fr;
  }

  .hero-grid{
    min-height:auto;
  }

  .hero-copy{
    padding:70px 0 55px;
  }

  .hero-name{
    font-size:clamp(3rem,12vw,4.3rem);
  }

  .hero-photo{
    min-height:65vh;
  }

  .pillars-grid,
  .service-grid,
  .process-grid,
  .testimonial-grid{
    grid-template-columns:1fr;
  }

  .contact-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:600px){

  .container{
    width:min(calc(100% - 30px),var(--max));
  }

  .section{
    padding:82px 0;
  }

  .header-logo{
    width:170px;
  }

  .hero-credential{
    font-size:.66rem;
    padding:8px 12px;
    margin-bottom:24px;
  }

  .hero-name{
    gap:9px;
    font-size:clamp(2.8rem,14vw,3.7rem);
  }

  .hero-title{
    font-size:1.45rem;
  }

  .hero-description{
    font-size:.98rem;
    line-height:1.65;
  }

  .service-card{
    padding:28px;
  }

  .contact-box{
    padding:38px 28px;
  }

  .footer-inner{
    flex-direction:column;
  }
}
/* =========================================
   WHATSAPP FLOTANTE
   ========================================= */

.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1F3E4D;
    color: #FFFFFF;

    border-radius: 50%;
    text-decoration: none;

    box-shadow: 0 6px 20px rgba(31, 62, 77, 0.22);

    z-index: 9999;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    display: block;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #173642;
    box-shadow: 0 9px 24px rgba(31, 62, 77, 0.28);
}
/* =========================================
   AJUSTE DE ANCLAJES DEL HEADER
   ========================================= */

/* DESKTOP */
@media (min-width: 901px) {

    #consultas,
    #antropometria,
    #experiencias,
    #contacto {
        scroll-margin-top: 35px !important;
    }
}


/* MOBILE */
@media (max-width: 900px) {

    #consultas,
    #antropometria,
    #experiencias,
    #contacto {
        scroll-margin-top: 0px !important;
    }
}