/*
Theme Name: Drillcard
Theme URI: https://drillcard.com
Author: Innovative Affiliates LLC
Author URI: https://drillcard.com
Description: Official Drillcard one-page marketing theme. Emergency services training platform.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: drillcard
*/

/* ── Fonts via @import — prevents mobile CSS drop on HTTP/mixed-content ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   RESET & ROOT
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #E40D37;
  --navy:       #020817;
  --light:      #E9EDF0;
  --mid:        #E7E7E9;
  --red-10:     rgba(228,13,55,0.10);
  --red-20:     rgba(228,13,55,0.20);
  --red-30:     rgba(228,13,55,0.30);
  --light-08:   rgba(233,237,240,0.08);
  --light-12:   rgba(233,237,240,0.12);
  --light-25:   rgba(233,237,240,0.25);
  --light-40:   rgba(233,237,240,0.40);
  --light-60:   rgba(233,237,240,0.60);
  --light-75:   rgba(233,237,240,0.75);
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'DM Sans', Arial, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --max-w:      1140px;
  --section-py: 100px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(233,237,240,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,237,240,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

.section { padding-block: var(--section-py); position: relative; z-index: 1; }

.section--alt {
  background: rgba(233,237,240,0.025);
  border-top: 1px solid var(--light-08);
  border-bottom: 1px solid var(--light-08);
}

.section-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 2px;
  background: var(--red); border-radius: 2px; flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: 0.03em; color: var(--light);
  line-height: 1.05; margin-bottom: 20px;
}

.section-sub { font-size: 16px; color: var(--light-60); line-height: 1.7; max-width: 560px; }

.text-center { text-align: center; }
.text-center .section-sub      { margin-inline: auto; }
.text-center .section-eyebrow  { justify-content: center; }
.text-center .section-eyebrow::before { display: none; }

/* ============================================================
   NAV
   ============================================================ */
#dc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(2,8,23,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light-08);
  transition: background 0.3s;
}
#dc-nav.scrolled { background: rgba(2,8,23,0.98); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--light-60); transition: color 0.2s; text-decoration: none;
}
.nav-links a:hover { color: var(--light); }

.nav-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 9px 20px !important; border-radius: 6px !important;
  font-weight: 600 !important; transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.88 !important; }

/* Login — ghost treatment, clearly transactional but not primary */
.nav-login {
  color: var(--light-40) !important;
  border: 1px solid rgba(233,237,240,0.18) !important;
  padding: 7px 16px !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  transition: color 0.2s, border-color 0.2s !important;
}
.nav-login:hover {
  color: var(--light-75) !important;
  border-color: rgba(233,237,240,0.36) !important;
}

/* ── Billing toggle ── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 36px auto 0;
  background: rgba(233,237,240,0.06);
  border: 1px solid var(--light-08);
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
}
.billing-btn {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  padding: 8px 20px;
  border-radius: 5px;
  border: none; cursor: pointer;
  background: transparent;
  color: var(--light-40);
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.billing-btn.active {
  background: var(--navy);
  color: var(--light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.discount-pill {
  background: rgba(34,197,94,0.18);
  color: #4ADE80;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 100px;
  border: 1px solid rgba(34,197,94,0.25);
}

.price-monthly { display: block; }
.price-annual  { display: none; }

/* Independent badge — outside .plan-price to avoid 32px font inheritance */
.savings-badge {
  display: inline-block;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 10px !important;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  color: #4ADE80;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 100px;
  padding: 3px 9px;
  margin-left: 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--light); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 68px;
  position: relative; overflow: hidden;
}

.hero-radial {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(228,13,55,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(228,13,55,0.07) 0%, transparent 50%);
  pointer-events: none;
}

/* Emergency light beams — narrow angled rays from upper-left + upper-right,
   suggesting rotating vehicle-mounted light bars */
.hero-beams {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden; z-index: 0;
}
/* Left source: 3 overlapping rays fanning right-downward */
.hero-beams::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    linear-gradient(162deg, rgba(228,13,55,0.072) 0%, transparent 44%),
    linear-gradient(150deg, rgba(228,13,55,0.050) 0%, transparent 38%),
    linear-gradient(140deg, rgba(228,13,55,0.038) 0%, transparent 50%);
}
/* Right source: 3 overlapping rays fanning left-downward */
.hero-beams::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 100%; height: 100%;
  background:
    linear-gradient(198deg, rgba(228,13,55,0.060) 0%, transparent 42%),
    linear-gradient(212deg, rgba(228,13,55,0.044) 0%, transparent 36%),
    linear-gradient(226deg, rgba(228,13,55,0.032) 0%, transparent 48%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 56px; align-items: center; width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-10); border: 1px solid var(--red-30);
  border-radius: 100px; padding: 5px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.75); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: 0.03em; line-height: 0.96;
  color: var(--light); margin-bottom: 28px;
}
.hero-title .accent { color: var(--red); }

