/* Reference: the 1440 px frame in Escritorio · Editable · 1440 px.pdf.
   Hero composition is retained; its copy comes from content.js. */
#oportunidad,#sistema,#recorrido,#especialidades,#inversion,.closing,.footer{--section-title:clamp(38px,4.028vw,58px)}
#oportunidad .section-heading,#sistema .section-heading,#recorrido .section-heading,#especialidades .section-heading,#inversion .section-heading{font-size:var(--section-title);line-height:.983;letter-spacing:0}
.hero .hero__title{max-width:900px}
#oportunidad{padding:64px max(var(--gutter),calc((100vw - 1160px)/2))}
.opportunity__head{max-width:1160px;margin:0 auto 60px}
.opportunity__grid{max-width:1160px;grid-template-columns:minmax(0,543fr) minmax(0,560fr);gap:57px}
.opportunity__photo--small{width:100%;height:auto;aspect-ratio:543/416;margin:0;border-radius:12px}
.opportunity__copy{grid-column:2;grid-row:1;display:block;padding:8px 0 0;max-width:none}
.opportunity__copy .opportunity__body{font-size:20px;line-height:1.7}
.opportunity__copy h3{max-width:390px;margin:46px 0 0;font:400 40px/.9 "EB Garamond",Garamond,Georgia,serif!important;letter-spacing:0}

#sistema{padding:112px 6% 169px;background:#66796e}
#sistema .system__top{max-width:924px;margin:0 auto 120px}
#sistema .system__top .section-heading{max-width:none}
#sistema .system__top .section-intro{max-width:none;margin:25px 0 0 10px;font-size:20px;line-height:1.55}
#sistema .system-grid{max-width:1268px;margin:auto;grid-template-columns:minmax(0,441fr) minmax(0,324fr) minmax(0,472fr);grid-template-rows:253px 255px 56px;gap:14px}
#sistema .system-card{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;min-height:0;margin:0;padding:24px 30px;border-radius:24px}
#sistema .system-card--identity{grid-column:1;grid-row:1;background:#d8e1dc}
#sistema .system-card--visibility{grid-column:1;grid-row:2;background:#fff}
#sistema .system-card--web{grid-column:3;grid-row:1;background:#fff;padding-left:44px;padding-right:24px}
#sistema .system-card--automation{grid-column:3;grid-row:2;background:#d8e1dc;padding-left:40px;padding-right:14px}
#sistema .system-card__visual{position:absolute;top:18px;left:22px;right:auto;bottom:auto;width:109px;height:110px;transform:none;z-index:0}
#sistema .system-card--web .system-card__visual{width:85px;height:85px;left:44px}
#sistema .system-card--visibility .system-card__visual{width:91px;height:91px;left:22px}
#sistema .system-card--automation .system-card__visual{width:117px;height:117px;left:40px;top:0}
#sistema .system-card__copy{width:100%;margin:0}
#sistema .system-card h3{font-size:34.56px!important;line-height:1;letter-spacing:0;font-weight:400!important;margin:0 0 12px;color:var(--ink)}
#sistema .system-card p{max-width:none;font-size:20px;line-height:1.45;color:#6e726c;margin:0}
#sistema .system-feature{grid-column:2;grid-row:1/3;height:auto;margin:0 0 7px;border-radius:24px}
#sistema .system-feature{position:relative}
#sistema .system-feature img{position:absolute;width:139%;height:157%;max-width:none;left:-1.2%;top:-37%;object-fit:cover;object-position:center}
#sistema .system-card--automation p{letter-spacing:-.15px}
#sistema .system__cta{grid-column:2;grid-row:3;min-height:56px;padding:10px 16px;background:#384a40;font-size:20px;gap:22px}

