/* ==========================================================================
   RED SPED — Design System
   ========================================================================== */

:root {
  /* Brand colors (from logo) */
  --red: #E31E24;
  --red-dark: #B8161B;
  --red-glow: rgba(227,30,36,0.35);
  --ink: #2B2B2B;
  --ink-soft: #4A4A4A;
  --ink-900: #131315;
  --ink-800: #1C1C1F;

  /* Neutrals */
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F8;
  --bg-dark: #1C1C1C;
  --border: #E5E7EA;

  /* Text */
  --text: #1E1E1E;
  --text-muted: #63676C;
  --text-on-dark: #F2F2F2;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Montserrat', var(--font);

  /* Layout */
  --container: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 10px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 20, 20, 0.10);
  --header-h: 80px;

  /* Motion */
  --transition: 180ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.eyebrow-dark { background: rgba(227,30,36,0.12); color: var(--red); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding-block: clamp(56px, 8vw, 100px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark p { color: #B8B8B8; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 700px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

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

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227,30,36,0.28); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 24px rgba(227,30,36,0.36); }
.btn-primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: skewX(-20deg);
  transition: left 650ms ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #f2f2f2; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding-block: 0.4rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--red); }

.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity var(--transition), translate var(--transition), visibility var(--transition);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; translate: 0 0;
}
.dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--red); }
.dropdown a::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 700; }
.lang-switch a { padding: 0.2rem 0.4rem; color: var(--text-muted); border-radius: 4px; }
.lang-switch a[aria-current="true"] { color: var(--red); }
.lang-switch span { color: var(--border); }
.lang-switch .lang-switch-soon { padding: 0.2rem 0.4rem; color: var(--text-muted); opacity: 0.55; cursor: default; }

.nav-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: var(--transition); }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    padding: 1.5rem 20px 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 220ms ease;
    z-index: 999;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a {
    display: block;
    padding: 0.9rem 0;
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav .mobile-sub { padding-left: 1rem; }
  .mobile-nav .mobile-sub a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); border-bottom: none; padding: 0.6rem 0; }
  .mobile-nav .mobile-lang { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
  .mobile-nav .mobile-lang a,
  .mobile-nav .mobile-lang .lang-switch-soon { border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem 1rem; flex: 1; text-align: center; }
  .mobile-nav .mobile-lang .lang-switch-soon { color: var(--text-muted); opacity: 0.55; }
  .mobile-nav .btn { margin-top: 1rem; }
}

