@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --ink: #173432;
  --ink-soft: #4d6662;
  --paper: #fbfaf5;
  --paper-deep: #f1efe6;
  --white: #fff;
  --teal: #0b6668;
  --teal-deep: #084f52;
  --teal-night: #082f30;
  --cyan: #008fa4;
  --lime: #d5df28;
  --lime-light: #eef28d;
  --line: rgba(23, 52, 50, .14);
  --shadow: 0 26px 70px rgba(19, 56, 53, .12);
  --container: 1180px;
  --header-height: 132px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 999px;
  transform: translateY(-170%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  color: var(--white);
  isolation: isolate;
  transition: height .34s ease, transform .46s cubic-bezier(.22,.72,.18,1);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -11px;
  z-index: -2;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,.045) .55px, transparent .8px) 0 0 / 7px 7px,
    linear-gradient(180deg, rgba(7,71,73,.985), rgba(8,79,82,.97));
  border-radius: 0 0 50% 50% / 0 0 13px 13px;
  box-shadow: inset 0 -1px rgba(255,255,255,.1);
  transform: translateY(-18px);
  transition: opacity .35s ease, transform .45s ease;
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -36px;
  left: 8%;
  z-index: -3;
  height: 42px;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(2,35,35,.34), rgba(2,35,35,.13) 34%, transparent 72%);
  filter: blur(7px);
  transition: opacity .35s ease;
}

.site-header.is-scrolled { height: 108px; }
.site-header.is-scrolled::before { opacity: 1; transform: none; }
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(calc(-100% - 30px)); }

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header-edge-flow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  z-index: -1;
  width: min(980px, 82vw);
  height: 36px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -9px) scaleX(.84);
  transition: opacity .35s ease, transform .55s ease;
}

.header-edge-flow span {
  position: absolute;
  display: block;
  height: 25px;
  border-top: 1.5px solid;
  border-radius: 50%;
}

.header-edge-flow span:nth-child(1) { top: 3px; left: 0; width: 58%; color: rgba(213,223,40,.78); }
.header-edge-flow span:nth-child(2) { top: 9px; left: 24%; width: 70%; color: rgba(0,177,197,.72); }
.header-edge-flow span:nth-child(3) { top: 0; left: 14%; width: 48%; color: rgba(255,255,255,.4); }
.site-header.is-scrolled .header-edge-flow { opacity: 1; transform: translate(-50%, 0) scaleX(1); }

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px 9px;
  background: linear-gradient(145deg, #fffef9, #f7f4e9 70%, #ece8d9);
  border: 1px solid rgba(255,255,255,.68);
  border-top: 0;
  border-radius: 0 0 9px 26px;
  box-shadow: inset 0 -1px rgba(8,79,82,.1), 0 13px 28px rgba(3,42,42,.19), 0 3px 8px rgba(3,42,42,.1);
  transition: padding .3s ease, border-radius .3s ease;
}

.brand::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -5px;
  left: 9px;
  z-index: -1;
  height: 10px;
  background: linear-gradient(90deg, rgba(213,223,40,.78), rgba(0,143,164,.7));
  border-radius: 0 0 9px 22px;
  box-shadow: 0 7px 14px rgba(0,65,69,.13);
}

.brand__logo { width: 142px; height: auto; }
.site-header.is-scrolled .brand { padding: 4px 8px 7px; }
.site-header.is-scrolled .brand__logo { width: 118px; }

