/* ==========================================================================
   RTR MANAGEMENT CONSULTANCY LLC
   Theme: Red / White / Black
   ========================================================================== */

:root {
  /* Brand */
  --red: #E82128;
  --red-dark: #C0161C;
  --red-soft: #FDECED;
  --black: #0A0A0A;
  --ink: #141414;
  --white: #FFFFFF;

  /* Neutrals (shades of white/black only) */
  --grey-50: #F7F7F7;
  --grey-100: #F0F0F0;
  --grey-200: #E3E3E3;
  --grey-400: #9A9A9A;
  --grey-600: #5C5C5C;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 76px;

  --shadow-sm: 0 2px 10px rgba(10, 10, 10, .06);
  --shadow-md: 0 10px 34px rgba(10, 10, 10, .10);
  --shadow-red: 0 10px 30px rgba(232, 33, 40, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--red); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--red-dark); }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--black);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
p { margin: 0 0 1.1em; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ------------------------------------------------------------- Helpers -- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--grey { background: var(--grey-50); }
.section--dark { background: var(--black); color: #D8D8D8; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.section--dark .eyebrow { color: #FF5A60; }
.section--dark .eyebrow::before { background: #FF5A60; }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head p { color: var(--grey-600); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section-head p { color: #B4B4B4; }

.lead { font-size: 1.1rem; color: var(--grey-600); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: all .28s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--red { background: var(--red); color: #fff; border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-red); }

.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: #fff; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.38); }
.btn--ghost:hover { background: #fff; color: var(--black); border-color: #fff; transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--red); border-color: #fff; }
.btn--white:hover { background: var(--black); color: #fff; border-color: var(--black); transform: translateY(-2px); }

.btn--sm { padding: 11px 22px; font-size: .78rem; }

/* ------------------------------------------------------------- Top bar -- */
.topbar {
  background: var(--black); color: #B9B9B9;
  font-size: .82rem; line-height: 1;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: flex-end; padding-block: 11px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; color: #B9B9B9; overflow-wrap: anywhere; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--red); flex: none; }
.topbar .topbar__loc { margin-right: auto; }

/* -------------------------------------------------------------- Header -- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  position: relative; display: block; padding: 10px 14px;
  font-size: .88rem; font-weight: 600; color: var(--ink);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--red); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__cta { display: inline-flex; }

/* The in-menu CTA exists for the mobile menu only; on desktop the
   standalone red button beside the nav already serves that purpose. */
.nav li.nav__cta { display: none; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--black); transition: all .3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero -- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black); color: #CFCFCF;
  padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(232,33,40,.30), transparent 62%),
    radial-gradient(520px 380px at 4% 96%, rgba(232,33,40,.14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__text { font-size: 1.08rem; color: #BDBDBD; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 42px; margin-top: 54px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stat b { display: block; font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1.2; }
.hero__stat b span { color: var(--red); }
.hero__stat small { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8E8E8E; }

/* Logo-inspired geometric mark */
.hero__mark { display: grid; place-items: center; }
.mark {
  position: relative; width: min(100%, 340px); aspect-ratio: 1;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  animation: markFloat 7s ease-in-out infinite;
}
.mark i { display: block; background: var(--red); border-radius: 2px; }
.mark i:nth-child(1) { border-radius: 2px; }
.mark i:nth-child(2) { border-radius: 50%; }
.mark i:nth-child(3) { clip-path: polygon(0 0, 100% 0, 0 100%); }
.mark i:nth-child(4) { border-radius: 10px; }
.mark::after {
  content: ""; position: absolute; inset: -26px; border: 1px solid rgba(232,33,40,.3);
  border-radius: 4px;
}
@keyframes markFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

/* ------------------------------------------------------------- Pillars -- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar {
  position: relative; background: #fff; padding: 38px 32px 34px;
  border: 1px solid var(--grey-200); border-radius: var(--radius);
  transition: all .32s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; color: var(--red);
  display: block; margin-bottom: 14px;
}
.pillar p { color: var(--grey-600); margin-bottom: 0; font-size: .97rem; }

/* -------------------------------------------------------------- Brands -- */
.brands__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 34px; }
.brand-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 44px 38px; color: var(--ink);
  transition: all .32s var(--ease);
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--red); color: var(--ink); }
.brand-card__logo { height: 54px; display: flex; align-items: center; }
.brand-card__logo img { max-height: 54px; width: auto; object-fit: contain; }
.brand-card p { color: var(--grey-600); font-size: .96rem; margin-bottom: 0; }
.brand-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
.brand-card__link svg { width: 14px; height: 14px; transition: transform .28s var(--ease); }
.brand-card:hover .brand-card__link svg { transform: translateX(4px); }

.legal-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--red-soft); border-left: 3px solid var(--red);
  padding: 20px 24px; font-size: .92rem; color: var(--ink); border-radius: var(--radius);
}
.legal-note svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.legal-note p { margin: 0; }

/* --------------------------------------------------------------- About -- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 76px); align-items: start; }
.about__grid > * { min-width: 0; }
.about__body p { color: var(--grey-600); }

.purpose {
  position: relative; background: var(--black); color: #D5D5D5;
  padding: 44px 40px; border-radius: var(--radius); overflow: hidden;
}
.purpose::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red);
}
.purpose::after {
  content: "\201C"; position: absolute; right: 24px; top: -18px;
  font-size: 10rem; line-height: 1; font-weight: 800; color: rgba(232,33,40,.16); font-family: Georgia, serif;
}
.purpose h3 { color: #fff; position: relative; z-index: 1; }
.purpose p { position: relative; z-index: 1; margin-bottom: 0; font-size: 1.02rem; }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-200); margin-top: 26px; border: 1px solid var(--grey-200); }
.stat-strip div { background: #fff; padding: 24px 20px; text-align: center; }
.stat-strip b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--red); line-height: 1.1; }
.stat-strip small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); }

/* ------------------------------------------------------------ Why RTR -- */
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 32px 30px; transition: all .32s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card__icon {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); border-radius: var(--radius);
  transition: all .32s var(--ease);
}
.why-card__icon svg { width: 24px; height: 24px; }
.why-card:hover .why-card__icon { background: var(--red); color: #fff; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: .95rem; color: var(--grey-600); }

.why__banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px;
  margin-top: 30px; padding: 30px 28px; text-align: center;
  background: var(--black); color: #fff; border-radius: var(--radius);
}
.why__banner b { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; color: var(--red); line-height: 1; }
.why__banner span { font-size: 1.02rem; color: #C9C9C9; }

/* ------------------------------------------------------------ Services -- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 38px 32px 34px; transition: all .34s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--black);
  transform: translateY(101%); transition: transform .4s var(--ease); z-index: 0;
}
.service > * { position: relative; z-index: 1; }
.service:hover::before { transform: translateY(0); }
.service:hover { border-color: var(--black); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service:hover h3 { color: #fff; }
.service:hover p { color: #BFBFBF; }

.service__icon {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--red); color: #fff; border-radius: var(--radius);
  transition: all .34s var(--ease);
}
.service__icon svg { width: 26px; height: 26px; }
.service:hover .service__icon { transform: rotate(-6deg) scale(1.06); }
.service h3 { font-size: 1.16rem; margin-bottom: 10px; transition: color .34s var(--ease); }
.service p { margin: 0; font-size: .95rem; color: var(--grey-600); transition: color .34s var(--ease); }
.service__no {
  position: absolute; right: 22px; top: 18px; z-index: 1;
  font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--grey-100);
  transition: color .34s var(--ease);
}
.service:hover .service__no { color: rgba(255,255,255,.10); }

/* ----------------------------------------------------------- CTA band -- */
.cta-band { background: var(--red); color: #fff; padding: clamp(50px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border: 40px solid rgba(255,255,255,.08); border-radius: 50%;
}
.cta-band .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); max-width: 60ch; }

/* ------------------------------------------------------------- Contact -- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact__grid > * { min-width: 0; }

.contact-list { list-style: none; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--grey-200); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list__icon {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--black); color: #fff; border-radius: var(--radius);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list h4 { margin: 0 0 3px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-400); font-weight: 700; }
.contact-list div { min-width: 0; }
.contact-list div a, .contact-list div span {
  color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.5;
  /* The email address is one long unbreakable word; without this it sets a
     min-content width that pushes the whole page sideways on small phones. */
  overflow-wrap: anywhere;
}
.contact-list div a:hover { color: var(--red); }

.form-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .97rem; color: var(--ink);
  padding: 13px 15px; background: var(--grey-50);
  border: 1px solid var(--grey-200); border-radius: var(--radius);
  transition: all .25s var(--ease); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,33,40,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-400); }