/* ---------- Header: transparent-over-hero variant (homepage only) ---------- */
body.has-overlay-hero { padding-top: 0; }
body.has-overlay-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
body.has-overlay-hero .site-header:not(.is-solid)::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.1) 85%, transparent 100%);
}
body.has-overlay-hero .site-header .brand img { filter: brightness(0) invert(1); }
body.has-overlay-hero .site-header .main-nav a { color: #fff; }
body.has-overlay-hero .site-header .main-nav a[aria-current="page"] { color: #fff; }
body.has-overlay-hero .site-header .main-nav a[aria-current="page"]::after,
body.has-overlay-hero .site-header .main-nav a::after { background: var(--red); }
body.has-overlay-hero .site-header .lang-switch a { color: rgba(255,255,255,0.75); }
body.has-overlay-hero .site-header .lang-switch a[aria-current="true"] { color: #fff; }
body.has-overlay-hero .site-header .lang-switch .lang-switch-soon { color: rgba(255,255,255,0.5); }
body.has-overlay-hero .site-header .lang-switch span { color: rgba(255,255,255,0.3); }
body.has-overlay-hero .site-header .nav-toggle span { background: #fff; }
body.has-overlay-hero .site-header.is-solid {
  background: var(--ink-900);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.has-overlay-hero .site-header.is-solid.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* ---------- Hero (photo slider) ---------- */
.hero {
  position: relative;
  color: #fff;
  padding-top: clamp(48px, 6vw, 72px);
  overflow: hidden;
  min-height: clamp(600px, 88vh, 840px);
  display: flex;
  flex-direction: column;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1200ms ease;
}
.hero-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active { animation: heroKenBurns 7000ms ease-out forwards; }
}
@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.6) 0%, rgba(8,8,10,0.32) 32%, rgba(8,8,10,0.5) 68%, rgba(8,8,10,0.78) 100%),
    radial-gradient(60% 55% at 50% 46%, rgba(8,8,10,0.32) 0%, transparent 72%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding-block: clamp(28px, 4vw, 48px) clamp(70px, 9vw, 110px);
}
.hero-layout .eyebrow { margin-bottom: 1.5rem; }
.hero-layout h1 { color: #fff; max-width: 780px; margin-bottom: 1.4rem; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.2; letter-spacing: -0.015em; }
.hero-layout p.lead { color: #D9D9DC; max-width: 620px; margin-bottom: 2.1rem; font-size: 1.08rem; }

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2.2rem; }

.hero-phone-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: #fff; font-weight: 600; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 0.6rem 1.2rem 0.6rem 0.7rem;
  margin-bottom: 2rem;
  transition: background var(--transition), border-color var(--transition);
}
.hero-phone-pill:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.hero-phone-pill .support-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-phone-pill .support-icon svg { width: 14px; height: 14px; color: #fff; }

.hero-checklist {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem 2.2rem;
}
.hero-checklist li { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: #fff; font-size: 0.9rem; }
.hero-checklist li svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }

/* Button with a leading icon disc, e.g. the hero's primary CTA */
.btn-icon-lead { padding-left: 0.55rem; }
.btn-icon-lead .icon-circle {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink-900); color: #fff;
}
.btn-icon-lead .icon-circle svg { width: 13px; height: 13px; }
.btn-white .icon-circle { background: var(--ink-900); }

/* Slider dots */
.hero-dots {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: 0.5rem;
  padding-bottom: 1.6rem;
}
.hero-dots button {
  width: 26px; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.3);
  transition: background var(--transition), width var(--transition);
}
.hero-dots button.is-active { background: var(--red); width: 44px; }
@media (max-width: 620px) {
  .hero-phone-pill { font-size: 0.85rem; }
  .hero-checklist { gap: 0.7rem 1.4rem; }
  .hero-checklist li { font-size: 0.85rem; }
}

/* Hero entrance: staggered fade-up on load */
.hero-layout > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 760ms cubic-bezier(.22,.9,.32,1) forwards;
}
.hero-layout > *:nth-child(1) { animation-delay: 80ms; }
.hero-layout > *:nth-child(2) { animation-delay: 180ms; }
.hero-layout > *:nth-child(3) { animation-delay: 280ms; }
.hero-layout > *:nth-child(4) { animation-delay: 380ms; }
.hero-layout > *:nth-child(5) { animation-delay: 460ms; }
.hero-layout > *:nth-child(6) { animation-delay: 540ms; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-layout > * { animation: none; opacity: 1; transform: none; }
}

/* Scroll-cue */
.hero-scroll-cue {
  position: absolute; left: 0; right: 0; margin-inline: auto; width: fit-content; bottom: 88px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color var(--transition), opacity var(--transition);
  opacity: 0;
  animation: heroFadeUp 760ms cubic-bezier(.22,.9,.32,1) forwards;
  animation-delay: 640ms;
}
.hero-scroll-cue:hover { color: #fff; }
.hero-scroll-cue .chevron { width: 18px; height: 18px; animation: scrollCueBounce 1800ms ease-in-out infinite; }
@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (max-width: 760px) { .hero-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; opacity: 1; }
  .hero-scroll-cue .chevron { animation: none; }
}