.main-nav { margin-left: auto; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__link {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: .88rem;
  font-weight: 750;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 27px 27px 8px 27px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .25s ease, box-shadow .25s ease, border-radius .25s ease, background .25s ease;
}

.btn:hover {
  border-radius: 27px 27px 14px 27px;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(25,63,58,.18);
}

.btn--primary { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.btn--primary:hover { background: #e3ea68; }
.btn__arrow {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: rgba(23,52,50,.1);
  border-radius: 50%;
}

.header-cta { min-height: 48px; padding: 12px 18px; }

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 25px 25px 9px 25px;
  background: linear-gradient(145deg, #e4ed32, var(--lime));
  box-shadow: 0 10px 24px rgba(3,42,42,.2), inset 0 1px rgba(255,255,255,.58);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.legal-hero {
  position: relative;
  min-height: 535px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(0,143,164,.28), transparent 28%),
    linear-gradient(135deg, #063f42 0%, var(--teal-deep) 54%, #0a6263 100%);
  isolation: isolate;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.78) .5px, transparent .7px);
  background-size: 6px 6px;
}

.legal-hero__inner {
  position: relative;
  display: flex;
  min-height: 535px;
  align-items: flex-end;
  padding-top: 190px;
  padding-bottom: 112px;
}

.legal-hero__copy { position: relative; z-index: 2; max-width: 850px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: rgba(255,255,255,.84);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(145deg, #05b1c2, var(--cyan));
  box-shadow: 0 0 0 7px rgba(255,255,255,.08), 0 0 20px rgba(0,177,197,.36);
}

.legal-hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7vw, 6.25rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.02;
}

.legal-hero__lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.legal-hero__lines {
  position: absolute;
  right: -3vw;
  bottom: 82px;
  width: min(600px, 49vw);
  height: 230px;
  opacity: .76;
}

.legal-hero__lines span {
  position: absolute;
  display: block;
  width: 100%;
  height: 110px;
  border-top: 2px solid;
  border-radius: 50%;
  animation: legal-breathe 6s ease-in-out infinite;
}

.legal-hero__lines span:nth-child(1) { top: 40px; color: var(--lime); transform: rotate(-5deg); }
.legal-hero__lines span:nth-child(2) { top: 82px; left: -12%; color: #00abc0; transform: rotate(3deg); animation-delay: -.8s; }
.legal-hero__lines span:nth-child(3) { top: 12px; left: 4%; color: rgba(255,255,255,.58); transform: rotate(1deg); animation-delay: -1.6s; }

@keyframes legal-breathe {
  0%, 100% { scale: 1 1; opacity: .66; }
  50% { scale: 1.025 .86; opacity: 1; }
}

.legal-hero__curve {
  position: absolute;
  right: -5%;
  bottom: -77px;
  left: -5%;
  height: 128px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 62% 62% 0 0;
}

.legal-main {
  position: relative;
  padding: 70px 0 120px;
}

.legal-main::before {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 280px;
  height: 600px;
  opacity: .4;
  background: radial-gradient(ellipse at right, rgba(0,143,164,.12), transparent 68%);
  pointer-events: none;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 138px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(242,240,231,.88));
  border: 1px solid rgba(23,52,50,.1);
  border-radius: 28px 28px 10px 28px;
  box-shadow: 0 20px 55px rgba(25,63,58,.08);
}

.legal-nav::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(0,143,164,.13);
  border-radius: 50%;
}

.legal-nav__label {
  margin: 0 0 17px;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-nav ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-nav;
}

.legal-nav li { counter-increment: legal-nav; }
.legal-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 8px 6px;
  color: var(--ink-soft);
  border-radius: 10px;
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.4;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.legal-nav a::before {
  content: counter(legal-nav, decimal-leading-zero);
  color: var(--cyan);
  font-size: .7rem;
  letter-spacing: .04em;
}

.legal-nav a:hover { color: var(--teal-deep); background: rgba(11,102,104,.07); transform: translateX(3px); }

.legal-content { max-width: 760px; }
.legal-intro {
  margin: 0 0 50px;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.8;
}

.legal-section {
  position: relative;
  padding: 0 0 46px 34px;
  margin-bottom: 46px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 145px;
}

.legal-section:last-of-type { margin-bottom: 0; border-bottom: 0; }
.legal-section::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(0,143,164,.1);
}

.legal-section h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.legal-section h3 {
  margin: 28px 0 11px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.legal-section p { margin: 0 0 18px; color: var(--ink-soft); }
.legal-section ul { margin: 0 0 20px; padding: 0; list-style: none; }
.legal-section li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 25px;
  color: var(--ink-soft);
}

.legal-section li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 2px;
  width: 9px;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  border-radius: 999px;
}

.legal-section a:not(.source-link) {
  color: var(--teal);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(11,102,104,.28);
  text-underline-offset: 4px;
}

.address-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  overflow: hidden;
  background: rgba(23,52,50,.1);
  border: 1px solid rgba(23,52,50,.08);
  border-radius: 24px 24px 8px 24px;
  box-shadow: 0 18px 46px rgba(25,63,58,.07);
}

.address-card > div {
  min-width: 0;
  padding: 24px;
  background: rgba(255,255,255,.87);
}

