/* GB Group USA — site styles */

:root {
  --cream: #f7f3ec;
  --cream-deep: #efe8dc;
  --paper: #ffffff;
  --ink: #15171c;
  --ink-soft: #4b505a;
  --ink-mute: #767b85;
  --line: #e2dacb;
  --red: #e3131a;          /* brand red, from the logo */
  --red-deep: #b90d13;
  --blue: #147bfc;         /* brand blue, from the logo */
  --green: #1f8a4c;
  --dark: #121418;
  --dark-2: #1b1e24;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(21, 23, 28, .05), 0 12px 32px -12px rgba(21, 23, 28, .18);
  --shadow-lg: 0 30px 60px -20px rgba(21, 23, 28, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 880px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typography ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 72;
}
.display em { font-style: italic; color: var(--red); font-weight: 450; }
.display-sm { font-size: clamp(2.3rem, 5vw, 3.8rem); }

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 60;
}
.h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.2; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 36em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 19, 26, .15); }
.eyebrow-light { color: #ff8a8e; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .98rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { --btn-bg: var(--red); box-shadow: 0 10px 24px -10px rgba(227, 19, 26, .7); }
.btn-primary:hover { --btn-bg: var(--red-deep); }
.btn-dark:hover { --btn-bg: #000; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(21, 23, 28, .2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-lg { padding: 17px 28px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--red-deep); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s ease; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 50px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:not(.btn):hover { color: var(--ink); background: rgba(21, 23, 28, .05); }
.main-nav a[aria-current="page"] { color: var(--ink); background: rgba(21, 23, 28, .07); }
.nav-cta-mobile { display: none; }

/* Language switcher */
.lang-switch {
  display: flex; align-items: center; gap: 2px; margin: 0; padding: 3px; list-style: none;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}
.lang-switch a {
  display: block; min-width: 34px; padding: 6px 8px; border-radius: 999px; text-align: center;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; color: var(--ink-mute);
  transition: color .2s ease, background-color .2s ease;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-open { display: inline-flex; }
.nav-toggle-close { display: none; }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  .lang-switch { margin-left: auto; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .35);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a:not(.btn) { padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }
  .nav-cta-mobile { display: block; margin-top: 12px; }
  .nav-cta-mobile .btn { width: 100%; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: inline-flex; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%;
  background: radial-gradient(60% 60% at 70% 40%, rgba(227, 19, 26, .08), transparent 70%);
  pointer-events: none;
}
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats dt { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.hero-stats dd { margin: 4px 0 0; font-size: .88rem; color: var(--ink-mute); }

/* Full-width hero with the founder portrait */
.hero-full {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 820px);
  display: flex; align-items: center;
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--dark); color: #fff;
}
.hero-full::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-full::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 15, 18, .92) 0%, rgba(14, 15, 18, .78) 32%, rgba(14, 15, 18, .2) 58%, rgba(14, 15, 18, 0) 72%),
    linear-gradient(0deg, rgba(14, 15, 18, .45), rgba(14, 15, 18, 0) 30%);
}
.hero-full .hero-copy { max-width: 620px; }
.hero-full .eyebrow { color: #ff8a8e; }
.hero-full .display { color: #fff; }
.hero-full .display em { color: #ff4b51; }
.hero-full .lead { color: rgba(255, 255, 255, .82); }
.hero-full .btn-ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .4); }
.hero-full .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero-full .hero-stats { border-top-color: rgba(255, 255, 255, .18); }
.hero-full .hero-stats dt { color: #fff; }
.hero-full .hero-stats dd { color: rgba(255, 255, 255, .65); }
.hero-caption {
  position: absolute; right: var(--gutter); bottom: 28px;
  font-size: .82rem; color: rgba(255, 255, 255, .75); text-align: right; line-height: 1.45;
}
.hero-caption strong { display: block; color: #fff; font-size: .95rem; font-weight: 600; }

@media (max-width: 900px) {
  .hero-full { display: block; min-height: 0; padding: 0 0 56px; background: var(--dark); }
  .hero-bg { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero-bg img { object-position: 74% 30%; }
  .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, var(--dark) 0%, rgba(18, 20, 24, 0) 45%);
  }
  .hero-full::after { display: none; }
  .hero-full .container { margin-top: -48px; position: relative; }
  .hero-caption { display: none; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats dt { font-size: 1.3rem; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Logo marquee ---------- */

.logo-band { padding: 8px 0 clamp(48px, 6vw, 72px); }
.hero-full + .logo-band { padding-top: clamp(40px, 5vw, 64px); }
.logo-band-title { text-align: center; font: 600 .8rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 18px; width: max-content; }
.marquee.is-running .marquee-track { animation: marquee 75s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  flex: none; width: 168px; height: 88px; padding: 14px 20px;
  display: grid; place-items: center;
  background: var(--paper); border-radius: 14px; border: 1px solid var(--line);
}
.marquee-track img, .logo-grid img {
  max-height: 58px; width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .75; mix-blend-mode: multiply;
  transition: filter .3s ease, opacity .3s ease;
}
.marquee-track li:hover img, .logo-grid li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section-flush-top { padding-top: 0; }
.section-tint { background: var(--cream-deep); }
.section-dark { background: var(--dark); color: #e9e6e0; }
.section-dark .h2 { color: #fff; }
.section-dark p { color: #b8b4ad; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-intro { margin-top: 20px; color: var(--ink-soft); font-size: 1.1rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover .link-arrow .icon { transform: translateX(4px); }
.service-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.42rem; line-height: 1.2; margin-top: 8px; }
.service-card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.service-icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: rgba(227, 19, 26, .08); color: var(--red);
  flex: none;
}
.service-icon .icon { width: 26px; height: 26px; }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-copy > p { margin-top: 20px; color: var(--ink-soft); }
.section-dark .split-copy > p { color: #b8b4ad; }
.split-copy > .btn { margin-top: 32px; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
}

/* Steps */
.steps { margin-top: 36px; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.step-num { font-family: var(--font-display); font-size: 1.6rem; color: #ff6b70; line-height: 1.2; font-style: italic; }
.steps h3 { font-size: 1.12rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.steps p { font-size: .97rem; }

/* Channels */
.channel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.channel-grid li {
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  padding: 32px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  font-weight: 600; line-height: 1.35;
}
.channel-grid .icon { width: 34px; height: 34px; color: var(--blue); stroke-width: 1.6; }
@media (max-width: 900px) { .channel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } .channel-grid li:last-child { grid-column: span 2; } }

/* Check list */
.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .icon { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }

/* Portrait stack */
.portrait-stack { position: relative; padding-bottom: 80px; }
.portrait-stack .portrait-main { aspect-ratio: 822 / 498; object-fit: cover; }
.portrait-inset {
  position: absolute; right: -16px; bottom: 0; width: 44% !important;
  aspect-ratio: 1; object-fit: cover; border: 6px solid var(--cream-deep);
}
@media (max-width: 900px) { .portrait-inset { right: 12px; } }

/* Quote */
.quote-section { padding-block: clamp(64px, 8vw, 104px); }
.big-quote { text-align: center; }
.big-quote > .icon { width: 44px; height: 44px; color: var(--red); margin: 0 auto 24px; }
.big-quote blockquote {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.25; letter-spacing: -.01em;
}
.big-quote figcaption { margin-top: 28px; font-weight: 600; color: var(--ink-mute); font-size: .95rem; }

/* CTA band */
.cta-band { padding: 0 0 var(--section); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--red); color: #fff;
  border-radius: 28px; padding: clamp(36px, 5vw, 64px);
  position: relative; overflow: hidden;
  max-width: calc(var(--container) - 2 * var(--gutter));
}
.cta-band .container { padding-inline: var(--gutter); }
.cta-band .cta-inner { margin-inline: auto; }
.cta-inner::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); pointer-events: none;
}
.cta-inner > div:first-child { max-width: 620px; position: relative; }
.cta-inner .h2 { color: #fff; }
.cta-inner p { margin-top: 14px; color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; position: relative; }
.cta-phone { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; color: #fff; }
.cta-phone .icon { width: 18px; height: 18px; }

/* ---------- Inner pages ---------- */

.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.page-hero-compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero-compact .lead { margin-top: 22px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-grid .lead { margin-top: 22px; }
.page-hero-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media-tall { aspect-ratio: 4 / 5; max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media-tall { justify-self: start; aspect-ratio: 4 / 3; max-width: none; }
  .page-hero-media-tall img { object-position: 50% 20%; }
}

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--paper); padding: 32px 28px; }
.feature > .icon { width: 30px; height: 30px; color: var(--red); stroke-width: 1.7; }
.feature h3 { margin: 18px 0 8px; font-size: 1.1rem; font-weight: 600; }
.feature p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid, .feature-grid-3 { grid-template-columns: 1fr; } }

.stat-panel { display: grid; gap: 14px; }
.stat-panel div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.stat-panel strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2.1rem; line-height: 1.1; color: var(--red); }
.stat-panel span { display: block; margin-top: 6px; color: var(--ink-soft); }

/* Timeline */
.timeline { position: relative; display: grid; gap: 8px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 0 0 36px 44px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--red);
}
.timeline-year { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--red-deep); line-height: 1.3; }
.timeline h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.timeline p { color: var(--ink-soft); }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

.gallery { display: grid; grid-template-columns: 1.3fr .7fr 1.3fr; gap: 20px; align-items: stretch; }
.gallery img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:last-child { grid-column: span 2; } }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.logo-grid img { max-height: 68px; }
.logo-grid li { height: 110px; padding: 20px 24px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card > span:last-child { min-width: 0; }
.contact-card small { display: block; color: var(--ink-mute); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-card strong { display: block; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-note { display: flex; gap: 14px; padding: 18px 22px; color: var(--ink-soft); font-size: .95rem; }
.contact-note .icon { color: var(--blue); margin-top: 3px; }

.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; box-shadow: var(--shadow);
}
.contact-form .h3 { margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s ease, background-color .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.contact-form .btn { justify-self: start; }
.form-hint { font-size: .88rem; color: var(--ink-mute); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-form .btn { width: 100%; } }

.not-found { min-height: 50vh; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: #b8b4ad; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 30em; }
.footer-title { color: #fff; font: 600 .78rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color .2s ease; display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }
.footer-contact .icon { width: 17px; height: 17px; color: #ff6b70; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; font-size: .86rem; color: #8a867f; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .1); }
.footer-flag { display: inline-flex; align-items: center; gap: 0; }
.footer-flag span { width: 10px; height: 4px; }
.footer-flag span:nth-child(1) { background: #1f8a4c; }
.footer-flag span:nth-child(2) { background: #fff; }
.footer-flag span:nth-child(3) { background: var(--red); margin-right: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .contact-card { transition: none; }
}
