/* La base visual se conserva en las tres hojas originales del sitio.
   Extensión: recorrido editorial; misma escala tipográfica, paleta y espaciado. */
.brand-intro{padding:90px 0 45px;text-align:center;max-width:1000px}
.brand-intro .eyebrow{justify-content:center}
.brand-intro h2{max-width:950px;margin:auto}
.brand-intro>p{max-width:660px;margin:25px auto 0;font-size:15px;line-height:1.9}
.intro-details{display:flex;flex-direction:column;align-items:center;gap:12px;margin:28px auto 0;font-size:12px;color:var(--muted)}
.intro-details span:last-child{color:var(--ink);font-weight:600}
.journey-start{width:44px;height:44px;display:grid;place-items:center;margin:45px auto 0;border:1px solid #fff;border-radius:50%;color:var(--blue);background:var(--glass)}
.journey-start .icon{transform:rotate(90deg)}
.journey{position:relative;padding-bottom:45px}
#journey-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
#track,.branch-track{fill:none;stroke:#dce6f3;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#progress,.branch-progress{fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.branch-dot{fill:var(--paper);stroke:#dce6f3;stroke-width:3;transition:fill .5s,stroke .5s}
.branch-dot.active{fill:var(--blue);stroke:#e5f1ff}
.journey-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:110px;align-items:center;padding:90px 0;z-index:1}
.journey-copy{max-width:520px}
.journey-copy h2{margin-bottom:25px}
.journey-copy>p{font-size:13px;line-height:1.9;max-width:475px;margin-top:18px}
.journey-copy>p strong{font-weight:600;color:var(--ink)}
.journey-row.reverse .journey-copy{grid-column:2;grid-row:1}
.journey-row.reverse>.journey-visual,.journey-row.reverse>.journey-art{grid-column:1;grid-row:1}
.inline-note{font-size:12px;line-height:1.8;color:#58738f;border-top:1px solid var(--line);margin-top:25px;padding-top:20px}
.journey-art{display:flex;align-items:center;justify-content:center;min-height:310px}
.journey-art img{width:100%;height:auto;max-height:460px;object-fit:contain;filter:drop-shadow(0 20px 20px #456b9315)}
.journey-copy .fine{font-size:11px;margin-top:18px}
.definition{padding:48px 50px;min-height:365px;display:flex;flex-direction:column;justify-content:center}
.definition .eyebrow{font-size:10px;margin-bottom:28px}
.definition h3{font-size:46px;font-weight:750}
.definition-type{font-size:11px;color:var(--muted);margin-top:10px}
.definition>p{font-size:15px;line-height:1.9;margin-top:25px;color:var(--ink)}
.definition-bottom{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:11px;color:#58738f}
.photo-placeholder{aspect-ratio:1.1;background:#e9edf2;border:1px solid #fff;border-radius:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:var(--muted);gap:12px;width:100%}
.photo-placeholder svg{width:44px;height:44px;fill:none;stroke:#a5b5c8;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.photo-placeholder span{font-size:12px;max-width:240px;line-height:1.7}
.photo-placeholder small{font-size:10px;color:#8292a7}
.photo-placeholder.portrait{aspect-ratio:.88;max-height:550px}
.role-sequence{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;font-size:10px;margin-top:25px;color:var(--muted)}
.role-sequence i{font-style:normal;color:#a5b5c8}
.role-sequence strong{font-weight:650;color:var(--blue)}
.specialties{row-gap:45px}
.split-heading{grid-column:1/-1;text-align:center;margin:0 auto 0;max-width:850px;position:relative;padding:24px;background:var(--paper);border-radius:30px}
.split-heading .eyebrow{justify-content:center}
.split-heading p{font-size:13px;line-height:1.9;margin-top:22px}
.specialty{overflow:hidden;align-self:stretch;display:flex;flex-direction:column}
.specialty-image{height:265px}
.specialty-image .photo-placeholder{height:100%;aspect-ratio:auto;border-radius:30px 30px 0 0;border:0;border-bottom:1px solid #fff}
.business-image{background:linear-gradient(135deg,#ebf6ff,#d9eaff80);display:grid;place-items:center;padding:20px}
.business-image img{width:100%;height:100%;object-fit:contain}
.specialty-copy{padding:34px;flex:1;display:flex;flex-direction:column}
.specialty-copy .eyebrow{margin-bottom:20px}
.specialty h3{font-size:30px;margin:0 0 20px}
.specialty p{font-size:13px;line-height:1.9;margin-bottom:25px}
.specialty .actions{margin-top:auto}
.specialty .btn{width:100%}
.network{padding:48px 40px;text-align:center;min-height:365px}
.network .eyebrow{justify-content:center}
.network-symbol{width:90px;height:90px;margin:25px auto;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ebf6ff,#d9eaff80);border:1px solid #fff;color:var(--blue)}
.network-symbol>.icon{width:44px;height:44px;stroke-width:1.2}
.network-states{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.network-states span{font-size:11px;padding:10px;background:#ffffff9c;border:1px solid #fff;border-radius:15px;color:#58738f}
.network p{font-size:12px;margin-top:25px}
.visual-caption{display:flex;justify-content:center;gap:28px;font-size:12px;color:#58738f;margin-top:22px}
.founder-name{margin-top:28px;margin-bottom:25px}
.founder-name h3{font-size:25px}
.founder-name span{font-size:11px;display:block;color:var(--muted);margin-top:10px}
.journey-end{position:relative;z-index:2;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--blue);background:var(--paper);border:1px solid #fff;margin:auto;box-shadow:var(--shadow)}
.motion-ready .journey-row>*:not(.split-heading),.motion-ready .split-heading,.motion-ready .brand-intro{opacity:0;transform:translateY(28px);transition:opacity .85s ease,transform .85s cubic-bezier(.2,.65,.3,1)}
.motion-ready .journey-row.is-visible>*,.motion-ready .brand-intro.is-visible{opacity:1;transform:none}
.motion-ready .journey-row.is-visible>:last-child{transition-delay:.1s}
@media(min-width:961px){.journey-row[data-side=left] .journey-copy{padding-right:10px}.journey-row[data-side=right] .journey-copy{padding-left:10px}}
@media(max-width:960px){.journey-row{column-gap:70px;padding:65px 0}.definition{padding:35px}.definition h3{font-size:37px}.network{padding:35px 25px}.specialty-copy{padding:28px}.journey-copy h2{font-size:37px}.network-states{gap:8px}.brand-intro{padding:65px 0 35px}}
@media(max-width:740px){.brand-intro{padding:52px 4px 28px}.brand-intro h2{font-size:32px}.brand-intro>p{font-size:13px}.intro-details{font-size:11px;max-width:290px}.journey-start{margin-top:28px}.journey-row,.journey-row.reverse{grid-template-columns:minmax(0,1fr);gap:28px;padding:52px 0 52px 28px;text-align:center}.journey-row.reverse .journey-copy,.journey-row.reverse>.journey-visual,.journey-row.reverse>.journey-art{grid-column:1;grid-row:auto}.journey-copy{max-width:100%;padding:0 8px}.journey-copy .eyebrow{justify-content:center;font-size:9px}.journey-copy h2{font-size:32px}.journey-copy>p{font-size:13px;margin-left:auto;margin-right:auto;max-width:450px}.journey-copy .actions{justify-content:center}.inline-note{font-size:11px}.definition{padding:30px 24px;min-height:310px}.definition h3{font-size:38px}.definition .eyebrow{justify-content:center;font-size:9px}.definition>p{font-size:13px}.definition-bottom{font-size:10px}.photo-placeholder{aspect-ratio:1.2;padding:24px}.photo-placeholder.portrait{aspect-ratio:.9;max-height:470px}.photo-placeholder span{font-size:11px}.split-heading{grid-column:1;padding:24px 8px;background:none}.split-heading h2{font-size:32px}.split-heading p{font-size:13px}.specialties{gap:28px}.specialty-copy{padding:28px 24px}.specialty-copy .eyebrow{justify-content:center}.specialty h3{font-size:30px}.specialty-image{height:265px}.specialty-copy .actions{justify-content:center}.network{padding:30px 24px;min-height:310px}.network-states{gap:12px}.journey-art{min-height:0}.role-sequence{gap:8px}.journey-end{margin-left:0;transform:translateX(-10px);width:36px;height:36px}.founder-name h3{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.motion-ready .journey-row>*,.motion-ready .brand-intro{opacity:1;transform:none;transition:none}.btn{transition:none}.branch-dot{transition:none}}
@media print{.motion-ready .journey-row>*,.motion-ready .brand-intro{opacity:1!important;transform:none!important}#journey-lines{display:none}.journey-row{break-inside:avoid}}
/* Contención de la imagen oficial dentro de la tarjeta simétrica. */
.business-image{min-height:0;overflow:hidden}
.business-image img{height:225px;max-height:225px;min-height:0;width:100%;object-fit:contain}
.motion-ready .journey-row:focus-within>*{opacity:1;transform:none}

.journey-closing{text-align:center;padding:0 0 45px}
.journey-closing blockquote{margin:0 auto;max-width:1100px;font-size:32px;font-weight:750;line-height:1.3;letter-spacing:-.055em;color:var(--ink)}
@media(max-width:740px){.journey-closing{padding:0 8px 28px}.journey-closing blockquote{font-size:25px}}
/* Imágenes entregadas por Diego; encuadres sin alterar los originales. */
.human-photo{display:block;width:100%;height:auto;border-radius:30px;box-shadow:var(--shadow)}
.specialty-image{height:auto;aspect-ratio:4/3;overflow:hidden}
.specialty-image .specialty-photo{width:100%;height:100%;object-fit:cover;display:block}
.founder-portrait{width:min(100%,412.5px);aspect-ratio:3/4;justify-self:center;overflow:hidden;border-radius:30px;border:1px solid #fff;box-shadow:var(--shadow)}
.founder-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:54% center}
.definition{text-align:center;align-items:center}
.definition .eyebrow{justify-content:center}
.definition-bottom{width:100%}
.network{padding:35px 25px}
.network-map{margin:25px auto;width:100%;max-width:540.8px}
.mexico-presence-map{display:block;width:100%;height:auto;overflow:visible}
.map-state{stroke:rgba(117,151,193,.5);stroke-width:.65;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.map-state:hover{stroke:var(--ink);stroke-width:1.5}
@media(max-width:740px){.founder-portrait{width:min(100%,352.5px)}.network{padding:30px 20px}}

/* Recorte consistente de fotografías en escritorio y móvil. */
.human-photo-frame,.specialty-image,.founder-portrait{border-radius:30px;overflow:hidden;isolation:isolate;clip-path:inset(0 round 30px)}
.human-photo-frame{box-shadow:var(--shadow)}
.human-photo-frame .human-photo{border-radius:inherit;box-shadow:none}
.specialty-image .specialty-photo,.founder-portrait img{border-radius:inherit}

/* Móvil: recorrido centrado con conectores independientes, sin carril lateral. */
@media(max-width:740px){
 .journey-row,.journey-row.reverse{padding:92px 0 32px;text-align:center}
 .journey-copy{width:100%;margin-inline:auto}
 .journey-row:last-of-type{padding-bottom:84px}
 .journey-end{margin-inline:auto;transform:none}
 .journey-row .actions{justify-content:center}
}

/* Retrato con tarjeta del mismo ancho que los demás bloques visuales. */
.founder-photo-card{width:100%;padding:10px;justify-self:stretch;border-radius:30px}
.founder-photo-card .founder-portrait{width:100%;max-width:none;aspect-ratio:3/4;box-shadow:none;border:0;border-radius:19px;clip-path:inset(0 round 19px)}


/* Introducción abierta y centrada para las dos especialidades. */
.split-heading{background:transparent;border:0;border-radius:0;padding:0 24px;max-width:850px}
.specialties{row-gap:30px}
@media(max-width:960px){.split-heading h2{font-size:37px}}
@media(max-width:740px){.split-heading{padding:0 8px}.split-heading h2{font-size:32px}.specialties{row-gap:24px}}

.map-tooltip{position:fixed;z-index:1000;pointer-events:none;padding:7px 11px;border:1px solid #fff;border-radius:10px;background:var(--ink);color:#fff;font:500 11px/1.4 Inter,sans-serif;box-shadow:var(--shadow)}
.map-tooltip[hidden]{display:none}
.map-state:focus-visible{outline:none;stroke:var(--ink);stroke-width:1.5}



.section-action-group .fine{font-size:11px;margin-top:18px;line-height:1.9}
@media(max-width:740px){.journey-row>.section-action-group{grid-column:1;text-align:center;width:100%}.journey-row>.section-action-group .actions{justify-content:center;margin-top:0}}

/* Rama de roles: integrada en el recorrido, sin imagen ni altura fija. */
.buyer-map{position:relative;display:grid;gap:16px;padding:0 0 0 54px;isolation:isolate}
.buyer-map-lines{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible}
.buyer-map-track,.buyer-map-flow{fill:none;stroke:#dce6f3;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.buyer-map-flow{stroke:var(--blue);stroke-dasharray:1;stroke-dashoffset:1}
.buyer-role{padding:20px 24px;border:1px solid rgba(255,255,255,.95);border-radius:24px;background:linear-gradient(125deg,rgba(255,255,255,.68),rgba(236,244,255,.55));box-shadow:0 12px 28px #1b477508}
.buyer-role-kicker{display:flex;align-items:center;gap:12px;color:#6b829c;font-size:9px;font-weight:650;letter-spacing:.1em;min-height:20px}
.buyer-role h3{font-size:23px;letter-spacing:-.045em;line-height:1.15;margin:7px 0 10px;color:var(--ink)}
.buyer-role p{font-size:12px;line-height:1.75;margin:0;color:#647d99;max-width:340px}
.buyer-role-featured{background:linear-gradient(125deg,#e7f3ff,#eef3ff);border-color:#bedaff;box-shadow:0 14px 36px #1268cf0d}
.buyer-role-featured h3,.buyer-role-featured .buyer-role-kicker{color:var(--blue)}
.buyer-new{display:inline-flex;align-items:center;padding:4px 10px;border-radius:99px;background:var(--blue);color:#fff;font-size:9px;letter-spacing:0;font-weight:650}
.buyer-role-footer{display:block;margin-top:14px;padding-top:12px;border-top:1px solid #cbdff3;font-size:10px;font-weight:600;color:#35648d}



@media(max-width:960px){.buyer-role{padding:18px}.buyer-role h3{font-size:21px}.buyer-map{padding-left:40px}}
@media(max-width:740px){.buyer-map{width:100%;max-width:480px;margin-inline:auto;padding-left:32px;gap:14px;text-align:left}.buyer-role{padding:20px;border-radius:22px}.buyer-role h3{font-size:23px}.buyer-role p{font-size:12px}.buyer-role-kicker{font-size:9px}.buyer-role-footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){.buyer-map-flow{stroke-dashoffset:0!important;transition:none!important}}
.buyer-map{padding:20px 0;gap:26px}.buyer-role{width:78%;padding:12px 18px;background:none;border:0;box-shadow:none;border-radius:0;margin-left:40px}.buyer-role:nth-of-type(2){margin-left:80px;width:70%}.buyer-role-featured{margin-left:40px;padding:20px 24px;background:linear-gradient(120deg,#e1efff,#f5f8ff);border:1px solid white;border-radius:24px}.buyer-role h3{font-size:25px}.buyer-role p{font-size:13px}.buyer-map-lines{opacity:.9}
/* El diagrama comparte el SVG del recorrido, sin capas desplazadas. */
.buyer-continuous{transition:none!important}

/* Margen interior uniforme en las dos imágenes de especialidades. */
#especialidades .specialty-image{margin:10px 10px 0;width:calc(100% - 20px);border-radius:19px;clip-path:inset(0 round 19px)}
@media(max-width:740px){#especialidades .specialty-image{margin:10px 10px 0;width:calc(100% - 20px);border-radius:19px;clip-path:inset(0 round 19px)}}