#recorrido{background:#F5F4EF;padding:112px var(--gutter) 176px}
.journey__top{display:block;margin:0 0 110px;max-width:none}
.journey-mark{position:relative;width:96px;height:72px;margin:0 0 12px;overflow:hidden}
.journey-mark img{position:absolute;width:449px;height:auto;max-width:none;left:-354px;top:0;object-fit:contain}
.journey__top .section-heading{margin-left:62px;max-width:none}
.journey-tabs{height:74px;margin-bottom:50px}
.journey-tab{font-size:22px;padding:0 20px;min-height:72px}
.journey-panel{grid-template-columns:minmax(0,400fr) minmax(0,753fr);gap:84px;min-height:370px;padding-right:76px;align-items:center}
.journey-panel__copy{width:100%;max-width:400px;text-align:right;margin-left:auto;padding:0;order:0}
.journey-panel__copy h3{max-width:390px;font-size:39px!important;line-height:.98;letter-spacing:0;margin:0 0 30px auto}
.journey-panel__copy p{font-size:20px;line-height:1.55}
.journey-panel__visual{height:370px;border-radius:24px;order:0}
.journey-panel__visual img{object-position:center}

#especialidades{padding:112px var(--gutter) 118px}
.specialties__top{display:grid;grid-template-columns:minmax(0,830fr) minmax(0,398fr);gap:85px;align-items:center;margin:0 0 60px}
.specialties__top .section-heading{max-width:830px}
.specialties__top .section-intro{max-width:398px;font-size:20px;line-height:1.7;margin:0}
.specialty-grid{gap:14px}
.specialty-card{height:520px;min-height:0;border-radius:22px}
.specialty-card__content{inset:auto 24px 24px}
.specialty-card h3{font-size:34px!important;line-height:1;letter-spacing:-.02em;margin-bottom:12px}
.specialty-card p{font-size:20px;line-height:1.5}