.address-card small {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.address-card strong { display: block; font-size: 1.02rem; line-height: 1.55; overflow-wrap: anywhere; }

.legal-note {
  position: relative;
  margin: 48px 0 0;
  padding: 28px 30px 28px 78px;
  color: #314b48;
  background: linear-gradient(135deg, #f5f7d7, #edf2c2);
  border: 1px solid rgba(166,177,21,.25);
  border-radius: 28px 28px 10px 28px;
  box-shadow: 0 18px 42px rgba(86,94,15,.08);
}

.legal-note::before {
  content: "i";
  position: absolute;
  top: 26px;
  left: 28px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--paper);
  background: var(--teal);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.legal-note strong { display: block; margin-bottom: 5px; color: var(--ink); }
.legal-note p { margin: 0; font-size: .92rem; line-height: 1.65; }

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 52px;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-size: .9rem;
  font-weight: 750;
}
.source-link::after { content: "↗"; }

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.82);
  background: var(--teal-night);
  border-radius: 50% 50% 0 0 / 28px 28px 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: radial-gradient(rgba(255,255,255,.7) .5px, transparent .7px);
  background-size: 7px 7px;
  pointer-events: none;
}

.site-footer .container { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr 1.4fr 1.2fr;
  gap: clamp(34px, 4vw, 64px);
  align-items: start;
  padding: 88px 0 66px;
}

.footer-brand .brand {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.footer-brand .brand__logo {
  width: 205px;
  filter: brightness(0) invert(1);
  opacity: .96;
}
.footer-brand .brand::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  height: auto;
  background: url("../images/logo.png") center / 100% 100% no-repeat;
  border-radius: 0;
  box-shadow: none;
  clip-path: polygon(76% 0, 100% 0, 100% 100%, 76% 100%, 76% 55%, 42% 55%, 42% 23%, 76% 23%);
  opacity: 1;
  pointer-events: none;
}
.footer-brand p { max-width: 300px; margin: 25px 0 0; }
.footer-grid h3 {
  min-height: 28px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-links { display: grid; gap: 13px; }
.footer-links a { width: fit-content; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--lime); transform: translateX(3px); }
.footer-meta { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(90px,.7fr); gap: 36px; }
.footer-contact a { display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; width: 100%; }
.footer-contact span:last-child { overflow-wrap: anywhere; }
.footer-link__icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: .76rem;
}

