/* ==========================================================================
   Barriote Insurance — design system
   Self-contained: no Bootstrap, no external CSS.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-faint: #86868b;
  --bg: #ffffff;
  --bg-alt: #fbfbfd;
  --bg-tint: #f5f5f7;
  --dark: #0a1020;
  --dark-2: #121a2e;
  --navy: #0B2447;
  --accent: #d54444;
  --accent-2: #bf3636;
  --hairline: rgba(0, 0, 0, 0.09);
  --hairline-light: rgba(255, 255, 255, 0.14);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.05);
  --shadow: 0 4px 12px rgba(0,0,0,.06), 0 18px 48px rgba(0,0,0,.09);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 40px 90px rgba(0,0,0,.16);
  --max: 1200px;
  --nav-h: 52px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(76px, 11vw, 152px); }
.section--tint { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; }

.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: #ff7a7a; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.lead {
  margin: 20px 0 0;
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}
.section--dark .lead { color: rgba(255,255,255,.66); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 980px;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .22s var(--ease-out), background .2s var(--ease), box-shadow .25s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(213,68,68,.32); }
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 10px 30px rgba(213,68,68,.42); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(0,0,0,.2); }
.btn--outline:hover { border-color: var(--ink); background: rgba(0,0,0,.03); }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
/* frosted once the hero is scrolled past (or the mobile drawer is open) */
body.past-hero .nav,
body.nav-open .nav {
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--hairline);
}
.nav__inner {
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
  transition: color .35s var(--ease);
}
/* full name, with the descriptor set lighter so "Barriote" still leads */
.nav__brand span { font-weight: 500; opacity: .72; }
@media (max-width: 420px) { .nav__brand { font-size: 15.5px; } }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  opacity: .85;
  transition: opacity .18s var(--ease), color .35s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__lang { display: flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; }
.nav__lang a { padding: 3px 7px; border-radius: 7px; color: rgba(255,255,255,.65); transition: color .35s var(--ease), background .35s var(--ease); }
.nav__lang a[aria-current="page"] { background: rgba(255,255,255,.92); color: var(--ink); }
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  margin-right: -8px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: #fff;
  transition: color .35s var(--ease);
}

/* dark-on-light once past the hero */
body.past-hero .nav__brand,
body.nav-open .nav__brand,
body.past-hero .nav__links a,
body.past-hero .nav__toggle,
body.nav-open .nav__toggle { color: var(--ink); }
body.past-hero .nav__lang a { color: var(--ink-faint); }
body.past-hero .nav__lang a[aria-current="page"],
body.nav-open .nav__lang a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: flex; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 890;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s var(--ease), transform .26s var(--ease-out), visibility .26s;
  overflow-y: auto;
}
.drawer.open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer a.drawer__link {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline);
}
.drawer .btn { margin-top: 26px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('/assets/img/hero-protect-your-future.jpg');
  background-image: image-set(url('/assets/img/hero-protect-your-future.webp') type('image/webp'),
                              url('/assets/img/hero-protect-your-future.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.04);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 50% 42%, rgba(3,8,20,.30) 0%, rgba(3,8,20,.62) 55%, rgba(3,8,20,.86) 100%),
    linear-gradient(180deg, rgba(3,8,20,.58) 0%, rgba(3,8,20,.22) 30%, rgba(3,8,20,.72) 100%);
}
.hero__inner { max-width: 940px; padding: calc(var(--nav-h) + 48px) 24px 120px; }
.hero h1 {
  font-size: clamp(2.9rem, 7.4vw, 5.8rem);
  letter-spacing: -0.042em;
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #ff9b8e 0%, #f7c8b0 45%, #a9d9f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: clamp(1.0625rem, 1.9vw, 1.3125rem);
  line-height: 1.55;
  color: rgba(255,255,255,.86);
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.hero__trust {
  margin-top: 46px;
  font-size: 13.5px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.62);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 15px; height: 15px; opacity: .8; }

.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.hero__scroll svg { width: 17px; height: 17px; animation: bob 2.1s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity:.55 } 50% { transform: translateY(5px); opacity:1 } }

/* contact strip under hero */
.strip {
  background: var(--dark);
  color: rgba(255,255,255,.92);
  font-size: 14.5px;
}
.strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 36px;
  padding: 15px 24px;
}
.strip a { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; transition: color .18s var(--ease); }
.strip a:hover { color: #ff9d9d; }
.strip svg { width: 16px; height: 16px; opacity: .65; }

/* ---------- bento / cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 46px 40px 42px;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(11,36,71,.09), rgba(11,36,71,.03));
  color: var(--navy);
  margin-bottom: 26px;
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.375rem; margin-bottom: 12px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.62; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--accent);
  background: none; border: 0; padding: 0;
  font-family: inherit; cursor: pointer;
}
.card__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- about ---------- */
/* The photo's glow is meant to bleed past the figure. Between ~900px and
   1200px the container has no spare margin to absorb it, so it would push
   the page wider than the viewport. `clip` trims it without creating a
   scroll container (unlike overflow:hidden, which would also clip the
   chip vertically). */
#about { overflow-x: clip; }
.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 48px; } }
.about h2 { font-size: clamp(1.9rem, 3.9vw, 2.9rem); }
.about p { color: var(--ink-soft); font-size: 17px; line-height: 1.66; }
.about p + p { margin-top: 18px; }

