/* BRIDGE GROUP AG — site styles
   Palette taken from the logo: sky #72C9FE on white, deepened into navy for text and dark bands. */
:root {
  --sky: #72c9fe;          /* logo blue */
  --sky-600: #2ea3ee;      /* deeper sky for marks on white */
  --sky-50: #f1f9ff;
  --sky-100: #e2f3ff;
  --sky-200: #c4e6fd;
  --blue: #1668c7;         /* action blue: white text 5.3:1 */
  --blue-700: #0f53a3;
  --navy: #0a2342;         /* ink and dark bands */
  --navy-800: #0e2f57;
  --ink: #0a2342;
  --text: #29415e;
  --muted: #557089;
  --line: rgba(10, 35, 66, .12);
  --white: #fff;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Montserrat", var(--font);

  --wrap: 1240px;
  --gut: clamp(16px, 5vw, 80px);
  --nav-h: 76px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(10,35,66,.06), 0 12px 32px -12px rgba(10,35,66,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky-600); outline-offset: 3px; border-radius: 4px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 40px; height: auto; flex: none; }
.logo__mark polygon { fill: var(--sky-600); }
.logo__type { display: flex; flex-direction: column; font-family: var(--font-logo); font-weight: 700; line-height: 1; letter-spacing: .02em; }
.logo__name { font-size: 18px; }
.logo__sub { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-top: 5px; color: var(--sky-600); }
.logo__sub::before { content: ""; height: 2px; flex: 1; background: currentColor; border-radius: 2px; }
.logo--light { color: #fff; }
.logo--light .logo__mark polygon { fill: var(--sky); }
.logo--light .logo__sub { color: var(--sky); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { --bg: var(--blue-700); --bd: var(--blue-700); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(22,104,199,.6); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(10,35,66,.25); }
.btn--ghost:hover { --bg: var(--sky-50); --bd: var(--ink); --fg: var(--ink); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--light:hover { --bg: var(--sky-100); --bd: var(--sky-100); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link { color: var(--blue); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor,currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease); }
.link:hover { background-size: 100% 1.5px; }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .nav { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); } }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky-600); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__links .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1.5px solid rgba(10,35,66,.2); border-radius: 12px; background: #fff; cursor: pointer; place-items: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  /* backdrop-filter would trap the fixed menu panel inside the header */
  .nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gut) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border: 0; padding-top: 24px; }
  .nav__links a:not(.btn) { display: flex; align-items: center; min-height: 60px; font-size: 20px; font-weight: 600; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { width: 100%; min-height: 52px; font-size: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: clamp(80px, 11vw, 136px); }
.section--tint { background: var(--sky-50); }
.section--dark { background: var(--navy); color: #c9dbee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transform: skewX(-30deg); }
.section--dark .eyebrow { color: var(--sky); }
.h2 { font-size: clamp(32px, 2.6vw + 18px, 52px); max-width: 18ch; }
.lead { font-size: clamp(18px, .4vw + 16px, 21px); line-height: 1.6; color: var(--text); max-width: 60ch; }
.section--dark .lead { color: #c9dbee; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { justify-self: start; }
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(56px, 7vw, 96px); background:
  radial-gradient(1200px 600px at 85% 10%, var(--sky-100), transparent 60%),
  linear-gradient(180deg, var(--sky-50), #fff 80%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 3.6vw + 16px, 68px); letter-spacing: -.035em; line-height: 1.04; }
.hero h1 .accent { color: var(--blue); }
.hero__lead { margin-top: 24px; font-size: clamp(18px, .5vw + 15px, 21px); max-width: 54ch; }
.hero .btn-row { margin-top: 36px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--sky-200); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 24px; }
.hero__badge .flag { width: 22px; height: 22px; border-radius: 6px; background: #d52b1e; display: grid; place-items: center; }
.hero__badge .flag::before { content: ""; width: 12px; height: 12px; background:
  linear-gradient(#fff,#fff) center / 4px 12px no-repeat, linear-gradient(#fff,#fff) center / 12px 4px no-repeat; }

/* The logo mark built from two photographs */
.mark-photo { position: relative; aspect-ratio: 578 / 449; width: 100%; }
.mark-photo__part { position: absolute; inset: 0; overflow: hidden; }
.mark-photo__part img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mark-photo:hover .mark-photo__part img { transform: scale(1.03); }
.mark-photo__part--top { clip-path: polygon(22.3% 0, 100% 0, 86.5% 39.6%, 52.8% 39.6%, 40.3% 86.4%, 0 86.4%); }
.mark-photo__part--bottom { clip-path: polygon(56.4% 47.4%, 96.9% 47.4%, 83.4% 100%, 43.3% 100%); }
.mark-photo__part--bottom img { object-position: 70% 50%; }
.mark-photo::after { /* soft brand shadow */
  content: ""; position: absolute; inset: 8% 6% -4% 10%; z-index: -1; background: var(--sky); filter: blur(60px); opacity: .35; border-radius: 50%; }

.facts { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; box-shadow: 0 1px 2px rgba(10,35,66,.04); transition: transform .2s var(--ease), box-shadow .2s; }
.fact:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fact__num { display: block; font-size: clamp(30px, 1.4vw + 18px, 40px); font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.fact__num em { font-style: normal; color: var(--sky-600); }
.fact__txt { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* hero entrance */
.js .hero [data-enter] { opacity: 0; transform: translateY(14px); }
.js .hero.is-in [data-enter] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .hero .mark-photo__part { opacity: 0; transform: translateX(-24px); }
.js .hero.is-in .mark-photo__part { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero.is-in .mark-photo__part--bottom { transition-delay: .18s; }

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero .mark-photo { max-width: 640px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .hero .btn-row .btn { width: 100%; }
  .facts { gap: 12px; }
  .fact { padding: 18px; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__text p + p { margin-top: 18px; }
.about__text .h2 { margin-bottom: 28px; }
.about__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.about__photo:hover img { transform: scale(1.03); }
.about__tag { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.95); border-radius: var(--r-md); padding: 16px 18px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.4; }
.about__tag svg { width: 36px; flex: none; }
.about__tag span { text-wrap: balance; }
@media (max-width: 560px) { .about__tag { left: 12px; right: 12px; bottom: 12px; gap: 10px; padding: 10px 14px; font-size: 13px; line-height: 1.35; } .about__tag svg { width: 26px; } .about__tag span { text-wrap: pretty; } }
.about__tag svg polygon { fill: var(--sky-600); }
.checks { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668c7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 899px) { .about__grid { grid-template-columns: 1fr; } .about__photo { aspect-ratio: 4 / 3; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.service:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sky-100); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service:hover .service__img img { transform: scale(1.03); }
.service__num { position: absolute; left: 20px; top: 20px; min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; }
.service__body { padding: clamp(24px, 2.5vw, 36px); display: flex; flex-direction: column; flex: 1; }
.service__tag { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--blue); margin-bottom: 10px; }
.service h3 { font-size: clamp(22px, .8vw + 16px, 27px); }
.service__intro { margin-top: 12px; }
.service__list { list-style: none; margin-top: 22px; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.service__list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; }
.service__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--sky-600); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.service__list strong { color: var(--ink); font-weight: 600; }
.service__note { margin-top: 22px; padding: 16px 18px; background: var(--sky-50); border: 1px solid var(--sky-200); border-radius: var(--r-md); font-size: 15.5px; color: var(--ink); display: flex; gap: 12px; }
.service__note svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--blue); }
@media (max-width: 899px) { .services { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--r-md); background: var(--navy-800); border: 1px solid rgba(255,255,255,.08); transition: transform .2s var(--ease), background-color .2s; }
.step:hover { transform: translateY(-2px); background: #123766; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 14px; font-weight: 700; color: var(--sky); margin-bottom: 40px; }
.step::after { content: ""; position: absolute; top: 37px; left: 64px; right: 24px; height: 1px; background: linear-gradient(90deg, rgba(114,201,254,.5), rgba(114,201,254,0)); }
.step h3 { font-size: 19px; line-height: 1.3; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: #b8cde3; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:last-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why us ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__photo { margin-top: 36px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.why__photo:hover img { transform: scale(1.03); }
.reasons { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reason { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.reason:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.reason__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue); margin-bottom: 22px; }
.reason__icon svg { width: 26px; height: 26px; }
.reason h3 { font-size: 20px; }
.reason p { margin-top: 10px; font-size: 16px; }
@media (max-width: 1023px) { .why__grid { grid-template-columns: 1fr; } .why__photo { display: none; } }
@media (max-width: 599px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__info .lead { margin-top: 20px; }
.contact__list { list-style: none; margin-top: 36px; display: grid; gap: 4px; }
.contact__list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-100); color: var(--blue); display: grid; place-items: center; }
.contact__list .ic svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.contact__list a, .contact__list address { color: var(--ink); font-style: normal; font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--blue); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 48px); box-shadow: var(--shadow); }
.form h3 { font-size: 24px; margin-bottom: 8px; }
.form > p { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--sky-50); border: 1.5px solid transparent; border-radius: var(--r-sm);
  min-height: 52px; padding: 13px 16px; transition: border-color .15s, background-color .15s, box-shadow .15s; width: 100%; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2342' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sky-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,104,199,.12); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: #c62f3a; background: #fff6f6; }
.field__error { display: none; margin-top: 6px; font-size: 14px; color: #b3242f; }
.field[data-invalid] .field__error { display: block; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; margin-bottom: 24px; }
.form__consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1023px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; gap: 0; } .form .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b8cde3; padding-top: clamp(64px, 8vw, 96px); font-size: 15.5px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin-top: 20px; max-width: 34ch; }
.footer h3 { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer a { color: #d7e6f5; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer a:hover { color: var(--sky); }
.footer address { font-style: normal; line-height: 1.7; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: #8fa9c4; }
.footer__bottom a { color: #8fa9c4; min-height: 0; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 899px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(64px, 9vw, 120px); }
.legal__head { padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal__head h1 { font-size: clamp(36px, 2.5vw + 22px, 56px); letter-spacing: -.03em; }
.legal__head p { margin-top: 14px; color: var(--muted); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: clamp(22px, .6vw + 18px, 28px); margin: 48px 0 14px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 18px; margin: 28px 0 8px; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 14px; }
.legal__body ul { padding-left: 22px; display: grid; gap: 6px; }
.legal dl { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; margin: 0; border-top: 1px solid var(--line); }
.legal dt, .legal dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal dt { color: var(--muted); font-weight: 500; padding-right: 24px; }
.legal dd { color: var(--ink); font-weight: 600; }
@media (max-width: 599px) { .legal dl { grid-template-columns: 1fr; } .legal dt { border-bottom: 0; padding-bottom: 0; } .legal dd { padding-top: 4px; } }
