/* ============================================
   RED-K EMPIRE — Mockup Maze Bank (image_4)
   ============================================ */

:root {
  --bg-void: #050506;
  --bg-graphite: #0a0a0c;
  --bg-panel: #111114;
  --bg-bar: rgba(18, 18, 22, 0.92);
  --chrome: #c8ccd4;
  --chrome-bright: #eef0f4;
  --chrome-dim: #8a9099;
  --red: #e10600;
  --red-hot: #ff1a1a;
  --red-glow: rgba(225, 6, 0, 0.55);
  --text: #f4f4f6;
  --text-muted: #9a9aa3;
  --border: rgba(200, 204, 212, 0.22);
  --border-soft: rgba(200, 204, 212, 0.12);
  --font-ui: "Rajdhani", "Inter", system-ui, sans-serif;
  --font-display: "Orbitron", "Rajdhani", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --logo-h: 112px;
  --logo-overhang: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-void);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; }

.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: -9999px; top: 0; z-index: 1000;
  padding: 0.75rem 1rem; background: var(--red); color: #fff;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  overflow: visible;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: none;
}

/* Ligne séparatrice — trait rouge sous le logo, fade vers la droite */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 55, 45, 0.98) 0%,
    rgba(225, 6, 0, 0.92) 6%,
    rgba(225, 6, 0, 0.72) 14%,
    rgba(225, 6, 0, 0.42) 26%,
    rgba(160, 24, 18, 0.22) 38%,
    rgba(200, 204, 212, 0.18) 52%,
    rgba(200, 204, 212, 0.1) 100%
  );
  pointer-events: none;
  z-index: 204;
  animation: header-line-glow 2.8s ease-in-out infinite;
}

/* Shimmer animé qui traverse la ligne */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.15) 46%,
    rgba(255, 120, 100, 0.95) 49.5%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 100, 80, 0.95) 50.5%,
    rgba(255, 255, 255, 0.15) 54%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  filter: blur(0.6px);
  pointer-events: none;
  z-index: 205;
  animation: header-line-sweep 3.2s ease-in-out infinite;
}

