/* Páginas de sector: plantilla común con el estilo de la home (ver components/sector-page). */
.zs {
    --zs-ink: #010440;
    --zs-orange: #C64106;
    --zs-peach: #FFE3D3;
    --zs-soft: #F2F3F8;
    --zs-muted: #5A5D78;
    --zs-line: rgba(1, 4, 64, .12);
    --zs-ease: cubic-bezier(.2, .9, .2, 1);
    background: #fff;
    color: var(--zs-ink);
    font-family: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    overflow-x: clip;
}
.zs *, .zs *::before, .zs *::after { box-sizing: border-box; }
.zs-wrap { max-width: 1320px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.zs a:focus-visible { outline: 2px solid var(--zs-orange); outline-offset: 4px; }

/* Cabecera */
.zs-hero { padding-top: 40px; }
.zs-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: 14px; color: var(--zs-muted); }
.zs-crumbs a { color: var(--zs-muted); text-decoration: none; }
.zs-crumbs a:hover, .zs-crumbs a[aria-current] { color: var(--zs-ink); }
.zs-eyebrow { display: flex; align-items: center; gap: 10px; margin: 48px 0 0; font-size: 15px; font-weight: 500; color: var(--zs-muted); }
.zs-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--zs-orange); display: inline-block; animation: zs-ping 2s infinite; }
@keyframes zs-ping { 0% { box-shadow: 0 0 0 0 rgba(198, 65, 6, .5); } 100% { box-shadow: 0 0 0 14px rgba(198, 65, 6, 0); } }
.zs-title { margin: 22px 0 0; font-size: clamp(52px, 9vw, 140px); line-height: .92; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; animation: zs-rise 1.1s var(--zs-ease) both; }
@keyframes zs-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.zs-hero__row { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-end; margin-top: 36px; }
.zs-tagline { flex: 1 1 420px; max-width: 620px; margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.02em; font-style: italic; font-weight: 500; color: var(--zs-orange); }
.zs-note { margin: 14px 0 0; font-size: 14px; color: var(--zs-muted); text-align: right; }
.zs-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.zs-btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 18px 28px; border-radius: 999px; border: 1.5px solid var(--zs-ink);
    color: var(--zs-ink); font-weight: 600; font-size: 16px; text-decoration: none;
    transition: color .35s, border-color .35s;
}
.zs-btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--zs-orange); transform: translateY(101%); transition: transform .5s var(--zs-ease); z-index: -1; }
.zs-btn:hover { color: #fff; border-color: var(--zs-orange); }
.zs-btn:hover::before { transform: none; }
.zs-btn--solid { background: var(--zs-ink); color: #fff; }
.zs-btn--light { background: #fff; border-color: #fff; color: var(--zs-ink); }
.zs-btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }

/* Imagen de portada */
.zs-cover { margin-top: 48px; }
.zs-cover__frame { position: relative; overflow: hidden; border-radius: 32px; aspect-ratio: 16 / 7; background: var(--zs-soft); }
.zs-cover__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); }
@supports (animation-timeline: view()) {
    .zs-cover__frame img { animation: zs-zoom linear both; animation-timeline: view(); animation-range: cover 0% cover 70%; }
    @keyframes zs-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
}

