/* ==========================================================================
   Redd E-Systems — style.css
   Dark, technical, conversion-focused. No frameworks.
   ========================================================================== */

:root {
  --bg: #101318;
  --bg-alt: #14181e;
  --panel: #1a1f27;
  --panel-2: #20262f;
  --line: #2b323b;
  --red: #e0202a;
  --red-hot: #ff3b44;
  --red-dim: rgba(224, 32, 42, 0.12);
  --text: #f5f6f7;
  --muted: #a7b1bb;
  --mono: "JetBrains Mono", "Consolas", monospace;
  --display: "Chakra Petch", sans-serif;
  --body: "Inter", sans-serif;
  --max: 1180px;
  --radius: 6px;
  --shadow-red: 0 0 24px rgba(224, 32, 42, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

::selection { background: var(--red); color: #fff; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

.accent { color: var(--red); }

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; position: relative; }

.section-head { margin-bottom: 3rem; max-width: 720px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  padding: 0.9rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.btn-primary:hover {
  background: var(--red-hot);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-hot);
  transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.nav-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }

.brand img { height: 44px; width: auto; }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-name span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links > li { position: relative; }

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a.active { position: relative; }

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
}

/* dropdown */
.has-dropdown > a::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 0.35rem;
  color: var(--red);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 260px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.dropdown a:hover {
  color: var(--text);
  background: var(--red-dim);
  border-left: 2px solid var(--red);
  padding-left: calc(1.25rem - 2px);
}

.nav-cta { flex-shrink: 0; }

.nav-cta .btn { padding: 0.65rem 1.3rem; font-size: 0.82rem; }

/* mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(11, 13, 16, 0.97) 0%, rgba(13, 15, 19, 0.86) 48%, rgba(224, 32, 42, 0.32) 135%),
    url("../assets/photos/dc-aisle.jpg") center / cover no-repeat;
}

/* red ember wash rising from the bottom of the hero */
.hero .wrap::after {
  content: "";
  position: absolute;
  left: -20vw; right: -20vw; bottom: -100px;
  height: 220px;
  background: linear-gradient(0deg, rgba(224, 32, 42, 0.10), transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* animated grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.28;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 30%, transparent 75%);
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  to { background-position: 56px 56px, 56px 56px; }
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%; right: -12%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(224, 32, 42, 0.24) 0%, transparent 65%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 2; }

.hero h1 { max-width: 15ch; margin-bottom: 1.4rem; }

.hero .lead { margin-bottom: 2.4rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-status {
  margin-top: 4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  background: rgba(20, 23, 28, 0.6);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulse 2s ease-in-out infinite;
}

.status-dot.red { background: var(--red); box-shadow: 0 0 8px var(--red); }

@keyframes pulse {
  50% { opacity: 0.45; }
}

/* interior page hero */
.page-hero {
  padding: 190px 0 90px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(15, 18, 22, 0.97) 30%, rgba(224, 32, 42, 0.18) 120%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

/* photo hero: set --hero-photo inline on the section */
.page-hero.photo-hero {
  background:
    linear-gradient(115deg, rgba(13, 16, 20, 0.97) 32%, rgba(15, 18, 23, 0.86) 58%, rgba(224, 32, 42, 0.30) 125%),
    var(--hero-photo) center / cover no-repeat,
    var(--bg-alt);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 80% 100% at 70% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 70% 0%, #000 20%, transparent 70%);
}

.page-hero .wrap { position: relative; z-index: 2; }

.page-hero h1 { max-width: 20ch; }

.page-hero .lead { margin-top: 1.2rem; }

.crumbs {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.crumbs a:hover { color: var(--red-hot); }

.crumbs .sep { color: var(--red); margin: 0 0.5rem; }

/* --------------------------------------------------------------------------
   Stat strip
   -------------------------------------------------------------------------- */

.stat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(224, 32, 42, 0.14), rgba(224, 32, 42, 0.03) 40%, transparent 70%),
    var(--bg-alt);
  padding: 0;
}

.stat-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 2.6rem 1.5rem;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stat:first-child { border-left: none; }

.stat .num {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat .num em { color: var(--red); font-style: normal; }

.stat .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: linear-gradient(165deg, var(--panel) 0%, #161b22 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 32, 42, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(224, 32, 42, 0.15);
}

.card:hover::before { transform: scaleX(1); }

.card .icon {
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  background: var(--red-dim);
  color: var(--red-hot);
  transition: all 0.25s ease;
}

.card:hover .icon {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.card .icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.7rem; }

.card p { color: var(--muted); font-size: 0.94rem; flex: 1; }

.card .card-link {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-hot);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card .card-link .arrow { transition: transform 0.22s ease; }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* stretch whole card into a link target */
a.card { color: inherit; }

/* --------------------------------------------------------------------------
   Split section (supplement vs outsource)
   -------------------------------------------------------------------------- */

.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }

.split-panel {
  background: linear-gradient(165deg, var(--panel) 55%, rgba(224, 32, 42, 0.07) 130%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem;
  position: relative;
}

.split-panel .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.split-panel h3 { font-size: 1.45rem; margin-bottom: 1rem; }

.split-panel p { color: var(--muted); margin-bottom: 1.5rem; }

.check-list li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 9px; height: 9px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.check-list li strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.testimonial {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial .stars { color: var(--red-hot); letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 1rem; }

.testimonial blockquote {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
}

.testimonial cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonial cite::before { content: "— "; color: var(--red); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(135deg, #a3121b 0%, var(--red) 55%, #ff5a3c 130%);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 80% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 20%, transparent 70%);
}

.cta-band .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; max-width: 22ch; }

.cta-band p { color: rgba(255, 255, 255, 0.85); margin-top: 0.6rem; max-width: 52ch; }

.cta-band .btn {
  background: #0b0d10;
  color: #fff;
  border: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  flex-shrink: 0;
}

.cta-band .btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   Service detail pages
   -------------------------------------------------------------------------- */

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.detail-body h2 { font-size: 1.6rem; margin: 2.6rem 0 1.1rem; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { color: var(--muted); margin-bottom: 1.1rem; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; }

.feature-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem 1rem 2.6rem;
  position: relative;
  font-size: 0.93rem;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 1.1rem; top: 1.35rem;
  width: 9px; height: 9px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.sidebar { position: sticky; top: 100px; display: grid; gap: 1.5rem; }

.sidebar-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.sidebar-card h3 { font-size: 1rem; margin-bottom: 1rem; }

.sidebar-card ul li { margin-bottom: 0.2rem; }

.sidebar-card ul a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 4px;
  transition: all 0.18s ease;
}

.sidebar-card ul a:hover { color: var(--text); background: var(--red-dim); }

.sidebar-card ul a.current {
  color: var(--text);
  background: var(--red-dim);
  border-left: 2px solid var(--red);
}

.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }

.sidebar-card .phone-line {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin: 0.4rem 0 0.2rem;
}

.sidebar-card .phone-line:hover { color: var(--red-hot); }

.sidebar-card p { color: var(--muted); font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }

.big-quote {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.35;
  border-left: 3px solid var(--red);
  padding-left: 1.6rem;
  max-width: 30ch;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-item .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--red-dim);
  color: var(--red-hot);
}

.contact-item .icon svg { width: 20px; height: 20px; }

.contact-item h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }

.contact-item p, .contact-item a { color: var(--muted); font-size: 0.95rem; }

.contact-item a:hover { color: var(--red-hot); }

.contact-item .big-link {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

/* form */
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 2.4rem;
}

.contact-form h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.contact-form > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.8rem; }