@keyframes header-line-glow {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(225, 6, 0, 0.28),
      0 1px 0 rgba(255, 255, 255, 0.04);
  }
  50% {
    box-shadow:
      0 0 16px rgba(225, 6, 0, 0.55),
      0 0 28px rgba(255, 70, 50, 0.22),
      0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

@keyframes header-line-sweep {
  0% { background-position: 120% 0; opacity: 0.55; }
  45% { opacity: 1; }
  100% { background-position: -20% 0; opacity: 0.55; }
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 1rem 2rem;
  overflow: visible;
  position: relative;
  z-index: 210;
}

/* Logo — déborde sous la navbar (effet maquette) */
.brand {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  line-height: 0;
  overflow: visible;
  position: relative;
  z-index: 220;
  margin-bottom: calc(-1 * var(--logo-overhang));
  padding-top: 0.15rem;
}

.brand__logo {
  display: block;
  height: var(--logo-h);
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left top;
  filter:
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(225, 6, 0, 0.12));
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.brand:hover .brand__logo {
  opacity: 0.96;
  transform: translateY(-1px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__sep {
  color: var(--chrome-dim);
  font-weight: 300;
  font-size: 0.85rem;
  opacity: 0.45;
  user-select: none;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: capitalize;
  color: var(--chrome-bright);
  padding: 0.2rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  opacity: 0.85;
}
.nav__link:hover { color: #fff; opacity: 1; }
.nav__link.is-active {
  border-bottom-color: var(--red);
  color: #fff;
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem 0.5rem 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--chrome-bright);
  border-radius: 6px;
  border: 1px solid rgba(200, 204, 212, 0.35);
  background: linear-gradient(180deg, rgba(70, 74, 82, 0.5) 0%, rgba(18, 18, 22, 0.95) 55%, rgba(10, 10, 12, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s, box-shadow 0.3s, transform 0.2s var(--ease);
  justify-self: end;
}
.header-cta:hover {
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 18px rgba(255, 0, 51, 0.18);
  transform: translateY(-1px);
}
.header-cta__lock {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.header-cta__icon {
  font-size: 0.75rem;
  opacity: 0.9;
}
.header-cta--mobile { display: none; }

.nav__pulse { display: none; }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  justify-self: end;
  grid-column: 3;
}
.nav-toggle__bar {
  display: block;
  height: 1.5px;
  background: var(--chrome);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* —— Hero map —— */
.hero {
  position: relative;
  height: min(78vh, 720px);
  min-height: 480px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  z-index: 1;
}

.hero__emblem {
  position: absolute;
  left: -4%;
  bottom: -8%;
  z-index: 2;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(135deg, rgba(200, 204, 212, 0.35) 0%, rgba(90, 94, 102, 0.15) 50%, transparent 100%);
  clip-path: polygon(18% 0%, 100% 0%, 82% 100%, 0% 100%, 0% 38%, 38% 38%, 38% 62%, 0% 62%);
  filter: blur(0.5px);
}

.hero__map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0d1118;
}

.hero__map .leaflet-control-attribution {
  background: rgba(0, 0, 0, 0.55) !important;
  color: #777 !important;
  font-size: 10px !important;
}
.hero__map .leaflet-control-attribution a { color: #999 !important; }

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.35) 0%, transparent 25%, transparent 70%, rgba(5, 5, 6, 0.55) 100%),
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 40%, rgba(5, 5, 6, 0.25) 100%);
}

/* Pins Leaflet */
.rk-pin {
  width: 18px;
  height: 18px;
  margin-left: -9px !important;
  margin-top: -9px !important;
  background: var(--red);
  border: 2px solid #ff6b6b;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 14px var(--red-glow), 0 0 4px #fff;
  animation: pin-glow 2s ease-in-out infinite;
}
.rk-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
@keyframes pin-glow {
  0%, 100% { box-shadow: 0 0 10px var(--red-glow), 0 0 3px #fff; }
  50% { box-shadow: 0 0 22px var(--red-glow), 0 0 8px #ff8a8a; }
}

@keyframes metallic-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  pointer-events: none;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 320px);
  gap: 1.25rem;
  width: min(100%, 1100px);
  margin-inline: auto;
  align-items: start;
  pointer-events: auto;
}

/* Search panel — mockup style */
.search-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1rem 1.1rem;
  background: rgba(12, 12, 16, 0.88);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.search-panel__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.search-panel__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.search-panel__label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.search-panel__select {
  width: 100%;
  padding: 0.7rem 2rem 0.7rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--chrome-bright);
  background: rgba(8, 8, 10, 0.9);
  border: 1px solid var(--border-soft);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a9099' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}
.search-panel__select:focus { outline: none; border-color: rgba(225, 6, 0, 0.45); }
.search-panel__select option { background: #151518; color: var(--text); }

.search-panel__cta {
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(225, 6, 0, 0.12);
  border: 2px solid var(--red);
  box-shadow:
    0 0 24px rgba(225, 6, 0, 0.35),
    inset 0 0 20px rgba(225, 6, 0, 0.08);
  transition: background 0.25s, box-shadow 0.3s, transform 0.2s var(--ease);
}
.search-panel__cta:hover {
  background: rgba(225, 6, 0, 0.28);
  box-shadow: 0 0 36px var(--red-glow);
  transform: translateY(-1px);
}

/* Private Portfolio Access — hero panel */
.hero-access {
  padding: 1.25rem 1.1rem 1.1rem;
  text-align: center;
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-access__lock {
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
}

.hero-access__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.hero-access__hint {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--chrome-dim);
}
.hero-access__hint a {
  color: var(--chrome-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-access__hint a:hover { color: var(--red); }

.hero-access__form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.hero-access__form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 16px;
  font-family: var(--font-ui);
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--border-soft);
  color: var(--text);
}
.hero-access__form input:focus {
  outline: none;
  border-color: var(--red);
}

.hero-access__form button[type="submit"] {
  padding: 0.65rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  transition: background 0.2s, box-shadow 0.3s;
}
.hero-access__form button[type="submit"]:hover {
  background: var(--red-hot);
  box-shadow: 0 0 20px var(--red-glow);
}

.hero-access__success {
  margin: 0;
  font-size: 0.78rem;
  color: var(--chrome);
  line-height: 1.4;
}

.hero-access__motors {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-bright);
  border: 1px solid rgba(200, 204, 212, 0.35);
  background: linear-gradient(180deg, rgba(70, 74, 82, 0.45) 0%, rgba(12, 12, 16, 0.95) 100%);
  transition: border-color 0.25s, box-shadow 0.3s;
}
.hero-access__motors:hover {
  border-color: rgba(225, 6, 0, 0.4);
  box-shadow: 0 0 16px rgba(225, 6, 0, 0.15);
}

/* Legacy search-bar — removed from DOM, keep no rules */

/* —— Portfolio —— */
.portfolio {
  padding: 3rem 0 4.5rem;
  background: var(--bg-graphite);
}

.portfolio__title {
  margin: 0 0 1.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
}

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

.data-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.data-card.is-hidden { display: none; }
.data-card:hover {
  border-color: rgba(225, 6, 0, 0.4);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45), 0 0 18px rgba(225, 6, 0, 0.12);
  transform: translateY(-3px);
}

.data-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #1a1a1e;
}
.data-card__media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.72);
  transition: transform 0.5s var(--ease), filter 0.4s;
}
.data-card:hover .data-card__media > img:first-child {
  transform: scale(1.04);
  filter: grayscale(0.9) contrast(1.1) brightness(0.78);
}

