/* Wibosoft · Metro CDMX
   Colores institucionales del logo para la interfaz; colores del Metro solo como código de especialidad (CLAUDE.md). */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
    --wb-marino: #1A1C66;
    --wb-azul: #0F4C92;
    --wb-celeste: #1EA8D7;
    --wb-cian: #3DDAF0;
    --wb-degradado: linear-gradient(90deg, #1A1C66, #0F4C92 35%, #1EA8D7 70%, #3DDAF0);
    --wb-tinta: #14163A;
    --wb-gris: #5A6078;
    --wb-fondo: #FFFFFF;
    --wb-panel: #F1F4F8;
    --wb-borde: #E3E8F0;
    --wb-sobre-marino: #C9D3EA;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    --radius: 16px;
    --radius-lg: 20px;
    --gutter: clamp(16px, 4vw, 24px);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--wb-fondo); color: var(--wb-tinta); font-family: var(--font-body); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wb-azul); }
a:hover { color: var(--wb-marino); }
:focus-visible { outline: 3px solid var(--wb-celeste); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--wb-marino); line-height: 1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(46px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0; }
.icon { flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 80px) 0; }
.section-tight { padding-block: 24px 0; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 28px; }
.section-head p { font-size: 18px; color: var(--wb-gris); }
.section-head-row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.lead { font-size: clamp(18px, 2vw, 19px); color: var(--wb-gris); max-width: 34em; }
.lead-secondary { font-size: 17px; color: var(--wb-gris); max-width: 40em; }
.empty { color: var(--wb-gris); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--wb-marino); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-primary { background: var(--wb-marino); color: #fff; }
.btn-primary:hover { background: var(--wb-azul); color: #fff; }
.btn-gradient { background: var(--wb-degradado) border-box; color: #fff; }
.btn-gradient:hover { color: #fff; }
.btn-outline { border-color: var(--wb-marino); color: var(--wb-marino); background: transparent; }
.btn-outline:hover { background: var(--wb-marino); color: #fff; }
.btn-cyan { background: var(--wb-cian); color: var(--wb-marino); }
.btn-cyan:hover { background: #fff; color: var(--wb-marino); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Chips e insignias de línea */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--wb-panel); color: var(--wb-tinta); font-size: 13px; font-weight: 600; text-decoration: none; min-height: 32px; }
.chip-navy { background: var(--wb-marino); color: #fff; font-weight: 700; }
a.chip:hover { background: #E3E9F2; color: var(--wb-tinta); }
a.chip[aria-current="true"] { background: var(--wb-marino); color: #fff; }
.line-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: 0 0 auto; }
.line-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px; background: var(--line); color: var(--ink, #fff); font: 800 15px/1 var(--font-display); }
.line-badge-lg { min-width: 44px; height: 44px; border-radius: 10px; font-size: 22px; }
.line-badge-xl { min-width: 56px; height: 56px; border-radius: 12px; font-size: 28px; }
.line-label { font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--wb-gris); }
.tag-specialty { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #fff; background: var(--wb-marino); padding: 5px 9px; border-radius: 999px; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--wb-borde); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { height: 40px; width: auto; }
.nav-toggle > summary { display: none; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.main-nav > a:not(.btn) { color: var(--wb-tinta); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.main-nav > a:not(.btn):hover, .main-nav > a[aria-current="page"] { border-bottom-color: var(--wb-celeste); }
.lang-switch { display: inline-flex; background: var(--wb-panel); border-radius: 999px; padding: 4px; }
.lang-switch > * { min-width: 44px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--wb-gris); }
.lang-switch .is-active { background: var(--wb-marino); color: #fff; }
.lang-switch a:hover { color: var(--wb-marino); }

.nav-toggle { display: none; }
.nav-toggle > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: var(--wb-panel); font-weight: 700; cursor: pointer; list-style: none; color: var(--wb-marino); }
.nav-toggle > summary::-webkit-details-marker { display: none; }
.main-nav-mobile { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--wb-borde); box-shadow: 0 20px 40px -20px rgba(26, 28, 102, .25); }
.main-nav-mobile > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--wb-borde); }
.main-nav-mobile .lang-switch { align-self: flex-start; margin-block: 8px; }
@media (max-width: 900px) {
    .main-nav-desktop { display: none; }
    .nav-toggle { display: block; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 64px) 48px; }
.hero-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.motto { font-size: 15px; font-style: italic; color: var(--wb-gris); }

/* Mapa del Metro */
.metro-card { flex: 1 1 520px; min-width: 0; background: var(--wb-panel); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.metro-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--wb-gris); padding: 2px 4px; }
.metro-map { width: 100%; height: auto; display: block; }
.metro-stop circle { fill: #fff; stroke: var(--wb-tinta); stroke-width: 2.5; transition: stroke .2s; transform-box: fill-box; transform-origin: center; animation: pop .5s cubic-bezier(.34, 1.56, .64, 1) 1.4s both; }
.metro-stop text { font: 600 12px var(--font-body); fill: var(--wb-tinta); }
.metro-stop:hover circle, .metro-stop:focus-visible circle, .metro-stop.is-active circle { stroke: var(--wb-celeste); stroke-width: 3.5; }
.metro-stop:focus-visible { outline: none; }
/* Placa en miniatura de la estación: aparece al apuntarla, como en los mapas del Metro. */
.metro-stop .station-sign { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .2s, transform .25s var(--ease); pointer-events: none; }
.metro-stop:hover .station-sign, .metro-stop:focus-visible .station-sign, .metro-stop.is-active .station-sign { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .metro-stop .station-sign { transition: none; transform: none; } }
.metro-stop:focus-visible text { text-decoration: underline; }
.metro-hub { fill: #fff; stroke: var(--wb-tinta); stroke-width: 5; }
.metro-selected { fill: var(--wb-marino); stroke: #fff; stroke-width: 3; pointer-events: none; transition: cx .4s var(--ease), cy .4s var(--ease); }
.metro-pulse { opacity: .5; pointer-events: none; animation: pulse 1.8s ease-out infinite; }
.draw { stroke-dasharray: 900; animation: draw 2.2s var(--ease) both; }
.d2 { animation-delay: .15s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .45s; } .d5 { animation-delay: .6s; } .d6 { animation-delay: .75s; }
.train { animation: train 2.4s linear infinite; }
.train-v { animation: train 3.2s linear infinite reverse; }
@keyframes draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@keyframes train { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -60; } }
@keyframes pulse { 0% { r: 12; opacity: .6; } 100% { r: 30; opacity: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.metro-info { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.metro-info.is-changing { animation: fade .45s ease both; }
@keyframes fade { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.metro-info-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--wb-gris); text-transform: uppercase; letter-spacing: .5px; }
.metro-info-top .line-badge { min-width: 22px; height: 22px; font-size: 14px; border-radius: 6px; }
.metro-info-name { font: 800 26px/1 var(--font-display); color: var(--wb-marino); }
.metro-info-text { font-size: 14px; color: var(--wb-gris); }
.metro-info .link-arrow { font-size: 14px; }

/* Cinta de logos */
.logos-band { background: var(--wb-marino); padding-block: 22px; display: flex; flex-direction: column; gap: 14px; }
.band-title { font: 700 18px/1 var(--font-display); letter-spacing: 1px; text-transform: uppercase; color: var(--wb-cian); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; }
.logo-tile { width: 170px; height: 68px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px 18px; }
.logo-tile img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile span { font-weight: 700; color: var(--wb-gris); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Tarjetas de servicio */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.service-card { position: relative; background: var(--wb-panel); border-radius: var(--radius); overflow: hidden; border-top: 10px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(26, 28, 102, .35); }
.service-card-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.service-card-top { display: flex; align-items: center; gap: 12px; }
.service-card h3 a { color: var(--wb-tinta); text-decoration: none; font-family: var(--font-body); font-size: 22px; font-weight: 700; }
.service-card p { font-size: 15px; color: var(--wb-gris); }
.stretched::after { content: ""; position: absolute; inset: 0; }

/* Tarjetas de proyecto */
.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.project-card { position: relative; border: 2px solid var(--wb-marino); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(26, 28, 102, .35); }
.project-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--wb-panel); }
.project-cover-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--wb-panel), #E6ECF5); }
.project-cover-empty .line-badge { background: var(--line); }
.project-cover-wrap { position: relative; }
.project-cover-wrap .project-cover { display: block; }
/* Placa del proyecto sobre la estación principal de la portada; mide lo mismo que el halo de la estación. */
.cover-sign { position: absolute; width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 10px rgba(10, 12, 50, .45)); transition: transform .3s var(--ease); }
.cover-sign .station-sign { width: 100%; height: 100%; display: block; }
.project-card:hover .cover-sign { transform: translate(-50%, -56%); }
@media (prefers-reduced-motion: reduce) { .project-card:hover .cover-sign { transform: translate(-50%, -50%); } }
.project-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card h3 { font-size: 28px; font-weight: 800; }
.project-card h3 a { color: var(--wb-marino); text-decoration: none; }
.project-card p { font-size: 15px; color: var(--wb-gris); }
.project-card .link-arrow { margin-top: auto; font-size: 15px; color: var(--wb-azul); }
.project-tag { display: flex; align-items: center; gap: 8px; font-size: 13px !important; font-weight: 700; color: var(--wb-gris) !important; }
.station-dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--line); flex: 0 0 auto; }

/* Proceso */
.process-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0; position: relative; }
.process-line li { position: relative; padding: 36px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.process-line li::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 8px; background: var(--wb-marino); }
.process-line li::after { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--wb-marino); }
.process-line li:last-child::before { right: auto; width: 22px; }
.process-station { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--wb-celeste); }
.process-line h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--wb-tinta); }
.process-line p { font-size: 15px; color: var(--wb-gris); }
.process-line-3 li::before { background: var(--wb-celeste); }
.process-line-3 li::after { border-color: var(--wb-celeste); }

