/* ============================================================
   ASTON REACH — Main Stylesheet
   Colours: Navy #10235a, Red #be1221, White #fff, Light #f5f7fb
   Fonts: Montserrat (headings), Roboto Slab (body)
   ============================================================ */

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

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

:root {
  --navy:   #10235a;
  --red:    #be1221;
  --red-dk: #8f0a19;
  --white:  #ffffff;
  --light:  #f5f7fb;
  --mid:    #e8ecf5;
  --text:   #2c2c2c;
  --muted:  #5a6070;
  --border: #dde3ef;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Roboto Slab', serif;
  --max-w: 1160px;
  --section-pad: 80px 24px;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(16,35,90,.10);
  --shadow-hover: 0 8px 40px rgba(16,35,90,.18);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dk); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

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

.eyebrow {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}

.rule {
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 16px 0 28px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-bottom: 3px solid var(--red-dk);
}
.btn-primary:hover {
  background: var(--red-dk);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

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

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-bottom: 3px solid var(--mid);
}
.btn-white:hover {
  background: var(--light);
  color: var(--navy);
  transform: translateY(-1px);
}

/* ---------- NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(16,35,90,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0 18px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-link .caret {
  font-size: .6rem;
  transition: transform var(--transition);
}

.nav-item:hover .caret {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.dropdown a:last-child { border-bottom: none; }

.dropdown a:hover {
  background: var(--light);
  color: var(--red);
  padding-left: 26px;
}

.nav-cta {
  margin-left: 16px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, #162f8a 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 85%, #060d2a 0%, transparent 55%);
}

.hero-red-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--red);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-text .eyebrow { color: var(--red); }

.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-text p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-image img {
  max-height: 460px;
  filter: drop-shadow(-20px 0 40px rgba(6,13,42,.8));
}

/* Hero with page title (inner pages) */
.page-hero {
  background: var(--navy);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 10% 50%, #162f8a 0%, transparent 60%);
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--red);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 28px;
}

/* ---------- SECTIONS ---------- */
.section { padding: var(--section-pad); }
.section-light { background: var(--light); }
.section-navy { background: var(--navy); }
.section-mid { background: var(--mid); }

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

.section-header .rule {
  margin: 16px auto 28px;
}

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

/* ---------- CARDS ---------- */
.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--red);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 12px; color: var(--navy); }
.card p { font-size: .95rem; }

/* Card with top border accent */
.card-accent { border-top: 4px solid var(--red); }
.card-accent-navy { border-top: 4px solid var(--navy); }

/* ---------- ILLUSTRATION SECTIONS ---------- */
.illus-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.illus-split.reverse { direction: rtl; }
.illus-split.reverse > * { direction: ltr; }

.illus-split img {
  border-radius: 8px;
}

.illus-text h2 { margin-bottom: 12px; }
.illus-text .rule { margin: 16px 0 24px; }
.illus-text p { font-size: 1rem; margin-bottom: 20px; }

/* ---------- STAT CALLOUTS ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.stat-card {
  background: var(--white);
  border-radius: 8px;
  padding: 20px 24px;
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
}

.stat-card.navy-top { border-top-color: var(--navy); }

.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- TESTIMONIAL ---------- */
.testimonial-block {
  background: var(--navy);
  border-left: 6px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 36px 40px;
  position: relative;
}

.testimonial-block::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  color: rgba(255,255,255,.12);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.testimonial-block blockquote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-block cite {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--red);
  font-style: normal;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, #162f8a 0%, transparent 70%);
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.65); margin-bottom: 32px; font-size: 1.05rem; }

/* ---------- CASE STUDY ---------- */
.case-study {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}

.case-study-header {
  background: var(--navy);
  padding: 36px 40px;
  position: relative;
}

.case-study-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}

.case-type-tag {
  display: inline-block;
  background: rgba(190,18,33,.15);
  color: #ff6b7a;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(190,18,33,.3);
}

