/* ============================================================
   Motoring Solicitors UK — Global Stylesheet
   Palette: #0A1628 (navy) | #C0392B (red) | #FFFFFF (white)
   Font: Inter (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

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

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ---- CSS Variables ---- */
:root {
  --navy: #0A1628;
  --navy-light: #122040;
  --red: #C0392B;
  --red-dark: #a93226;
  --red-light: #e74c3c;
  --white: #ffffff;
  --grey-100: #f8f9fc;
  --grey-200: #eef0f6;
  --grey-400: #9aa3b8;
  --grey-700: #3d4560;
  --gold: #f0c040;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.14);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--grey-700); }
p:last-child { margin-bottom: 0; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192,57,43,0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,57,43,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(240,192,64,0.35);
}
.btn-gold:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo svg { flex-shrink: 0; }
.logo span { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 0.2rem; }

.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-cta .btn { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

.nav-phone {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Emergency Bar ---- */
.emergency-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.emergency-bar a { color: var(--gold); text-decoration: underline; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1e3a 55%, #1a0f1f 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,0.18) 0%, transparent 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192,57,43,0.25);
  border: 1px solid rgba(192,57,43,0.5);
  color: #ff8070;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--red-light); }

.hero-lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.8rem;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.trust-item svg { color: var(--gold); }

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.hero-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero-stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), #e74c3c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.2rem;
}

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--grey-100); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  background: rgba(192,57,43,0.1);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
}
.section-dark .section-label {
  background: rgba(192,57,43,0.3);
  color: #ff8070;
}

.section-header p { font-size: 1.05rem; margin-top: 0.8rem; }

/* ---- Cards Grid ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(192,57,43,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--red);
}

.card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }

.card-dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.7); }
.card-dark .card-icon {
  background: rgba(192,57,43,0.25);
  color: #ff8070;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--red);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item { color: var(--white); }
.stat-item .big-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  display: block;
}
.stat-item .stat-desc { font-size: 0.9rem; opacity: 0.85; margin-top: 0.3rem; }

/* ---- Process Steps ---- */
.steps { counter-reset: step; }
.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--grey-200);
}
.step-item:last-child { border-bottom: none; }

.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--grey-100); }
.faq-question[aria-expanded="true"] { background: var(--navy); color: var(--white); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 1.2rem 1.5rem;
  background: var(--grey-100);
  color: var(--grey-700);
  font-size: 0.97rem;
  line-height: 1.75;
}
.faq-answer.open { display: block; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(192,57,43,0.1);
  font-family: Georgia, serif;
}

.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.8rem; }
.testimonial-text { font-style: italic; color: var(--grey-700); margin-bottom: 1.2rem; }
.testimonial-author { font-weight: 700; color: var(--navy); }
.testimonial-detail { font-size: 0.85rem; color: var(--grey-400); }

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 0.97rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Contact info */
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.info-item:last-child { border-bottom: none; margin-bottom: 0; }
.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(192,57,43,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff8070;
}
.info-label { font-size: 0.8rem; opacity: 0.6; margin-bottom: 0.2rem; }
.info-value { font-weight: 700; font-size: 0.97rem; }

/* ---- Ban Calculator ---- */
.calculator-wrap {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.calc-step { margin-bottom: 1.5rem; }
.calc-step label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.calc-step select,
.calc-step input[type="number"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  transition: border-color var(--transition);
}
.calc-step select:focus,
.calc-step input[type="number"]:focus {
  outline: none;
  border-color: var(--red);
}

.calc-result {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  display: none;
}
.calc-result.show { display: block; }
.calc-result.risk-low { background: #e8f5e9; border: 2px solid #4caf50; }
.calc-result.risk-medium { background: #fff8e1; border: 2px solid #ffc107; }
.calc-result.risk-high { background: #fce4ec; border: 2px solid var(--red); }
.calc-result.risk-extreme { background: #f3e5f5; border: 2px solid #9c27b0; }

.result-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.risk-low .result-title { color: #2e7d32; }
.risk-medium .result-title { color: #e65100; }
.risk-high .result-title { color: var(--red); }
.risk-extreme .result-title { color: #6a1b9a; }

.result-text { font-size: 0.97rem; color: var(--grey-700); margin-bottom: 1rem; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #122040);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 620px; margin: 0.9rem auto 0; font-size: 1.08rem; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--red-light); }

/* ---- Tables ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.info-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
}
.info-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--grey-200);
  color: var(--grey-700);
}
.info-table tr:nth-child(even) td { background: var(--grey-100); }
.info-table tr:hover td { background: rgba(192,57,43,0.05); }

/* ---- Tags / Badges ---- */
.tag {
  display: inline-block;
  background: rgba(192,57,43,0.1);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-navy { background: rgba(10,22,40,0.08); color: var(--navy); }
.tag-green { background: rgba(76,175,80,0.12); color: #2e7d32; }

/* ---- Warning Box ---- */
.warning-box {
  background: #fff8e1;
  border: 2px solid #ffc107;
  border-left: 5px solid #ff9800;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.warning-box strong { color: #e65100; }

.info-box {
  background: #e3f2fd;
  border: 2px solid #90caf9;
  border-left: 5px solid #1976d2;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.success-box {
  background: #e8f5e9;
  border: 2px solid #a5d6a7;
  border-left: 5px solid #4caf50;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

/* ---- Two Col Layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-3-2 { grid-template-columns: 3fr 2fr; }

/* ---- List Styled ---- */
.check-list { display: flex; flex-direction: column; gap: 0.65rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.97rem;
  color: var(--grey-700);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(192,57,43,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0392B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #a93226 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--grey-100); }

/* ---- Footer ---- */
.site-footer {
  background: #06101f;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

.disclaimer-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1.5rem;
  line-height: 1.6;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* ---- 404 ---- */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.error-num {
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 900;
  color: var(--grey-200);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ---- Mobile Nav ---- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.3rem;
    overflow-y: auto;
    z-index: 998;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .nav-phone { font-size: 0.82rem; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col-3-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .section { padding: 3.5rem 0; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.font-bold { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Pulse animation for urgency ---- */
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pulse-btn {
  position: relative;
}
.pulse-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--red);
  animation: pulse-ring 1.8s ease-out infinite;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  z-index: 9999;
  transition: width 0.1s linear;
}
