/* SercomIT: corporate site styles */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/figtree-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/figtree-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy-900: #071629;
  --navy-800: #0b1f3a;
  --navy-700: #13305a;
  --blue-600: #0773e5;
  --blue-700: #0560c2;
  --blue-50: #eaf3fd;
  --green-500: #04dc78;
  --green-700: #037a44;

  --ink: #0b1f3a;
  --text: #33445b;
  --muted: #5a6b82;
  --line: #d7dee8;
  --line-strong: #b4c1d2;
  --tint: #f3f6fa;
  --white: #ffffff;
  --danger: #b4232c;
  --danger-bg: #fdf0f1;
  --success-bg: #e8f8f0;

  --bg: #ffffff;
  --surface: #ffffff;
  --field-bg: #ffffff;
  --logo-tile: #ffffff;
  --link: #0560c2;
  --link-hover: #04499a;
  --placeholder: #5f6f85;
  --success-ink: #075c35;
  --block: #0b1f3a;
  --block-deep: #071629;
  --block-line: rgba(255, 255, 255, .12);
  --tab-active: #0b1f3a;
  --header-shadow: 0 6px 24px rgba(11, 31, 58, .08);
  --panel-shadow: 0 16px 32px rgba(11, 31, 58, .12);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  --on-navy: #ffffff;
  --on-navy-muted: #b9c7da;

  --focus: var(--blue-600);

  --font: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 4px;
  --shadow-1: 0 1px 2px rgba(11, 31, 58, .06), 0 4px 12px rgba(11, 31, 58, .06);
  --shadow-2: 0 2px 4px rgba(11, 31, 58, .05), 0 16px 40px rgba(11, 31, 58, .12);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- Dark theme: follows the system, or the header toggle ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #08121f;
  --surface: #10203a;
  --field-bg: #0b182b;
  --tint: #0c1a2e;
  --logo-tile: #eef2f7;
  --ink: #edf2f9;
  --text: #c3cede;
  --muted: #94a5bb;
  --line: #213450;
  --line-strong: #3a5274;
  --blue-50: #142c4f;
  --link: #7db8ff;
  --link-hover: #a9d0ff;
  --placeholder: #8597ae;
  --danger: #ff9aa1;
  --danger-bg: #3a161c;
  --success-bg: #0f3426;
  --success-ink: #84e3b5;
  --block: #0f2442;
  --block-deep: #050c17;
  --block-line: rgba(255, 255, 255, .1);
  --tab-active: #0773e5;
  --focus: #8cc2ff;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .25);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .45);
  --header-shadow: 0 6px 24px rgba(0, 0, 0, .4);
  --panel-shadow: 0 16px 32px rgba(0, 0, 0, .5);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3cede' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08121f;
  --surface: #10203a;
  --field-bg: #0b182b;
  --tint: #0c1a2e;
  --logo-tile: #eef2f7;
  --ink: #edf2f9;
  --text: #c3cede;
  --muted: #94a5bb;
  --line: #213450;
  --line-strong: #3a5274;
  --blue-50: #142c4f;
  --link: #7db8ff;
  --link-hover: #a9d0ff;
  --placeholder: #8597ae;
  --danger: #ff9aa1;
  --danger-bg: #3a161c;
  --success-bg: #0f3426;
  --success-ink: #84e3b5;
  --block: #0f2442;
  --block-deep: #050c17;
  --block-line: rgba(255, 255, 255, .1);
  --tab-active: #0773e5;
  --focus: #8cc2ff;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .25);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .45);
  --header-shadow: 0 6px 24px rgba(0, 0, 0, .4);
  --panel-shadow: 0 16px 32px rgba(0, 0, 0, .5);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3cede' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--tint); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  accent-color: var(--blue-600);
  caret-color: var(--blue-600);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.375rem, 4.4vw, 3.75rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--blue-600); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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 { width: 100%; max-width: 1312px; margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 24px; height: 24px; }

.skip-link:hover { color: #fff; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--block); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px;
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 6px 16px rgba(7, 115, 229, .28); }
.btn--primary:active { box-shadow: none; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; box-shadow: none; }

