:root {
  --navy: #141335;
  --blue: #284394;
  --red: #cc132f;
  --ink: #17182c;
  --muted: #5b6172;
  --line: #dfe3eb;
  --soft: #f3f5f9;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 19, 53, .12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; transform: translateY(-160%); padding: .7rem 1rem; background: var(--white); color: var(--navy); border: 2px solid var(--red); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(20,19,53,.1); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 1.6rem; }
.brand { width: clamp(210px, 24vw, 315px); flex: 0 0 auto; }
.main-nav { display: flex; gap: 1rem; align-items: center; margin-left: auto; }
@media (min-width:981px) and (max-width:1200px) {
  .header-inner { gap:.8rem; }
  .header-inner .brand { width:210px; }
  .main-nav { gap:.7rem; }
  .header-inner > .button { display:none; }
}
.story-copy { max-width:760px; font-size:1.1rem; }
.story-copy h2 { margin-top:2.7rem; font-size:clamp(1.6rem,3vw,2.2rem); }
.story-opening { font-size:clamp(1.5rem,3vw,2rem); color:var(--blue); border-left:4px solid var(--red); padding-left:1.2rem; margin-block:2rem; }
.story-note { color:var(--muted); font-size:.9rem; margin-top:2rem; max-width:75ch; }
.story-card { max-width:850px; padding:clamp(1.5rem,4vw,3rem); background:var(--soft); border:1px solid var(--line); border-top:4px solid var(--red); border-radius:var(--radius); }
.story-card h2 { font-size:clamp(1.8rem,4vw,2.8rem); }
.story-card h2 a { text-decoration:none; }
.main-nav a { text-decoration: none; color: var(--navy); font-weight: 650; font-size: .95rem; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--red); }
.menu-toggle { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .75rem 1.35rem; border: 0; border-radius: 999px; color: var(--white); background: var(--red); text-decoration: none; font-weight: 750; cursor: pointer; box-shadow: 0 9px 24px rgba(204,19,47,.2); }
.button:hover, .button:focus-visible { background: #ae1028; transform: translateY(-1px); }
.button-small { min-height: 42px; padding: .6rem 1rem; font-size: .9rem; }
.text-link { color: var(--blue); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover, .text-link:focus-visible { color: var(--red); }

.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: linear-gradient(150deg, #fff 0 64%, #eef1f8 64%); }
.hero h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); }
[hidden] { display: none !important; }
.project-filters { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1rem; }
.project-filters button { border:1px solid var(--blue); border-radius:999px; padding:.7rem 1rem; background:white; color:var(--blue); font:inherit; cursor:pointer; }
.project-filters button[aria-pressed="true"] { background:var(--blue); color:white; }
.project-count { margin-bottom:1.5rem; color:var(--muted); }
.solution-details summary { cursor:pointer; color:var(--blue); font-weight:700; padding:.8rem 0; }
@media(min-width:651px) { .solution-details summary { display:none; } }
@media(max-width:650px) { .detail-card .service-visual img { max-height:200px; object-fit:cover; } }
.hero::before { content: ""; position: absolute; width: 360px; height: 360px; border: 66px solid rgba(40,67,148,.06); border-radius: 50%; top: -170px; left: -145px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eyebrow { margin: 0 0 .9rem; color: var(--red); font-size: .82rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 760px; margin-bottom: 1.4rem; font-size: clamp(2.75rem, 6.4vw, 5.7rem); }
h2 { margin-bottom: 1.1rem; font-size: clamp(2.05rem, 4vw, 3.55rem); }
h3 { margin-bottom: .75rem; font-size: 1.28rem; }
.hero-lead { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.38rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; margin: 2.5rem 0 0; padding: 0; list-style: none; color: var(--navy); font-size: .9rem; font-weight: 700; }
.hero-points li { position: relative; padding-left: 1rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 42% 12% 12% 12%; box-shadow: var(--shadow); }
.hero-media figcaption { position: absolute; left: -2rem; right: 2rem; bottom: -1.8rem; padding: 1rem 1.2rem; border-left: 5px solid var(--red); background: var(--navy); color: var(--white); font-size: .9rem; box-shadow: var(--shadow); }

.section { padding: clamp(2.75rem, 5vw, 4.75rem) 0; }
.section-heading { max-width: 780px; margin-bottom: 2.7rem; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.section-heading.compact { margin-bottom: 2rem; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.solution-card { position: relative; min-height: 300px; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.solution-card.featured { background: var(--navy); border-color: var(--navy); }
.solution-card.featured h3, .solution-card.featured p, .solution-card.featured a { color: var(--white); }
.solution-card p { margin: 0; color: var(--muted); }
.solution-card a { display: inline-block; margin-top: 1rem; font-weight: 750; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 2.1rem; }
.card-number { display: block; color: var(--red); font-size: .82rem; font-weight: 850; letter-spacing: .1em; }
.solution-icon { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 16px; color: var(--blue); background: var(--soft); }
.solution-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.solution-card.featured .solution-icon { color: var(--white); background: rgba(255,255,255,.12); }

.process { background: var(--navy); color: var(--white); }
.process-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 6rem; align-items: start; }
.section-heading.light h2, .section-heading.light p:last-child { color: var(--white); }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.process-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.process-list > li > span { color: #8198df; font-weight: 800; }
.process-list strong { font-size: 1.15rem; }
.process-list p { margin: .2rem 0 0; color: #c9cee0; }

.education { background: var(--soft); }
.education-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.education-media { position: relative; }
.education-media::after { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 3px solid var(--blue); border-radius: 1rem; z-index: 0; }
.education-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 1rem; }
.education-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem 1.2rem; margin: 1.7rem 0 2rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.5rem; color: var(--navy); font-weight: 650; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border: 3px solid var(--red); border-radius: 50%; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.about-copy { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.about-copy p:first-child { margin-top: 0; }

.clients { padding-top: 3rem; overflow: hidden; background: #fafbfe; }
.client-grid { display: flex; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #aeb4c4 transparent; }
.client-grid img { width: clamp(165px, 19vw, 225px); height: 118px; flex: 0 0 auto; padding: 1.25rem; object-fit: contain; border-right: 1px solid var(--line); filter: grayscale(1); opacity: .72; scroll-snap-align: start; transition: filter .2s, opacity .2s; }
.client-grid img:last-child { border-right: 0; }
.client-grid img:hover { filter: none; opacity: 1; }
.client-note { color: var(--muted); font-size: .88rem; }
.client-scroll-hint { display: none; margin: .8rem 0 0; color: var(--blue); font-size: .82rem; font-weight: 750; text-align: right; }

.contact-panel { background: linear-gradient(135deg, #eef1f8, #fff); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); }
.support-channel { display: grid; gap: .2rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.support-channel a { color: var(--blue); font-weight: 750; }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; color: var(--navy); font-size: .92rem; font-weight: 700; }
.contact-form label span { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #bfc5d2; border-radius: 9px; padding: .8rem .9rem; color: var(--ink); background: var(--white); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(40,67,148,.18); border-color: var(--blue); }
.contact-form textarea { resize: vertical; }
.contact-form .consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: .7rem; font-weight: 500; }
.contact-form .consent input { width: 20px; height: 20px; margin-top: .15rem; flex: 0 0 auto; }
.contact-form .button { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: .83rem; }

.site-footer { padding: 4rem 0 1.5rem; background: #0c0c26; color: #d9dceb; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 4rem; }
.footer-brand img { width: min(100%, 330px); margin-bottom: 1.2rem; }
.footer-brand p { max-width: 450px; }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.site-footer a { display: block; margin-bottom: .35rem; color: var(--white); }
.site-footer p { margin: .3rem 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }

.main-nav [aria-current="page"] { color: var(--red); }
.page-hero { padding: clamp(4.5rem, 9vw, 8rem) 0; color: var(--white); background: var(--navy); }
.page-hero h1 { max-width: 900px; margin-bottom: 1.2rem; color: var(--white); font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero p:last-child { max-width: 760px; margin-bottom: 0; color: #d7dbea; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.narrow { max-width: 920px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .62fr; gap: 4rem; align-items: center; }
.page-hero-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 36% 8% 8% 8%; box-shadow: 0 18px 60px rgba(0,0,0,.25); }
.detail-stack { display: grid; gap: 1.2rem; }
.detail-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(1.7rem, 4vw, 3.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.detail-card:nth-child(even) { background: var(--soft); }
.detail-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.detail-card p { color: var(--muted); }
.detail-card ul, .project-card ul { margin: 0; padding: 0; list-style: none; align-self: center; }
.detail-card li, .project-card li { position: relative; padding: .5rem 0 .5rem 1.4rem; border-bottom: 1px solid var(--line); }
.detail-card li::before, .project-card li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.secondary-services, .values { background: var(--soft); }
.compact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.compact-grid > div { padding: 1.4rem; border-top: 3px solid var(--blue); background: var(--white); }
.compact-grid p { margin-bottom: 0; color: var(--muted); }
.page-cta { padding: 3.4rem 0; color: var(--white); background: var(--blue); }
.page-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.page-cta h2 { margin: 0; color: var(--white); font-size: clamp(1.8rem, 3.5vw, 3rem); }
.page-cta .eyebrow { color: #fff; }
.education-story { background: var(--soft); }
.timeline-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 7rem); }
.timeline article { position: relative; padding: 0 0 2.3rem 3.5rem; border-left: 2px solid var(--line); }
.timeline article:last-child { padding-bottom: 0; }
.timeline article::before { content: ""; position: absolute; left: -8px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--red); }
.timeline span { display: block; color: var(--blue); font-weight: 850; }
.timeline h3 { margin: .15rem 0 .5rem; }
.timeline p { margin: 0; color: var(--muted); }
.project-grid { display: grid; gap: 2rem; }
.project-card { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.project-card.reverse img { order: 2; }
.project-card img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.project-card > div { padding: clamp(1.8rem, 5vw, 3.6rem); }
.project-card h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.project-card p { color: var(--muted); }
.contact-data { margin: 2rem 0; }
.contact-data > div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-data dt { color: var(--muted); font-size: .82rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.contact-data dd { margin: .2rem 0 0; font-weight: 700; }
.contact-data a { color: var(--blue); }
.legal-copy h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.legal-copy p { color: var(--muted); font-size: 1.05rem; }
.legal-warning { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.privacy-nav { margin-left: auto; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: var(--soft); }
.error-page main { max-width: 700px; text-align: center; }
.error-page img { width: min(100%, 360px); margin: 0 auto 2rem; }
.error-page h1 { font-size: clamp(2.3rem, 7vw, 4.8rem); }
.error-code { margin: 0; color: var(--red); font-size: 1rem; font-weight: 900; letter-spacing: .16em; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; margin-left: auto; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy); font-weight: 750; }
  .main-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 70px; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .header-inner > .button { display: none; }
  .hero-grid, .education-grid, .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-hero-grid, .detail-card, .timeline-layout, .project-card { grid-template-columns: 1fr; }
  .project-card.reverse img { order: 0; }
  .compact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy { max-width: 760px; }
  .hero-media { max-width: 650px; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .header-inner { min-height: 68px; }
  .brand { width: 215px; }
  .hero { padding-top: 3.5rem; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-media figcaption { position: relative; left: .8rem; right: auto; bottom: 1.2rem; width: calc(100% - 1.6rem); }
  .solution-grid, .check-list, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .compact-grid { grid-template-columns: 1fr; }
  .page-cta .container { display: grid; }
  .solution-card { min-height: auto; }
  .client-grid { width: calc(100% + 1rem); border-radius: 14px 0 0 14px; }
  .client-grid img { width: 42vw; min-width: 145px; max-width: 180px; height: 104px; padding: 1rem; }
  .client-scroll-hint { display: block; }
  .footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.form-trap { position:absolute !important; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-form button:disabled { opacity:.65; cursor:wait; }
.case-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
.case-study { min-width:0; border:1px solid #dddde6; border-radius:24px; overflow:hidden; background:#fff; }
.case-body { padding:clamp(1.4rem,3vw,2.4rem); }
.case-body h2 { font-size:clamp(1.55rem,2.5vw,2rem); }
.photo-slot { aspect-ratio:16/9; background:linear-gradient(130deg,#141335,#284394); color:#fff; padding:2rem; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; }
.photo-slot p { color:#fff; margin:0; font-size:clamp(1.2rem,2vw,1.6rem); max-width:28ch; }
.photo-slot .card-number { color:#fff; border-bottom:3px solid #cc132f; width:3rem; }
.photo-slot img { width:100%; height:100%; object-fit:cover; }
.photo-slot:has(img) { padding:0; }
.profile-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:3rem; }
.portrait-slot { aspect-ratio:4/3; }
@media(max-width:760px) { .case-grid,.profile-layout { grid-template-columns:1fr; } .photo-slot { padding:1.5rem; } }
[data-form-status] { min-height:3em; }
.contact-form.is-submitted > :not([data-form-status]) { display: none; }
.contact-form.is-submitted { align-self: start; border-top: 5px solid var(--blue); }
.contact-form.is-submitted [data-form-status] {
  margin: 0; padding: clamp(1rem, 3vw, 2rem) 0;
  color: var(--navy); font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600; line-height: 1.6; text-align: center;
  scroll-margin-top: 7rem;
}
.contact-form.is-submitted [data-form-status]::before {
  content: '\2713'; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem;
  border-radius: 50%; background: var(--blue); color: white; font-size: 2rem;
}
.contact-form.is-submitted [data-form-status]:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 6px;
}

/* Revisión editorial y navegación adaptable. */
[id] { scroll-margin-top: 90px; }
.site-header { background: #fff; backdrop-filter: none; }
.trust-band { background: var(--soft); border-block: 1px solid var(--line); padding: 1.25rem 0; }
.trust-band .hero-points { margin: 0; justify-content: space-between; gap: 1rem; }
.section-shortcuts { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: 1.25rem; }
.section-shortcuts a { padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); font-weight: 650; text-decoration: none; }
.section-shortcuts a:hover { border-color: var(--blue); background: var(--soft); }
.education-cards .solution-card { min-height: 0; padding: 1.5rem; }
.card-top { margin-bottom: 1rem; }
.page-cta .button { flex-shrink: 0; white-space: nowrap; align-self: center; }
.page-cta h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); max-width: 28ch; }
.page-cta { padding-block: 2.5rem; }
.page-hero { padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero .eyebrow { color: #fff; font-size: .78rem; }
.section-heading .eyebrow { font-size: .78rem; margin-bottom: .6rem; }
@media (max-width: 980px) {
  .main-nav { left: 0; right: 0; top: 100%; max-height: calc(100dvh - 78px); overflow-y: auto; border-radius: 0 0 12px 12px; }
  .main-nav a { padding: .65rem .5rem; }
  .header-inner { gap: .75rem; }
  .education-media::after { right: 0; }
}
@media (max-width: 650px) {
  .brand { width: min(58vw, 215px); }
  .hero { padding-block: 2.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero-grid { gap: 1.8rem; }
  .hero-media { max-width: 420px; margin-inline: auto; }
  .trust-band .hero-points { display: grid; gap: .65rem; font-size: .85rem; }
  .page-cta .button { justify-self: start; }
  .section-heading { margin-bottom: 1.5rem; }
  .education-media::after { right: 0; }
}

/* AI service illustrations: never used as client project evidence. */
.service-visual { margin: 1.25rem 0; min-width: 0; }
.service-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 14px; }
.service-visual figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.solution-card.featured .service-visual figcaption { color: #dddde6; }

/* Temporary project illustrations: keep the disclosure visible until replaced. */
.case-study .project-visual { margin: 0; padding: 0; display: block; aspect-ratio: auto; background: var(--navy); }
.project-visual .project-image { position: relative; }
.project-visual .project-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
.project-visual .card-number { position: absolute; top: 1rem; left: 1rem; padding: .35rem .55rem; background: var(--navy); }
.project-visual figcaption { padding: .9rem 1.2rem; color: #fff; font-size: .875rem; line-height: 1.5; }
.project-visual figcaption strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.professional-portrait { width: 100%; border-radius: 12px; overflow: hidden; background: var(--navy); }
.professional-portrait img { display: block; width: 100%; height: auto; }
/* About concepts are illustrations, never photographs of staff or facilities. */
.about-visual-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.about-visual-layout h1 { font-size: clamp(2.5rem, 4.5vw, 4.4rem); }
.about-concept { margin: 0; min-width: 0; }
.about-concept img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: var(--radius); }
.about-concept figcaption { margin-top: .65rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.page-hero .about-concept figcaption { color: #c7cee2; }
@media (max-width: 900px) {
  .about-visual-layout { grid-template-columns: minmax(0, 1fr); }
  .about-concept { width: 100%; max-width: 680px; margin-inline: auto; }
}
.founder-section { padding-block: clamp(2rem, 4vw, 3rem); }
.founder-profile { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 1.75rem; row-gap: .6rem; align-items: start; max-width: 850px; }
.founder-profile .professional-portrait { grid-column: 1; grid-row: 1 / 4; }
.founder-heading { grid-column: 2; min-width: 0; align-self: center; }
.founder-heading h2 { margin: 0 0 .35rem; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
.founder-role { margin: 0; font-size: .95rem; font-weight: 600; color: var(--navy); }
.founder-description { grid-column: 2; margin: 0; }
.founder-link { grid-column: 2; font-size: .95rem; }
@media (max-width: 600px) {
  .founder-profile { grid-template-columns: 72px minmax(0, 1fr); column-gap: 1rem; row-gap: 1rem; }
  .founder-profile .professional-portrait { grid-row: 1; }
  .founder-description, .founder-link { grid-column: 1 / -1; }
}

/* Evitar que el contenido mínimo de los formularios ensanche la cuadrícula. */
.contact-grid > *, .contact-form > *, .contact-form label, .field-row > * { min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea { min-width: 0; max-width: 100%; }
.contact-form, .contact-data, .support-channel { overflow-wrap: anywhere; }
.service-catalog h3 { font-size: 1.25rem; }

/* Conectividad educativa: bloque destacado sin alterar las secciones vecinas. */
.campus-connectivity { border-block: 1px solid var(--line); background: #eef2fb; }
.campus-connectivity .profile-layout { align-items: start; }
.campus-connectivity .service-visual { margin-top: 0; border-top: 4px solid var(--blue); padding-top: 1rem; }
.campus-connectivity h2 { text-wrap: balance; }
