/* ==========================================================================
   REPAIR TEAM — V2 home page (from concept/index.html).
   Self-contained: the home page does not load style.css, v2.css or main.js.
   The cookie banner and floating buttons are carried over from style.css.
   ========================================================================== */

/* Variables used by the carried-over cookie/floating styles (copied from style.css) */
:root {
  --color-navy: #101B2D;
  --color-navy-dark: #0A121F;
  --color-industrial-blue: #172A43;
  --color-white: #FFFFFF;
  --color-cool-gray: #F8FAFC;
  --color-cool-gray-alt: #F1F5F9;
  --color-turquoise: #19A7A1;
  --color-turquoise-hover: #148782;
  --color-turquoise-dark: #0F6F6B;
  --color-turquoise-subtle: rgba(25, 167, 161, 0.10);
  --color-turquoise-border: rgba(25, 167, 161, 0.30);
  --color-turquoise-glow: rgba(25, 167, 161, 0.25);
  --color-text-main: #101B2D;
  --color-text-body: #33445C;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-subtle: #F1F5F9;
  --color-border-hover: #CBD5E1;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 14px rgba(16, 27, 45, 0.05);
  --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Tokens: Repair Team colours (unchanged brand), layout system from the concept ===== */
:root {
  --background: #ffffff;
  --ink: #101B2D;
  --brand: #19A7A1;
  --brand-hover: #148782;
  --brand-deep: #101B2D;
  --brand-mid: #172A43;
  --brand-dark-teal: #0F6F6B;
  --surface: #F1F5F9;
  --ink-soft: #64748B;
  --ghost: #DCE3EB;
  --hairline: #E2E8F0;
  --radius-card: 1.5rem;
  --radius-card-lg: 2rem;
  --radius-pill: 62.5rem;
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --quart: cubic-bezier(0.25, 1, 0.5, 1);
  --io-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.22, 1.2, 0.36, 1);
}

