/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #ffffff;
  --bg-alt:  #f4f4f4;
  --dark:    #0a0a0a;
  --card:    #ffffff;
  --border:  #e2e2e2;
  --red:     #c00000;
  --red-h:   #a50000;
  --text:    #1a1a1a;
  --muted:   #5a5a5a;
  --light:   #cccccc;
  --font:    'Inter', sans-serif;
  --radius:  4px;
  --shadow:  0 2px 12px rgba(0,0,0,0.09);
  --shadow-h:0 8px 32px rgba(0,0,0,0.15);
  --trans:   0.2s ease;
}

html { scroll-behavior: smooth; }
::selection { background: var(--red); color: #fff; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
p { color: var(--muted); font-size: 0.975rem; line-height: 1.72; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.13; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.015em; color: var(--text); }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
h4 { font-size: 0.72rem; font-weight: 700; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }

/* ── Red rule ── */
.red-rule { width: 44px; height: 3px; background: var(--red); margin: 12px 0 22px; border-radius: 2px; }
.red-rule.center { margin-left: auto; margin-right: auto; }

/* ══════════════════════════
   NAV  (stays dark — grounds the brand)
══════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  height: 68px;
}

.nav-links > li { position: relative; display: flex; align-items: center; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  transition: color var(--trans);
  white-space: nowrap;
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--trans);
}

.nav-links > li > a:hover,
.nav-links > li > a.active { color: #fff; }
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

/* dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 1px solid #222;
  border-top: 2px solid var(--red);
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.nav-links > li:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
  transition: color var(--trans), background var(--trans), padding-left var(--trans);
  border-bottom: 1px solid #222;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: #fff; background: #1a1a1a; padding-left: 26px; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: var(--trans);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════
   HOME HERO  (stays full-dark for impact)
══════════════════════════ */
.hero {
  position: relative;
  min-height: 86vh;
  min-height: 86svh; /* iOS Safari: excludes browser chrome so height is stable */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.58;
  transform: scale(1.03);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.80) 45%, rgba(0,0,0,0.12));
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p   { font-size: 1.05rem; color: rgba(255,255,255,0.72); margin-bottom: 36px; max-width: 520px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-h); border-color: var(--red-h); box-shadow: 0 6px 24px rgba(192,0,0,0.3); }

.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ══════════════════════════
   PAGE HERO  (inner pages — image clearly visible)
══════════════════════════ */
.page-hero {
  background: #111;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.52;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 38%, rgba(0,0,0,0.18));
  z-index: 1;
}

.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 720px; }
.page-hero p  { color: rgba(255,255,255,0.72); }

/* ══════════════════════════
   TRUST BAR
══════════════════════════ */
.trust-bar {
  background: var(--dark);
  border-bottom: 1px solid #1e1e1e;
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
}
.trust-item::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ══════════════════════════
   CARDS GRID
══════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative;
  border-radius: var(--radius);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--trans);
  z-index: 2;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.card:hover::before { transform: scaleX(1); }

.card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.card:hover .card-img { transform: scale(1.03); }

.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p  { font-size: 0.88rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap var(--trans);
}
.card-link:hover { gap: 10px; color: var(--red-h); }

/* ══════════════════════════
   TWO-COL
══════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
}

/* Dark spotlight section */
.section-dark {
  background: #111;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════
   IMAGE GALLERY
══════════════════════════ */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px;
}

.img-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s;
}
.img-grid img:hover { transform: scale(1.03); opacity: 0.9; }

/* ══════════════════════════
   CHECKLIST
══════════════════════════ */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ══════════════════════════
   CTA BAND  (red — stays on all pages)
══════════════════════════ */
.cta-band {
  background: var(--red);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 22px,
    rgba(255,255,255,0.04) 22px, rgba(255,255,255,0.04) 44px
  );
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p  { color: rgba(255,255,255,0.82); margin-bottom: 28px; font-size: 1rem; }

/* ══════════════════════════
   CONTACT
══════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 5px;
}
.contact-item p, .contact-item a { color: var(--text); font-size: 1rem; }
.contact-item a { transition: color var(--trans); }
.contact-item a:hover { color: var(--red); }

/* ── Form ── */
.form { display: flex; flex-direction: column; gap: 12px; }

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form input:focus,
.form textarea:focus,
.form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,0,0,0.08); }
.form input::placeholder,
.form textarea::placeholder { color: #aaa; }
.form select { appearance: none; cursor: pointer; color: #888; }
.form select option { background: #fff; color: var(--text); }
.form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Form highlight blocks ── */
#form-success { display: none; background: #f6fff6; border-left: 4px solid #2a8a2a; }
#form-success p { color: #1a6a1a; }
#form-error   { display: none; background: #fff6f6; border-left: 4px solid var(--red); }
#form-error p { color: #aa0000; }

/* ══════════════════════════
   FOOTER  (stays dark)
══════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer-brand img  { height: 42px; margin-bottom: 16px; }
.footer-brand p    { font-size: 0.87rem; max-width: 260px; line-height: 1.7; color: #666; }

.footer h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a {
  font-size: 0.87rem;
  color: #666;
  transition: color var(--trans), padding-left var(--trans);
  display: inline-block;
}
.footer ul a:hover { color: #ddd; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 20px;
}
.footer-bottom p { font-size: 0.78rem; color: #444; }

/* ══════════════════════════
   UTILITY
══════════════════════════ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 0; }
.section-header p { margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

.highlight-block {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.highlight-block h2 { margin-bottom: 8px; }
.highlight-block p  { color: var(--muted); }

/* ══════════════════════════
   MOBILE
══════════════════════════ */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col img { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  /* iOS Safari: prevent auto-zoom on form focus (inputs < 16px trigger zoom) */
  .form input[type="text"],
  .form input[type="email"],
  .form input[type="tel"],
  .form textarea { font-size: 16px; }
  /* Disable card lift on touch — avoids stuck hover state on iOS */
  .card:hover { transform: none; box-shadow: var(--shadow); }
  .card:hover::before { transform: scaleX(0); }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.99);
    backdrop-filter: blur(12px);
    flex-direction: column;
    height: auto;
    border-bottom: 2px solid var(--red);
    padding: 8px 0 16px;
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { flex-direction: column; align-items: flex-start; height: auto; }
  .nav-links > li > a { height: auto; padding: 12px 20px; width: 100%; }
  .nav-links > li > a::after { display: none; }
  .dropdown { position: static; border: none; background: rgba(255,255,255,0.04); box-shadow: none; min-width: auto; width: 100%; border-top: none; display: none !important; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .highlight-block { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .hero { min-height: 80vh; }
  .page-hero { min-height: 240px; padding: 48px 0; }
  .trust-bar-inner { gap: 10px 20px; }
  .cards-grid { gap: 14px; }
}

@media (max-width: 520px) {
  .cards-grid { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: 1fr 1fr; }
  .card-img { height: 200px; }
  .two-col img { height: 240px; }
}