#inversion{padding:112px var(--gutter) 118px}
.programs__top{display:grid;grid-template-columns:minmax(0,580fr) minmax(0,680fr);gap:40px;align-items:center;margin:0 0 42px}
.programs__top .section-heading{max-width:580px}
.programs__top-copy{display:flex;justify-content:space-between;gap:24px;margin:0;font-size:20px;font-weight:400}
.programs__top-copy .pill{background:var(--ink);color:white;flex-shrink:0;font-size:20px;min-height:56px}
.programs__grid{gap:14px;padding:4px 0;align-items:flex-start;scrollbar-width:none;-ms-overflow-style:none;scroll-padding-inline:0}
.programs__grid::-webkit-scrollbar{display:none;width:0;height:0}
.programs__grid:focus-visible{outline:2px solid var(--sage-dark);outline-offset:5px}
/* Two visible cards, matching the supplied pricing reference. */
.program-card{flex:0 0 calc(50% - 7px);min-width:0;min-height:560px;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);grid-template-rows:205px 1fr;gap:18px 24px;padding:15px 24px 28px;border-radius:24px;background:#F5F4EF}
.program-card--featured{background:#e8ede8}
.program-card__image{height:205px;width:100%;grid-column:1;grid-row:1;border-radius:16px}
.program-card__identity{display:block;grid-column:2;grid-row:1;align-self:end;padding:0 24px 18px 0}
.program-card h3{font-size:34px!important;line-height:.98;font-weight:400}
.program-card__symbol{display:grid;font-size:20px;top:22px;right:22px;background:#fff}
.program-card__details{display:grid;grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);gap:24px;padding:0;align-items:stretch}
.program-card__price{font-size:28px;line-height:1.15;letter-spacing:0;margin-bottom:14px}
.program-card__intro{font-size:18px;line-height:1.45;max-width:none}
.program-card__details>div:last-child{display:flex;flex-direction:column;align-items:flex-start}
.program-card__items{width:100%;display:block;margin:0 0 28px}
.program-card__items li{font-size:16px;line-height:1.4;padding-left:24px;margin:0 0 10px}
.program-card:not(:first-child) .program-card__items li{font-size:14px;line-height:1.35;margin-bottom:9px}
.program-card__details .pill{margin-top:auto;font-size:16px;min-height:44px;padding:10px 14px;max-width:100%;gap:10px}
.program-note{font-size:18px;margin-top:20px;line-height:1.5}
.programs__navigation{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:16px}
.programs__navigation>span{margin-right:8px;font-size:16px;color:var(--muted)}
.programs__navigation button{display:grid;place-items:center;width:48px;height:44px;background:var(--ink);color:#fff;border:0;cursor:pointer}
.programs__navigation svg{width:20px;height:20px}
.programs__navigation [data-program-prev] svg{transform:rotate(180deg)}
.programs__navigation button:disabled{opacity:.3;cursor:default}
.programs__navigation button:focus-visible{outline:2px solid var(--sage-dark);outline-offset:4px}

.closing{min-height:650px;padding:100px max(var(--gutter),calc((100vw - 1134px)/2));justify-content:center}
.closing__copy{max-width:1200px}
.closing h2{font-size:clamp(52px,6.25vw,90px);line-height:.87;max-width:1200px;letter-spacing:0;margin:0 0 20px}
.closing__copy p{max-width:660px;font-size:25px;line-height:1.2;margin:0 0 42px}
.closing__copy .pill{font-size:20px;min-height:56px}
.footer{position:relative;min-height:683px;background:var(--paper);padding:42px 44px 0;overflow:hidden}
.footer__top{grid-template-columns:390px minmax(0,1fr);gap:81px;padding:0}
.footer__brand p{max-width:390px;font-size:20px;line-height:1.5;margin:26px 0 18px}
.footer__brand>a:last-child{font-size:20px}
.footer__links{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.footer__column b{font-size:20px;margin-bottom:20px}
.footer__column a{font-size:20px;margin:12px 0}
.footer__wordmark{position:absolute;left:-4.45%;right:-8%;bottom:-140px;height:auto;border:0;display:block;opacity:.2;pointer-events:none}
.footer__wordmark img{width:100%;height:auto;filter:grayscale(1)}
.footer__legal{position:absolute;z-index:1;left:31px;right:11%;bottom:106px;flex-direction:row;font-size:20px;padding:0;color:#777c76}

@media(min-width:1600px){
  #especialidades,#inversion,#recorrido{padding-left:max(var(--gutter),calc((100vw - 1313px)/2));padding-right:max(var(--gutter),calc((100vw - 1313px)/2))}
}
@media(min-width:901px){.hero .hero__title span{white-space:nowrap}}
@media(min-width:901px) and (max-width:1250px){
  #sistema .system-card{padding:22px}
  #sistema .system-card h3{font-size:27px!important}
  #sistema .system-card p{font-size:17px}
  #sistema .system-card__visual{left:22px}
  #sistema .system__cta{font-size:16px}
  .opportunity__grid{gap:40px}
  .opportunity__copy h3{margin-top:24px;font-size:34px!important}
  .journey__top .section-heading{margin-left:0}
  .journey-panel{gap:50px;padding-right:0}
  .specialties__top{gap:45px}
  .specialty-card h3{font-size:28px!important}
  .programs__top{grid-template-columns:1fr 1fr}
  .programs__top-copy{font-size:17px;gap:18px}
  .footer__top{grid-template-columns:320px 1fr;gap:40px}
}
@media(max-width:900px){
  #oportunidad,#sistema,#recorrido,#especialidades,#inversion{padding:72px var(--gutter)}
  .opportunity__head{margin-bottom:34px}
  .opportunity__head span{display:inline!important}
  .opportunity__head span+span:before{content:" "}
  .opportunity__grid{grid-template-columns:1fr;gap:30px}
  .opportunity__photo--small{max-width:none;height:auto}
  .opportunity__copy{grid-column:1;grid-row:auto;padding:0}
  .opportunity__copy h3{margin-top:28px;max-width:450px}
  #sistema .system__top{margin-bottom:50px}
  #sistema .system__top .section-intro{margin:20px 0 0}
  #sistema .system-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:14px}
  #sistema .system-card{min-height:285px;padding:24px}
  #sistema .system-card--identity{grid-column:1;grid-row:1}
  #sistema .system-card--web{grid-column:2;grid-row:1}
  #sistema .system-card--visibility{grid-column:1;grid-row:2}
  #sistema .system-card--automation{grid-column:2;grid-row:2}
  #sistema .system-card h3{font-size:28px!important}
  #sistema .system-card p{font-size:18px}
  #sistema .system-card__visual{left:24px;top:16px}
  #sistema .system-feature{grid-column:1/-1;grid-row:3;height:500px;margin:0}
  #sistema .system-feature img{position:static;width:100%;height:100%;object-position:center 58%}
  #sistema .system__cta{grid-column:1/-1;grid-row:4}
  .journey__top{margin-bottom:48px}
  .journey__top .section-heading{margin:0}
  .journey-panel{grid-template-columns:1fr;gap:28px;padding:0;min-height:0}
  .journey-panel__visual{height:360px;order:0}
  .journey-panel__copy{max-width:none;text-align:left;order:1}
  .journey-panel__copy h3{margin-left:0}
  .specialties__top{grid-template-columns:1fr;gap:25px;margin-bottom:38px}
  .specialties__top .section-intro{max-width:620px}
  .specialty-card{height:470px}
  .specialty-card__content{inset:auto 16px 22px}
  .specialty-card h3{font-size:27px!important}
  .specialty-card p{font-size:17px}
  .programs__top{grid-template-columns:1fr;gap:28px}
  .programs__top-copy{justify-content:flex-start;flex-direction:row;align-items:center}
  .footer{padding:42px var(--gutter) 0;min-height:680px}
  .footer__top{grid-template-columns:1fr;gap:32px}
  .footer__links{grid-template-columns:repeat(3,1fr);gap:20px}
  .footer__column a,.footer__column b{font-size:17px}
  .footer__wordmark{bottom:-35px}
  .footer__legal{bottom:90px;font-size:14px}
}
@media(max-width:680px){
  #oportunidad,#sistema,#recorrido,#especialidades,#inversion{padding:60px var(--gutter)}
  #sistema .system-grid{grid-template-columns:1fr}
  #sistema .system-card--identity{grid-column:1;grid-row:1}
  #sistema .system-card--web{grid-column:1;grid-row:2}
  #sistema .system-card--visibility{grid-column:1;grid-row:3}
  #sistema .system-card--automation{grid-column:1;grid-row:4}
  #sistema .system-feature{grid-column:1;grid-row:5;height:440px}
  #sistema .system__cta{grid-column:1;grid-row:6}
  .journey-panel__visual{height:auto;aspect-ratio:1.6}
  .journey-tab{min-width:128px;font-size:20px}
  .specialty-grid{grid-template-columns:1fr}
  .specialty-card{height:490px}
  .specialty-card h3{font-size:32px!important}
  .specialty-card p{font-size:20px}
  .programs__top-copy{flex-direction:column;align-items:flex-start;font-size:18px}
  .program-note{font-size:17px}
  .closing{min-height:560px;padding:72px var(--gutter)}
  .closing h2{font-size:52px}
  .closing__copy p{font-size:20px;line-height:1.4}
  .footer{min-height:840px}
  .footer__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}
  .footer__column a,.footer__column b{font-size:16px}
  .footer__brand p,.footer__brand>a:last-child{font-size:18px}
  .footer__legal{left:22px;right:22px;bottom:70px;font-size:12px}
}

@media(min-width:901px) and (max-width:1250px){
  .program-card{min-height:470px;padding:14px 18px 24px;gap:16px;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);grid-template-rows:174px 1fr}
  .program-card__image{height:174px}
  .program-card__identity{padding:0 10px 12px 0}
  .program-card h3{font-size:27px!important}
  .program-card__details{gap:16px}
  .program-card__price{font-size:25px}
  .program-card__intro{font-size:16px}
  .program-card__items li{font-size:15px;line-height:1.35;margin-bottom:9px}
  .program-card:not(:first-child) .program-card__items li{font-size:13px;margin-bottom:8px}
  .program-card__details .pill{font-size:14px;padding:10px}
}
@media(max-width:900px){
  .program-card{flex-basis:100%;min-height:540px;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);grid-template-rows:205px 1fr}
  .program-card__image{grid-column:1;grid-row:1;height:205px}
  .program-card__identity{grid-column:2;grid-row:1}
  .program-card__details{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr)}
}
@media(max-width:540px){
  .program-card{padding:16px;grid-template-columns:1fr;grid-template-rows:175px auto auto;gap:20px;min-height:0}
  .program-card__image{grid-column:1;grid-row:1;height:175px}
  .program-card__identity{grid-column:1;grid-row:2;padding:0}
  .program-card__identity h3{font-size:30px!important;padding-right:20px}
  .program-card__details{grid-column:1;grid-row:3;grid-template-columns:1fr;gap:20px}
  .program-card__intro{font-size:18px}
  .program-card__items li{font-size:17px}
  .program-card:not(:first-child) .program-card__items li{font-size:17px}
  .program-card__symbol{top:24px;right:24px}
}