/* Introducción */
.zs-intro { padding-top: 120px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px; }
.zs-label { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 500; color: var(--zs-muted); }
.zs-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--zs-orange); flex: none; }
.zs-intro__body h2 { margin: 0 0 24px; font-size: clamp(36px, 4.6vw, 68px); line-height: .98; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.zs-intro__body p { margin: 0 0 16px; max-width: 760px; font-size: 20px; line-height: 1.55; color: #2E3150; }
@media (max-width: 860px) { .zs-intro { grid-template-columns: 1fr; padding-top: 80px; } }

/* Tarjetas con icono */
.zs-cards { padding-top: 80px; }
.zs-cards__head h2 { margin: 0; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; font-weight: 600; max-width: 900px; text-wrap: balance; }
.zs-cards__head p { margin: 16px 0 0; font-size: 19px; color: var(--zs-muted); max-width: 620px; }
.zs-cards__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 48px; }
.zs-card { padding: 30px; border-radius: 28px; background: var(--zs-soft); transition: background .4s, color .4s, transform .5s var(--zs-ease); }
.zs-card:hover { background: var(--zs-ink); color: #fff; transform: translateY(-6px); }
.zs-card__ico { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--zs-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .5s var(--zs-ease); }
.zs-card:hover .zs-card__ico { transform: rotate(-12deg); }
.zs-card h3 { margin: 22px 0 8px; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.zs-card p { margin: 0; font-size: 16px; color: var(--zs-muted); transition: color .4s; }
.zs-card:hover p { color: #C9CBE6; }

/* Bloques */
.zs-blocks { padding-top: 80px; display: flex; flex-direction: column; gap: 24px; }
.zs-block { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--zs-line); }
.zs-block.is-flip { flex-direction: row-reverse; }
.zs-block__copy { flex: 1 1 400px; min-width: 0; }
.zs-block__n { display: block; font-size: 15px; font-weight: 600; color: var(--zs-orange); }
.zs-block h2 { margin: 12px 0 16px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.zs-block p { margin: 0 0 14px; max-width: 560px; font-size: 18px; color: #2E3150; }
.zs-block ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.zs-block li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.zs-block li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--zs-orange); flex: none; transform: translateY(-2px); }
.zs-block__media { flex: 1.2 1 440px; min-width: 0; border-radius: 28px; overflow: hidden; background: var(--zs-soft); }
.zs-block__media img, .zs-block__media video { display: block; width: 100%; height: auto; transition: transform 1.2s var(--zs-ease); }
.zs-block:hover .zs-block__media img { transform: scale(1.03); }
.zs-block__icon { flex: 0 0 220px; height: 220px; border-radius: 50%; background: var(--zs-peach); color: var(--zs-orange); display: flex; align-items: center; justify-content: center; font-size: 84px; margin: 0 auto; }
.zs-block--text .zs-block__copy { flex-basis: 100%; }

/* Franja destacada */
.zs-highlight { position: relative; overflow: hidden; margin-top: 80px; border-radius: 36px; min-height: 420px; display: flex; align-items: flex-end; background: var(--zs-ink); }
.zs-highlight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.zs-highlight__copy { position: relative; padding: clamp(28px, 5vw, 64px); color: #fff; max-width: 820px; }
.zs-highlight h2 { margin: 0 0 14px; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.zs-highlight p { margin: 0; font-size: 19px; color: #E4E5F3; }

/* Llamada a la acción */
.zs-cta { margin-top: 120px; padding: clamp(32px, 6vw, 80px); border-radius: 40px; background: var(--zs-ink); color: #fff; }
.zs-cta h2 { margin: 0; font-size: clamp(44px, 7vw, 110px); line-height: .92; letter-spacing: -.05em; font-weight: 600; }
.zs-cta p { margin: 20px 0 32px; font-size: 19px; color: #C9CBE6; }

/* Otros sectores */
.zs-others { padding-top: 96px; padding-bottom: 40px; }
.zs-others__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.zs-others__list a { padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--zs-line); color: var(--zs-ink); text-decoration: none; font-size: 16px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.zs-others__list a:hover { background: var(--zs-ink); border-color: var(--zs-ink); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .zs *, .zs *::before { animation: none !important; transition: none !important; }
}
.zs-block p a, .zs-intro__body p a { color: var(--zs-orange); text-decoration: underline; text-underline-offset: 3px; }
.zs-block__icon img { width: 52%; height: auto; }
.zs-blocks .zs-highlight { margin: 24px 0; }
/* Revisión 21/10: franjas destacadas legibles (la foto queda como textura y el texto sobre un degradado marino) */
.zs-highlight img { opacity: .22; }
.zs-highlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1,4,64,.92) 0%, rgba(1,4,64,.55) 55%, rgba(1,4,64,.2) 100%); }
.zs-highlight__copy { z-index: 1; }
.zs-highlight p { color: #fff; }
