/* =========================================================
   ERVIA — Ernesto Vias, LDA
   ========================================================= */

:root {
  --navy: #123A7A;
  --navy-600: #0E2F64;
  --navy-100: #E7EDF7;
  --ink: #2B2B2E;
  --ink-soft: #5D6068;
  --line: #E4E6EB;
  --bg: #FFFFFF;
  --bg-soft: #F4F5F7;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(18, 58, 122, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--navy); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; }
p { color: var(--ink-soft); }
.accent { color: var(--navy); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head p { margin-top: 18px; font-size: 1.08rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border-radius: 100px; overflow: hidden; isolation: isolate;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  border: 1.5px solid var(--navy); cursor: pointer; background: none;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-600); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--ghost { color: var(--navy); }
.btn--ghost:hover { color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--navy); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy);
}
.link-arrow svg { width: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.header.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; color: var(--navy); letter-spacing: -.01em; }
.brand__sub { font-family: var(--font-head); font-size: .58rem; letter-spacing: .2em; color: var(--ink); margin-top: 4px; text-transform: uppercase; }
.header--on-dark:not(.is-scrolled) .brand__name,
.header--on-dark:not(.is-scrolled) .brand__sub,
.header--on-dark:not(.is-scrolled) .nav__link { color: #fff; }
.header--on-dark:not(.is-scrolled) .brand__mark path[stroke="#2B2B2E"] { stroke: #fff; }
.header--on-dark:not(.is-scrolled) .brand__mark path[stroke="#123A7A"] { stroke: #8FB2EC; }
.header--on-dark:not(.is-scrolled) .burger span { background: #fff; }
.brand__mark path { transition: stroke .4s; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 34px; list-style: none; }
.nav__link {
  position: relative; font-family: var(--font-head); font-weight: 500; font-size: .95rem; padding: 6px 0;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 12px 24px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s, background .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span { background: #fff !important; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--navy-600);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 42px); transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 42px); visibility: visible; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a {
  display: block; font-family: var(--font-head); font-weight: 600; color: #fff;
  font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.3;
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.menu-open .mobile-menu a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .08s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .16s; }
.mobile-menu__foot { margin-top: 50px; color: rgba(255, 255, 255, .7); font-size: .95rem; display: grid; gap: 6px; }
.menu-open .header { z-index: 115; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .header .brand__name, .menu-open .header .brand__sub { color: #fff; }
.menu-open .header .brand__mark path { stroke: #fff; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 60% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 56, .88) 0%, rgba(10, 26, 56, .55) 45%, rgba(10, 26, 56, .1) 100%),
    linear-gradient(0deg, rgba(10, 26, 56, .6) 0%, transparent 40%);
}
.hero__content { padding-block: 160px clamp(60px, 9vw, 110px); width: 100%; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero__lead { color: rgba(255, 255, 255, .82); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 520px; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .eyebrow { color: #9DBCF0; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7);
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(150px, 18vw, 220px) clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.page-hero p.lead { max-width: 600px; margin-top: 24px; font-size: 1.12rem; }
.page-hero__mark { position: absolute; right: -6%; top: 50%; width: min(48vw, 560px); transform: translateY(-50%); opacity: .06; pointer-events: none; }
.breadcrumb { display: flex; gap: 10px; font-size: .85rem; color: var(--ink-soft); margin-bottom: 26px; font-family: var(--font-head); }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat__label { margin-top: 12px; font-size: .95rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; padding: 38px 32px 34px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
  display: flex; flex-direction: column;
}
.service::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--navy-100); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 28px; transition: background .5s var(--ease), color .5s, transform .6s var(--ease);
}
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--navy); color: #fff; transform: rotate(-8deg) scale(1.06); }
.service h3 { margin-bottom: 12px; }
.service p { font-size: .98rem; flex: 1; }
.service__num { position: absolute; top: 30px; right: 30px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: #C3C7CF; transition: color .4s; }
.service:hover .service__num { color: var(--navy); }
.service--feature { grid-row: span 2; background: var(--navy); border-color: var(--navy); color: #fff; justify-content: flex-end; min-height: 360px; }
.service--feature > * { position: relative; }
.service--feature > .service__num { position: absolute; }
.service--feature > .service__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; transition: transform 1.2s var(--ease), opacity .6s; }
.service--feature:hover > .service__bg { transform: scale(1.08); opacity: .4; }
.service--feature h3, .service--feature p { color: #fff; }
.service--feature p { opacity: .85; }
.service--feature .service__icon { background: rgba(255,255,255,.14); color: #fff; }
.service--feature::after { background: #fff; }
.service--feature .service__num { color: rgba(255,255,255,.6); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.split__media img { width: 100%; height: 118%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover img { transform: scale(1.04); }
.split__badge {
  position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: 14px; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.split__badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--navy); line-height: 1; }
.split__badge span { font-size: .85rem; line-height: 1.35; color: var(--ink-soft); }
.split__text p + p { margin-top: 16px; }
.split__text .btn, .split__text .link-arrow { margin-top: 34px; }

.checklist { list-style: none; display: grid; gap: 16px; margin-top: 30px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--navy); margin-top: 2px; }
.checklist strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.checklist span { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Process (route line) ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process__route { position: absolute; left: 34px; right: calc((100% - 90px) / 4 - 34px); top: 34px; height: 2px; background: var(--line); }
.process__route span { position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(0); }
.step { position: relative; }
.step__dot {
  width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--ink-soft);
  margin-bottom: 26px; position: relative; z-index: 1; transition: border-color .5s, color .5s, background .5s, transform .5s var(--ease);
}
.step.is-on .step__dot { border-color: var(--navy); color: var(--navy); }
.step:hover .step__dot { background: var(--navy); color: #fff; transform: scale(1.08); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .96rem; }

/* ---------- Values (about) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 34px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .service__icon { margin-bottom: 22px; }
.value:hover .service__icon { background: var(--navy); color: #fff; transform: rotate(-8deg); }
.value h3 { margin-bottom: 8px; }
.value p { font-size: .95rem; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv__card { padding: clamp(32px, 4vw, 50px); border-radius: var(--radius); background: var(--bg-soft); position: relative; overflow: hidden; }
.mv__card--dark { background: var(--navy); }
.mv__card--dark h3, .mv__card--dark p, .mv__card--dark .eyebrow { color: #fff; }
.mv__card--dark p { opacity: .85; }
.mv__card h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 16px; line-height: 1.25; }
.mv__card svg.mv__bg { position: absolute; right: -40px; bottom: -50px; width: 220px; opacity: .08; }

/* ---------- Coverage map ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.map { position: relative; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .route { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 8; }
.map .city circle.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
.map .city text { font-family: var(--font-head); font-size: 15px; font-weight: 600; fill: var(--ink); }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(3.2); opacity: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: .9rem; font-family: var(--font-head); font-weight: 500; transition: background .35s, color .35s, border-color .35s; }
.tag:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); background: var(--navy); color: #fff; padding: clamp(50px, 8vw, 100px) clamp(28px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta h2 { color: #fff; max-width: 16ch; }
.cta p { color: rgba(255, 255, 255, .8); margin-top: 16px; max-width: 520px; }
.cta__mark { position: absolute; right: -70px; top: -80px; width: 380px; opacity: .1; pointer-events: none; }
.cta__mark path { stroke: #fff !important; }
.cta .btn--light:hover { color: var(--navy); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .service__icon { margin: 0; width: 52px; height: 52px; flex: none; }
.contact-card:hover .service__icon { background: var(--navy); color: #fff; }
.contact-card small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); font-family: var(--font-head); }
.contact-card strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.hours { margin-top: 26px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.hours h3 { font-size: 1rem; margin-bottom: 12px; }
.hours div { display: flex; justify-content: space-between; font-size: .95rem; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.hours div:last-child { border: 0; }

.form { padding: clamp(28px, 4vw, 50px); border-radius: calc(var(--radius) + 6px); background: var(--bg-soft); }
.form h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 8px; }
.form > p { margin-bottom: 30px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23123A7A' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C5CCD8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(18, 58, 122, .12); }
.form .btn { margin-top: 26px; width: 100%; justify-content: center; }
.form__note { margin-top: 14px; font-size: .85rem; text-align: center; }
.form__ok { display: none; margin-top: 18px; padding: 16px; border-radius: var(--radius-sm); background: #E6F2EA; color: #1F6B3A; font-weight: 500; text-align: center; }
.form__ok.is-on { display: block; }

.map-embed { margin-top: clamp(60px, 8vw, 100px); border-radius: var(--radius); overflow: hidden; height: 420px; filter: grayscale(.9) contrast(1.05); transition: filter .6s; }
.map-embed:hover { filter: none; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-top: clamp(70px, 9vw, 110px); margin-top: var(--section); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name, .footer .brand__sub { color: #fff; }
.footer .brand__mark path { stroke: #fff; }
.footer .brand__mark path[stroke="#123A7A"] { stroke: #8FB2EC; }
.footer p { color: rgba(255,255,255,.62); font-size: .95rem; margin-top: 20px; max-width: 320px; }
.footer h4 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 20px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a, .footer ul li { color: rgba(255,255,255,.85); font-size: .96rem; transition: color .3s, padding .4s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .35s, border-color .35s, transform .45s var(--ease); }
.socials a:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 28px; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 18vw, 16rem); line-height: .8; letter-spacing: -.05em; color: rgba(255,255,255,.04); text-align: center; overflow: hidden; user-select: none; padding-top: 20px; }

/* ---------- Cursor (desktop) ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); pointer-events: none; z-index: 999; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background .35s, opacity .3s; opacity: 0; mix-blend-mode: multiply; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 54px; height: 54px; background: rgba(18, 58, 122, .14); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: #fff; display: grid; place-items: center; }
.loader svg { width: 90px; }
.loader path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- Reveal helpers ---------- */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }
.js [data-reveal] { opacity: 0; }
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service--feature { grid-row: auto; grid-column: 1 / -1; min-height: 300px; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .split, .coverage, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .process__route { display: none; }
  .cta { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 26, 56, .55) 0%, rgba(10, 26, 56, .7) 45%, rgba(10, 26, 56, .92) 100%); }
  .header__inner { height: 72px; }
  .brand__mark { width: 32px; }
  .brand__name { font-size: 1.25rem; }
  .services, .values, .process, .form__grid { grid-template-columns: 1fr; }
  .stat { padding: 26px 14px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer__top { grid-template-columns: 1fr; }
  .map-embed { height: 320px; }
  .split__badge { left: 14px; bottom: 14px; padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