/* layered photo: soft brand glow behind it, glass chip over the corner */
.figure { position: relative; isolation: isolate; }
.figure::before {
  content: "";
  position: absolute;
  inset: -14% -10% -6% -14%;
  z-index: 0;
  background:
    radial-gradient(55% 55% at 26% 24%, rgba(213,68,68,.22), transparent 70%),
    radial-gradient(50% 50% at 80% 76%, rgba(11,36,71,.18), transparent 72%);
  filter: blur(26px);
}
/* height:auto is required — without it the width/height HTML attributes
   (there for CLS) win and the photo renders stretched. */
.figure__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.figure__chip {
  position: absolute;
  z-index: 2;
  left: -14px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}
.figure__chip svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
.figure__chip strong { display: block; font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; }
.figure__chip span { display: block; font-size: 12.5px; color: var(--ink-faint); }
@media (max-width: 900px) {
  /* the glow bleeds past the figure by design, but at narrow widths that
     pushes the page wider than the viewport — keep it inside horizontally */
  .figure::before { inset: -8% 0 -4% 0; }
}
@media (max-width: 560px) {
  .figure__chip { left: 8px; bottom: -16px; padding: 11px 15px 11px 12px; }
  .figure__chip strong { font-size: 13.5px; }
}

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(62px, 8vw, 104px);
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 14px; } }
.step {
  position: relative;
  overflow: hidden;
  padding: 34px 32px 30px;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); background: var(--bg); }
.step__n {
  position: absolute;
  top: 4px; right: 18px;
  font-size: 78px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  opacity: .055;
  pointer-events: none;
}
.step__bar {
  width: 34px; height: 3px; border-radius: 2px;
  background: var(--accent);
  margin-bottom: 20px;
  transition: width .35s var(--ease-out);
}
.step:hover .step__bar { width: 54px; }
.step h3 { font-size: 1.15rem; margin: 0 0 10px; letter-spacing: -0.022em; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); }