.link { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; text-decoration: none; }
.link .icon { transition: transform .25s var(--ease-out); }
.link:hover { text-decoration: underline; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Utility bar ---------- */
.utility { background: var(--block-deep); color: var(--on-navy-muted); font-size: .875rem; --focus: #8cc2ff; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.utility__list { display: flex; flex-wrap: wrap; gap: 4px 28px; list-style: none; }
.utility__list li, .utility__list a { display: inline-flex; align-items: center; gap: 8px; }
.utility a { color: var(--on-navy-muted); text-decoration: none; }
.utility a:hover { color: #fff; }
.utility__promo { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #fff !important; }
.utility__promo:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease-out); }
.site-header.is-scrolled { box-shadow: var(--header-shadow); }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }

.brand:hover { color: inherit; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.brand__name span { color: var(--blue-600); }
.brand__tag { margin-top: 5px; font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brand--invert .brand__name { color: #fff; }
.brand--invert .brand__name span { color: #8cc2ff; }
.brand--invert .brand__tag { color: var(--on-navy-muted); }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 550; font-size: 1rem; text-decoration: none; border-radius: var(--radius); position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--blue-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav__list a:hover { color: var(--link); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__list a[aria-current="true"] { color: var(--link); }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
.theme-toggle:hover { background: var(--tint); border-color: var(--line-strong); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--block); color: var(--on-navy-muted); overflow: hidden; --focus: #8cc2ff; }
.hero__media { position: absolute; inset: 0 0 0 50%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__inner { position: relative; display: flex; align-items: center; min-height: clamp(560px, calc(100vh - 116px), 760px); padding-block: 72px 120px; }
.hero__copy { width: 50%; padding-right: clamp(32px, 5vw, 80px); }
.hero h1 { color: var(--on-navy); max-width: 13ch; }
.hero__lede { margin-top: 24px; font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.55; max-width: 34em; color: #d3ddea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .9375rem; color: var(--on-navy-muted); }
.hero__note .icon { color: var(--green-500); }

/* ---------- Quick links ---------- */
.quicklinks { position: relative; z-index: 2; margin-top: -64px; }
.quicklinks__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; background: var(--surface); box-shadow: var(--shadow-2); border-radius: var(--radius); overflow: hidden; }
.quicklinks__list li + li { border-left: 1px solid var(--line); }
.quicklinks__list a { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; height: 100%; padding: 26px 24px 26px 28px; text-decoration: none; color: var(--text); transition: background-color .25s var(--ease-out); }
.quicklinks__list a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue-600); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.quicklinks__list strong { grid-column: 1; color: var(--ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.quicklinks__list span { grid-column: 1; margin-top: 4px; font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.quicklinks__list .icon { grid-column: 2; grid-row: 1; margin-top: 3px; color: var(--blue-600); transition: transform .25s var(--ease-out); }
.quicklinks__list a:hover { background: var(--tint); }
.quicklinks__list a:hover::before { transform: scaleX(1); }
.quicklinks__list a:hover strong { color: var(--link); }
.quicklinks__list a:hover .icon { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 18px; font-size: 1.1875rem; color: var(--muted); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(40px, 6vw, 96px); }
.intro__title { max-width: 14ch; }
.intro__body { font-size: 1.1875rem; max-width: 62ch; }
.intro__facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(24px, 4vw, 48px); list-style: none; }
.intro__facts li { position: relative; padding-top: 24px; border-top: 1px solid var(--line); }
.intro__facts li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 3px; background: var(--green-500); }
.intro__facts strong { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 700; }
.intro__facts span { display: block; margin-top: 6px; color: var(--muted); font-size: 1rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 56px); }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--navy-800); margin-bottom: 28px; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service:hover .service__media img { transform: scale(1.03); }
.service h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); }
.service p { margin-top: 12px; max-width: 60ch; }
.service .link { margin-top: 16px; }
.services__foot { margin-top: clamp(48px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-strong); color: var(--muted); font-size: 1.0625rem; }

/* ---------- Journey ---------- */
.journey { margin: 0 0 clamp(56px, 7vw, 96px); }
.journey__steps { --dot: 52px; --progress: 1; position: relative; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; list-style: none; counter-reset: none; }
.journey__steps::before,
.journey__steps::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 1.5px); left: calc(100% / 18); right: calc(100% / 18); height: 3px; border-radius: 2px; }
.journey__steps::before { background: var(--line); }
.journey__steps::after { background: linear-gradient(90deg, var(--blue-600), var(--green-500)); transform-origin: left; transform: scaleX(var(--progress)); }
.journey__steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.journey__num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: var(--dot); height: var(--dot); margin-bottom: 18px;
  border-radius: 50%; border: 2px solid var(--blue-600);
  background: var(--blue-600); color: #fff;
  font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.journey__steps li:last-child .journey__num { background: var(--green-700); border-color: var(--green-700); }
.journey__steps strong { color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.25; }
.journey__steps span:not(.journey__num) { margin-top: 4px; font-size: .875rem; color: var(--muted); line-height: 1.35; }
.journey__caption { margin-top: 40px; text-align: center; font-size: 1.125rem; font-style: italic; color: var(--muted); }

/* Animated state: the line draws and each station lights in sequence */
.js .journey__steps { --progress: 0; }
.js .journey__steps::after { transition: transform 2.2s var(--ease-out); }
.js .journey__num { background: var(--surface); color: var(--muted); border-color: var(--line-strong); }
.js .journey.is-active .journey__steps { --progress: 1; }
.js .journey.is-active .journey__num { background: var(--blue-600); color: #fff; border-color: var(--blue-600); box-shadow: 0 0 0 6px var(--blue-50); }
.js .journey.is-active li:last-child .journey__num { background: var(--green-700); border-color: var(--green-700); box-shadow: 0 0 0 6px var(--success-bg); }
.js .journey.is-active li:nth-child(1) .journey__num { transition-delay: .05s; }
.js .journey.is-active li:nth-child(2) .journey__num { transition-delay: .25s; }
.js .journey.is-active li:nth-child(3) .journey__num { transition-delay: .45s; }
.js .journey.is-active li:nth-child(4) .journey__num { transition-delay: .65s; }
.js .journey.is-active li:nth-child(5) .journey__num { transition-delay: .85s; }
.js .journey.is-active li:nth-child(6) .journey__num { transition-delay: 1.05s; }
.js .journey.is-active li:nth-child(7) .journey__num { transition-delay: 1.25s; }
.js .journey.is-active li:nth-child(8) .journey__num { transition-delay: 1.45s; }
.js .journey.is-active li:nth-child(9) .journey__num { transition-delay: 1.65s; }

/* ---------- Formats (tabs) ---------- */
.formats { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.formats__tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 24px); }
.formats__tabs button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 56px; padding: 14px 20px;
  font: inherit; font-size: 1.0625rem; font-weight: 600; text-align: left; color: var(--ink);
  background: var(--tint); border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.formats__tabs button::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .5; flex: none; }