.data-card__badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  opacity: 0.95;
}

.data-card__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: rgba(8, 8, 10, 0.95);
  border-top: 1px solid var(--border-soft);
}

.data-card__metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.45rem;
  text-align: center;
  border-right: 1px solid var(--border-soft);
}
.data-card__metric:last-child { border-right: none; }

.data-card__metric-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--chrome-dim);
  text-transform: capitalize;
}

.data-card__metric-value {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--chrome-bright);
}

.portfolio__empty {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--text-muted);
}

/* —— Vault bandeau —— */
.vault {
  position: relative;
  margin-top: 1.25rem;
  min-height: 280px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.72), rgba(5, 5, 6, 0.82)),
    radial-gradient(circle at 30% 50%, #2a2a30 0%, transparent 45%),
    radial-gradient(circle at 70% 50%, #2a2a30 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'%3E%3Crect fill='%23111114' width='400' height='200'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23333' stroke-width='8'/%3E%3Ccircle cx='100' cy='100' r='28' fill='%23222' stroke='%23444' stroke-width='4'/%3E%3Ccircle cx='300' cy='100' r='70' fill='none' stroke='%23333' stroke-width='8'/%3E%3Ccircle cx='300' cy='100' r='28' fill='%23222' stroke='%23444' stroke-width='4'/%3E%3C/svg%3E") center / cover;
  filter: blur(2px);
  transform: scale(1.05);
}

.vault__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  width: min(100%, 720px);
}

.vault__lock {
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.65));
  animation: lock-shine 4s ease-in-out infinite;
}
@keyframes lock-shine {
  0%, 100% { filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.65)) brightness(1); }
  50% { filter: drop-shadow(0 8px 24px rgba(200, 204, 212, 0.25)) brightness(1.12); }
}

.vault__title {
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  line-height: 1.35;
}
.vault__title-red {
  color: var(--red);
  text-shadow: 0 0 18px var(--red-glow);
}
.vault__title-white { color: #fff; }

.vault__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.vault__form input {
  flex: 1 1 180px;
  max-width: 240px;
  padding: 0.75rem 1rem;
  font-size: 16px;
  font-family: var(--font-ui);
  font-weight: 500;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s;
}
.vault__form input:focus {
  outline: none;
  border-color: var(--red);
}
.vault__form input::placeholder {
  color: var(--chrome-dim);
  font-family: var(--font-ui);
}

.vault__form button[type="submit"] {
  padding: 0.75rem 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.3);
  transition: background 0.2s, box-shadow 0.3s;
}
.vault__form button[type="submit"]:hover {
  background: var(--red-hot);
  box-shadow: 0 0 26px var(--red-glow);
}

.vault__success {
  flex-basis: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--chrome);
}

/* —— Secondary sections —— */
.section { padding: 4rem 0; }
.section--alt {
  background: var(--bg-panel);
  border-block: 1px solid var(--border-soft);
}
.section--narrow {
  max-width: 560px;
  text-align: center;
  margin-inline: auto;
}
.section__eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.section__title {
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section__lede {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-weight: 300;
}

.btn-red {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 22px rgba(225, 6, 0, 0.25);
  transition: background 0.2s, box-shadow 0.3s;
}
.btn-red:hover {
  background: var(--red-hot);
  box-shadow: 0 0 30px var(--red-glow);
}

.btn-chrome {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-bright);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.3s;
}
.btn-chrome:hover {
  border-color: var(--chrome);
  box-shadow: 0 0 16px rgba(200, 204, 212, 0.12);
}

/* —— Footer —— */
.site-footer {
  padding: 3.25rem 0 0;
  border-top: 1px solid var(--border-soft);
  background:
    linear-gradient(180deg, #050506 0%, #030304 100%);
}

.site-footer__hero {
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}

.site-footer__divider {
  height: 1px;
  margin-bottom: 2rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(225, 6, 0, 0.45) 18%,
    rgba(200, 204, 212, 0.35) 50%,
    rgba(225, 6, 0, 0.25) 72%,
    transparent 100%
  );
}