/* Preguntas frecuentes */
.faq { display: flex; flex-direction: column; max-width: 860px; border-top: 1px solid var(--wb-borde); }
.faq details { border-bottom: 1px solid var(--wb-borde); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-size: 19px; font-weight: 700; color: var(--wb-tinta); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 28px/1 var(--font-body); color: var(--wb-celeste); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--wb-gris); max-width: 62em; }

/* Llamado a contacto */
.cta-band { background: var(--wb-marino); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 44px) clamp(20px, 5vw, 40px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; margin-bottom: clamp(48px, 8vw, 72px); }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-copy h2 { color: #fff; font-size: clamp(44px, 6vw, 60px); }
.cta-copy p { color: var(--wb-sobre-marino); max-width: 34em; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--wb-cian) !important; }
.cta-fraud { font-size: 13px; color: #9FB0D6 !important; }
.cta-fraud-dark { color: var(--wb-gris) !important; }
.cta-actions { flex: 0 1 340px; display: flex; flex-direction: column; gap: 14px; }

/* WhatsApp */
.whatsapp-btn { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--wb-tinta); text-decoration: none; padding: 10px 20px 10px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--wb-borde); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.whatsapp-btn:hover { transform: scale(1.04); color: var(--wb-tinta); }
.whatsapp-icon { width: 48px; height: 48px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.whatsapp-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.whatsapp-text strong { font-size: 16px; }
.whatsapp-text span { font-size: 14px; color: var(--wb-gris); }

/* Páginas internas */
.page-head { padding-block: clamp(32px, 6vw, 56px) 24px; display: flex; flex-direction: column; gap: 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--wb-gris); }
.breadcrumbs a { color: var(--wb-gris); }
.filter-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips .chip { min-height: 40px; font-size: 14px; }

