/* Carbon Estética Automotiva — produção offline-first */
:root {
  --carbon: #0d0f11;
  --carbon-deep: #07090a;
  --surface: #14171b;
  --surface-2: #1d2228;
  --ink: #f5f3ee;
  --muted: #a7adb3;
  --gold: #d4af37;
  --gold-soft: #f2d888;
  --blue: #147cff;
  --blue-soft: #5ca8ff;
  --line: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(212, 175, 55, 0.38);
  --white: #ffffff;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-sm: 0.45rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.35rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--carbon-deep);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--carbon);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--carbon-deep);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--carbon-deep);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, 77.5rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 15, 17, 0.92);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 10.25rem;
  height: 3.15rem;
  border-radius: 0.35rem;
  object-fit: contain;
  object-position: center;
  background: transparent;
  mix-blend-mode: lighten;
}

.brand__meta {
  display: none;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.menu-toggle {
  display: inline-grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.menu-toggle:hover {
  border-color: var(--line-gold);
  background: rgba(212, 175, 55, 0.12);
}

.menu-toggle:active,
.button:active,
.cookie-button:active {
  transform: scale(0.97);
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle__bars::before {
  top: -0.34rem;
}

.menu-toggle__bars::after {
  top: 0.34rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(0.34rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  padding: 0.75rem 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 15, 17, 0.98);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.nav-list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.nav-link--cta {
  margin-top: 0.35rem;
  background: var(--gold);
  color: var(--carbon-deep);
  text-align: center;
}

.nav-link--cta:hover,
.nav-link--cta:focus-visible {
  background: var(--gold-soft);
  color: var(--carbon-deep);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.button__arrow {
  font-size: 1.1rem;
  line-height: 0;
  transition: transform 180ms var(--ease-out);
}

.button:hover .button__arrow {
  transform: translateX(0.18rem);
}

.button--gold {
  background: var(--gold);
  color: var(--carbon-deep);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.16);
}

.button--gold:hover,
.button--gold:focus-visible {
  background: var(--gold-soft);
  color: var(--carbon-deep);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.25);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-soft);
}

.button--dark {
  background: var(--carbon-deep);
  color: var(--gold-soft);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #171b1f;
  color: var(--white);
}

.button--small {
  min-height: 2.6rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.7rem;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 4.2rem 0 4rem;
  background:
    radial-gradient(circle at 84% 18%, rgba(20, 124, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 4% 88%, rgba(212, 175, 55, 0.08), transparent 28rem),
    var(--carbon);
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(212, 175, 55, 0.03), 0 0 0 5rem rgba(212, 175, 55, 0.02);
  content: "";
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 2.8rem;
}

.hero__content {
  max-width: 41rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  background: var(--gold);
  content: "";
}

.display-title {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 8.7vw, 5.8rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.94;
  text-wrap: balance;
}

.display-title em {
  background: linear-gradient(108deg, #f8df8e 0%, var(--gold) 58%, #fff0b5 100%);
  background-clip: text;
  color: transparent;
  font-style: normal;
  -webkit-background-clip: text;
}

.hero__lead {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: #c5c8ca;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 33rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.hero__note::before {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.28rem rgba(20, 124, 255, 0.12);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 70% 26%, rgba(20, 124, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #0b0d10, #171513 65%, #0c0e10);
  background-size: 3rem 3rem, 3rem 3rem, auto, auto;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  top: 16%;
  right: -14%;
  width: 85%;
  aspect-ratio: 1;
  border: 1px solid rgba(20, 124, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(20, 124, 255, 0.04), 0 0 0 5rem rgba(20, 124, 255, 0.025);
  content: "";
}

.hero-visual__topline,
.hero-visual__footer {
  position: absolute;
  right: 1.15rem;
  left: 1.15rem;
  display: flex;
  justify-content: space-between;
  color: rgba(245, 243, 238, 0.56);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-visual__topline {
  top: 1.15rem;
}

.hero-visual__footer {
  bottom: 1.15rem;
  color: var(--gold-soft);
}

.hero-visual__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(73%, 20rem);
  transform: translate(-50%, -53%);
  mix-blend-mode: lighten;
}

.hero-visual__mark img {
  width: 100%;
  aspect-ratio: 1.94;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 0 3rem rgba(20, 124, 255, 0.12);
}

.hero-visual__mark p {
  margin: 0.7rem 0 0;
  color: rgba(245, 243, 238, 0.7);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.vehicle-line {
  position: absolute;
  right: 5%;
  bottom: 12%;
  left: 5%;
  z-index: 1;
  width: 90%;
  height: auto;
  opacity: 0.75;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section--surface {
  background: var(--surface);
}

.section--light {
  background: #f2f1ed;
  color: var(--carbon);
}

.section--gold {
  background: var(--gold);
  color: var(--carbon-deep);
}

.section__heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section__heading--split {
  align-items: end;
}

.section-title {
  max-width: 14ch;
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 5vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-intro {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section--light .section-intro {
  color: #5c5e5f;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: #101215;
}

.proof-grid {
  display: grid;
  gap: 0;
}

.proof-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 5.6rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.proof-card:last-child {
  border-bottom: 0;
}

.proof-card__number {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 850;
}

.proof-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
}

.proof-card span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.services-grid {
  display: grid;
  gap: 0.8rem;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 13.25rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(13, 15, 17, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.service-card::after {
  position: absolute;
  right: -2.7rem;
  bottom: -3.1rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  content: "";
  transition: transform 220ms var(--ease-out);
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  background: var(--carbon);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-0.3rem);
}

.service-card:hover::after {
  transform: scale(1.35);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-card__icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 0.65rem;
  color: #8e7020;
}

.service-card:hover .service-card__icon {
  color: var(--gold-soft);
}

.service-card__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card__number {
  color: rgba(13, 15, 17, 0.45);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.service-card:hover .service-card__number {
  color: rgba(245, 243, 238, 0.5);
}

.service-card h3 {
  max-width: 15ch;
  margin: 1.5rem 0 0.45rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.service-card p {
  max-width: 28ch;
  margin: 0;
  color: #64686b;
  font-size: 0.82rem;
  line-height: 1.5;
}

.service-card:hover p {
  color: #b8bdc1;
}

.split-layout {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.quote-panel {
  position: relative;
  min-height: 24rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 16%, rgba(20, 124, 255, 0.22), transparent 36%),
    linear-gradient(145deg, #16191c, #090a0b);
  box-shadow: var(--shadow);
}

.quote-panel::before,
.quote-panel::after {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 50%;
  content: "";
}

.quote-panel::before {
  top: -6rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
}

.quote-panel::after {
  right: 2rem;
  bottom: -8rem;
  width: 19rem;
  height: 19rem;
  border-color: rgba(20, 124, 255, 0.28);
}

.quote-panel__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line-gold);
  border-radius: 0.3rem;
  color: var(--gold-soft);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote-panel blockquote {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  margin: 4rem 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.quote-panel cite {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standard-list {
  display: grid;
  gap: 1rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.standard-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: start;
  gap: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.standard-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.standard-list__index {
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.standard-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.standard-list span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.steps-grid {
  display: grid;
  gap: 0;
}

.step-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(13, 15, 17, 0.16);
}

.step-card:first-child {
  padding-top: 0;
}

.step-card:last-child {
  border-bottom: 0;
}

.step-card__number {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(13, 15, 17, 0.3);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 850;
}

.step-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0.35rem 0 0;
  color: #5c5e5f;
  font-size: 0.9rem;
}

.contact-card {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.4rem;
  border: 1px solid rgba(13, 15, 17, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.19);
}

.contact-card__title {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.contact-card__copy {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: rgba(13, 15, 17, 0.7);
}

.contact-meta {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.contact-meta div {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(13, 15, 17, 0.2);
}

.contact-meta dt {
  color: rgba(13, 15, 17, 0.56);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 750;
}

.contact-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(13, 15, 17, 0.34);
  text-underline-offset: 0.16em;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #6d5410;
  text-decoration-color: currentColor;
}

.contact-meta dd small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(13, 15, 17, 0.62);
  font-size: 0.76rem;
  font-weight: 500;
}

.site-footer {
  padding: 2.8rem 0 1.4rem;
  background: var(--carbon);
  color: var(--muted);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer__brand img {
  width: 12.5rem;
  height: 4rem;
  border-radius: 0.35rem;
  object-fit: contain;
  object-position: center;
  background: transparent;
  mix-blend-mode: lighten;
}

.footer__brand p {
  max-width: 23rem;
  margin: 1rem 0 0;
  font-size: 0.82rem;
}

.footer__label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold-soft);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a,
.footer__action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.18rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.footer__action {
  margin: 0.25rem 0 0;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer__links a:hover,
.footer__links a:focus-visible,
.footer__action:hover,
.footer__action:focus-visible {
  border-color: var(--gold-soft);
  background: var(--gold);
  color: var(--carbon-deep);
  transform: translateY(-1px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
}

.footer__bottom p {
  margin: 0;
}

.legal-main {
  min-height: 70vh;
  padding: 4rem 0 5rem;
  background: #f2f1ed;
  color: var(--carbon);
}

.legal-wrap {
  max-width: 51rem;
  margin-inline: auto;
}

.legal-kicker {
  margin: 0 0 0.85rem;
  color: #8e7020;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-title {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.legal-updated {
  margin: 1rem 0 0;
  color: #686b6c;
  font-size: 0.82rem;
}

.legal-content {
  margin-top: 3rem;
}

.legal-content section + section {
  margin-top: 2.6rem;
}

.legal-content h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 1.35rem 0 0.35rem;
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: #505354;
  font-size: 0.95rem;
}

.legal-content p {
  margin: 0.75rem 0 0;
}

.legal-content ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 0.4rem;
}

.legal-content strong {
  color: var(--carbon);
}

.legal-table-wrap {
  margin-top: 1.1rem;
  overflow-x: auto;
  border: 1px solid rgba(13, 15, 17, 0.16);
  border-radius: var(--radius-sm);
}

.legal-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: 0.83rem;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(13, 15, 17, 0.12);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(13, 15, 17, 0.06);
  color: var(--carbon);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.cookie-banner {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 80;
  display: none;
  padding: 1.15rem;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: var(--radius-md);
  background: rgba(20, 23, 27, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.cookie-banner.is-visible {
  display: block;
  animation: cookie-enter 220ms var(--ease-out) both;
}

.cookie-banner__title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.cookie-banner__copy {
  max-width: 48rem;
  margin: 0.35rem 0 0;
  color: #c4c8ca;
  font-size: 0.8rem;
  line-height: 1.5;
}

.cookie-banner__copy a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.cookie-button {
  min-height: 2.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.cookie-button--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--carbon-deep);
}

.cookie-button--primary:hover,
.cookie-button--primary:focus-visible {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
}

.cookie-button--link {
  border-color: transparent;
  color: var(--gold-soft);
}

.cookie-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.cookie-dialog.is-visible {
  display: flex;
  animation: dialog-fade 180ms ease-out both;
}

.cookie-dialog__panel {
  width: min(100%, 34rem);
  max-height: min(88vh, 44rem);
  overflow-y: auto;
  padding: 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-dialog__title {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.15;
}

.cookie-dialog__close {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.cookie-dialog__close:hover {
  border-color: var(--line-gold);
  color: var(--gold-soft);
}

.cookie-dialog__intro {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.cookie-options {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.cookie-option input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  accent-color: var(--gold);
}

.cookie-option__name {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.cookie-option__description {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.cookie-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.cookie-status {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

@keyframes cookie-enter {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dialog-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 600px) {
  .container {
    width: min(100% - 3rem, 77.5rem);
  }

  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .proof-card {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 1.2rem 1.5rem 1.2rem 0;
  }

  .proof-card:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 3rem;
  }

  .cookie-banner {
    right: 1.25rem;
    bottom: 1.25rem;
    left: auto;
    width: min(100% - 2.5rem, 40rem);
  }
}

@media (min-width: 880px) {
  .header__inner {
    min-height: 5.4rem;
  }

  .brand__meta {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .nav-link {
    padding: 0.65rem 0.75rem;
    font-size: 0.67rem;
  }

  .nav-link--cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding-inline: 1rem;
  }

  .hero {
    padding: 7rem 0 6.5rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(24rem, 0.97fr);
    gap: 4rem;
  }

  .hero-visual {
    min-height: 32rem;
  }

  .section {
    padding: 7rem 0;
  }

  .section__heading {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .section__heading--split {
    grid-template-columns: 1fr auto;
  }

  .section__heading--split .section-intro {
    max-width: 24rem;
  }

  .services-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 6rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .step-card {
    display: block;
    padding: 0 2rem 0 0;
    border-right: 1px solid rgba(13, 15, 17, 0.16);
    border-bottom: 0;
  }

  .step-card:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .step-card__number {
    margin-bottom: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 0.65fr 0.85fr;
    gap: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 399px) {
  .hero__actions .button {
    width: 100%;
  }

  .display-title {
    font-size: 2.55rem;
  }
}

.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;
}