.site-footer__body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
  padding-bottom: 2.25rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__logo {
  height: 88px;
  width: auto;
  max-width: min(340px, 92vw);
  margin: 0 auto 0.65rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.footer__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  background: linear-gradient(
    105deg,
    #f5f5f7 0%,
    #ffffff 14%,
    #b4b8c0 30%,
    #6e737a 44%,
    #d8dce2 56%,
    #ffffff 68%,
    #9aa0a8 82%,
    #eceef2 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 10px rgba(200, 210, 225, 0.22));
  animation: metallic-shimmer 4s ease-in-out infinite;
}

.footer__contact-eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
}

.footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-soft);
  background: rgba(12, 12, 16, 0.65);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.3s;
}

.footer__contact-link:hover {
  border-color: rgba(225, 6, 0, 0.35);
  background: rgba(18, 18, 22, 0.85);
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.08);
}

.footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--chrome-bright);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(70, 74, 82, 0.35) 0%, rgba(10, 10, 12, 0.9) 100%);
}

.footer__contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.footer__contact-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.footer__contact-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--chrome-bright);
  word-break: break-word;
}

.footer__meta {
  padding-top: 0.15rem;
  border-left: 1px solid var(--border-soft);
  padding-left: 2rem;
}

.footer__meta-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer__meta-text {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.55;
}

.site-footer__bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.footer__copy {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--chrome-dim);
  text-align: center;
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--red);
  box-shadow:
    0 6px 22px rgba(225, 6, 0, 0.4),
    0 0 0 1px rgba(225, 6, 0, 0.25);
  transition:
    background 0.2s,
    box-shadow 0.3s,
    transform 0.25s var(--ease);
}
.whatsapp-fab:hover {
  transform: scale(1.06);
  background: var(--red-hot);
  box-shadow:
    0 0 28px var(--red-glow),
    0 8px 24px rgba(225, 6, 0, 0.45);
}
.whatsapp-fab:focus-visible {
  outline: 2px solid var(--chrome-bright);
  outline-offset: 3px;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  :root {
    --header-h: 64px;
    --logo-h: 96px;
    --logo-overhang: 32px;
  }
  .nav__list { gap: 0.35rem; }
  .nav__link { font-size: 0.68rem; letter-spacing: 0.05em; }
  .nav__sep { font-size: 0.75rem; }
}

@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .search-panel__fields { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .data-card__metrics { grid-template-columns: repeat(2, 1fr); }
  .data-card__metric:nth-child(2) { border-right: none; }
  .data-card__metric:nth-child(1),
  .data-card__metric:nth-child(2) { border-bottom: 1px solid var(--border-soft); }
  .site-footer__body {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer__meta {
    border-left: none;
    padding-left: 0;
    padding-top: 0;
    text-align: center;
  }
  .footer__contact-list { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 58px;
    --logo-h: 82px;
    --logo-overhang: 24px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }

  .brand { grid-column: 1; padding-top: 0.1rem; }
  .brand__logo { height: var(--logo-h); max-width: min(220px, 62vw); }

  .header-cta:not(.header-cta--mobile) { display: none; }
  .header-cta--mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.25rem;
    background: rgba(5, 5, 6, 0.98);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    justify-self: stretch;
    grid-column: 1 / -1;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0.5rem;
  }
  .nav__sep { display: none; }
  .nav__link {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .hero { height: auto; min-height: 0; padding-bottom: 0; }
  .hero__map { position: relative; height: 42vh; min-height: 260px; }
  .hero__shade,
  .hero__emblem { display: none; }
  .hero__overlay {
    position: relative;
    inset: auto;
    padding: 0;
    background: var(--bg-graphite);
  }
  .hero__layout {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
  }
  .search-panel { border-radius: 0; border-inline: none; }
  .hero-access { border-radius: 0; border-inline: none; border-top: none; }

  .portfolio__grid { grid-template-columns: 1fr; }
  .data-card__metrics { grid-template-columns: repeat(2, 1fr); }
  .footer__logo { height: 76px; max-width: 100%; }
  .footer__tagline { font-size: 0.65rem; letter-spacing: 0.22em; }
  .site-footer__body { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .footer__tagline {
    animation: none;
    background-position: 50% 50%;
  }
  .site-header::before,
  .site-header::after {
    animation: none;
  }
  .site-header::after {
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.35);
  }
  .site-header::before {
    opacity: 0.7;
    background-position: 50% 0;
  }
}