/* ===== Adaptive rem grid (design width 1920) ===== */
html { font-size: 16px; }
@media (max-width: 1920px) { html { font-size: 0.833333vw; } }
@media (max-width: 1440px) { html { font-size: 1.111111vw; } }
@media (max-width: 1024px) { html { font-size: 1.5625vw; } }
@media (max-width: 640px) { html { font-size: 4.444444vw; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
body {
  min-height: 100vh;
  background: var(--background);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
html.is-locked { position: relative; overflow: hidden; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main { width: 100%; overflow-x: clip; padding: 0.5rem; }
@media (min-width: 640px) { main { padding: 0.75rem; } }

/* ===== Reveal primitives ===== */
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.mask > span { display: inline-block; }
html.js .mask > span {
  transform: translateY(115%); opacity: 0;
  transition: transform var(--dur, 950ms) var(--expo) var(--d, 0ms), opacity var(--dur, 950ms) var(--expo) var(--d, 0ms);
}
html.js .is-in .mask > span, html.js .mask.is-in > span { transform: none; opacity: 1; }
.lines .mask { display: block; }

html.js [data-inview] {
  opacity: 0;
  transform: translateY(var(--y, 28px)) scale(var(--s, 1));
  transition: opacity 0.9s var(--quart) var(--d, 0ms), transform 1s var(--spring) var(--d, 0ms);
}
html.js [data-inview].is-in { opacity: 1; transform: none; }

html.js .words > span { display: inline-block; opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--quart) var(--d, 0ms), transform 0.7s var(--quart) var(--d, 0ms); }
html.js .words.is-in > span { opacity: 1; transform: none; }

/* ===== Shared UI ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-soft); }
.eyebrow::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: var(--radius-pill); background: var(--brand); }
.eyebrow.light { color: rgba(255,255,255,0.7); }
.h-section { font-size: 3rem; font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; margin-top: 1rem; }

.pill { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: var(--radius-pill); padding: 0.875rem 1.75rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.pill svg { width: 1rem; height: 1rem; transition: transform 0.35s var(--spring); }
.pill-light { background: #fff; color: var(--brand-deep); }
.pill-solid { background: var(--ink); color: #fff; }
.pill-outline { border: 1px solid currentColor; color: var(--ink); }

.arrow-btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-pill); border: 1px solid var(--hairline); color: var(--ink); transition: background 0.25s, border-color 0.25s, color 0.25s; }
.arrow-btn svg { width: 1.25rem; height: 1.25rem; transition: transform 0.35s var(--spring); }
.arrow-btn.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrow-btn.prev svg { transform: scaleX(-1); }
@media (min-width: 640px) { .arrow-btn { width: 3.5rem; height: 3.5rem; } }

.dots { display: flex; gap: 0.5rem; }
.dots button { padding: 0.375rem; }
.dots span { display: block; height: 0.375rem; width: 0.375rem; border-radius: var(--radius-pill); background: var(--ghost); transition: width 0.4s var(--spring), background 0.3s; }
.dots button[aria-current="true"] span { width: 1.25rem; background: var(--ink); }
.dots.light span { background: rgba(255,255,255,0.4); }
.dots.light button[aria-current="true"] span { background: #fff; }

@media (hover: hover) and (min-width: 769px) {
  .pill:hover svg { transform: translateX(5px); }
  .pill-light:hover { background: var(--brand); color: #fff; }
  .pill-solid:hover { background: var(--brand-mid); }
  .pill-outline:hover { background: var(--ink); color: #fff; }
  .arrow-btn:hover { border-color: var(--ink); }
  .arrow-btn.solid:hover { background: var(--brand-mid); }
  .arrow-btn:hover svg { transform: scale(1.15); }
  .arrow-btn.prev:hover svg { transform: scaleX(-1) scale(1.15); }
}

.glass { border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.1); border-radius: var(--radius-card); padding: 0.75rem; box-shadow: 0 1.5rem 3rem rgba(16,27,45,0.2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ===== Loader ===== */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--brand-deep); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transition: transform 850ms var(--io-cubic); }
.loader.exit { transform: translateY(-105%); }
/* Without JS (or if js/v2-home.js never runs) the curtain must not cover the page */
html:not(.js) .loader { display: none; }
/* Returning visitor in this session: no curtain (set by the inline head guard) */
html.no-loader .loader { display: none; }
.loader-mark { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; animation: rise 0.9s var(--spring) both; }
.loader-mark img { width: 2.25rem; height: 2.25rem; }
.loader-track { width: 10rem; height: 1px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.2); overflow: hidden; }
.loader-fill { height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); animation: fill 1280ms var(--io-cubic) 120ms forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ===== Header ===== */
.site-header { display: flex; align-items: center; padding: 1.5rem 1.5rem 0; font-size: 0.75rem; color: #fff; position: relative; z-index: 2; }
.site-header > div { flex: 1; display: flex; align-items: center; }
.nav-left { gap: 2rem; display: none !important; }
.nav-left a { opacity: 0.9; text-transform: uppercase; letter-spacing: 0.1em; }
.brand { justify-content: flex-start; gap: 0.6rem; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; }
.brand img { width: 1.75rem; height: 1.75rem; }
.brand span { white-space: nowrap; }
@media (max-width: 639px) { .brand { font-size: 0.8rem; letter-spacing: 0.14em; } }
.header-right { justify-content: flex-end; gap: 1rem; }
.header-cta { display: none; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.burger { width: 2.5rem; height: 2.5rem; display: grid; place-content: center; gap: 5px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.25s; }
.burger span { display: block; width: 1rem; height: 1px; background: #fff; }
@media (min-width: 640px) { .site-header { padding: 2rem 2.5rem 0; } .header-cta { display: inline; } .header-right { gap: 1.25rem; } }
@media (min-width: 1024px) { .nav-left { display: flex !important; } .brand { justify-content: center; } }
@media (hover: hover) and (min-width: 769px) { .nav-left a:hover { opacity: 1; } .header-cta:hover { text-decoration: underline; } .burger:hover { background: rgba(255,255,255,0.25); } }

/* ===== Hero ===== */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-deep); color: #fff; border-radius: var(--radius-card-lg); height: calc(100svh - 1rem); min-height: 36rem; display: flex; flex-direction: column; }
@media (min-width: 640px) { .hero { height: calc(100svh - 1.5rem); } }
.hero-plate { position: absolute; inset: 0; z-index: -10; }
.hero-plate-inner { position: absolute; left: 0; right: 0; top: -16%; height: 132%; width: 100%; will-change: transform; }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(16,27,45,0.7), rgba(16,27,45,0.35), rgba(16,27,45,0.8)); }
.hero-title-wrap { padding: 1rem 1.5rem 0; }
.hero-title { font-size: 12.5vw; font-weight: 700; text-transform: uppercase; line-height: 0.85; letter-spacing: -0.03em; white-space: nowrap; }
.hero-title .mask + .mask { margin-left: 0.22em; }
@media (max-width: 639px) { .hero-title { font-size: 23vw; white-space: normal; line-height: 0.9; } .hero-title .mask { display: block; } .hero-title .mask + .mask { margin-left: 0; } }
.hero-title .accent > span { color: var(--brand); }
.hero-bottom { margin-top: auto; padding: 0 1.5rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.tagline { font-size: 2.4rem; font-weight: 700; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.02em; color: rgba(255,255,255,0.85); }
.hero-right { display: flex; align-items: flex-end; gap: 1rem; }
.slider { display: none; width: 16rem; flex-direction: column; gap: 0.75rem; }
.slide-card { display: flex; gap: 0.75rem; transition: opacity 0.45s var(--quart), transform 0.6s var(--spring); }
.slide-card.out { opacity: 0; transform: translateY(16px) scale(0.96); }
.slide-card img { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; object-fit: cover; flex-shrink: 0; }
.slide-card .b { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.slide-card .t { font-size: 0.7rem; text-transform: uppercase; opacity: 0.8; margin-top: 0.2rem; }
.slide-card .c { display: inline-block; font-size: 0.65rem; text-decoration: underline; margin-top: 0.45rem; }
.partners-card { display: flex; gap: 0.75rem; align-items: stretch; width: 100%; max-width: 20rem; }
.partners-card .info { display: flex; flex-direction: column; justify-content: space-between; gap: 0.5rem; flex: 1; }
.partners-card .val { font-size: 1.875rem; font-weight: 700; line-height: 1; }
.partners-card .cap { font-size: 0.65rem; opacity: 0.8; }
.partners-card .names { margin: 0; font-size: 0.7rem; line-height: 1.4; opacity: 0.9; }
.partners-card .more { align-self: flex-start; font-size: 0.7rem; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 1px; transition: border-color .2s; }
.partners-card .more:hover { border-color: #19A7A1; }
.partners-card .more:focus-visible { outline: 2px solid #19A7A1; outline-offset: 3px; border-radius: 2px; }
.partners-card img { width: 4rem; aspect-ratio: 3 / 4; border-radius: 0.75rem; object-fit: cover; }
@media (min-width: 640px) {
  .hero-title-wrap { padding: 1rem 2.5rem 0; }
  .hero-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; padding: 0 2.5rem 2.5rem; }
  .partners-card { max-width: 15rem; }
}
@media (min-width: 768px) { .slider { display: flex; } }

/* ===== Trust ===== */
.trust { position: relative; isolation: isolate; overflow: hidden; padding: 4rem 1.5rem; }
.trust-top { position: relative; z-index: 20; display: flex; flex-direction: column; gap: 1.5rem; }
.badge-circle { width: 7rem; height: 7rem; border-radius: var(--radius-pill); background: var(--surface); display: grid; place-content: center; text-align: center; --s: 0.9; --y: 0px; }
.badge-circle b { font-size: 1.5rem; font-weight: 700; }
.badge-circle small { display: block; max-width: 7em; margin: 0.2rem auto 0; font-size: 0.6rem; color: var(--ink-soft); line-height: 1.3; }
.badge-card { display: flex; gap: 1rem; max-width: 28rem; border-radius: var(--radius-card); background: var(--surface); padding: 1.25rem; --y: 24px; }
.badge-card .idx { align-self: flex-start; border-radius: 0.75rem; background: #fff; padding: 0.5rem 1rem; font-size: 1.25rem; font-weight: 700; }
.badge-card h3 { font-size: 1.125rem; font-weight: 700; }
.badge-card p { margin-top: 0.4rem; font-size: 0.75rem; line-height: 1.6; color: var(--ink-soft); font-weight: 500; }
.ghost { position: relative; z-index: 0; pointer-events: none; user-select: none; max-width: 88rem; margin: 3rem auto 0; font-size: 8.2vw; font-weight: 700; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.03em; }
.ghost-row { display: flex; justify-content: space-between; }
.ghost .mask { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.ghost .mask > span { color: var(--ghost); }
.ghost .w3 > span { color: var(--ink); }
.ghost .gw { display: inline-block; will-change: transform; }
.coach { position: relative; z-index: 10; width: 13rem; margin: 2rem auto 0; --y: 60px; --s: 0.92; }
.coach-fig { aspect-ratio: 3 / 4; border-radius: var(--radius-card); background: var(--brand); overflow: hidden; position: relative; transform: rotate(6deg); }
.coach-fig img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.coach-fig img.fading { opacity: 0; }
.cap-glass { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; border-radius: 0.75rem; background: rgba(16,27,45,0.45); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 0.5rem 0.75rem; }
.cap-glass b { display: block; font-size: 0.875rem; font-weight: 700; }
.cap-glass span { font-size: 0.65rem; opacity: 0.85; }
.trust-controls { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; margin-top: 3rem; }
@media (min-width: 640px) {
  .trust { padding: 5rem 2.5rem; }
  .trust-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .badge-circle { width: 8rem; height: 8rem; }
  .badge-card { gap: 1.25rem; padding: 1.5rem; }
  .coach { position: absolute; left: 50%; top: 50%; width: 16rem; margin: 0; translate: -50% -38%; }
  .trust-controls { margin-top: 6rem; }
}

/* ===== Services list ===== */
.services { background: var(--surface); padding: 6rem 1.5rem; border-radius: var(--radius-card-lg) var(--radius-card-lg) 0 0; }
.svc-list { margin-top: 3.5rem; }
.svc-list li { border-top: 1px solid var(--hairline); }
.svc-list li:last-child { border-bottom: 1px solid var(--hairline); }
.svc-row { display: flex; align-items: center; gap: 1.5rem; padding: 1.75rem 0; --y: 26px; }
.svc-row .n { width: 2.5rem; font-size: 0.875rem; color: var(--ink-soft); }
.svc-row .txt { flex: 1; }
.svc-row h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.svc-row p { font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.25rem; font-weight: 500; }
.svc-row .go { width: 2.75rem; height: 2.75rem; flex-shrink: 0; border: 1px solid var(--hairline); border-radius: var(--radius-pill); display: grid; place-items: center; }
.svc-row .go svg { width: 1.1rem; height: 1.1rem; opacity: 0.55; transition: transform 0.35s var(--spring), opacity 0.25s; }
.svc-row .tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand); margin-left: 0.6rem; vertical-align: middle; }
@media (hover: hover) and (min-width: 769px) { .svc-list a:hover .go svg { transform: translateX(8px); opacity: 1; } }
@media (min-width: 640px) { .services { padding: 6rem 2.5rem; } .svc-row h3 { font-size: 1.875rem; } }

/* ===== Facilities ===== */
.facilities { background: var(--background); border-radius: var(--radius-card-lg); margin-top: -2.5rem; position: relative; padding: 4rem 1.5rem 5rem; }
.fac-grid { display: grid; gap: 2.5rem; align-items: end; }
.fac-intro { max-width: 24rem; }
.fac-icon { width: 4rem; height: 4rem; border-radius: var(--radius-card); object-fit: cover; --y: 0px; --s: 0.85; }
.fac-intro .h-section { margin-top: 1.5rem; }
.fac-body { margin-top: 1.5rem; max-width: 20rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; font-weight: 500; }
.fac-cards { display: flex; align-items: flex-end; gap: 1.25rem; }
.fac-card { flex: 1; --y: 48px; }
.fac-card:nth-child(2) { margin-bottom: 2rem; }
.fac-fig { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-card); overflow: hidden; background: var(--surface); }
.fac-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--spring); }
.fac-fig .cap-glass { padding: 0.75rem 1rem; }
.fac-fig .cap-glass.teal { background: rgba(15,111,107,0.6); }
@media (hover: hover) and (min-width: 769px) { .fac-fig:hover img { transform: scale(1.03); } }
@media (min-width: 640px) { .facilities { padding: 4rem 2.5rem 5rem; } }
@media (min-width: 768px) { .fac-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Stats ===== */
.stats { background: var(--brand-deep); color: #fff; border-radius: var(--radius-card-lg); margin-top: 0.75rem; padding: 5rem 1.5rem; }
.stats dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; row-gap: 3rem; margin-top: 4rem; }
.stat { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.25rem; --y: 30px; }
.stat .v { font-size: 3.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat .v em { font-style: normal; color: var(--brand); font-size: 0.55em; }
@media (max-width: 639px) { .stat .v { font-size: 2.75rem; } }
.stat .l { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-top: 0.75rem; }
@media (min-width: 640px) { .stats { padding: 5rem 2.5rem; } .stat .v { font-size: 4.5rem; } }
@media (min-width: 1024px) { .stats dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ===== Testimonials ===== */
.testimonials { padding: 5rem 1.5rem; }
.t-grid { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
.t-card { --y: 40px; }
.t-inner { display: flex; flex-direction: column; justify-content: space-between; height: 100%; border-radius: var(--radius-card); background: var(--surface); padding: 1.75rem; transition: transform 0.45s var(--spring); }
.t-inner .q { font-size: 2.25rem; color: var(--brand); line-height: 1; }
.t-inner blockquote { font-size: 1.125rem; line-height: 1.6; margin-top: 1rem; }
.t-inner figcaption { border-top: 1px solid var(--hairline); padding-top: 1rem; margin-top: 1.5rem; font-weight: 700; }
.t-inner figcaption span { display: block; font-size: 0.875rem; color: var(--ink-soft); font-weight: 500; }
.t-note { margin-top: 1.5rem; font-size: 0.875rem; font-weight: 700; }
.t-note a { color: var(--brand-dark-teal); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color 0.2s; }
.t-note a:hover { color: var(--brand); }
@media (hover: hover) and (min-width: 769px) { .t-inner:hover { transform: translateY(-8px); } }
@media (min-width: 640px) { .testimonials { padding: 6rem 2.5rem; } }
@media (min-width: 768px) { .t-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Footer ===== */
.footer { background: var(--brand-deep); color: #fff; border-radius: var(--radius-card-lg); margin-top: 0.75rem; padding: 3.5rem 1.5rem; }
.f-cta { display: flex; flex-direction: column; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 3.5rem; }
.f-cta .big { font-size: 3.75rem; font-weight: 700; line-height: 0.92; letter-spacing: -0.03em; margin-top: 1rem; }
.f-cta .pill { --y: 20px; align-self: flex-start; }
.f-cols { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
.f-brand { max-width: 20rem; }
.f-brand .brand { color: #fff; font-size: 1.125rem; }
.f-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-top: 1rem; line-height: 1.6; font-weight: 500; }
.f-brand address { font-style: normal; margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); display: grid; gap: 0.35rem; }
.f-brand address span { color: rgba(255,255,255,0.55); }
.f-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); }
.f-col ul { margin-top: 1rem; display: grid; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.f-col a:hover { color: #fff; }
.f-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 2rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); display: flex; flex-direction: column; gap: 1.25rem; }
.f-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (min-width: 640px) {
  .footer { padding: 4rem 2.5rem; }
  .f-cta { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .f-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) { .f-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ===== Contact modal ===== */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; padding: 0.75rem; pointer-events: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16,27,45,0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s ease; }
.modal-panel { position: relative; width: 100%; max-height: 92svh; overflow-y: auto; border-radius: var(--radius-card-lg); background: #fff; padding: 1.5rem; color: var(--ink); box-shadow: 0 2rem 4rem rgba(16,27,45,0.35); opacity: 0; transform: translateY(28px) scale(0.96); transition: opacity 0.4s var(--quart), transform 0.6s var(--spring); }
.modal.open { pointer-events: auto; }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-head { display: flex; justify-content: space-between; gap: 1rem; }
.modal-head h2 { font-size: 2.25rem; font-weight: 700; line-height: 0.95; letter-spacing: -0.02em; margin-top: 0.75rem; }
.x-btn { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-pill); background: var(--surface); display: grid; place-items: center; flex-shrink: 0; transition: background 0.25s; }
.x-btn svg { width: 1.1rem; height: 1.1rem; transition: transform 0.4s var(--spring); }
.x-btn:hover svg { transform: rotate(90deg); }
.x-btn.dark { background: rgba(255,255,255,0.15); color: #fff; }
.form { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.form label { display: grid; gap: 0.4rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft); }
.form input, .form textarea { width: 100%; border-radius: 0.75rem; border: 1px solid var(--hairline); background: #fff; padding: 0.75rem 1rem; font: 500 0.875rem "Manrope", sans-serif; color: var(--ink); text-transform: none; letter-spacing: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25,167,161,0.2); }
.form .err { font-size: 0.75rem; color: #C0392B; min-height: 1em; text-transform: none; letter-spacing: 0; font-weight: 500; }
.form button[type="submit"] { justify-content: center; }
.success { margin-top: 2rem; border-radius: var(--radius-card); background: var(--surface); padding: 1.5rem; text-align: center; }
.success .ok { width: 3rem; height: 3rem; margin: 0 auto 1rem; border-radius: var(--radius-pill); background: var(--brand); display: grid; place-items: center; color: #fff; }
.success b { font-size: 1.125rem; }
.success p { margin: 0.5rem 0 1.25rem; font-size: 0.875rem; color: var(--ink-soft); }
@media (min-width: 640px) { .modal { align-items: center; padding: 1.5rem; } .modal-panel { max-width: 32rem; padding: 2rem; } .modal-head h2 { font-size: 3rem; } }

/* ===== Menu overlay ===== */
.menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; pointer-events: none; color: #fff; }
.menu-backdrop { position: absolute; inset: 0; background: var(--brand-deep); opacity: 0; transition: opacity 0.45s ease; }
.menu-panel { position: relative; display: flex; flex-direction: column; height: 100%; padding: calc(0.5rem + 1.5rem) calc(0.5rem + 1.5rem); opacity: 0; transform: translateY(-24px); transition: opacity 0.45s var(--quart), transform 0.6s var(--spring); }
.menu.open { pointer-events: auto; }
.menu.open .menu-backdrop, .menu.open .menu-panel { opacity: 1; transform: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
.menu-nav a { display: block; font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--quart) var(--d), transform 0.8s var(--spring) var(--d), color 0.2s; }
.menu.open .menu-nav a { opacity: 1; transform: none; }
.menu-nav a:hover { color: var(--brand); }
.menu-bottom { display: flex; flex-direction: column; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 2rem; }
.menu-bottom nav { display: flex; gap: 1.25rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; }
@media (min-width: 640px) { .menu-panel { padding: calc(0.75rem + 2rem) calc(0.75rem + 2.5rem); } .menu-nav a { font-size: 4.5rem; } .menu-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }


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

/* ===== Cookie banner and floating buttons (carried over from style.css) ===== */
/* ==================== FLOATING ACTIONS & COOKIES ==================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 998;
  transition: var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  background-color: #1EBE5D;
}

.floating-cookie-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 998;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.floating-cookie-btn:hover {
  background-color: var(--color-cool-gray);
  border-color: var(--color-border-hover);
}

.cookie-consent {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(16, 27, 45, 0.15);
  z-index: 1002;
}

.cookie-consent__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.cookie-consent__text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp {
    bottom: 16px;
    right: 16px;
  }

.floating-cookie-btn {
    bottom: 16px;
    left: 16px;
  }

.cookie-consent {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 16px;
    max-width: calc(100% - 32px);
  }

.cookie-consent__actions {
    flex-wrap: wrap;
  }

.cookie-btn {
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
}

.cookie-btn--primary {
  background-color: var(--color-turquoise);
  color: var(--color-white);
}

.cookie-btn--ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text-body);
}

.cookie-close-btn {
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--color-text-muted);
  padding: 0 4px;
}

@media (max-width: 580px) {
.floating-whatsapp {
    bottom: 16px;
    right: 16px;
  }
.floating-cookie-btn {
    bottom: 16px;
    left: 16px;
  }
.cookie-consent {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 16px;
    max-width: calc(100% - 32px);
  }
.cookie-consent__actions {
    flex-wrap: wrap;
  }
}

/* ===== Menu: language links ===== */
.menu-langs { display: inline-flex; gap: 0.75rem; margin-left: 0.5rem; padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,0.2); }
.menu-langs a { color: rgba(255,255,255,0.6); font-weight: 700; letter-spacing: 0.08em; }
.menu-langs a[aria-current="page"], .menu-langs a:hover { color: #fff; }
.menu-bottom nav { flex-wrap: wrap; align-items: center; }

/* Cookie settings: round, icon-only button in the bottom-left corner (the button keeps its aria-label) */
.floating-cookie-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.floating-cookie-btn span {
  display: none;
}

/* ===== Desktop top bar (≥1024px): slides in once the hero header has scrolled away ===== */
.topbar { display: none; }
@media (min-width: 1024px) {
  .topbar { position: fixed; top: 0.75rem; left: 50%; z-index: 60; width: min(72rem, calc(100% - 3rem)); display: flex; align-items: center; gap: 1.5rem; padding: 0.5rem 0.5rem 0.5rem 1.25rem; border-radius: var(--radius-pill); color: #fff; background: rgba(16,27,45,0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(16,27,45,0.18); transform: translate(-50%, -140%); opacity: 0; transition: transform 0.55s var(--spring), opacity 0.3s ease; }
  .topbar.is-shown { transform: translate(-50%, 0); opacity: 1; }
  .topbar .brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; font-size: 0.8rem; letter-spacing: 0.18em; }
  .topbar .brand img { width: 1.5rem; height: 1.5rem; }
  .topbar-links { flex: 1; display: flex; justify-content: center; gap: 1.5rem; }
  .topbar-links a { font-size: 0.75rem; font-weight: 600; white-space: nowrap; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
  .topbar-right { display: flex; align-items: center; gap: 0.5rem; }
  .topbar-cta { white-space: nowrap; font-size: 0.75rem; font-weight: 700; padding: 0.6rem 1.1rem; border-radius: var(--radius-pill); background: var(--brand); color: #fff; transition: background 0.2s; }
  .topbar a:focus-visible, .topbar button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
}
@media (min-width: 1024px) and (max-width: 1199px) { .topbar .brand span { display: none; } .topbar-links { gap: 1rem; } }
@media (hover: hover) and (min-width: 1024px) { .topbar-links a:hover { opacity: 1; color: var(--brand); } .topbar-cta:hover { background: #148782; } }
@media (prefers-reduced-motion: reduce) { .topbar { transition: none; } }

/* While the menu or the modal is open, the floating buttons step aside (they covered the language links) */
html.is-locked .floating-whatsapp, html.is-locked .floating-cookie-btn { opacity: 0; visibility: hidden; pointer-events: none; }

/* Trust words: sized by js/v2-home.js to fit, kept clear of the photo card */
.ghost .gw { white-space: nowrap; }
@media (max-width: 1023px) {
  /* Words stack in a zigzag above the card, which sits below them */
  .ghost { padding-bottom: 0.35em; }
  .ghost-row { flex-direction: column; align-items: flex-start; }
  .ghost-row .gw:last-child { align-self: flex-end; }
  .coach { position: relative; left: auto; top: auto; translate: none; width: 15rem; margin: 2.5rem auto 0; }
}
@media (min-width: 1024px) {
  /* Left word | room for the card | right word */
  .ghost-row { display: grid; grid-template-columns: minmax(0, 1fr) 19rem minmax(0, 1fr); align-items: end; }
  .ghost-row .gw:first-child { grid-column: 1; justify-self: start; }
  .ghost-row .gw:last-child { grid-column: 3; justify-self: end; }
}

/* Top bar language picker (left of the call button) */
@media (min-width: 1024px) {
  .topbar-lang { position: relative; }
  .topbar-lang summary { list-style: none; display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; background: rgba(255,255,255,0.1); transition: background 0.2s; }
  .topbar-lang summary::-webkit-details-marker { display: none; }
  .topbar-lang summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .topbar-lang[open] summary { background: rgba(255,255,255,0.2); }
  .topbar-lang-list { position: absolute; top: calc(100% + 0.5rem); right: 0; display: flex; flex-direction: column; min-width: 5rem; padding: 0.35rem; border-radius: 1rem; background: var(--brand-deep); box-shadow: 0 12px 30px rgba(16,27,45,0.3); }
  .topbar-lang-list a { padding: 0.45rem 0.75rem; border-radius: 0.6rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: rgba(255,255,255,0.7); }
  .topbar-lang-list a[aria-current="page"] { color: var(--brand); }
  .topbar-lang-list a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
}
@media (hover: hover) and (min-width: 1024px) { .topbar-lang summary:hover { background: rgba(255,255,255,0.2); } .topbar-lang-list a:hover { color: #fff; background: rgba(255,255,255,0.08); } }
