/* ==========================================================================
   PB3 Racing — Design B (dark, editorial)
   Brand palette:
   Ink Black #00000F · Fresh Sky #00ACED · Bright Indigo #0042FF
   Honeydew #D6EADF · Dim Grey #636564 · white
   Fresh Sky = CTA buttons and the main contrast/accent colour.
   Dark backgrounds use the light logo (sky / white / indigo shield)
   ========================================================================== */
:root {
  --ink: #00000f;        /* Ink Black: page background */
  --sky: #00aced;        /* Fresh Sky: CTAs, accents */
  --royal: #0042ff;      /* Bright Indigo: featured highlight */
  --honeydew: #d6eadf;   /* Honeydew: light tiles */
  --grey: #636564;       /* Dim Grey: secondary text on light tiles, rules */

  --bg: var(--ink);
  --bg-2: #0b0b19;       /* white at 4% over ink */
  --bg-3: #151522;       /* white at 8% over ink */
  --tile: var(--honeydew);
  --tile-ink: var(--ink);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, .74);
  --text-3: rgba(255, 255, 255, .56);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .26);

  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.08; margin: 0 0 .6em; text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: .95rem; letter-spacing: .06em; line-height: 1.35; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; }

.kicker {
  display: block; font-family: var(--display); font-size: .72rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px;
}
.lede { color: var(--text-2); max-width: 58ch; font-size: 1.05rem; }
.accent-rule { width: 32px; height: 2px; background: var(--sky); border: 0; margin: 14px 0 0; }

/* Buttons: thin outline pills, as in the reference */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--text);
  font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--text); background: transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn--sky { border-color: var(--sky); background: var(--sky); color: var(--ink); }
.btn--sky:hover { background: #fff; border-color: #fff; color: var(--bg); }
.btn--dark { border-color: var(--tile-ink); color: var(--tile-ink); }
.btn--dark:hover { background: var(--tile-ink); color: #fff; }

.text-link {
  font-family: var(--display); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--sky); display: inline-flex; gap: 10px; align-items: center;
}
.text-link::after { content: ""; width: 24px; height: 1.5px; background: currentColor; transition: width .2s; }
.text-link:hover::after { width: 36px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 30; }
.site-header .wrap { max-width: 1280px; display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; line-height: 1; display: block; }
.brand-sub { display: block; font-family: var(--display); font-size: .52rem; font-weight: 600; letter-spacing: .5em; color: var(--text-2); margin-top: 4px; font-style: italic; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: var(--display); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--text); padding: 6px 0; position: relative;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--sky); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .btn { min-height: 38px; padding: 0 18px; }
.nav .btn--sky { color: var(--ink); }
.nav .btn--sky:hover { color: var(--ink); background: #fff; border-color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 11px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 6px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: rgba(0, 0, 15, .98); flex-direction: column; justify-content: center; gap: 22px;
    opacity: 0; visibility: hidden; transition: opacity .2s;
  }
  .nav a { font-size: .95rem; }
  .nav .btn { margin-top: 12px; min-height: 46px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-toggle { position: relative; z-index: 40; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ==========================================================================
   Hero — photo on the left fading into the dark page, copy on the right
   ========================================================================== */
.hero { position: relative; min-height: min(100vh, 920px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 30% 0 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.9) brightness(.85); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 15, .35) 0%, rgba(0, 0, 15, 0) 30%, rgba(0, 0, 15, .55) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(0, 0, 15, .7) 0%, rgba(0, 0, 15, 0) 22%, rgba(0, 0, 15, 0) 60%, var(--bg) 100%);
}
.hero .wrap { max-width: 1280px; display: grid; grid-template-columns: 1fr minmax(0, 520px); padding-top: 140px; padding-bottom: 80px; }
.hero-copy { grid-column: 2; }
.hero h1 { margin-bottom: .45em; }
.hero h1 span { color: var(--sky); display: block; }
.hero .lede { margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-quote { grid-column: 2; margin: 96px 0 0; text-align: right; }
.hero-quote p { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 300; line-height: 1.45; margin-bottom: 8px; }
.hero-quote cite { font-style: normal; font-size: .82rem; color: var(--sky); }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-media { inset: 0 0 30% 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0, 0, 15, .6) 0%, rgba(0, 0, 15, .1) 25%, rgba(0, 0, 15, .4) 55%, var(--bg) 100%); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 52vh; padding-bottom: 40px; }
  .hero-copy, .hero-quote { grid-column: 1; }
  .hero-quote { text-align: left; margin-top: 56px; }
}