.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* ---------- partners ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .logos { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.logos__item {
  display: grid; place-items: center;
  min-height: 168px;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@media (max-width: 860px) { .logos__item { min-height: 132px; padding: 26px 22px; } }
.logos__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.logos__item img {
  /* wide wordmarks: capped by height */
  max-height: 52px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .58;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
/* square badge marks need more height to carry the same visual weight */
.logos__item--badge img { max-height: 88px; }
@media (max-width: 860px) {
  .logos__item img { max-height: 42px; }
  .logos__item--badge img { max-height: 70px; }
}
.logos__item:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- testimonials ---------- */
/* Center-stage carousel: the active review sits front and centre with the
   other two scaled back on either side. */
.carousel {
  position: relative;
  overflow: hidden;
  /* side cards bleed past the container — fade them out at the edges
     instead of hard-cutting them */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.quotes {
  position: relative;
  height: 420px; /* replaced by JS with the tallest card */
  transition: height .45s var(--ease-out);
}

.quote {
  position: absolute;
  top: 0; left: 0; right: 0;
  margin-inline: auto;
  width: min(520px, 86vw);
  display: flex;
  flex-direction: column;
  /* opaque, not translucent — the cards overlap, so a see-through
     background lets the card behind bleed through the text */
  background: #141c30;
  border: 1px solid var(--hairline-light);
  border-radius: var(--r-xl);
  padding: 42px 38px 34px;
  transition: transform .62s var(--ease-out), opacity .45s var(--ease),
              filter .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform, opacity;
}
.quote[data-pos="active"] {
  transform: none;
  opacity: 1;
  z-index: 3;
  background: #1a2440;
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 34px 80px rgba(0,0,0,.55);
}
.quote[data-pos="prev"] {
  transform: translateX(-94%) scale(.82);
  opacity: .46;
  filter: blur(1.2px);
  z-index: 2;
  cursor: pointer;
}
.quote[data-pos="next"] {
  transform: translateX(94%) scale(.82);
  opacity: .46;
  filter: blur(1.2px);
  z-index: 2;
  cursor: pointer;
}
.quote[data-pos="prev"]:hover,
.quote[data-pos="next"]:hover { opacity: .78; filter: none; }
.quote[data-pos="hidden"] {
  transform: scale(.78);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 700px) {
  /* side cards would run off-screen at this width — tuck them in tighter */
  .quote[data-pos="prev"] { transform: translateX(-66%) scale(.84); opacity: .3; }
  .quote[data-pos="next"] { transform: translateX(66%) scale(.84); opacity: .3; }
}
.quote p {
  margin: 0 0 30px;
  font-size: 17.5px;
  line-height: 1.72;
  color: rgba(255,255,255,.87);
  flex: 1;
  text-wrap: pretty;
}
.quote p::before {
  content: "\201C";
  display: block;
  font-size: 44px;
  line-height: .8;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.quote__by {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--hairline-light);
  padding-top: 24px;
}
@media (max-width: 700px) {
  .quote { padding: 34px 28px 28px; }
  .quote p { font-size: 17px; }
  .quote p::before { font-size: 38px; margin-bottom: 12px; }
}

.carousel__ctrl {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 36px;
}
.carousel__btn {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline-light);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), opacity .25s var(--ease), transform .2s var(--ease-out);
}
.carousel__btn:hover:not(:disabled) { background: rgba(255,255,255,.17); transform: translateY(-2px); }
.carousel__btn:disabled { opacity: .28; cursor: default; }
.carousel__btn svg { width: 17px; height: 17px; }

.carousel__dots { display: flex; align-items: center; gap: 8px; }
.carousel__dot {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.26);
  cursor: pointer;
  transition: background .25s var(--ease), width .3s var(--ease-out);
}
.carousel__dot.on { background: var(--accent); width: 26px; border-radius: 4px; }
.quote__ini {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, #d54444, #7e2b2b);
  color: #fff; font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
}
.quote__by strong { display: block; font-size: 15px; font-weight: 600; }
.quote__by span { font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.info { display: grid; gap: 10px; }
.info__row { display: flex; gap: 17px; align-items: flex-start; padding: 19px 0; border-bottom: 1px solid var(--hairline); }
.info__row:last-child { border-bottom: 0; }
.info__ico {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 13px; background: var(--bg-tint); color: var(--navy);
}
.info__ico svg { width: 19px; height: 19px; }
.info__row h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-faint); font-weight: 600; margin-bottom: 4px; }
.info__row p, .info__row a { margin: 0; font-size: 16.5px; font-weight: 500; }
.info__row a:hover { color: var(--accent); }

.formcard {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.input, .textarea, .select {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(213,68,68,.12);
}
.textarea { resize: vertical; min-height: 128px; }
.formstatus { margin: 14px 0 0; font-size: 14.5px; }
.formstatus.ok { color: #1a7f4b; }
.formstatus.err { color: var(--accent-2); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.6); font-size: 14.5px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px;
  padding-block: clamp(52px, 7vw, 76px);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 34px; } }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: #fff; }
.footer__brand { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 13px; }
.footer__brand span { font-weight: 500; opacity: .66; }
.footer__bottom {
  border-top: 1px solid var(--hairline-light);
  padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.social { display: flex; gap: 11px; }
.social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.07);
  transition: background .2s var(--ease), transform .2s var(--ease-out);
}
.social a:hover { background: var(--accent); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; }
.disclaimer { max-width: 720px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.4); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll svg { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- legal / prose pages ---------- */
.legal { padding-block: calc(var(--nav-h) + clamp(44px, 7vw, 84px)) clamp(60px, 9vw, 110px); }
.legal-wrap { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: 24px; }
.legal__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 30px;
  transition: color .18s var(--ease);
}
.legal__back:hover { color: var(--accent); }
.legal__back svg { width: 15px; height: 15px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 12px; }
.legal .updated { margin: 0 0 34px; font-size: 14.5px; color: var(--ink-faint); }
.legal__note {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  margin-bottom: 34px;
}
.legal__note p { font-size: 16px; line-height: 1.66; color: var(--ink); }
.legal h2 { font-size: 1.2rem; margin: 38px 0 12px; letter-spacing: -0.022em; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.72; color: var(--ink-soft); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 9px; }
.legal strong { color: var(--ink); font-weight: 650; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-2); }

/* ---------- utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
