/* Página Qué hacemos · Más que Números */
.qh-page{background:#fff;color:var(--deep)}
.qh-page main{overflow:hidden}
.qh-page .site-header nav a[aria-current="page"]{color:var(--blue);position:relative}
.qh-page .site-header nav a[aria-current="page"]:after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--orange);border-radius:2px}
.qh-eyebrow,.qh-section-label{margin:0 0 22px;color:var(--orange);font-size:13px;font-weight:850;letter-spacing:.035em}
.qh-eyebrow{display:flex;align-items:flex-start;gap:14px;max-width:300px}
.qh-eyebrow:before{content:"";width:48px;height:3px;margin-top:9px;background:var(--orange);border-radius:2px;flex:none}
.qh-section-label{text-transform:uppercase;color:var(--blue);font-size:12px;letter-spacing:.12em}

.qh-hero{min-height:650px;background:radial-gradient(circle at 20% 45%,#dff1f8 0,#eef8fb 34%,#fff 70%);display:grid;grid-template-columns:minmax(0,.95fr) minmax(480px,1.05fr);align-items:stretch;position:relative}
.qh-hero:before,.qh-hero:after{content:"";position:absolute;width:170px;height:170px;background:radial-gradient(circle,var(--blue) 1.5px,transparent 2px);background-size:13px 13px;opacity:.15;pointer-events:none}
.qh-hero:before{left:-28px;bottom:25px}.qh-hero:after{left:43%;top:55px}
.qh-hero-copy{z-index:2;align-self:center;padding:70px 5vw 70px 6vw}
.qh-hero h1{max-width:760px;margin:0 0 25px;color:var(--deep);font-size:clamp(54px,5.8vw,92px);font-weight:900;letter-spacing:-.05em;line-height:.98}
.qh-hero h1 em{color:var(--orange);font-style:normal}
.qh-lead{max-width:680px;margin:0;color:var(--deep);font-size:clamp(18px,1.55vw,23px);line-height:1.62}
.qh-lead strong{color:var(--orange)}
.qh-hero-note{max-width:570px;margin:35px 0 0 auto;padding:20px 22px;background:rgba(255,255,255,.88);border:1px solid #c9e0e9;border-radius:16px;box-shadow:0 10px 26px rgba(3,43,67,.08);display:flex;align-items:center;gap:15px}
.qh-hero-note>span{width:48px;height:48px;background:var(--pale);color:var(--orange);border-radius:50%;display:grid;place-items:center;font-size:23px;flex:none}
.qh-hero-note .qh-hero-note-icon{width:64px;height:64px;background:#e4f2f7}
.qh-hero-note-icon img{display:block;width:54px;height:54px;object-fit:contain}
.qh-hero-note p{margin:0;font-size:15px;line-height:1.55}.qh-hero-note strong{color:inherit}
.qh-hero-image{min-height:650px;position:relative;overflow:hidden;border-bottom-left-radius:48% 18%}
.qh-hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(238,248,251,.55),transparent 20%)}
.qh-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0}

.qh-dimensions{padding:clamp(78px,8vw,120px) 6vw;background:#fff;text-align:center}
.qh-dimensions h2{max-width:900px;margin:0 auto 52px;font-size:clamp(31px,3.5vw,49px);font-weight:900;letter-spacing:-.035em;line-height:1.12}
.qh-dimension-grid{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.qh-dimension-card{min-height:320px;padding:34px 30px;border:1px solid #cfe0e7;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(3,43,67,.07);display:grid;grid-template-columns:145px 1fr;align-items:center;gap:25px;text-align:left;position:relative}
.qh-dimension-card:not(:last-child):after{content:"•••";position:absolute;right:-35px;top:50%;z-index:2;color:var(--orange);font-size:22px;letter-spacing:4px;transform:translateY(-50%)}
.qh-dimension-card img{width:140px;height:140px;object-fit:contain}
.qh-dimension-card h3{margin:0 0 15px;color:var(--orange);font-size:27px;font-weight:900}
.qh-dimension-card ul{margin:0;padding:0;list-style:none}.qh-dimension-card li{margin:7px 0;color:var(--deep);font-size:15px}.qh-dimension-card li:before{content:"•";margin-right:9px;color:var(--blue)}
.qh-dimension-people img{filter:none}
.qh-system-quote{max-width:1050px;min-height:120px;margin:38px auto 0;padding:25px 35px;border:1px solid #cfe0e7;border-radius:16px;background:var(--pale);display:flex;align-items:center;gap:25px;text-align:left}
.qh-system-quote>span{width:62px;height:62px;border-radius:50%;background:#dceef5;color:var(--blue);display:grid;place-items:center;font-size:43px;font-weight:900;line-height:1;flex:none}
.qh-system-quote p{margin:0;font-size:clamp(18px,1.6vw,23px);line-height:1.5}

.qh-diagnostic{padding:clamp(72px,8vw,118px) 6vw;background:linear-gradient(135deg,#fff 20%,#f5fbfd 100%);display:grid;grid-template-columns:minmax(320px,.8fr) minmax(600px,1.2fr);align-items:center;gap:65px}
.qh-diagnostic-copy h2{max-width:700px;margin:0 0 32px;font-size:clamp(38px,4.3vw,62px);font-weight:900;letter-spacing:-.04em;line-height:1.08}
.qh-diagnostic-copy .button{font-size:16px;padding:17px 26px}
.qh-test-card{min-height:210px;padding:25px;border:1px solid #cfe0e7;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(3,43,67,.08);display:grid;grid-template-columns:1.25fr repeat(3,1fr);align-items:stretch}
.qh-test-intro{padding:10px 24px 10px 8px;border-right:1px solid #d6e4ea;text-align:left}.qh-test-intro h3{margin:0 0 12px;font-size:20px;font-weight:900}.qh-test-intro em{color:var(--orange);font-style:normal}.qh-test-intro p{margin:0;font-size:14px;line-height:1.55}
.qh-test-benefit{padding:12px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #d6e4ea}.qh-test-benefit:last-child{border-right:0}.qh-test-benefit>span{color:var(--blue);font-size:43px;line-height:1}.qh-test-benefit strong{margin:11px 0 4px;font-size:14px}.qh-test-benefit small{color:var(--muted);font-size:11px}
.qh-test-benefit>img{display:block;width:58px;height:58px;object-fit:contain}

.qh-signals{padding:75px 6vw;background:linear-gradient(90deg,#fff4ed,#fff 50%,#fff4ed)}
.qh-signals h2{max-width:850px;margin:0 0 42px;font-size:clamp(34px,3.6vw,52px);font-weight:900;letter-spacing:-.035em;line-height:1.13}
.qh-signals-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}
.qh-signals-grid article{padding-top:20px;border-top:2px solid #f4b18f}.qh-signals-grid h3{margin:0 0 10px;color:var(--orange);font-size:22px;font-weight:850}.qh-signals-grid p{max-width:480px;margin:0;color:var(--muted);font-size:15px;line-height:1.6}

.qh-partner{padding:clamp(80px,8vw,125px) 6vw;background:#fff;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.qh-partner-copy h2{max-width:740px;margin:0 0 22px;font-size:clamp(40px,4.4vw,65px);font-weight:900;letter-spacing:-.042em;line-height:1.06}
.qh-partner-copy>p{max-width:720px;color:var(--muted);font-size:17px;line-height:1.65}
.qh-partner-copy ul{margin:35px 0 0;padding:0;list-style:none;display:grid;gap:13px}.qh-partner-copy li{padding:17px 20px 17px 43px;border:1px solid #d8e5ea;border-radius:11px;background:#fff;box-shadow:0 5px 15px rgba(3,43,67,.04);position:relative;font-size:15px}.qh-partner-copy li:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--orange);position:absolute;left:20px;top:24px}
.qh-partner-image{min-height:690px;position:relative}.qh-partner-image>img{width:100%;height:610px;object-fit:cover;object-position:center;border-radius:22px;box-shadow:0 18px 45px rgba(3,43,67,.12)}
.qh-partner-image blockquote{min-height:180px;width:88%;margin:-75px 0 0 auto;padding:30px 36px;color:#fff;background:linear-gradient(115deg,var(--blue),#075274);border:0;border-radius:18px;box-shadow:0 16px 38px rgba(3,43,67,.18);position:relative;z-index:2}
.qh-partner-image blockquote>span{color:#6bc1da;font-size:50px;font-weight:900;line-height:.7}.qh-partner-image blockquote p{margin:8px 0 18px;font-size:clamp(21px,2vw,30px);font-weight:850;line-height:1.3}.qh-partner-image blockquote footer{color:#d8edf4;font-size:13px}

@media(max-width:1100px){
  .qh-hero{grid-template-columns:1fr}.qh-hero-copy{padding-bottom:45px}.qh-hero-image{min-height:520px;border-radius:0}.qh-hero-image:after{background:linear-gradient(180deg,rgba(238,248,251,.4),transparent 25%)}
  .qh-dimension-grid{grid-template-columns:1fr;max-width:720px}.qh-dimension-card:not(:last-child):after{content:"•••";right:50%;top:auto;bottom:-35px;transform:translateX(50%) rotate(90deg)}
  .qh-diagnostic{grid-template-columns:1fr}.qh-test-card{max-width:900px}
  .qh-partner{grid-template-columns:1fr}.qh-partner-image{max-width:850px;width:100%;margin:auto}
}
@media(max-width:760px){
  .qh-hero h1{font-size:48px}.qh-hero-copy{padding:55px 22px 38px}.qh-hero-image{min-height:360px}.qh-hero-note{margin-left:0}
  .qh-dimensions,.qh-diagnostic,.qh-signals,.qh-partner{padding:65px 22px}
  .qh-dimension-card{grid-template-columns:100px 1fr;padding:26px 20px}.qh-dimension-card img{width:96px;height:96px}
  .qh-system-quote{align-items:flex-start;padding:24px 20px}.qh-system-quote>span{width:48px;height:48px;font-size:34px}
  .qh-test-card{grid-template-columns:1fr}.qh-test-intro,.qh-test-benefit{border-right:0;border-bottom:1px solid #d6e4ea;padding:18px}.qh-test-benefit:last-child{border-bottom:0}
  .qh-signals-grid{grid-template-columns:1fr}.qh-partner-copy h2,.qh-diagnostic-copy h2{font-size:40px}
  .qh-partner-image{min-height:520px}.qh-partner-image>img{height:460px}.qh-partner-image blockquote{width:94%;margin:-65px auto 0;padding:25px}
}
@media(max-width:460px){
  .qh-dimension-card{grid-template-columns:1fr;text-align:center}.qh-dimension-card img{margin:auto}.qh-dimension-card li{text-align:left;max-width:210px;margin:7px auto}
  .qh-system-quote{display:block}.qh-system-quote>span{margin-bottom:14px}
}
/* Ajuste de altura y compactación general - 2026-07-30 */
.qh-hero{height:calc(100svh - 86px);min-height:620px}
.qh-hero-image{min-height:0;height:100%}
.qh-dimensions{padding-top:clamp(54px,5vw,78px);padding-bottom:clamp(58px,5.5vw,84px)}
.qh-dimensions h2{margin-bottom:38px}
.qh-dimension-card{background:#e7f2f6;border-color:#b8d3de}
.qh-dimension-card:nth-child(2){background:#fff1e9;border-color:#f2c8b2}
.qh-dimension-card:nth-child(3){background:#edf7f6;border-color:#badbd7}
.qh-system-quote{margin-top:28px}
.qh-diagnostic{padding-top:clamp(56px,5.5vw,82px);padding-bottom:clamp(56px,5.5vw,82px)}
.qh-signals{padding-top:58px;padding-bottom:58px}
.qh-partner{padding-top:clamp(62px,6vw,90px);padding-bottom:clamp(62px,6vw,90px)}
@media(max-width:1100px){.qh-hero{height:auto;min-height:calc(100svh - 86px)}.qh-hero-image{height:auto;min-height:430px}}
@media(max-width:760px){.qh-hero{min-height:calc(100svh - 72px)}.qh-hero-image{min-height:330px}.qh-dimensions,.qh-diagnostic,.qh-signals,.qh-partner{padding-top:52px;padding-bottom:52px}}
/* Ajuste de cita y ritmo vertical - 2026-07-31 */
.qh-system-quote{display:block;padding:28px 35px}
.qh-system-quote p{display:flex;align-items:flex-start;gap:18px}
.qh-system-quote p>span{width:52px;height:52px;border-radius:50%;background:#dceef5;color:var(--blue);display:grid;place-items:center;font-size:38px;font-weight:900;line-height:1;flex:none}
.qh-system-quote strong{color:var(--orange);font-weight:900}
.qh-dimensions{padding-bottom:clamp(28px,3vw,42px)}
.qh-diagnostic{padding-top:clamp(28px,3vw,42px);padding-bottom:clamp(28px,3vw,42px)}
.qh-signals{padding-top:30px}
@media(max-width:760px){.qh-system-quote{padding:22px 20px}.qh-system-quote p{gap:13px}.qh-system-quote p>span{width:44px;height:44px;font-size:32px}.qh-dimensions{padding-bottom:28px}.qh-diagnostic{padding-top:28px;padding-bottom:28px}.qh-signals{padding-top:28px}}
/* Corrección del flujo de la cita - 2026-07-31 */
.qh-system-quote p{display:block;margin:0}
.qh-system-quote p>span{float:left;margin:-4px 18px 8px 0;color:var(--orange)}
.qh-system-quote p:after{content:"";display:block;clear:both}
@media(max-width:760px){.qh-system-quote p{display:block}.qh-system-quote p>span{float:left;margin:-2px 13px 6px 0;color:var(--orange)}}
/* Subtítulo del hero en una línea - 2026-07-31 */
.qh-hero .qh-eyebrow{max-width:none;white-space:nowrap}

/* Indicadores, herramientas y partner - 2026-07-31 */
.qh-hero-note strong{font-weight:inherit}
.qh-test-benefit>img{width:74px;height:74px}
.qh-test-benefit strong{margin:9px 0 5px;font-size:16px;font-weight:900}
.qh-test-benefit small{font-size:13px;line-height:1.35}
.qh-tools{padding:clamp(38px,4vw,58px) 6vw;background:#fff;text-align:center}
.qh-tools-kicker{margin:0 auto 12px;color:var(--blue);font-size:13px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.qh-tools h2{max-width:900px;margin:0 auto 14px;color:var(--deep);font-size:clamp(30px,3.1vw,46px);font-weight:900;letter-spacing:-.03em;line-height:1.08}
.qh-tools h2 em{color:var(--orange);font-style:normal}
.qh-tools-intro{max-width:760px;margin:0 auto clamp(30px,3.5vw,44px);color:var(--muted);font-size:clamp(16px,1.4vw,19px);line-height:1.55}
.qh-tools-grid{width:min(100%,1120px);margin:0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.qh-tools-grid article{min-height:170px;padding:20px 14px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(3,43,67,.06);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.qh-tools-grid img{display:block;width:88px;height:88px;object-fit:contain}
.qh-tools-grid span{min-height:44px;padding:8px 12px;border:1px solid #cbdde5;border-radius:8px;color:var(--blue);font-size:14px;font-weight:850;line-height:1.2;display:flex;align-items:center;justify-content:center}
.qh-partner-copy li{font-size:17px;font-weight:750;line-height:1.45}
.qh-partner-image blockquote footer{display:flex;align-items:center;flex-wrap:wrap;gap:3px}
.qh-brand-signature{display:inline-flex;align-items:center;gap:5px;color:#fff;font-weight:850}
.qh-brand-signature strong{display:inline-block;padding:4px 8px;color:#fff;background:var(--orange);border-radius:3px;font-weight:900}
@media(max-width:1050px){.qh-tools-grid{grid-template-columns:repeat(2,minmax(0,260px));justify-content:center}}
@media(max-width:680px){
  .qh-test-benefit>img{width:68px;height:68px}
  .qh-test-benefit strong{font-size:16px}
  .qh-test-benefit small{font-size:13px}
  .qh-tools{padding:42px 22px}
  .qh-tools-grid{grid-template-columns:minmax(0,320px)}
  .qh-tools-grid article{min-height:150px}
  .qh-tools-grid img{width:78px;height:78px}
  .qh-partner-copy li{font-size:16px}
}

/* Botones de Herramientas que combinamos - 2026-07-31 */
.qh-tools-grid .qh-tool-button{min-height:44px;padding:8px 12px;border:1px solid #cbdde5;border-radius:8px;color:var(--blue);background:#fff;font-size:14px;font-weight:850;line-height:1.2;display:flex;align-items:center;justify-content:center;transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.qh-tools-grid .qh-tool-button:hover{color:#fff;background:var(--orange);border-color:var(--orange);box-shadow:0 8px 18px rgba(255,90,10,.25);transform:translateY(-2px)}
.qh-tools-grid .qh-tool-button:focus-visible{color:#fff;background:var(--orange);border-color:var(--orange);outline:3px solid rgba(255,90,10,.25);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.qh-tools-grid .qh-tool-button{transition:none}.qh-tools-grid .qh-tool-button:hover{transform:none}}
@media(max-width:760px){.qh-hero .qh-eyebrow{white-space:normal;max-width:310px}}