.footer-map-wrap { min-width: 0; }
.footer-map {
  position: relative;
  display: block;
  width: 100%;
  min-height: 204px;
  padding: 54px 24px 24px;
  overflow: visible;
  color: rgba(255,255,255,.76);
  text-align: left;
  background:
    linear-gradient(rgba(13,82,81,.74), rgba(13,82,81,.74)),
    linear-gradient(rgba(213,223,40,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,223,40,.11) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 27px 27px 10px 27px;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.footer-map:hover { transform: translateY(-4px); border-color: rgba(213,223,40,.55); box-shadow: 0 18px 42px rgba(0,0,0,.18); }
.footer-map__pin {
  position: absolute;
  top: -29px;
  right: 24px;
  display: grid;
  width: 54px;
  height: 66px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border: 5px solid var(--white);
  border-radius: 50% 50% 50% 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  font-weight: 900;
  transform: rotate(-45deg);
}
.footer-map__pin span { transform: rotate(45deg); }
.footer-map__content { display: grid; gap: 8px; }
.footer-map__content strong { color: var(--white); font-size: 1.02rem; }
.footer-map__address { display: grid; line-height: 1.55; }
.footer-map__link { margin-top: 8px; color: var(--lime); font-weight: 800; }

.footer-bottom {
  display: grid;
  gap: 21px;
  padding: 28px 0 30px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .76rem;
}
.footer-bottom > p { max-width: 780px; margin: 0 auto; color: rgba(255,255,255,.55); text-align: center; }
.footer-bottom__meta { display: flex; justify-content: center; gap: 24px; color: rgba(255,255,255,.68); }
.footer-bottom__meta a:hover { color: var(--lime); }

.contact-rail {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 34;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px 12px 18px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: 25px 25px 8px 25px;
  box-shadow: 0 18px 46px rgba(17,56,52,.24);
  font-size: .82rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .3s ease, transform .3s ease;
}
.contact-rail.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.contact-rail span { display: grid; width: 28px; height: 28px; place-items: center; background: rgba(255,255,255,.45); border-radius: 50%; }

.mobile-actionbar { display: none; }

.route-modal {
  width: min(900px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--teal-deep);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 36px 36px 12px 36px;
  box-shadow: 0 36px 100px rgba(2,31,31,.42);
}
.route-modal::backdrop { background: rgba(4,35,35,.72); backdrop-filter: blur(12px); }
.route-modal__inner { position: relative; padding: clamp(28px, 5vw, 52px); }
.route-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  cursor: pointer;
}
.route-modal h2 { margin: 0 55px 12px 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; }
.route-modal p { margin: 0 0 24px; color: rgba(255,255,255,.7); }
.route-frame { overflow: hidden; aspect-ratio: 16/7; background: #dcebea; border-radius: 23px 23px 8px 23px; }
.route-frame iframe { width: 100%; height: 100%; border: 0; }
.route-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.route-actions .btn:last-child { color: var(--white); border-color: rgba(255,255,255,.28); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  :root { --header-height: 102px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 126px 32px 64px;
    color: var(--white);
    background: rgba(5,63,65,.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
    transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { display: grid; gap: 12px; text-align: center; }
  .main-nav__link { font-family: var(--font-display); font-size: clamp(1.65rem, 5vw, 2.3rem); font-weight: 600; }
  .site-header.is-scrolled { height: 90px; }
  .brand__logo { width: 118px; }
  .site-header.is-scrolled .brand__logo { width: 104px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-meta { grid-template-columns: 1.35fr .65fr; }
}

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; gap: 38px; }
  .legal-nav { position: relative; top: auto; }
  .legal-nav ol { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .legal-content { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-map-wrap { grid-column: 1 / -1; }
  .footer-map { min-height: 180px; }
  .contact-rail { display: none; }
  .mobile-actionbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: minmax(118px, .82fr) minmax(190px, 1.18fr);
    gap: 8px;
    padding: 8px max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background: rgba(8,79,82,.96);
    border-top: 1px solid rgba(255,255,255,.16);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 38px rgba(6,48,48,.2);
    backdrop-filter: blur(18px);
    transition: opacity .28s ease, transform .34s cubic-bezier(.2,.75,.2,1);
  }
  .mobile-actionbar.is-hidden { opacity: 0; pointer-events: none; transform: translateY(calc(100% + 12px)); }
  .mobile-actionbar a { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; border-radius: 18px 18px 7px 18px; }
  .mobile-actionbar a:first-child { color: var(--white); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); font-size: .86rem; }
  .mobile-actionbar a:first-child > span { display: grid; width: 31px; height: 31px; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: .9rem; }
  .mobile-actionbar a:last-child { color: var(--ink); background: var(--lime); font-size: .83rem; font-weight: 850; }
  .mobile-actionbar a:last-child strong { display: grid; width: 28px; height: 28px; place-items: center; background: rgba(23,52,50,.1); border-radius: 50%; }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .legal-hero, .legal-hero__inner { min-height: 490px; }
  .legal-hero__inner { padding-top: 152px; padding-bottom: 88px; }
  .legal-hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .legal-hero__lines { right: -45%; bottom: 48px; width: 130vw; opacity: .4; }
  .legal-hero__curve { bottom: -53px; height: 86px; }
  .legal-main { padding-top: 48px; padding-bottom: 92px; }
  .legal-nav { padding: 22px; }
  .legal-nav ol { grid-template-columns: 1fr; }
  .legal-section { padding: 0 0 36px 27px; margin-bottom: 36px; }
  .address-card { grid-template-columns: 1fr; }
  .address-card > div { padding: 20px; }
  .legal-note { padding: 72px 22px 24px; }
  .legal-note::before { top: 24px; left: 22px; }
  .footer-grid { grid-template-columns: minmax(82px,.62fr) minmax(185px,1.38fr); gap: 34px 18px; padding-top: 72px; padding-bottom: 44px; }
  .footer-brand { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; }
  .footer-brand .brand { margin-bottom: 18px; }
  .footer-brand .brand__logo { width: 190px; }
  .footer-brand p { max-width: 390px; margin-inline: auto; }
  .footer-brand__desktop-break { display: none; }
  .footer-navigation { grid-column: 1; grid-row: 2; }
  .footer-meta { display: contents; }
  .footer-meta > div:first-child { grid-column: 2; grid-row: 2; }
  .footer-meta > div:last-child { grid-column: 1 / -1; grid-row: 4; }
  .footer-meta > div:last-child h3 { display: none; }
  .footer-meta > div:last-child .footer-links { display: flex; justify-content: center; gap: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
  .footer-grid h3 { min-height: 0; margin-bottom: 15px; font-size: .7rem; letter-spacing: .1em; }
  .footer-links { gap: 8px; }
  .footer-links a { font-size: .76rem; line-height: 1.4; }
  .footer-contact a { align-items: flex-start; gap: 7px; }
  .footer-link__icon { width: 23px; height: 23px; }
  .footer-contact a span:last-child { white-space: nowrap; overflow-wrap: normal; }
  .footer-map-wrap { grid-column: 1 / -1; grid-row: 3; }
  .footer-bottom__meta { flex-direction: column; align-items: center; gap: 8px; }
  .route-frame { aspect-ratio: 4/3; }
  .route-actions { display: grid; }
  .route-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