.hero-sub {
  font-size: 17px; color: var(--light-60);
  line-height: 1.75; max-width: 500px; margin-bottom: 40px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── Hero card: styled to match actual Drillcard app UI ── */
.hero-card {
  background: #F0F2F5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.3);
  /* No extra positioning — stays in the grid column naturally */
}

/* Dark mission-control header — matches the app's top bar */
.card-header {
  background: var(--navy);
  padding: 13px 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.card-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(233,237,240,0.55);
}
.card-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(228,13,55,0.18); color: #FF4D6A;
  border: 1px solid rgba(228,13,55,0.35);
}
.card-badge-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; animation: pulse 2s infinite;
}

/* Unit rows — light body matching app card style */
.unit-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  background: #fff;
  border-bottom: 1px solid #E8EAED;
  border-left: 3px solid transparent;
  margin: 0;
  gap: 12px;
  transition: background 0.15s;
}
.unit-row:last-child { border-bottom: none; }

/* Left accent color by status */
.unit-row.status-enroute   { border-left-color: #3B82F6; }
.unit-row.status-arrived   { border-left-color: #22C55E; }
.unit-row.status-standby   { border-left-color: #CBD5E1; }
.unit-row.status-deployed  { border-left-color: #0F172A; }
.unit-row.status-rehab     { border-left-color: #F97316; }
.unit-row.status-completed { border-left-color: #86EFAC; }

.unit-id {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  color: #0F172A;
  letter-spacing: 0.05em;
  min-width: 110px;
}

.unit-time {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em;
  min-width: 46px; text-align: right;
}
/* Timer color by status */
.unit-row.status-enroute   .unit-time { color: #3B82F6; }
.unit-row.status-arrived   .unit-time { color: #22C55E; }
.unit-row.status-standby   .unit-time { color: #94A3B8; }
.unit-row.status-deployed  .unit-time { color: #475569; }
.unit-row.status-rehab     .unit-time { color: #F97316; }
.unit-row.status-completed .unit-time { color: #94A3B8; }

.unit-stage {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
  white-space: nowrap;
}
/* Badge colors */
.stage-enroute   { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }
.stage-arrived   { background: #F0FDF4; color: #16A34A; border: 1px solid #BBF7D0; }
.stage-standby   { background: #F8FAFC; color: #64748B; border: 1px solid #E2E8F0; }
.stage-deployed  { background: #0F172A; color: #E2E8F0; border: 1px solid #334155; }
.stage-rehab     { background: #FFF7ED; color: #C2410C; border: 1px solid #FED7AA; }
.stage-completed { background: #F0FDF4; color: #15803D; border: 1px solid #86EFAC; letter-spacing: 0.06em; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.03em; padding: 12px 26px;
  border-radius: 6px; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s; text-decoration: none;
}
.btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; }
.btn-outline  { background: transparent; color: var(--light); border: 1px solid var(--light-25); }
.btn-outline:hover { border-color: var(--light-60); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.problem-card {
  padding: 32px 28px;
  background: rgba(233,237,240,0.03); border: 1px solid var(--light-08);
  border-radius: 12px; position: relative; overflow: hidden; transition: border-color 0.25s;
}
.problem-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.problem-card:hover { border-color: var(--light-25); }
.problem-card:hover::before { transform: scaleX(1); }
.problem-number { font-family: var(--font-display); font-size: 64px; letter-spacing: 0.02em; color: var(--red-10); line-height: 1; margin-bottom: 16px; transition: color 0.25s; }
.problem-card:hover .problem-number { color: var(--red-20); }
.problem-title { font-size: 16px; font-weight: 700; color: var(--light); margin-bottom: 10px; line-height: 1.3; }
.problem-body  { font-size: 14px; color: var(--light-60); line-height: 1.7; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 64px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 36px;
  left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 1px; background: linear-gradient(90deg, var(--red), var(--red-10));
}
.step-item { text-align: center; padding: 0 32px; position: relative; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--navy), 0 0 0 9px rgba(228,13,55,0.3);
  flex-shrink: 0;
}
.step-number svg { width: 30px; height: 30px; }
.step-title { font-size: 17px; font-weight: 700; color: var(--light); margin-bottom: 12px; }
.step-body  { font-size: 14px; color: var(--light-60); line-height: 1.7; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; align-items: start; }

.pricing-card {
  background: rgba(233,237,240,0.04); border: 1px solid var(--light-08);
  border-radius: 14px; padding: 32px 28px;
  position: relative; transition: border-color 0.25s, transform 0.25s;
}
.pricing-card:hover { border-color: var(--light-25); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--red-30); background: rgba(228,13,55,0.05); }
.pricing-card.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; padding: 4px 14px; border-radius: 0 0 8px 8px;
}

.plan-tier  { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.plan-name  { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.04em; color: var(--light); margin-bottom: 4px; line-height: 1; }
.plan-price { font-family: var(--font-mono); font-size: 32px; font-weight: 500; color: var(--light); margin-bottom: 4px; letter-spacing: -0.02em; }
.plan-price span { font-size: 13px; color: var(--light-40); font-weight: 400; letter-spacing: 0; }
.plan-desc  { font-size: 13px; color: var(--light-40); line-height: 1.6; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--light-08); }

.plan-upgrade {
  font-size: 11px; font-weight: 600; color: rgba(74,222,128,0.85);
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.18);
  border-radius: 6px; padding: 7px 10px; margin-bottom: 20px; line-height: 1.5;
}

.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-feature  { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--light-75); line-height: 1.45; }
.plan-feature::before { content: '✓'; color: var(--red); font-weight: 700; font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.plan-feature.locked { color: var(--light-25); }
.plan-feature.locked::before { content: '—'; color: var(--light-25); }

/* Feature gate table */
.pricing-footnote {
  margin-top: 48px;
  background: rgba(233,237,240,0.03); border: 1px solid var(--light-08);
  border-radius: 12px; overflow: hidden;
}
.pricing-footnote table { width: 100%; border-collapse: collapse; }
.pricing-footnote th,
.pricing-footnote td {
  padding: 12px 18px; text-align: left; font-size: 13px;
  border-bottom: 1px solid var(--light-08);
}
.pricing-footnote th {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--light-40);
  background: rgba(233,237,240,0.03);
}
.pricing-footnote td             { color: var(--light-60); }
.pricing-footnote td:first-child { color: var(--light); font-weight: 500; }
.pricing-footnote .check { color: var(--red); font-weight: 700; }
.pricing-footnote .dash  { color: var(--light-25); }
.pricing-footnote tr:last-child td { border-bottom: none; }
.pricing-footnote tr:hover td { background: rgba(233,237,240,0.02); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.testimonial-card  { background: rgba(233,237,240,0.04); border: 1px solid var(--light-08); border-radius: 12px; padding: 28px 24px; }
.testimonial-quote { font-size: 14px; color: var(--light-75); line-height: 1.8; margin-bottom: 22px; font-style: italic; }
.testimonial-quote::before { content:'\201C'; font-family:var(--font-display); font-size:48px; color:var(--red); line-height:0; vertical-align:-18px; margin-right:4px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width:40px;height:40px;border-radius:50%;background:var(--red-10);border:1px solid var(--red-20);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:18px;color:var(--red);flex-shrink:0; }
.author-name  { font-size:14px;font-weight:700;color:var(--light); }
.author-title { font-size:12px;color:var(--light-40);margin-top:2px; }

.trust-row { display:flex;align-items:center;justify-content:center;gap:48px;margin-top:64px;flex-wrap:wrap; }
.trust-stat { text-align:center; }
.trust-stat-num   { font-family:var(--font-display);font-size:48px;letter-spacing:0.03em;color:var(--red);line-height:1; }
.trust-stat-label { font-size:12px;color:var(--light-40);margin-top:6px;letter-spacing:0.08em;text-transform:uppercase; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--light-08); }
.faq-trigger { width:100%;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;text-align:left; }
.faq-question { font-size:16px;font-weight:600;color:var(--light);line-height:1.4; }
.faq-icon { width:28px;height:28px;border-radius:50%;border:1px solid var(--light-25);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--light-60);font-size:18px;line-height:1;transition:background 0.2s,border-color 0.2s,transform 0.3s; }
.faq-item.open .faq-icon { background:var(--red);border-color:var(--red);color:#fff;transform:rotate(45deg); }
.faq-answer { max-height:0;overflow:hidden;transition:max-height 0.4s ease; }
.faq-answer-inner { font-size:14px;color:var(--light-60);line-height:1.8;padding-bottom:24px; }
.faq-item.open .faq-answer { max-height:400px; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { position:relative;overflow:hidden; }
#contact::before { content:'';position:absolute;inset:0;background:radial-gradient(ellipse 70% 70% at 50% 50%,rgba(228,13,55,0.10) 0%,transparent 70%);pointer-events:none; }
.contact-inner { max-width:680px;margin-inline:auto;text-align:center; }

.wpcf7-form { display:flex;flex-direction:column;gap:16px;margin-top:40px;text-align:left; }
.wpcf7-form .form-row { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width:100%;background:rgba(233,237,240,0.05);border:1px solid var(--light-12);border-radius:8px;
  padding:13px 16px;font-family:var(--font-body);font-size:14px;color:var(--light);
  outline:none;transition:border-color 0.2s,background 0.2s;appearance:none;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color:var(--light-40); }
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { border-color:var(--red-30);background:rgba(228,13,55,0.04); }
.wpcf7-form textarea { min-height:110px;resize:vertical; }
.wpcf7-form input[type="submit"] { background:var(--red);color:#fff;font-family:var(--font-body);font-size:14px;font-weight:600;letter-spacing:0.04em;padding:14px 32px;border-radius:6px;border:none;cursor:pointer;width:100%;transition:opacity 0.2s; }
.wpcf7-form input[type="submit"]:hover { opacity:0.88; }
.dc-success { margin-top:40px;padding:28px;background:rgba(34,197,94,0.08);border:1px solid rgba(34,197,94,0.20);border-radius:12px;text-align:center; }
.dc-success p:first-child { font-weight:600;color:#4ADE80;margin-bottom:6px; }
.dc-success p:last-child  { font-size:14px;color:var(--light-60); }

/* ============================================================
   FOOTER
   ============================================================ */
#dc-footer { border-top:1px solid var(--light-08);padding:48px 32px 36px;position:relative;z-index:1; }
.footer-inner { max-width:var(--max-w);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px; }
.footer-brand img { height:26px;width:auto; }
.footer-nav { display:flex;gap:32px; }
.footer-nav a { font-size:13px;color:var(--light-40);transition:color 0.2s;text-decoration:none; }
.footer-nav a:hover { color:var(--light); }
.footer-legal { font-size:12px;color:var(--light-40);margin-top:32px;padding-top:24px;border-top:1px solid var(--light-08);max-width:var(--max-w);margin-inline:auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity:0;transform:translateY(28px);transition:opacity 0.65s ease,transform 0.65s ease; }
.reveal.visible { opacity:1;transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .pricing-grid, .problem-grid, .testimonials-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  body  { font-size: 15px; }
  .container { padding-inline: 20px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(2,8,23,0.98);
    padding: 24px; gap: 18px;
    border-bottom: 1px solid var(--light-08);
    z-index: 999;
  }
  .nav-links.open a { font-size: 14px; }
  /* Reset ghost border on Login inside mobile dropdown */
  .nav-links.open .nav-login {
    border-color: rgba(233,237,240,0.12) !important;
    width: fit-content;
  }
  .nav-hamburger { display: flex; }

  /* Sections */
  .pricing-grid, .problem-grid, .testimonials-grid, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .mission-vision-grid { grid-template-columns: 1fr !important; }

  /* Step overlap — bulletproof: flexbox + margin-bottom, !important to beat cache */
  .steps-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .step-item {
    padding: 0 20px;
    text-align: center;
    margin-bottom: 52px;
  }
  .step-item:last-child { margin-bottom: 0; }
  .step-number {
    width: 64px; height: 64px;
    box-shadow: 0 0 0 4px var(--navy), 0 0 0 5px rgba(228,13,55,0.25);
    margin-bottom: 16px;
  }
  .step-number svg { width: 26px; height: 26px; }

  /* Form */
  .wpcf7-form .form-row { grid-template-columns: 1fr; }

  /* Trust stats */
  .trust-row { gap: 28px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav   { flex-wrap: wrap; gap: 16px; }

  /* Pricing table — horizontal scroll on small screens */
  .pricing-footnote { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pricing-footnote table { min-width: 480px; }
  .pricing-card { padding: 24px 20px; }
  .plan-price   { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .section-title { font-size: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