/* Hero composition based on the approved layout reference. */
.nav,.nav.is-scrolled{
  top:0;
  height:108px;
  background:#F5F4EF;
  color:var(--ink);
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.nav .brand img,.nav.is-scrolled .brand img{filter:none}
.nav .nav__links a,.nav.is-scrolled .nav__links a{color:var(--ink)}
.nav .nav__cta,.nav.is-scrolled .nav__cta{background:var(--ink);color:#fff}
.nav .menu-toggle span,.nav.is-scrolled .menu-toggle span{background:var(--ink)}
.hero{
  height:calc(100svh - 108px);
  min-height:720px;
  margin-top:108px;
}
.hero__copy{
  position:absolute;
  inset:0 var(--gutter);
  display:block;
}
.hero__main{position:static;transform:none}
.hero__eyebrow{
  position:absolute;
  left:0;
  bottom:42%;
}
.hero .hero__title{
  position:absolute;
  left:0;
  bottom:22%;
  max-width:1040px;
  margin:0;
  font-size:clamp(64px,6.25vw,96px);
  line-height:.94;
}
.hero-search{
  top:27%;
  left:50%;
  width:min(600px,calc(100vw - (var(--gutter) * 2)));
  transform:translateX(-50%);
}
.hero__actions{
  position:absolute;
  left:0;
  bottom:9.5%;
  justify-content:flex-start;
}
.hero__aside{
  position:absolute;
  right:0;
  bottom:22%;
  max-width:430px;
  padding:0;
}
.hero__aside p{
  max-width:430px;
  margin:0;
  text-align:left;
  line-height:1.45;
}

@media(max-width:1100px) and (min-width:901px){
  .hero .hero__title{font-size:clamp(58px,7vw,76px);bottom:24%}
  .hero__eyebrow{bottom:43%}
  .hero__aside{bottom:11%;max-width:380px}
  .hero__aside p{font-size:17px;max-width:380px}
  .hero__actions{bottom:9%}
}

@media(max-width:900px){
  .hero{
    height:auto;
    min-height:calc(100svh - 108px);
    margin-top:108px;
    padding:56px var(--gutter) 48px;
  }
  .hero__copy{
    position:relative;
    inset:auto;
    display:flex;
    flex-direction:column;
  }
  .hero__main{display:flex;flex-direction:column}
  .hero-search{
    position:relative;
    order:-1;
    top:auto;
    left:auto;
    width:100%;
    margin:0 0 64px;
    transform:none;
  }
  .hero__eyebrow,.hero .hero__title,.hero__actions,.hero__aside{
    position:relative;
    inset:auto;
  }
  .hero .hero__title{margin:18px 0 0;font-size:clamp(52px,10vw,76px)}
  .hero__actions{margin-top:32px}
  .hero__aside{margin-top:34px;max-width:520px}
  .hero__aside p{max-width:520px;font-size:18px}
}

@media(max-width:680px){
  .nav,.nav.is-scrolled{height:94px}
  .hero{
    min-height:calc(100svh - 94px);
    margin-top:94px;
    padding-top:42px;
  }
  .hero-search{height:60px;margin-bottom:46px}
  .hero .hero__title{font-size:clamp(48px,13vw,68px)}
  .hero__eyebrow{font-size:clamp(24px,7vw,31px)}
  .hero__aside p{font-size:18px}
}