/* Credential strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { padding: 28px 24px 28px 0; }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.proof span { font-size: .85rem; color: var(--text-3); }
@media (max-width: 760px) {
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li { padding: 20px 12px 20px 0; }
  .proof li + li { padding-left: 0; border-left: 0; }
  .proof li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Answer block
   ========================================================================== */
.answer { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 88px); }
.answer-body > p:first-child { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--text); font-weight: 400; }
.answer-body p { color: var(--text-2); }
.answer-body a { color: var(--sky); text-decoration: none; border-bottom: 1px solid rgba(0, 172, 237, .4); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.facts li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-2); }
.facts b { font-family: var(--display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); min-width: 92px; padding-top: 3px; }
@media (max-width: 860px) { .answer, .facts { grid-template-columns: 1fr; } }

/* ==========================================================================
   Plan finder — icon grid in the style of the reference "advantage" block
   ========================================================================== */
.finder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 40px; margin-top: 56px; }
.finder a { text-decoration: none; display: block; }
.finder svg { width: 52px; height: 40px; stroke: var(--sky); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: transform .25s; }
.finder a:hover svg { transform: translateY(-3px); }
.finder h3 { margin-bottom: 8px; }
.finder p { font-size: .88rem; color: var(--text-2); line-height: 1.6; }
.finder a:hover h3 { color: var(--sky); }
@media (max-width: 900px) { .finder { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; } }
@media (max-width: 420px) { .finder p { font-size: .82rem; } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head .lede { margin-top: 14px; }

/* ==========================================================================
   Featured plans — minimal rows
   ========================================================================== */
.plan-list { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.plan-row {
  display: grid; grid-template-columns: 150px 1fr auto auto; gap: 28px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .2s;
}
.plan-row:hover { background: linear-gradient(90deg, rgba(0, 172, 237, .06), transparent 70%); }
.plan-sport { font-family: var(--display); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.plan-row h3 { margin: 0 0 4px; font-size: 1rem; }
.plan-row p { margin: 0; font-size: .86rem; color: var(--text-3); }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; white-space: nowrap; }
.plan-price small { font-size: .65rem; letter-spacing: .14em; color: var(--text-3); margin-left: 4px; }
.plan-row .btn { min-height: 40px; padding: 0 18px; }
.plans-note { margin-top: 24px; font-size: .86rem; color: var(--text-3); }
.plans-note a { color: var(--sky); }
@media (max-width: 820px) {
  .plan-row { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .plan-sport { grid-column: 1 / -1; }
  .plan-row > div { grid-column: 1 / -1; }
  .plan-row .btn { justify-self: end; }
}

/* ==========================================================================
   Results checkerboard — photo / text tiles with notches, like the
   reference "Our coaches" grid
   ========================================================================== */
.board { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.board > * { aspect-ratio: 1; position: relative; overflow: hidden; }
.board .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.board .ph:hover img { transform: scale(1.04); }
.tile {
  background: var(--tile); color: var(--tile-ink); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(20px, 3vw, 40px); overflow: visible; z-index: 1;
}
.tile h3 { margin: 0 0 12px; font-size: .9rem; }
.tile hr { width: 28px; height: 2px; background: var(--sky); border: 0; margin: 0 auto 16px; }
.tile p { font-size: .9rem; color: var(--grey); max-width: 30ch; margin: 0 auto; }
.tile .meta { margin-top: 14px; font-size: .74rem; font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.tile .flag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px dashed var(--grey); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
/* Notch arrows pointing to the neighbouring photo */
.tile::after { content: ""; position: absolute; width: 0; height: 0; border: 12px solid transparent; }
.tile.n-right::after { right: -24px; top: 50%; margin-top: -12px; border-left-color: var(--tile); }
.tile.n-left::after { left: -24px; top: 50%; margin-top: -12px; border-right-color: var(--tile); }
.tile.n-down::after { bottom: -24px; left: 50%; margin-left: -12px; border-top-color: var(--tile); }
.tile.n-up::after { top: -24px; left: 50%; margin-left: -12px; border-bottom-color: var(--tile); }
@media (max-width: 760px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board > * { aspect-ratio: auto; min-height: 220px; }
  .board .ph { aspect-ratio: 1; }
  .tile::after { display: none; }
  .tile p { font-size: .82rem; }
  .tile { padding: 20px 14px; }
  .tile .flag { position: static; transform: none; margin-bottom: 10px; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 300; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1px var(--sky); line-height: 1; margin-bottom: 18px;
}
.steps p { font-size: .9rem; color: var(--text-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Feature band: TT image + ways to train */
.band { display: grid; grid-template-columns: 5fr 7fr; gap: 0; margin-top: 48px; background: var(--bg-2); }
.band-media { position: relative; min-height: 520px; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tiers { display: grid; min-width: 0; }
.band > * { min-width: 0; }
.tier { padding: 34px clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: start; }
.tier:last-child { border-bottom: 0; }
.tier h3 { margin: 0; font-size: 1rem; }
.tier .price { font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-align: right; white-space: nowrap; }
.tier .price small { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.tier p { grid-column: 1; margin: 0; font-size: .9rem; color: var(--text-2); }
.tier ul { grid-column: 1 / -1; list-style: none; padding: 0; margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tier li { font-size: .76rem; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); }
.tier .text-link { grid-column: 1 / -1; }
.tier--feature { background: linear-gradient(90deg, rgba(0, 66, 255, .28), rgba(0, 66, 255, .08)); border-left: 2px solid var(--sky); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band-media { min-height: 360px; } }
@media (max-width: 480px) { .tier { grid-template-columns: 1fr; } .tier .price { text-align: left; } .tier p { grid-row: auto; } }

/* ==========================================================================
   Coach
   ========================================================================== */
.coach { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.coach-media { position: relative; }
.coach-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.coach-media figcaption { position: absolute; left: 0; bottom: 0; background: var(--bg); padding: 14px 18px 0 0; font-size: .78rem; color: var(--text-3); }
.big-num { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 9vw, 7rem); line-height: .9; color: var(--sky); display: block; margin-bottom: 12px; }
.creds { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.creds li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-2); }
.creds b { display: block; color: var(--text); font-family: var(--display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.philosophy { margin: 0 0 28px; font-size: 1.1rem; font-weight: 300; font-style: italic; color: var(--text); padding-left: 20px; border-left: 2px solid var(--sky); }
@media (max-width: 860px) { .coach { grid-template-columns: 1fr; } .coach-media img { aspect-ratio: 16 / 10; } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } }

/* ==========================================================================
   Guides
   ========================================================================== */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.guide { text-decoration: none; display: block; }
.guide img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 18px; filter: grayscale(.25); transition: filter .3s; }
.guide:hover img { filter: none; }
.guide .kicker { margin-bottom: 8px; font-size: .64rem; }
.guide h3 { font-size: .92rem; margin-bottom: 8px; }
.guide:hover h3 { color: var(--sky); }
.guide p { font-size: .86rem; color: var(--text-2); }
.guide-more { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.guide-more a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: .92rem; }
.guide-more a::after { content: "→"; color: var(--sky); }
.guide-more a:hover { color: var(--sky); }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; } .guide-more { grid-template-columns: 1fr; } .guide img { aspect-ratio: 16 / 9; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 6vw, 88px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.4rem; font-weight: 300; color: var(--sky); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 40px 22px 0; color: var(--text-2); font-size: .95rem; }
.faq .faq-a a { color: var(--sky); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact + message form (reference footer form)
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 88px); padding-bottom: var(--section); }
.contact h2 { font-size: .85rem; letter-spacing: .2em; margin-bottom: 28px; }
.contact-item { display: grid; grid-template-columns: 22px 1fr; gap: 14px; margin-bottom: 24px; }
.contact-item svg { width: 18px; height: 18px; stroke: var(--sky); fill: none; stroke-width: 1.5; margin-top: 3px; }
.contact-item b { display: block; font-size: .9rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: .9rem; color: var(--text-2); text-decoration: none; }
.contact-item a:hover { color: var(--sky); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .74rem; color: var(--text-3); letter-spacing: .04em; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; background: transparent; border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: .95rem;
  padding: 12px 14px; border-radius: 0; transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sky) 50%), linear-gradient(135deg, var(--sky) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--bg-2); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); }
.form .btn { justify-self: start; }
.newsletter-mini { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.newsletter-mini p { font-size: .88rem; color: var(--text-2); }
.newsletter-mini form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-mini input { flex: 1 1 180px; background: transparent; border: 1px solid var(--line-2); color: var(--text); font: inherit; padding: 10px 14px; }
.newsletter-mini input:focus { outline: none; border-color: var(--sky); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .84rem; color: var(--text-3); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 48px; }
.footer-nav a { text-decoration: none; color: var(--text-2); }
.footer-nav a:hover { color: var(--sky); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--text); }
.socials a:hover { border-color: var(--sky); color: var(--sky); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-base nav { display: flex; gap: 20px; }
.footer-base a { color: var(--text-3); text-decoration: none; }
.footer-base a:hover { color: var(--text); }
@media (max-width: 600px) { .footer-nav { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