.case-study-header h2 {
  color: var(--white);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  max-width: 700px;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.case-stat {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  background: var(--light);
}

.case-stat:last-child { border-right: none; }

.case-stat-num {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.case-stat-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.case-study-body {
  padding: 40px;
}

.case-section { margin-bottom: 32px; }
.case-section:last-child { margin-bottom: 0; }
.case-section h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.case-section p { font-size: .95rem; margin-bottom: .75rem; }

/* ---------- VALUES GRID ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--light);
  border-radius: 8px;
  padding: 28px 28px 28px 32px;
  border-left: 4px solid var(--red);
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.value-card p { font-size: .92rem; }

/* ---------- TEAM ---------- */
.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-initials {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,.3);
}

.team-info {
  padding: 28px;
}

.team-info h3 { margin-bottom: 4px; }
.team-info .team-role {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

/* ---------- CONTACT FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 12px; }
.contact-info .rule { margin: 16px 0 24px; }
.contact-info p { font-size: .95rem; margin-bottom: 24px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 1rem;
}

.contact-detail-text {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-detail-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  margin-bottom: 24px;
  color: var(--navy);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

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

.form-note {
  font-family: var(--font-head);
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success h3 { color: var(--navy); margin-bottom: 8px; }
.form-success p { font-size: .95rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul { }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--red); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: var(--font-head);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,.4);
  font-family: var(--font-head);
  font-size: .75rem;
}

.footer-bottom a:hover { color: var(--red); }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  background: var(--mid);
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .75rem;
  color: var(--muted);
}

.breadcrumb-inner a { color: var(--navy); }
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner .sep { color: var(--border); }

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--border);
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}

.process-step h4 { margin-bottom: 8px; font-size: .95rem; }
.process-step p { font-size: .88rem; }

/* ---------- MOBILE MENU ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
    padding-bottom: 40px;
  }

  .nav-menu.open { display: flex; }

  .nav-link {
    height: auto;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    border-left: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--red);
    margin-left: 24px;
  }

  .nav-cta { margin: 16px 24px 0; }

  .hero-content { grid-template-columns: 1fr; }
  .hero-image { display: none; }

  .illus-split { grid-template-columns: 1fr; }
  .illus-split.reverse { direction: ltr; }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }

  .stats-row { grid-template-columns: 1fr; }
  .case-study-stats { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}

@media (max-width: 600px) {
  :root { --section-pad: 56px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-content { padding: 56px 20px; }
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-red { color: var(--red) !important; }
.text-navy { color: var(--navy) !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp .6s ease forwards;
}

.fade-up.delay-1 { animation-delay: .1s; }
.fade-up.delay-2 { animation-delay: .2s; }
.fade-up.delay-3 { animation-delay: .3s; }
.fade-up.delay-4 { animation-delay: .4s; }

/* ---------- FULL-WIDTH BACKGROUND HERO ---------- */
.hero-bg {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Gradient overlay: dark navy left (text area) fading right */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(16,35,90,0.75) 0%,
    rgba(16,35,90,0.55) 35%,
    rgba(16,35,90,0.25) 65%,
    rgba(16,35,90,0.05) 100%
  );
  z-index: 1;
}

.hero-bg .hero-red-bar {
  z-index: 3;
}

.hero-bg .hero-content {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr; /* text only — image is the background */
  max-width: 860px;
}

.hero-bg .hero-text {
  max-width: 640px;
}

/* Page hero with background image */
.page-hero-bg {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 88px 24px 72px;
  overflow: hidden;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(16,35,90,0.93) 0%,
    rgba(16,35,90,0.82) 40%,
    rgba(16,35,90,0.50) 70%,
    rgba(16,35,90,0.25) 100%
  );
  z-index: 1;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: #be1221;
  z-index: 3;
}

.page-hero-bg .page-hero-inner {
  position: relative;
  z-index: 2;
}

/* Mobile: shift gradient to top-to-bottom for narrow screens */
@media (max-width: 768px) {
  .hero-bg::before {
    background: linear-gradient(
      to bottom,
      rgba(16,35,90,0.95) 0%,
      rgba(16,35,90,0.85) 50%,
      rgba(16,35,90,0.60) 100%
    );
  }
  .page-hero-bg::before {
    background: linear-gradient(
      to bottom,
      rgba(16,35,90,0.95) 0%,
      rgba(16,35,90,0.80) 100%
    );
  }
  .hero-bg {
    min-height: 480px;
    background-position: center top;
  }
  .page-hero-bg {
    background-position: center top;
  }
}

/* REF 12: White background on all illustration images */
.illus-split img,
.card img,
.section img:not(.nav-logo img):not(.footer-brand img) {
  background: #ffffff;
}

/* REF 9 (Ref 28 equivalent): Footer logo white on dark background */
.footer-brand img {
  filter: brightness(0) invert(1);
  height: 40px;
  width: auto;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  font-family: var(--font-head);
  font-size: .82rem;
}
.cookie-banner p { color: rgba(255,255,255,.8); font-size:.82rem; margin:0; }
.cookie-banner a { color: var(--red); }
.cookie-banner-btns { display:flex; gap:12px; flex-shrink:0; }
.cookie-accept {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.3);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
@media(max-width:600px){
  .cookie-banner { flex-direction:column; align-items:flex-start; }
}

/* Testimonial Slider */
.testimonial-slider { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonial-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.testimonial-btn:hover {
  background: var(--red);
  color: var(--white);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.testimonial-dot.active {
  background: var(--red);
}
