
:root{
  --navy:#2a2d6b; --turq:#4dbcc4; --mint:#00b98f;
  --ink:#172033; --muted:#5d6c7c; --soft:#f5f8fa;
  --line:#dfe7ec; --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink); background:#fff;
}
a{text-decoration:none;color:inherit}
.container{width:min(1160px,calc(100% - 40px));margin:auto}

header{
  position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);backdrop-filter:blur(10px)
}
.nav{height:98px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:flex;align-items:center}
.brand img{display:block;width:292px;height:auto;max-height:none;object-fit:contain;object-position:left center}
.navlinks{display:flex;align-items:center;gap:22px}
.navlinks a{font-size:14px;color:#35435a}
.btn{
  display:inline-flex;align-items:center;justify-content:center;border-radius:10px;
  padding:13px 19px;font-weight:700;border:1px solid var(--navy);cursor:pointer
}
.btn.primary{background:var(--navy);color:white}
.btn.ghost{background:white;color:var(--navy)}
.btn.big{padding:16px 23px}

.hero{padding:76px 0 0;background:linear-gradient(135deg,#fff 0%,#f4fbfb 100%)}
.hero-grid{display:grid;grid-template-columns:1.08fr .72fr;gap:70px;align-items:end}
.hero h1{
  font-size:clamp(42px,5vw,66px);line-height:1.02;letter-spacing:-2.3px;
  color:var(--navy);margin:15px 0 24px
}
.lead{font-size:20px;line-height:1.65;color:#4f5f73;max-width:720px;margin:0 0 28px}
.hero-photo{
  width:100%;height:545px;object-fit:cover;object-position:center 18%;
  border-radius:26px 26px 0 0;display:block
}
.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:800;color:#2a8d94}
.micro{font-size:13px;color:#718094;max-width:600px;margin-top:13px;line-height:1.5}

.credbar{background:var(--navy);color:white;padding:0}
.creds{display:grid;grid-template-columns:repeat(3,1fr)}
.cred{padding:27px 34px;border-right:1px solid rgba(255,255,255,.16)}
.cred:last-child{border:0}
.cred strong{display:block;font-size:20px;margin-bottom:7px}
.cred span{font-size:13px;line-height:1.45;color:#d9dcf1}

section{padding:88px 0}
.section-title{max-width:790px;margin-bottom:42px}
.section-title.compact{margin-bottom:28px}
.section-title h2,.about-copy h2,.price h2{
  font-size:clamp(34px,4vw,48px);line-height:1.08;letter-spacing:-1.4px;
  color:var(--navy);margin:9px 0 16px
}
.section-title p,.about-copy p{font-size:17px;line-height:1.75;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{border:1px solid var(--line);border-radius:16px;padding:26px;background:#fff}
.card h3{color:var(--navy);margin:0 0 12px}
.card p{margin:0;color:var(--muted);line-height:1.65;font-size:15px}
.soft{background:var(--soft)}

.about-grid{display:grid;grid-template-columns:1.05fr .75fr;gap:70px;align-items:center}
.about-photo{
  width:100%;height:540px;object-fit:cover;object-position:center 18%;border-radius:20px
}
.statement{
  border-left:4px solid var(--turq);padding:15px 20px;margin-top:25px;
  background:#fff;color:#445267;line-height:1.65
}
.story{margin-top:75px}
.photo-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:18px}
.photo-grid figure{margin:0;background:#fff;border-radius:16px;overflow:hidden;border:1px solid var(--line)}
.photo-grid img{display:block;width:100%;height:280px;object-fit:cover}
.photo-grid figure:first-child img{object-position:center 45%}
.photo-grid figcaption{padding:16px 18px}
.photo-grid figcaption b,.photo-grid figcaption span{display:block}
.photo-grid figcaption b{color:var(--navy);margin-bottom:4px}
.photo-grid figcaption span{font-size:13px;color:var(--muted)}
.cooperation{margin-top:22px;background:#fff;border-radius:16px;padding:24px 28px;border:1px solid var(--line)}
.cooperation strong{color:var(--navy);font-size:18px}
.cooperation p{color:var(--muted);line-height:1.65;margin:7px 0 0}

.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.step{padding:24px 20px;border-top:3px solid var(--turq);background:#fff;border-radius:0 0 14px 14px}
.step>b{display:flex;width:34px;height:34px;border-radius:50%;background:#e7f8f8;color:#237f86;align-items:center;justify-content:center}
.step h4{color:var(--navy);font-size:16px;margin:16px 0 8px}
.step p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}

.price{display:flex;justify-content:space-between;align-items:center;gap:40px}
.price h2{font-size:38px}.price p{color:var(--muted)}
.price-action{text-align:right;min-width:170px}
.price-action strong{display:block;font-size:42px;color:var(--navy);margin-bottom:12px}

.faq{max-width:900px}
.faq details{border-top:1px solid var(--line);padding:19px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:700;color:var(--navy)}
.faq details p{color:var(--muted);line-height:1.7}

footer{background:#171a3e;color:#fff;padding:34px 0}
footer .container{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:18px}
footer img{width:165px;background:white;border-radius:8px;padding:5px}
footer span{font-weight:700}
footer small{grid-column:2;color:#bfc5dd}

/* FORMULARIO */
.form-shell{max-width:860px;margin:46px auto 70px}
.progress{display:flex;gap:8px;margin:0 0 24px}
.progress span{height:6px;background:#dfe6ee;border-radius:20px;flex:1}
.progress span.active{background:var(--turq)}
.panel{
  display:none;border:1px solid var(--line);border-radius:16px;
  padding:30px;background:#fff;box-shadow:0 15px 45px rgba(42,45,107,.06);
  scroll-margin-top:110px
}
.panel.active{display:block}
.panel h2{color:var(--navy);font-size:30px;margin:0 0 8px}
.panel .lead{font-size:16px;line-height:1.6;margin-bottom:24px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{margin-bottom:17px}
label{display:block;font-weight:650;color:#22314a;font-size:14px;margin-bottom:7px}
input,select,textarea{
  width:100%;padding:13px 14px;border:1px solid #cfd8e3;border-radius:8px;
  font:inherit;background:#fff;color:var(--ink)
}
textarea{min-height:112px;resize:vertical}
.checks{display:grid;gap:10px}
.checks label{display:flex;gap:10px;align-items:flex-start;font-weight:500}
.checks input{width:auto;margin-top:3px}
.actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px}
.note{
  background:#f7f9fc;border-left:3px solid var(--turq);padding:15px 16px;
  color:#516174;font-size:13px;line-height:1.55;margin:18px 0
}
.hidden{display:none!important}
.success{text-align:center;padding:70px 24px}
.success h2{font-size:34px;color:var(--navy)}
.helper{margin-top:-10px;margin-bottom:17px;font-size:12px;line-height:1.45;color:#748196}
.counter{float:right;font-variant-numeric:tabular-nums;color:#526174}
.bmi-box{margin:0 0 17px;padding:13px 15px;border-radius:10px;background:#eef8f8;color:#46606a}
.bmi-box span{font-size:12px;margin-right:10px}
.bmi-box strong{font-size:22px;color:var(--navy)}
.bmi-box small{margin-left:4px}

@media(max-width:950px){
  .navlinks>a:not(.btn){display:none}
  .brand img{width:245px;max-height:68px}
  .hero-grid,.about-grid{grid-template-columns:1fr}
  .hero-photo{height:470px;border-radius:22px}
  .creds{grid-template-columns:1fr}
  .cred{border-right:0;border-bottom:1px solid rgba(255,255,255,.15)}
  .cards{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .photo-grid{grid-template-columns:1fr 1fr}
  .photo-grid figure:first-child{grid-column:1/-1}
  .price{align-items:flex-start}
}
@media(max-width:600px){
  .container{width:min(100% - 26px,1160px)}
  .nav{height:74px}
  .brand img{width:210px}
  .navlinks .btn{padding:10px 12px;font-size:12px}
  .hero{padding-top:42px}
  .hero h1{font-size:40px;letter-spacing:-1.5px}
  .lead{font-size:17px}
  .cards,.steps,.photo-grid,.grid2{grid-template-columns:1fr}
  .photo-grid figure:first-child{grid-column:auto}
  .about-photo{height:420px}
  .price{display:block}
  .price-action{text-align:left;margin-top:22px}
  footer .container{display:block}
  footer img{margin-bottom:16px}
  footer span,footer small{display:block;margin-top:7px}
  .panel{padding:22px}
}



/* FARO 007 DEFINITIVA — cabecera compacta */
.nav{height:98px!important}
header .brand img,.brand img{
  width:252px!important;
  height:auto!important;
  max-height:none!important;
  display:block!important;
  object-fit:contain!important;
  object-position:left center!important;
}
@media(max-width:950px){
  .nav{height:88px!important}
  header .brand img,.brand img{width:220px!important}
}
@media(max-width:600px){
  .nav{height:76px!important}
  header .brand img,.brand img{width:175px!important}
  .navlinks .btn{padding:9px 11px!important;font-size:12px!important}
}

/* Corrección final: logo contenido dentro de la cabecera */
.nav{height:98px!important}
header .brand img,.brand img{
  width:218px!important;
  height:auto!important;
  max-height:88px!important;
  display:block!important;
  object-fit:contain!important;
  object-position:left center!important;
}
@media(max-width:950px){
  .nav{height:88px!important}
  header .brand img,.brand img{width:192px!important;max-height:78px!important}
}
@media(max-width:600px){
  .nav{height:76px!important}
  header .brand img,.brand img{width:158px!important;max-height:66px!important}
}


/* FARO 009 — Sobre mí más amplio */
.about-wide{
  display:grid;
  grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);
  gap:72px;
  align-items:center;
}
.about-photo-wrap{display:flex;justify-content:center}
.about-photo-primary{
  width:100%;
  max-width:460px;
  height:560px;
  object-fit:cover;
  object-position:center 18%;
  border-radius:22px;
  display:block;
}
.about-copy-wide h2{
  font-size:clamp(38px,4.4vw,54px);
  line-height:1.06;
  letter-spacing:-1.5px;
  color:var(--navy);
  margin:9px 0 18px;
}
.about-copy-wide p{
  font-size:18px;
  line-height:1.78;
  color:var(--muted);
  max-width:900px;
}
@media(max-width:950px){
  .about-wide{grid-template-columns:1fr;gap:36px}
  .about-photo-primary{max-width:520px;height:520px}
}
@media(max-width:600px){
  .about-photo-primary{height:430px}
  .about-copy-wide p{font-size:16px}
}

/* FARO 010 — Sobre mí: solo información centrada */
.about-info-only{
  max-width:920px;
  text-align:center;
}
.about-info-only .eyebrow{justify-content:center}
.about-info-only h2{
  font-size:clamp(38px,4.4vw,54px);
  line-height:1.08;
  letter-spacing:-1.5px;
  color:var(--navy);
  margin:9px auto 22px;
  max-width:900px;
}
.about-info-only p{
  font-size:18px;
  line-height:1.78;
  color:var(--muted);
  max-width:850px;
  margin:0 auto 16px;
}
.about-info-only .statement{
  max-width:820px;
  margin:28px auto 0;
  text-align:left;
}

/* FARO v8.4 — preproducción legal y UX */
button:disabled{opacity:.58;cursor:not-allowed}
.legal-summary{margin:18px 0 22px;padding:18px 20px;border:1px solid var(--line);border-left:4px solid var(--turq);border-radius:12px;background:#f8fbfc}
.legal-summary h3{margin:0 0 10px;color:var(--navy);font-size:18px}.legal-summary p{margin:7px 0;color:#516174;line-height:1.6;font-size:14px}.legal-checks .legal-link{color:#257d86;text-decoration:underline;text-underline-offset:2px}
.legal-footer{display:flex!important;justify-content:space-between;align-items:center;gap:18px}.footer-links{display:flex;gap:16px;flex-wrap:wrap}.footer-links a,footer small a{color:#d8dcef}
.legal-page{max-width:900px;padding-top:52px;padding-bottom:72px}.legal-doc{background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px 38px}.legal-doc h1{font-size:clamp(34px,5vw,48px);color:var(--navy);margin:8px 0 14px}.legal-doc h2{font-size:22px;color:var(--navy);margin:30px 0 8px}.legal-doc p{color:var(--muted);line-height:1.75}.legal-doc a{color:#257d86;text-decoration:underline;text-underline-offset:2px}.legal-draft{background:#fff7e8;border:1px solid #ecd7a9;color:#76551c;border-radius:10px;padding:12px 14px;margin:0 0 24px;font-size:13px}
@media(max-width:600px){.legal-footer{display:block!important}.footer-links{margin-top:10px;gap:12px}.legal-doc{padding:24px 20px}}

/* FARO v8.6 — ajuste hero */
@media (min-width: 821px){
  .hero-grid{align-items:start}
  .hero-photo{margin-top:18px}
}