/* ---------- Stats ---------- */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-strip .grid { padding-block: 2.2rem; }
.stat { text-align: center; }
.stat-num { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--red); line-height: 1; }
.stat-label { margin-top: 0.4rem; font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(227,30,36,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  margin-bottom: 1.1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon { background: var(--red); color: #fff; transform: scale(1.08) rotate(-4deg); }
.card h3 { margin-bottom: 0.6rem; }
.card p { margin-bottom: 1rem; }
.card-link { font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.card-link .arrow-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform var(--transition);
}
.card-link .arrow-dot svg { width: 14px; height: 14px; }
.card-link:hover .arrow-dot { transform: translateX(3px); }

/* Folded-corner icon (service card icon) */
.icon-fold {
  position: relative;
  width: 72px; height: 72px;
  background: var(--ink-900);
  border-radius: 4px 20px 20px 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 1.4rem;
}
.icon-fold::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent var(--bg) transparent transparent;
}
.icon-fold svg { width: 32px; height: 32px; transition: transform 320ms ease; }
.card-hover-red .icon-fold::before { border-color: transparent var(--bg) transparent transparent; }
.card-hover-red .icon-fold { background: var(--ink-900); transition: background var(--transition), transform var(--transition); }
.card-hover-red:hover .icon-fold { background: var(--red); transform: translateY(-3px); }
.card-hover-red:hover .icon-fold svg { transform: scale(1.12); }
.card-hover-red {
  position: relative;
  overflow: hidden;
}
.card-hover-red::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms ease;
}
.card-hover-red:hover::before { transform: scaleX(1); }

/* ---------- Value / Feature list ---------- */
.value-card { text-align: left; }
.value-card .card-icon { background: rgba(227,30,36,0.12); }

.feature-list { display: grid; gap: 0.9rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 500;
}
.feature-list-dark li { color: #fff; }
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Split section (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media,
.media-ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(155deg, var(--ink-900) 0%, var(--ink-800) 100%);
  min-height: 320px;
  display: flex; align-items: flex-end; justify-content: flex-start;
  color: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
}
.split-media::before,
.media-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
}
.split-media::after,
.media-ph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 260px at 85% 15%, var(--red-glow), transparent 65%);
  opacity: 0.55;
}
.split-media span,
.media-ph span {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #fff;
}