.form-note { font-size: .82rem; color: var(--grey-600); margin: 16px 0 0; }
.form-note a { font-weight: 600; }
.form-card .btn { width: 100%; margin-top: 4px; }

/* Honeypot — kept out of sight and out of the tab order, never display:none
   (some bots skip hidden fields, and screen readers need it skipped too). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Per-field validation */
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--red); background: var(--red-soft);
}
.field__error { font-size: .78rem; font-weight: 600; color: var(--red); }

/* Submit status message */
.form-status {
  display: flex; gap: 11px; align-items: flex-start; overflow-wrap: anywhere;
  margin: 18px 0 0; padding: 15px 18px; font-size: .9rem; font-weight: 500;
  border-radius: var(--radius); border-left: 3px solid var(--red);
  background: var(--red-soft); color: var(--ink);
}
.form-status::before {
  content: "!"; flex: none;
  width: 20px; height: 20px; display: grid; place-items: center;
  background: var(--red); color: #fff; border-radius: 50%;
  font-size: .72rem; font-weight: 800; line-height: 1;
}
.form-status.is-success { background: var(--grey-50); border-left-color: var(--black); }
.form-status.is-success::before { content: "\2713"; background: var(--black); }

/* Button busy state */
.btn.is-busy { pointer-events: none; opacity: .75; }
.btn.is-busy svg { display: none; }
.btn.is-busy::after {
  content: ""; width: 15px; height: 15px; flex: none;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.map-embed { margin-top: 48px; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-embed iframe { width: 100%; height: 360px; border: 0; filter: grayscale(100%) contrast(1.08); transition: filter .4s var(--ease); }
.map-embed:hover iframe { filter: grayscale(0%); }

/* -------------------------------------------------------------- Footer -- */
.footer { background: var(--black); color: #9C9C9C; padding: clamp(56px, 7vw, 84px) 0 0; font-size: .93rem; }
/* Last column is widened so the long email address fits on one line. */
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.55fr; gap: 42px; padding-bottom: 50px; }
.footer__grid > * { min-width: 0; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer p { color: #9C9C9C; }
.footer__logo img { height: 36px; width: auto; margin-bottom: 20px; }
.footer__links { list-style: none; display: grid; gap: 11px; }
.footer__links a { color: #9C9C9C; font-size: .93rem; display: inline-flex; align-items: center; gap: 9px; }
.footer__links a::before { content: ""; width: 0; height: 1px; background: var(--red); transition: width .28s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__links a:hover::before { width: 12px; }
.footer__contact { list-style: none; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; overflow-wrap: anywhere; }
.footer__contact svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-top: 4px; }
.footer__contact a { color: #9C9C9C; overflow-wrap: anywhere; }
.footer__contact a:hover { color: #fff; }

.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0; font-size: .85rem; color: #7E7E7E;
}
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  padding: 22px 0 28px; font-size: .85rem; color: #7E7E7E;
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bar a { color: #7E7E7E; }
.footer__bar a:hover { color: #fff; }

/* ------------------------------------------------------- Cookie banner -- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 120;
  display: none; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  max-width: 1100px; margin-inline: auto;
  background: var(--black); color: #CFCFCF; border: 1px solid rgba(255,255,255,.14);
  border-left: 4px solid var(--red);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0,0,0,.4);
  transform: translateY(130%); transition: transform .45s var(--ease);
}
.cookie.is-shown { display: flex; }
.cookie.is-visible { transform: translateY(0); }
.cookie p { margin: 0; font-size: .9rem; max-width: 70ch; }
.cookie p a { color: #fff; text-decoration: underline; }
.cookie__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------------------------------------------- Back to top -- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 110;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--red); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s var(--ease); box-shadow: var(--shadow-red);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--black); }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------- Legal pages -- */
.page-hero {
  background: var(--black); color: #CFCFCF; position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 72px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 320px at 85% 0%, rgba(232,33,40,.26), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #B4B4B4; margin: 0; }

.crumbs { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: #8C8C8C; margin-bottom: 20px; }
.crumbs a { color: #8C8C8C; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--red); }

.effective {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  background: rgba(232,33,40,.14); border: 1px solid rgba(232,33,40,.4);
  color: #fff; padding: 9px 18px; border-radius: var(--radius);
  font-size: .84rem; font-weight: 600;
}
.effective svg { width: 15px; height: 15px; color: var(--red); }

.legal__layout { display: grid; grid-template-columns: 290px 1fr; gap: 56px; align-items: start; }

.toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--grey-50); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 28px 24px;
  max-height: calc(100vh - var(--header-h) - 60px); overflow-y: auto;
}
.toc h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 16px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: none; }
.toc a {
  display: block; padding: 8px 12px; font-size: .87rem; color: var(--grey-600);
  border-left: 2px solid transparent; border-radius: 0 var(--radius) var(--radius) 0;
  transition: all .25s var(--ease);
}
.toc a:hover { background: #fff; color: var(--red); }
.toc a.is-active { background: #fff; color: var(--red); border-left-color: var(--red); font-weight: 600; }

.legal__body { min-width: 0; }
.legal-block { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--grey-200); }
.legal-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-block h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); display: flex; gap: 14px; align-items: baseline; }
.legal-block h2 b { color: var(--red); font-size: .9em; flex: none; }
.legal-block h3 { font-size: 1.04rem; margin-top: 26px; margin-bottom: 10px; }
.legal-block p { color: var(--grey-600); }
.legal-block ul { list-style: none; display: grid; gap: 11px; margin: 0 0 1.1em; }
.legal-block ul li { position: relative; padding-left: 26px; color: var(--grey-600); }
.legal-block ul li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 2px; background: var(--red);
}
.legal-block ul li strong { color: var(--ink); }
.legal-block .callout {
  background: var(--grey-50); border-left: 3px solid var(--red);
  padding: 20px 24px; border-radius: var(--radius); margin-bottom: 1.1em;
}
.legal-block .callout p:last-child { margin-bottom: 0; }

.legal-contact {
  background: var(--black); color: #CFCFCF; padding: 34px 32px; border-radius: var(--radius);
}
.legal-contact h3 { color: #fff; }
.legal-contact ul { list-style: none; display: grid; gap: 10px; margin: 0; }
.legal-contact ul li { padding-left: 0; display: flex; gap: 12px; align-items: flex-start; color: #CFCFCF; min-width: 0; overflow-wrap: anywhere; }
.legal-contact ul li::before { display: none; }
.legal-contact svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-top: 4px; }
.legal-contact a { color: #fff; overflow-wrap: anywhere; }

/* ------------------------------------------------------------- Reveals -- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mark { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .legal__layout { grid-template-columns: 1fr; gap: 36px; }
  .toc { position: static; max-height: none; }
  .toc ol { grid-template-columns: repeat(2, 1fr); display: grid; }
}

@media (max-width: 900px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 820px) {
  .header__cta { display: none; }
  .burger { display: flex; }
  /* Anchored to the header, not the viewport: the header's backdrop-filter
     makes it the containing block for fixed children, which pushed a
     translated-away menu into view above the header. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--grey-200);
    padding: 10px 24px 26px; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    max-height: calc(100vh - var(--header-h) - 20px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 15px 2px; border-bottom: 1px solid var(--grey-100); font-size: .98rem; }
  .nav a::after { display: none; }
  .nav li:last-child a { border-bottom: 0; }
  .nav li.nav__cta { display: block; margin-top: 16px; }
  .nav li.nav__cta a { background: var(--red); color: #fff; text-align: center; border-radius: var(--radius); padding: 15px; font-weight: 700; }
  .topbar .wrap { justify-content: center; }
  .topbar .topbar__loc { margin-right: 0; }
}

@media (max-width: 720px) {
  .why__grid, .services__grid, .brands__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie__actions .btn { flex: 1; }
  .btn { width: 100%; }
  .hero__actions .btn, .cta-band .btn { width: 100%; }
  .legal-block h2 { flex-direction: column; gap: 4px; }
}