.service-hero { background: linear-gradient(180deg, var(--wb-panel), #fff); border-top: 10px solid var(--line); padding-block: clamp(28px, 5vw, 48px); }
.service-hero .container { display: flex; flex-direction: column; gap: 18px; }
.service-hero-line { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; align-self: flex-start; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px; }
.two-col h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 18px; }
.check-list, .station-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--wb-celeste); margin-top: 3px; }
.station-list { position: relative; padding-left: 30px; }
.station-list::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 6px; background: var(--line); border-radius: 3px; }
.station-list li { position: relative; }
.station-list li::before { content: ""; position: absolute; left: -30px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--line); box-sizing: border-box; }

.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.facts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--wb-gris); }
.facts dd { margin: 0; font-weight: 600; }
.project-body { display: flex; flex-direction: column; gap: 32px; }
.project-hero-img { border-radius: var(--radius); width: 100%; display: block; }
/* Sin recorte: la placa se ubica en porcentajes sobre la portada completa (16:9). */
.project-hero-wrap { max-width: 920px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: clamp(28px, 4vw, 36px); margin-top: 12px; }
.prose p { font-size: 18px; color: var(--wb-tinta); }
.tech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-list li { background: var(--wb-panel); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; align-items: start; }
.person { background: var(--wb-panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.person > div { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.person-role { font-weight: 700; color: var(--wb-azul); }
.person-intro { color: var(--wb-tinta); }
.person-skills { margin: 8px 0 0; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--wb-borde); padding-top: 16px; }
.person-skills dt { font-weight: 700; color: var(--wb-marino); font-size: 16px; }
.person-skills dd { margin: 2px 0 0; color: var(--wb-gris); font-size: 15px; }

.person-linkedin { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; text-decoration: none; align-self: flex-start; }
.person-linkedin .icon { color: #0A66C2; }
.registrations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.registration { display: flex; gap: 16px; align-items: flex-start; background: var(--wb-panel); border-radius: var(--radius); padding: 22px; border-left: 0; }
.registration-seal { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--wb-marino); color: var(--wb-cian); display: inline-flex; align-items: center; justify-content: center; font: 800 26px/1 var(--font-display); }
.registration > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.registration h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--wb-marino); line-height: 1.3; }
.registration p { font-size: 15px; color: var(--wb-gris); }
.registration-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.registration-meta strong { color: var(--wb-tinta); font-variant-numeric: tabular-nums; }
.registration .link-arrow { font-size: 15px; }