/* ---------- Certifications ---------- */
.cert-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 1.8rem 1.2rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.cert-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms ease;
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: transparent; }
.cert-card:hover::before { transform: scaleX(1); }
.cert-card .cert-icon {
  width: 44px; height: 44px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: rgba(227,30,36,0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cert-card .cert-icon svg { width: 22px; height: 22px; }
.cert-card:hover .cert-icon { background: var(--red); color: #fff; transform: scale(1.1); }
.cert-card .cert-year { font-size: 0.8rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.05em; }
.cert-card h4 { margin: 0.4rem 0 0.4rem; }
.cert-card p { font-size: 0.88rem; margin: 0; }

/* ---------- Who We Are (full-bleed photo, overlapping card + floating fact cards) ---------- */
.whoweare {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.whoweare-bg { position: absolute; inset: -6%; background-size: cover; background-position: center; z-index: -2; }
.whoweare-tint {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(19,19,21,0.82) 0%, rgba(19,19,21,0.55) 38%, rgba(19,19,21,0.12) 68%, rgba(19,19,21,0.32) 100%);
}
.whoweare-card {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.6vw, 2.8rem);
  max-width: 540px;
  margin: clamp(1.2rem, 3vw, 3rem);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.whoweare-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.1rem; margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.whoweare-card-head .eyebrow { margin-bottom: 0; }
.whoweare-card-head small { font-weight: 700; color: var(--text-muted); font-size: 0.82rem; }
.whoweare-card h2 { margin-bottom: 1rem; }
.whoweare-card p { margin-bottom: 1rem; }
.whoweare-card p:last-of-type { margin-bottom: 1.4rem; }
.whoweare-floats {
  position: absolute; z-index: 1;
  right: clamp(1rem, 4vw, 3rem); bottom: clamp(1.2rem, 3vw, 3rem);
  display: flex; flex-direction: column; gap: 1rem;
  width: 250px;
}
.whoweare-float-card { border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.3); transition: transform var(--transition), box-shadow var(--transition); }
.whoweare-float-card:hover { transform: translateY(-5px); box-shadow: 0 26px 48px rgba(0,0,0,0.4); }
.whoweare-float-card--red { background: linear-gradient(155deg, var(--red) 0%, var(--red-dark) 100%); }
.whoweare-float-card--dark { background: var(--ink-900); display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.whoweare-float-card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.whoweare-float-card .num sup { font-size: 1.1rem; }
.whoweare-float-card .label { display: block; font-size: 0.84rem; margin-top: 0.4rem; opacity: 0.92; line-height: 1.4; }
.whoweare-float-card .cert-badge {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.whoweare-float-card .cert-badge svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
  .whoweare { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 1.5rem; }
  .whoweare-floats { position: static; width: auto; flex-direction: row; margin: 0 clamp(1.2rem,3vw,3rem); }
  .whoweare-float-card { flex: 1; }
}
@media (max-width: 620px) {
  .whoweare-floats { flex-direction: column; }
}

/* ---------- Stats + Features row (screenshot-matched: big numbers + 4 dotted-map cards) ---------- */
.stats-features { position: relative; overflow: hidden; }
.stats-features-map {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 40%, transparent 80%);
}
.stats-features .container { position: relative; z-index: 1; }
.stats-features-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3.2rem; text-align: center; }
.stats-features-numbers .stat-num { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.stat-caption { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.03em; }
.stats-features-numbers p { font-size: 0.88rem; color: var(--text-muted); max-width: 300px; margin: 0.6rem auto 0; }
@media (max-width: 760px) { .stats-features-numbers { grid-template-columns: 1fr; gap: 2.2rem; } }
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  height: 100%;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.photo-card-img {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  transition: transform 900ms cubic-bezier(.22,.9,.32,1);
  will-change: transform;
}
.photo-card:hover .photo-card-img,
.photo-card:focus-within .photo-card-img { transform: scale(1.07); }
.photo-card-tint {
  position: absolute; inset: 0;
  background: linear-gradient(195deg, rgba(19,19,21,0.05) 35%, rgba(19,19,21,0.62) 100%);
}
.photo-card-badge {
  position: absolute; left: 1.3rem; bottom: 1.3rem; right: 1.3rem; z-index: 1;
  display: flex; align-items: center; gap: 0.6rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
.photo-card-badge .dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(227,30,36,0.28);
}
@media (max-width: 860px) { .photo-card { min-height: 300px; } }
@media (max-width: 480px) { .photo-card { min-height: 240px; } }

/* ---------- Service card (photo header + folded icon badge) ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.service-card-media {
  position: relative;
  height: 172px;
  overflow: hidden;
  background: var(--ink-900);
}
.service-card-media-img {
  position: absolute; inset: -6%;
  background-size: cover;
  background-position: center;
  transition: transform 700ms ease;
  will-change: transform;
}
.service-card:hover .service-card-media-img { transform: scale(1.09); }
.service-card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.02) 45%, rgba(10,10,12,0.6) 100%);
}
.service-card .icon-fold {
  position: relative;
  z-index: 2;
  margin: -30px 0 1.1rem 1.5rem;
  box-shadow: 0 14px 28px rgba(10,10,12,0.32);
}
.service-card-body { padding: 0 1.7rem 2rem; flex: 1; display: flex; flex-direction: column; }
@media (max-width: 620px) { .service-card-media { height: 150px; } }

/* ---------- CTA band with photo background ---------- */
.cta-band-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.cta-band-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(184,22,27,0.95) 0%, rgba(19,19,21,0.9) 52%, rgba(19,19,21,0.72) 100%);
}
.cta-band-photo h2 { color: #fff; margin: 0; }
.cta-band-photo .btns { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Animated counters ---------- */
.stat-num[data-count-to] { font-variant-numeric: tabular-nums; }

/* ---------- Homepage quote section (photo + form + globe card) ---------- */
.quote-grid { display: grid; grid-template-columns: 0.85fr 1.5fr 1fr; gap: 1.6rem; align-items: stretch; }
.quote-photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.quote-photo-img { position: absolute; inset: -6%; background-size: cover; background-position: center; }
.quote-photo-tint { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,19,21,0.55) 0%, transparent 55%); }
.quote-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.quote-form-card h3 { margin-bottom: 1.4rem; }
.quote-checks { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0.3rem 0 1.5rem; }
.quote-check { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; transition: border-color var(--transition); }
.quote-check:hover { border-color: var(--red); }
.quote-check input { accent-color: var(--red); width: 15px; height: 15px; }
.quote-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.quote-help { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.quote-help svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.quote-side-card { background: var(--ink-900); color: #fff; border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.quote-side-card h3 { color: #fff; margin-bottom: 0.9rem; }
.quote-side-card p { color: #C7C7CC; margin-bottom: 1.2rem; }
.quote-side-card .card-link { color: #fff; }
.quote-globe { margin-top: auto; padding-top: 1.6rem; aspect-ratio: 1 / 1; max-width: 280px; margin-inline: auto; width: 100%; }
.quote-globe canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.quote-globe canvas:active { cursor: grabbing; }
@media (max-width: 1180px) {
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .quote-photo { display: none; }
}
@media (max-width: 760px) {
  .quote-grid { grid-template-columns: 1fr; }
}

/* ---------- Locations ---------- */
.location-list { display: grid; gap: 0.9rem; }
.location-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.location-item:hover {
  transform: translateX(6px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.location-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; transition: transform var(--transition), box-shadow var(--transition); }
.location-item:hover .location-dot { transform: scale(1.3); box-shadow: 0 0 0 5px rgba(227,30,36,0.16); }

/* Decorative pulsing markers over the network photo */
.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  z-index: 2;
}
.map-pin::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(227,30,36,0.55);
  animation: mapPinPulse 2400ms ease-out infinite;
}
.map-pin:nth-child(2)::after { animation-delay: 600ms; }
.map-pin:nth-child(3)::after { animation-delay: 1200ms; }
@keyframes mapPinPulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin::after { animation: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btns { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--text-muted); }
.form-success {
  display: none;
  background: #EAF7EE;
  border: 1px solid #BEE3C6;
  color: #1E5E2E;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.form-success.is-visible { display: block; }
.form-error {
  display: none;
  background: #FDECEC;
  border: 1px solid #F3B9B9;
  color: #8A1F1F;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.form-error.is-visible { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact info blocks ---------- */
.contact-block { display: flex; gap: 1rem; align-items: flex-start; }
.contact-block .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-block h4 { margin-bottom: 0.2rem; }
.contact-block a, .contact-block p { font-size: 0.95rem; }

/* ---------- Map placeholder ---------- */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 1.1rem; font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.breadcrumbs a { color: var(--text-muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { margin: 0 0.5rem; }
.breadcrumbs .current { color: var(--text); }

/* ---------- Photo hero (inner pages that opt in, e.g. za-nas.html) ---------- */
.about-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: clamp(320px, 46vw, 460px);
  display: flex;
  align-items: flex-end;
}
.about-hero-img {
  position: absolute; inset: -6%;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.about-hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.45) 0%, rgba(8,8,10,0.3) 40%, rgba(8,8,10,0.82) 100%),
    linear-gradient(100deg, rgba(8,8,10,0.7) 0%, rgba(8,8,10,0.25) 55%, rgba(8,8,10,0.55) 100%);
}
.about-hero-content { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 64px); }
.about-hero-content .eyebrow { margin-bottom: 1.1rem; }
.about-hero-content h1 { color: #fff; max-width: 640px; margin-bottom: 0.9rem; font-size: clamp(1.7rem, 2.7vw, 2.6rem); line-height: 1.2; }
.about-hero-content p { color: #D9D9DC; max-width: 620px; font-size: 1.05rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding-block: clamp(50px, 7vw, 80px);
}
.page-hero h1 { color: #fff; margin-bottom: 0.8rem; }
.page-hero p { color: #C9C9C9; max-width: 620px; }

/* ---------- PDF / download card ---------- */
.download-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
}
.download-card .card-icon { margin-bottom: 0; }
.download-card .meta { flex: 1; }
.download-card .meta small { color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-dark); color: #C9C9C9; padding-block: 3.6rem 2rem; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 18px);
}
.footer-watermark { position: absolute; z-index: 0; opacity: 0.06; color: #fff; pointer-events: none; }
.footer-watermark svg { width: 100%; height: 100%; }
.footer-watermark--plane1 { top: 6%; right: 6%; width: 140px; height: 140px; transform: rotate(18deg); }
.footer-watermark--plane2 { bottom: 14%; left: 3%; width: 90px; height: 90px; transform: rotate(-24deg); }
@media (max-width: 860px) { .footer-watermark { display: none; } }
.site-footer .container { position: relative; z-index: 1; }

/* Brand + newsletter head row */
.footer-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  padding-bottom: 2.2rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-head-brand img { height: 32px; filter: brightness(0) invert(1); }
.footer-newsletter-block { display: flex; align-items: center; gap: 0.9rem; }
.footer-newsletter-block .icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: rgba(227,30,36,0.16); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.footer-newsletter-block .icon svg { width: 19px; height: 19px; }
.footer-newsletter-block strong { display: block; color: #fff; font-size: 0.94rem; }
.footer-newsletter-block span { display: block; font-size: 0.82rem; color: #B8B8B8; margin-top: 0.1rem; }
.footer-newsletter-wrap { display: flex; flex-direction: column; }
.footer-newsletter {
  display: flex; align-items: center;
  min-width: 280px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1.1rem;
}
.footer-newsletter input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font-size: 0.88rem; padding: 0.55rem 0;
}
.footer-newsletter input::placeholder { color: #86868c; }
.footer-newsletter input:focus { outline: none; }
.footer-newsletter button {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.footer-newsletter button:hover { background: var(--red-dark); }
.footer-newsletter button svg { width: 15px; height: 15px; }
.footer-newsletter-success { font-size: 0.85rem; color: #8FD19E; margin-top: 0.6rem; display: none; }
.footer-newsletter-success.is-visible { display: block; }
@media (max-width: 760px) { .footer-head { justify-content: center; text-align: center; } .footer-newsletter { min-width: 0; width: 100%; } }

/* Call / email / visit strip */
.footer-cta-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  border-radius: var(--radius-sm); overflow: hidden;
  margin-bottom: 3rem;
}
.footer-cta-strip a {
  background: var(--red); color: #fff; text-align: center;
  padding: 1.1rem 1rem; font-weight: 700; font-size: 0.92rem;
  transition: background var(--transition);
}
.footer-cta-strip a:hover { background: var(--red-dark); }
@media (max-width: 760px) { .footer-cta-strip { grid-template-columns: 1fr; } }

/* Main columns */
.footer-columns { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 2.5rem; padding-bottom: 2.4rem; }
.footer-col-cta h3 { color: #fff; font-size: 1.35rem; line-height: 1.3; margin-bottom: 1.3rem; }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 2rem; }
.footer-col-about p { font-size: 0.92rem; margin-bottom: 1rem; }
@media (max-width: 980px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-col-cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
}

.footer-brand img { height: 32px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; font-size: 0.92rem; }
.footer-contact-line { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.9rem; font-size: 0.9rem; }
.footer-contact-line svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-line a { color: #C9C9C9; }
.footer-contact-line a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; position: relative; padding-bottom: 0.7rem; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--red); }
.site-footer ul { display: grid; gap: 0.65rem; }
.site-footer a { font-size: 0.92rem; color: #C9C9C9; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 1.2rem; }

/* ---------- Expand gallery (hover-widen panels) ---------- */
.expand-gallery {
  display: flex;
  gap: 6px;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}
.expand-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  background: linear-gradient(155deg, var(--ink-900) 0%, var(--ink-800) 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: flex-grow 420ms cubic-bezier(.22,.9,.32,1);
}
.expand-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
}
.expand-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,6,8,0.75) 0%, rgba(6,6,8,0.1) 42%, rgba(6,6,8,0.4) 100%);
}
.expand-panel-img {
  position: absolute; inset: -6%;
  background-size: cover;
  background-position: center;
  transition: transform 900ms cubic-bezier(.22,.9,.32,1);
  will-change: transform;
}
.expand-panel:hover .expand-panel-img,
.expand-panel.is-active .expand-panel-img { transform: scale(1.08); }
.expand-panel:hover,
.expand-panel.is-active { flex-grow: 2.6; }
.expand-num {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.expand-icon {
  position: absolute; bottom: 20px; left: 18px; z-index: 2;
  color: #fff; opacity: 0.9;
  transition: opacity var(--transition);
}
.expand-icon svg { width: 26px; height: 26px; }
.expand-panel.is-active .expand-icon { opacity: 0; }

.expand-content {
  position: absolute; left: 16px; right: 68px; bottom: 16px; z-index: 2;
  color: #fff;
  background: rgba(9,9,11,0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms ease 120ms, transform 320ms ease 120ms;
  pointer-events: none;
}
.expand-panel.is-active .expand-content { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .expand-panel:hover .expand-content { opacity: 1; transform: translateY(0); pointer-events: auto; }
}
.expand-content h4 { color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin-bottom: 0.6rem; line-height: 1.25; }
.expand-content p { color: #E4E4E7; font-size: 0.86rem; margin-bottom: 0.9rem; max-width: 420px; }
.expand-content ul { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.expand-content li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.84rem; font-weight: 600; color: #fff; }
.expand-content li::before {
  content: "";
  width: 15px; height: 15px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
}
.expand-content .card-link { color: #fff; font-size: 0.85rem; }
.expand-label {
  position: absolute;
  right: 14px; bottom: 18px; z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity var(--transition);
}
.expand-panel:hover .expand-label,
.expand-panel.is-active .expand-label { opacity: 1; color: #FF8489; }
@media (max-width: 760px) {
  .expand-gallery { flex-direction: column; height: auto; }
  .expand-panel { height: 96px; flex: none; }
  .expand-panel.is-active { height: auto; min-height: 320px; flex-grow: 0; padding-bottom: 1.6rem; }
  .expand-label { writing-mode: horizontal-tb; bottom: 14px; right: auto; left: 62px; font-size: 1.1rem; }
  .expand-panel.is-active .expand-label { opacity: 0; }
  .expand-content { display: none; }
  .expand-panel.is-active .expand-content {
    display: block; position: static; opacity: 1; transform: none;
    background: none; border: 0; box-shadow: none;
    padding: 3.6rem 1.2rem 0; right: auto;
  }
}

/* ---------- Tabs ---------- */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}
.tab-btn {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: #fff;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.tab-btn:hover { border-color: var(--ink); color: var(--text); }
.tab-btn.is-active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ---------- Accordion (native details/summary) ---------- */
.accordion { display: grid; gap: 0.8rem; }
.acc-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.acc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .acc-plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  position: relative;
  transition: background var(--transition), transform var(--transition);
}
.acc-item summary .acc-plus::before,
.acc-item summary .acc-plus::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  background: var(--text);
  transform: translate(-50%, -50%);
}
.acc-item summary .acc-plus::before { width: 10px; height: 2px; }
.acc-item summary .acc-plus::after { width: 2px; height: 10px; transition: opacity var(--transition); }
.acc-item[open] summary .acc-plus { background: var(--red); }
.acc-item[open] summary .acc-plus::before,
.acc-item[open] summary .acc-plus::after { background: #fff; }
.acc-item[open] summary .acc-plus::after { opacity: 0; }
.acc-body { padding: 0 1.3rem 1.2rem; }

/* ---------- Full-bleed dark banner ---------- */
.banner-dark {
  position: relative;
  background: linear-gradient(155deg, var(--ink-900) 0%, var(--ink-800) 100%);
  color: #fff;
  overflow: hidden;
}
.banner-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 16px);
}
.banner-dark::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 10%, var(--red-glow), transparent 60%);
}
.banner-dark .container { position: relative; }
.banner-dark p { color: #C7C7CC; }
.banner-dark h2, .banner-dark h3, .banner-dark h4 { color: #fff; }
.banner-dark .split-media { border-color: rgba(255,255,255,0.12); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease, background var(--transition);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--red); transform: translateY(-3px) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 200ms ease; }
  .back-to-top:hover { transform: none; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 0.8rem 1.2rem; z-index: 2000;
}
.skip-link:focus { left: 20px; top: 90px; }