.field { margin-bottom: 1.3rem; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--body);
  font-size: 0.96rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 32, 42, 0.15);
}

.field textarea { min-height: 150px; resize: vertical; }

.contact-form .btn { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   Illustrations
   -------------------------------------------------------------------------- */

.illus {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f1216;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.illus img { width: 100%; display: block; }

.detail-body .illus { margin-bottom: 2.6rem; }

/* --------------------------------------------------------------------------
   Ember photo treatments
   -------------------------------------------------------------------------- */

.glow-corner {
  background:
    radial-gradient(700px 380px at 108% -10%, rgba(224, 32, 42, 0.15), transparent 65%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.photo-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  margin: 0;
}

.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.photo-card:hover img { transform: scale(1.045); }

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(11, 13, 16, 0.92) 100%),
    linear-gradient(120deg, rgba(224, 32, 42, 0.10), transparent 45%);
}

.photo-card figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.15rem 1.25rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #eef1f3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.photo-card figcaption::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* photo header inside split panels */
.split-photo {
  position: relative;
  height: 175px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: 1px solid var(--line);
}

.split-photo img { width: 100%; height: 100%; object-fit: cover; }

.split-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(224, 32, 42, 0.16), transparent 55%),
    linear-gradient(180deg, transparent 50%, rgba(16, 19, 24, 0.65) 100%);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(224, 32, 42, 0.05), transparent 40%),
    var(--bg-alt);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-grid h4 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.footer-grid p, .footer-grid a { color: var(--muted); font-size: 0.9rem; }

.footer-grid ul li { margin-bottom: 0.65rem; }

.footer-grid a:hover { color: var(--red-hot); }

.footer-brand img { height: 48px; margin-bottom: 1rem; }

.footer-brand p { max-width: 32ch; }

.socials { display: flex; gap: 0.8rem; margin-top: 1.4rem; }

.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.2s ease;
}

.socials a:hover {
  border-color: var(--red);
  color: var(--red-hot);
  transform: translateY(-3px);
}

.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}

.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .status-dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  section { padding: 70px 0; }

  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(11, 13, 16, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 105;
  }

  .nav-links.open { opacity: 1; visibility: visible; }

  .nav-links a { font-size: 1.25rem; font-family: var(--display); text-transform: uppercase; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 0;
    padding: 0.3rem 0 0;
    display: none;
    text-align: center;
  }

  .nav-links.open .dropdown { display: block; }

  .dropdown a { font-size: 0.95rem !important; padding: 0.4rem 1rem; color: var(--muted); }
  .dropdown a:hover { background: none; border: none; padding-left: 1rem; }

  .nav-cta { display: none; }

  .grid-2, .split-panels, .testimonial-grid, .contact-layout { grid-template-columns: 1fr; }

  .stat-strip .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }

  .hero { min-height: auto; padding: 140px 0 80px; }

  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .photo-band { grid-template-columns: 1fr; }
  .photo-card { height: 240px; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-name { display: none; }
}