/* Contacto */
.contact-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: clamp(48px, 8vw, 72px); }
.contact-form { flex: 1 1 520px; min-width: 0; background: var(--wb-panel); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.contact-form h2 { font-size: 36px; }
.contact-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: 400 16px var(--font-body); color: var(--wb-tinta); background: #fff; border: 1.5px solid #CBD3E1; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wb-celeste); outline: none; box-shadow: 0 0 0 3px rgba(30, 168, 215, .25); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field-check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--wb-marino); }
.field-check label { flex: 1; font-weight: 400; font-size: 15px; }
.field-check .field-error { flex-basis: 100%; }
.field-error { color: #B42318; font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.notice-ok { background: #E7F7EE; color: #0B6B3A; }
.notice-error { background: #FDECEA; color: #B42318; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--wb-celeste); margin-top: 2px; }
.contact-list span { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--wb-gris); }
.contact-list a { font-weight: 600; text-decoration: none; }

.notfound { align-items: flex-start; padding-bottom: 80px; }

/* Blog y preguntas frecuentes */
.post-byline { font-size: 14px !important; color: var(--wb-gris); }
.post-card .link-arrow .icon { width: 15px; }
.post-body h2 { font-size: clamp(28px, 4vw, 34px); }
.post-body h3 { font-family: var(--font-body); font-size: 22px; color: var(--wb-tinta); }
.post-body ul, .post-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.post-body a { font-weight: 600; }
.faq-group { padding-top: 40px; }
.faq-group-title { display: flex; align-items: center; gap: 14px; font-size: clamp(28px, 4vw, 36px); margin-bottom: 16px; }
.faq-group-title a { color: inherit; text-decoration: none; }
.faq-group-title a:hover { text-decoration: underline; }

/* Aviso de cookies */
.consent { position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 760px; margin-inline: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px -10px rgba(20, 22, 58, .35), inset 0 0 0 1px var(--wb-borde); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 360px; font-size: 15px; color: var(--wb-tinta); }
.consent-actions { display: flex; gap: 8px; }
.footer-bottom [hidden] { display: none; }

/* Traza tu ruta (IA) */
.route-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wb-cian); display: inline-block; }
.hero-route-link { font-size: 16px; }
.route-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.route-col { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.route-map-col { flex: 1 1 520px; }
.route-map-col[hidden] { display: none; }
.route-form { background: var(--wb-panel); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.route-form label { font-weight: 700; font-size: 17px; }
.route-hint { font-size: 15px; color: var(--wb-gris); margin-top: -6px; }
.route-form textarea { font: 400 16px/1.5 var(--font-body); color: var(--wb-tinta); background: #fff; border: 1.5px solid #CBD3E1; border-radius: 12px; padding: 14px; resize: vertical; min-height: 130px; }
.route-form textarea:focus { border-color: var(--wb-celeste); outline: none; box-shadow: 0 0 0 3px rgba(30, 168, 215, .25); }
.route-examples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--wb-gris); }
.route-examples .chip { border: 0; background: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px var(--wb-borde); min-height: 36px; }
.route-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.route-actions .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.route-note { font-size: 13px; color: var(--wb-gris); max-width: 22em; }
.route-loading { font-weight: 700; color: var(--wb-marino); background: #fff; border: 2px dashed #CBD3E1; border-radius: var(--radius-lg); padding: 18px 22px; display: flex; gap: 6px; align-items: center; }
.route-loading span { animation: routeDots 1.2s infinite; }
.route-loading span:nth-child(2) { animation-delay: .2s; } .route-loading span:nth-child(3) { animation-delay: .4s; }
@keyframes routeDots { 0%, 20% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }
.route-message { background: #FFF4E0; color: #6B3A00; border-radius: var(--radius-lg); padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.route-card { background: #fff; border: 2px solid var(--wb-marino); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; animation: fade .6s var(--ease) both; }
.route-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--wb-celeste); margin-bottom: 6px; }
.route-label-cyan { color: var(--wb-cian); }
.route-card p { font-size: 17px; }
.route-lines { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.route-line-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--wb-panel); border-radius: 999px; padding: 5px 12px 5px 5px; font-weight: 700; font-size: 14px; color: var(--wb-tinta); text-decoration: none; }
.route-arrow { color: var(--wb-gris); }
.route-map-card { flex: none; }
.route-map .route-line { transition: opacity .5s ease; }
.is-routed .route-map .route-line { opacity: .12; }
.is-routed .route-map .route-line.on { opacity: 1; }
.route-train { opacity: 0; animation: train 1.6s linear infinite; }
.route-train.on { opacity: 1; }
.route-pulse { opacity: 0; }
.route-pulse.on { animation: pulse 1.6s ease-out infinite; }
.route-stop { fill: #fff; stroke: var(--wb-tinta); stroke-width: 2.5; }
.route-similar { background: #fff; border-radius: 14px; padding: 16px; }
.route-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.route-project { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--wb-tinta); background: var(--wb-panel); border-radius: 10px; padding: 10px; border-top: 5px solid var(--line); }
.route-project span { font-size: 13px; color: var(--wb-gris); }
.route-bottom { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; animation: fade .6s var(--ease) .2s both; }
.route-bottom[hidden], .route-card[hidden], .route-similar[hidden], .route-message[hidden], .route-loading[hidden] { display: none; }
.route-journey { flex: 1 1 520px; min-width: 0; background: var(--wb-panel); border-radius: var(--radius-lg); padding: 22px; }
.route-journey ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.route-journey li { display: flex; flex-direction: column; gap: 2px; padding-left: 32px; position: relative; }
.route-journey li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--wb-marino); box-sizing: border-box; }
.route-journey li span { color: var(--wb-gris); font-size: 15px; }
.route-brief { flex: 1 1 360px; min-width: 0; background: var(--wb-marino); color: #fff; border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.route-brief p { white-space: pre-line; color: var(--wb-sobre-marino); background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 14px; font-size: 15px; }
.route-edit { border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font: 600 14px var(--font-body); padding: 12px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.route-whatsapp { box-shadow: none; }
.route-nudge { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--wb-tinta); background: #fff; padding: 10px 20px 10px 10px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--wb-celeste); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.route-nudge:hover { transform: scale(1.03); color: var(--wb-tinta); }
.route-nudge-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--wb-degradado); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.route-nudge-icon .route-dot { width: 14px; height: 14px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.route-nudge-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.route-nudge-text strong { font-size: 16px; }
.route-nudge-text span { font-size: 13px; color: var(--wb-gris); }
.route-nudge .icon { color: var(--wb-celeste); }
.contact-aside .route-nudge, .actions .route-nudge { box-shadow: inset 0 0 0 2px var(--wb-celeste); }
.route-brief small { color: #9FB0D6; font-size: 12px; }
.route-brief small a { color: #fff; }
.route-brief .btn { text-align: center; line-height: 1.3; }

/* Pie */
.site-footer { background: var(--wb-tinta); color: #9FB0D6; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; padding-block: 48px 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; object-fit: contain; }
.footer-motto { font-style: italic; font-size: 14px; }
.footer-title { font: 700 14px var(--font-body); letter-spacing: 1px; text-transform: uppercase; color: var(--wb-cian); margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-links a, .footer-links span { color: #D5DDF0; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 20px; border-top: 1px solid rgba(213, 221, 240, .15); font-size: 13px; }
.footer-bottom a { color: var(--wb-cian); text-decoration: none; }
.ssl-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid rgba(61, 218, 240, .45); border-radius: 999px; color: #fff; font-weight: 600; white-space: nowrap; }
.ssl-badge svg { color: var(--wb-cian); flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