.formats__tabs button:hover { background: var(--blue-50); color: var(--link); }
.formats__tabs button[aria-selected="true"] { background: var(--tab-active); color: #fff; }
.formats__tabs button[aria-selected="true"]::after { opacity: 1; }
.format { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); }
.format:not([hidden]) { animation: panel-in .45s var(--ease-out); }
.format h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.format__sub { margin-top: 6px; margin-bottom: 24px; font-size: 1.125rem; font-weight: 600; color: var(--link); }
.format > p { max-width: 68ch; }
.format .link { margin-top: 24px; }

.process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 24px 0 8px; list-style: none; counter-reset: step; }
.process li { counter-increment: step; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 550; }
.process li::before { content: counter(step, decimal-leading-zero); flex: none; width: 2ch; font-size: .875rem; font-weight: 700; color: var(--link); font-variant-numeric: tabular-nums; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; margin: 24px 0 8px; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 550; line-height: 1.45; }
.checks .icon { margin-top: 2px; color: var(--green-700); stroke-width: 2.5; }

@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Assessment callout ---------- */
.assessment { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); background: var(--blue-50); border-radius: var(--radius); }
.assessment h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.assessment p { margin-top: 10px; max-width: 70ch; }
.assessment .btn { flex: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--block); color: var(--on-navy-muted); overflow: hidden; --focus: #8cc2ff; }
.cta-band__media { position: absolute; inset: 0 50% 0 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.cta-band__inner { position: relative; display: flex; justify-content: flex-end; padding-block: clamp(72px, 9vw, 128px); }
.cta-band__copy { width: 50%; padding-left: clamp(32px, 5vw, 80px); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); }
.cta-band__sub { margin-top: 10px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; color: #8cc2ff; }
.cta-band__copy > p:not(.cta-band__sub) { margin-top: 24px; max-width: 56ch; color: #d3ddea; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 650; font-size: 1.125rem; text-decoration: none; }
.cta-band__phone:hover { color: #fff; text-decoration: underline; }

/* ---------- Logos ---------- */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; }
.logo-grid li { display: grid; place-items: center; width: 168px; height: 96px; padding: 18px 22px; background: var(--logo-tile); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.section--tint .logo-grid li { border-color: transparent; }
.logo-grid img { max-width: 100%; height: auto; transition: transform .3s var(--ease-out); }
.logo-grid .is-light img { filter: brightness(0); opacity: .82; }
.logo-grid li:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.logo-grid li:hover img { transform: scale(1.04); }
.logo-grid--partners li { width: 140px; height: 88px; padding: 6px; }
.logo-grid--clients { max-width: 900px; margin-inline: auto; }
.logo-grid--clients li { width: 213px; height: 112px; padding: 16px 18px; }
.logos .section-head { margin-inline: auto; text-align: center; }

/* ---------- Contact ---------- */
.contact { background: var(--tint); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.contact__info > p { margin-top: 18px; font-size: 1.1875rem; color: var(--muted); }
.contact__list { margin: 40px 0 0; display: grid; gap: 24px; }
.contact__list div { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact__list dt { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact__list dt .icon { color: var(--blue-600); }
.contact__list dd { margin: 0; color: var(--ink); font-size: 1.125rem; font-weight: 550; }
.contact__list dd a { color: var(--ink); }
.contact__list dd a:hover { color: var(--link); }
.contact__list dd br + a { display: inline-block; margin-top: 6px; font-size: 1rem; color: var(--link); }

.form { padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field label { margin-bottom: 8px; font-size: .9375rem; font-weight: 650; color: var(--ink); }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background-color: var(--field-bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; padding-right: 44px; background-image: var(--select-chevron); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.field ::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(7, 115, 229, .22); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); background: var(--danger-bg); }
.field__error { margin: 6px 0 0; font-size: .875rem; font-weight: 600; color: var(--danger); }
.field__error:empty { display: none; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; cursor: pointer; }
.field--check label { margin: 0; font-weight: 500; color: var(--text); cursor: pointer; }
.field--check .field__error { grid-column: 2; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form__req { margin: 0; font-size: .875rem; color: var(--muted); }
.form__req span { color: var(--danger); }
.form__status:empty { display: none; }
.form__status { margin-top: 24px; padding: 16px 20px; border-radius: var(--radius); font-weight: 600; }
.form__status.is-success { background: var(--success-bg); color: var(--success-ink); }
.form__status.is-error { background: var(--danger-bg); color: var(--danger); }
.form__status:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--block); color: var(--on-navy-muted); font-size: .9375rem; --focus: #8cc2ff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.site-footer__brand p { margin-top: 20px; max-width: 30ch; }
.site-footer__title { margin-bottom: 16px; font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--block-line); font-size: .875rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom p a { margin-left: 12px; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Legal page (aviso de privacidad) ---------- */
.legal-back { margin-left: auto; }
.legal-back + .theme-toggle { margin-left: 16px; }
.legal__wrap { max-width: 820px; }
.legal__head { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__org { margin-top: 16px; font-size: 1.1875rem; font-weight: 600; color: var(--ink); }
.legal__date { margin-top: 4px; color: var(--muted); font-size: 1rem; }
.legal__toc { margin: 40px 0 8px; padding: 28px 32px; background: var(--tint); border-radius: var(--radius); }
.legal__toc h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.legal__toc ol { columns: 2; column-gap: 32px; padding-left: 1.25em; font-size: .9375rem; }
.legal__toc li { margin-bottom: 6px; break-inside: avoid; }
.legal__toc li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.legal section { padding-top: 48px; }
.legal section h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 16px; }
.legal section p, .legal section li { max-width: 72ch; }
.legal section ul, .legal section ol { margin: 0 0 1em; padding-left: 1.4em; }
.legal section li { margin-bottom: 8px; }
.legal section li::marker { color: var(--link); }
.legal strong { color: var(--ink); font-weight: 650; }
.legal__table { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.legal__table th, .legal__table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table tr:last-child th, .legal__table tr:last-child td { border-bottom: 0; }
.legal__table thead th { background: var(--tint); color: var(--ink); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.legal__table tbody th { width: 34%; color: var(--ink); font-weight: 650; }
.legal__back { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal__back .icon { margin-right: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav__list a { padding-inline: 8px; }
  .nav { gap: 16px; }
  .quicklinks__list { grid-template-columns: repeat(2, 1fr); }
  .quicklinks__list li + li { border-left: 0; }
  .quicklinks__list li:nth-child(even) { border-left: 1px solid var(--line); }
  .quicklinks__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .journey__steps { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .journey__steps span:not(.journey__num) { font-size: .875rem; }
  .journey__steps strong { font-size: .9375rem; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  .theme-toggle { margin-left: auto; width: 48px; height: 48px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--panel-shadow);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s linear .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a::after { display: none; }
  .nav__cta { width: 100%; min-height: 52px; }

  .hero__media { position: relative; inset: auto; height: clamp(260px, 52vw, 420px); }
  .hero__inner { min-height: 0; padding-block: 48px 112px; }
  .hero__copy { width: 100%; padding-right: 0; }
  .hero h1 { max-width: 16ch; }

  .intro__grid, .contact__grid { grid-template-columns: 1fr; }
  .intro__title { max-width: 20ch; }

  /* Journey becomes a vertical route */
  .journey__steps { --dot: 44px; grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .journey__steps::before, .journey__steps::after { top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); left: calc(var(--dot) / 2 - 1.5px); right: auto; width: 3px; height: auto; }
  .journey__steps::after { background: linear-gradient(180deg, var(--blue-600), var(--green-500)); transform-origin: top; transform: scaleY(var(--progress)); }
  .journey__steps li { display: grid; grid-template-columns: var(--dot) 1fr; column-gap: 20px; align-items: center; text-align: left; padding-bottom: 20px; }
  .journey__steps li:last-child { padding-bottom: 0; }
  .journey__num { grid-row: 1 / span 2; margin-bottom: 0; font-size: .9375rem; }
  .journey__steps strong { font-size: 1.0625rem; align-self: end; }
  .journey__steps span:not(.journey__num) { margin-top: 0; font-size: .9375rem; align-self: start; }
  .journey__caption { text-align: left; max-width: 560px; margin-inline: auto; }

  .formats { grid-template-columns: 1fr; }
  .formats__tabs { position: static; gap: 8px; }
  .formats__panels:empty { display: none; }
  .formats.is-accordion .format { margin: 0 0 4px; box-shadow: none; }
  .formats.is-accordion .formats__tabs [aria-expanded]::after { transform: rotate(135deg); margin-top: -4px; }
  .formats.is-accordion .formats__tabs [aria-expanded="true"] { background: var(--tab-active); color: #fff; }
  .formats.is-accordion .formats__tabs [aria-expanded="true"]::after { transform: rotate(-45deg); margin-top: 4px; opacity: 1; }

  .cta-band__media { position: relative; inset: auto; height: clamp(240px, 50vw, 400px); }
  .cta-band__inner { padding-block: 56px 72px; }
  .cta-band__copy { width: 100%; padding-left: 0; }

  .assessment { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .legal__toc { padding: 24px 20px; }
  .legal__toc ol { columns: 1; }
  .legal-back { font-size: .9375rem; }
  .utility__hours, .utility__promo { display: none; }
  .utility__list { gap: 4px 20px; }
  .quicklinks { margin-top: -72px; }
  .quicklinks__list { grid-template-columns: 1fr; }
  .quicklinks__list li:nth-child(even) { border-left: 0; }
  .quicklinks__list li + li { border-top: 1px solid var(--line); }
  .quicklinks__list a { padding: 18px 20px; }
  .intro__facts { grid-template-columns: 1fr; gap: 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .process, .checks { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .logo-grid li, .logo-grid--partners li, .logo-grid--clients li { width: auto; height: 84px; padding: 16px 20px; }
  .brand__tag { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .hero__actions .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .logo-grid li { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
