/* ============================================================
   NEW HAVEN ELDERLY SERVICES — Main Stylesheet
   ============================================================ */

/* Google Fonts imported via HTML */

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --primary-navy: #000062;
  --secondary-orange: #FCA01C;
  --white: #FFFFFF;
  --dark-navy: #040E60;
  --soft-blue: #61649D;
  --light-bg: #F7ECE0;
  --soft-orange: #E0A65A;
  --text-dark: #111827;

  --shadow-xs: 0 1px 4px rgba(0,0,98,0.06);
  --shadow-sm: 0 2px 12px rgba(0,0,98,0.09);
  --shadow-md: 0 6px 28px rgba(0,0,98,0.14);
  --shadow-lg: 0 12px 48px rgba(0,0,98,0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: color 0.3s cubic-bezier(0.4,0,0.2,1),
                background-color 0.3s cubic-bezier(0.4,0,0.2,1),
                border-color 0.3s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.3s cubic-bezier(0.4,0,0.2,1),
                transform 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.78;
}

.lead {
  font-size: 1.15rem;
  color: #4b5563;
  line-height: 1.8;
}

strong { font-weight: 700; }

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

.section {
  padding: 72px 0;
}

.section--sm {
  padding: 44px 0;
}

.section--lg {
  padding: 88px 0;
}

.section--navy {
  background: var(--primary-navy);
}

.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy p,
.section--navy .lead {
  color: var(--white);
}

.section--dark-navy {
  background: var(--dark-navy);
}

.section--cream {
  background: var(--light-bg);
}

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--secondary-orange);
  margin-bottom: 14px;
}

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

.section-header p {
  margin-top: 18px;
  font-size: 1.08rem;
  color: #4b5563;
}

.section--navy .section-header p,
.section--dark-navy .section-header p {
  color: rgba(255,255,255,0.78);
}

.section--navy .section-header h2,
.section--dark-navy .section-header h2 {
  color: var(--white);
}

/* Grid */
.grid {
  display: grid;
  gap: 28px;
}

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

/* Flex utilities */
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s ease;
}

.btn:hover::after {
  background: rgba(255,255,255,0.08);
}

.btn--primary {
  background: var(--secondary-orange);
  color: var(--primary-navy);
  border-color: var(--secondary-orange);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #e8910e;
  border-color: #e8910e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(252,160,28,0.38);
  color: var(--primary-navy);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}

.btn--outline-white:hover,
.btn--outline-white:focus-visible {
  background: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-navy {
  background: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn--outline-navy:hover,
.btn--outline-navy:focus-visible {
  background: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--primary-navy);
  color: var(--white);
  border-color: var(--primary-navy);
}

.btn--navy:hover,
.btn--navy:focus-visible {
  background: var(--dark-navy);
  border-color: var(--dark-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,98,0.32);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.82rem;
}

.btn--call-now {
  background: rgba(255,255,255,0.72);
  color: var(--primary-navy);
  border-color: rgba(0,0,98,0.12);
  gap: 7px;
}

.btn--call-now svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn--call-now:hover,
.btn--call-now:focus-visible {
  background: var(--secondary-orange);
  color: var(--primary-navy);
  border-color: var(--secondary-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252,160,28,0.35);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-group--center {
  justify-content: center;
}

/* ===========================
   ACCESSIBILITY
   =========================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 20px;
  background: var(--secondary-orange);
  color: var(--primary-navy);
  padding: 12px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary-navy);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--secondary-orange);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  padding: 8px 0;
  background: rgba(247,236,224,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,98,0.08);
}

.header.scrolled,
.header.header--solid {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 32px rgba(0,0,98,0.12);
  padding: 6px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo img {
  height: 64px;
  max-width: 320px;
  width: auto;
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(0,0,98,0.84);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.025em;
  position: relative;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--secondary-orange);
  background: rgba(252,160,28,0.12);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger:hover {
  background: rgba(0,0,98,0.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--primary-navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.mobile-nav__close:hover {
  background: rgba(255,255,255,0.2);
}

.mobile-nav__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  padding: 13px 40px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--secondary-orange);
  background: rgba(252,160,28,0.1);
}

.mobile-nav__divider {
  width: 80%;
  max-width: 340px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 8px 0;
}

.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin-top: 12px;
}

.mobile-nav__cta .btn {
  width: 100%;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0,0,98,0.93) 0%,
    rgba(4,14,96,0.84) 38%,
    rgba(0,0,98,0.58) 62%,
    rgba(0,0,98,0.18) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 138px 0 90px;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 26px;
}

.hero h1 .accent {
  color: var(--secondary-orange);
}

.hero__sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.86);
  margin-bottom: 44px;
  max-width: 590px;
  line-height: 1.78;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2.8s ease-in-out infinite;
}

.hero__scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* Page Hero (interior pages) */
.page-hero {
  background: var(--primary-navy);
  padding: 112px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}

.page-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(252,160,28,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  margin: 14px 0;
}

.page-hero .lead {
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   STATS STRIP
   =========================== */
.stats-strip {
  background: var(--dark-navy);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

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

.stat__number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--secondary-orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ===========================
   SERVICE CARDS
   =========================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,98,0.07);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,98,0.12);
}

.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
  width: 58px;
  height: 58px;
  background: rgba(252,160,28,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--secondary-orange);
}

.service-card:hover .service-card__icon svg {
  color: var(--primary-navy);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary-orange);
  transition: color 0.3s ease;
}

.service-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.93rem;
  color: #6b7280;
  flex-grow: 1;
  line-height: 1.68;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--secondary-orange);
  transition: var(--transition);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.card-link:hover {
  color: var(--primary-navy);
}

.card-link:hover svg { transform: translateX(4px); }

/* ===========================
   WHY CHOOSE US (Reason Cards)
   =========================== */
.reason-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,98,0.07);
  transition: var(--transition);
}

.reason-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.reason-card__icon {
  width: 50px;
  height: 50px;
  background: rgba(252,160,28,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--secondary-orange);
}

.reason-card h3 {
  font-size: 1.02rem;
  margin-bottom: 7px;
}

.reason-card p {
  font-size: 0.91rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ===========================
   SPLIT / FEATURE HIGHLIGHT
   =========================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.split__image {
  position: relative;
  overflow: hidden;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  outline: 1px solid rgba(0, 0, 0, 0.1);
}

.split__image:hover img { transform: scale(1.04); }

.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 64px 56px;
}

.split--navy .split__content {
  background: var(--primary-navy);
}

.split--navy .split__content h2,
.split--navy .split__content h3 {
  color: var(--white);
}

.split--navy .split__content p {
  color: rgba(255,255,255,0.8);
}

.split--cream .split__content {
  background: var(--light-bg);
}

.split--navy .split__content .section-label {
  text-align: left;
}

.split__checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.split__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}

.split--cream .split__checklist li {
  color: var(--text-dark);
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--secondary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon svg {
  width: 11px;
  height: 11px;
  color: var(--primary-navy);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-5px);
}

.testimonial-card__stars {
  color: var(--secondary-orange);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__quote-mark {
  font-size: 3.5rem;
  color: rgba(252,160,28,0.4);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: -10px;
}

.testimonial-card__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.78;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--secondary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary-navy);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
}

.testimonial-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* ===========================
   TESTIMONIAL CAROUSEL
   =========================== */
.testimonial-carousel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-carousel__track {
  position: relative;
  min-height: 280px;
}

.testimonial-carousel__track .testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.52s cubic-bezier(0.4,0,0.2,1), transform 0.52s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

.testimonial-carousel__track .testimonial-card.tc-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-carousel__track .testimonial-card.tc-exit {
  opacity: 0;
  transform: translateX(-32px);
}

.testimonial-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--secondary-orange);
  border-color: var(--secondary-orange);
  color: var(--primary-navy);
  transform: scale(1.08);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: var(--secondary-orange);
  transform: scale(1.2);
  width: 26px;
  border-radius: 5px;
}

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,98,0.1);
}

.faq-item:first-child { border-top: 1px solid rgba(0,0,98,0.1); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--primary-navy);
  transition: color 0.2s ease;
}

.faq-trigger:hover,
.faq-trigger[aria-expanded="true"] {
  color: var(--secondary-orange);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(252,160,28,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  color: var(--secondary-orange);
  transition: transform 0.35s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  background: var(--secondary-orange);
}

.faq-trigger[aria-expanded="true"] .faq-icon svg {
  color: var(--primary-navy);
  transform: rotate(180deg);
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1);
}

.faq-panel.open { max-height: 800px; }

.faq-panel__inner {
  padding-bottom: 26px;
}

.faq-panel p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.78;
}

/* ===========================
   CONTACT FORM
   =========================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 0.035em;
}

.form-label .req {
  color: var(--secondary-orange);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 14px 18px;
  border: 1.5px solid rgba(0,0,98,0.18);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(0,0,98,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
  border-color: #ef4444;
}

.form-input.is-error:focus,
.form-select.is-error:focus,
.form-textarea.is-error:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.form-error-msg {
  font-size: 0.8rem;
  color: #ef4444;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  display: none;
}

.form-input.is-error ~ .form-error-msg,
.form-select.is-error ~ .form-error-msg,
.form-textarea.is-error ~ .form-error-msg {
  display: block;
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23000062'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 48px;
  cursor: pointer;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-md);
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: #10b981;
  margin: 0 auto 16px;
}

.form-success h3 {
  color: #065f46;
  margin-bottom: 10px;
}

.form-success p {
  color: #047857;
}

/* ===========================
   CONTACT INFO CARDS
   =========================== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,98,0.07);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(252,160,28,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.contact-card:hover .contact-card__icon {
  background: var(--secondary-orange);
}

.contact-card:hover .contact-card__icon svg {
  color: var(--primary-navy);
}

.contact-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary-orange);
  transition: color 0.3s ease;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 0.97rem;
  color: #4b5563;
  line-height: 1.6;
}

.contact-card a:hover { color: var(--secondary-orange); }

/* ===========================
   CAREERS
   =========================== */
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,98,0.07);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(252,160,28,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.benefit-card:hover .benefit-card__icon {
  background: var(--secondary-orange);
}

.benefit-card:hover .benefit-card__icon svg {
  color: var(--primary-navy);
}

.benefit-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary-orange);
  transition: color 0.3s ease;
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 9px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ===========================
   AFL STEPS
   =========================== */
.step-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,98,0.07);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary-orange);
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ===========================
   ABOUT VALUE CARDS
   =========================== */
.value-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary-orange);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(252,160,28,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--secondary-orange);
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.68;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(252,160,28,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ===========================
   SERVICE AREA TAGS
   =========================== */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tag {
  padding: 7px 16px;
  background: rgba(0,0,98,0.06);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-navy);
  border: 1px solid rgba(0,0,98,0.12);
  transition: var(--transition);
}

.area-tag:hover {
  background: rgba(252,160,28,0.1);
  border-color: var(--secondary-orange);
  color: var(--secondary-orange);
}

/* ===========================
   SERVICE DETAIL (services page)
   =========================== */
.service-detail-section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(0,0,98,0.08);
}

.service-detail-section:last-child { border-bottom: none; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.service-detail--reverse .service-detail__image { order: 2; }
.service-detail--reverse .service-detail__body { order: 1; }

.service-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  outline: 1px solid rgba(0, 0, 0, 0.1);
}

.service-detail__image:hover img { transform: scale(1.04); }

.service-detail__body .section-label { text-align: left; }
.service-detail__body h2 { margin-bottom: 14px; }
.service-detail__body p { margin-bottom: 20px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: #374151;
  line-height: 1.6;
}

.feature-list li .check-icon {
  margin-top: 3px;
}

/* ===========================
   MAP PLACEHOLDER
   =========================== */
.map-placeholder {
  height: 380px;
  background: rgba(0,0,98,0.04);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 2px dashed rgba(0,0,98,0.14);
}

.map-placeholder svg {
  width: 52px;
  height: 52px;
  color: var(--soft-blue);
  opacity: 0.6;
}

.map-placeholder p {
  color: var(--soft-blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
}

.map-embed {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  outline: 1px solid rgba(0, 0, 0, 0.08);
  background: #e5e7eb;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: linear-gradient(180deg, #f8efe5 0%, #f6eadb 100%);
  border-top: 1px solid rgba(0,0,98,0.08);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 52px;
  padding: 72px 0 52px;
}

.footer__top > * {
  min-width: 0;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo img {
  height: 108px;
  max-width: 420px;
  width: auto;
}

.footer__tagline {
  font-size: 0.92rem;
  color: rgba(17,24,39,0.76);
  line-height: 1.75;
  margin-bottom: 28px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(0,0,98,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(0,0,98,0.72);
}

.footer__social a:hover {
  background: var(--secondary-orange);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  color: var(--primary-navy);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(17,24,39,0.72);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__links a:hover { color: var(--secondary-orange); padding-left: 4px; }

.footer__links a::before {
  content: '›';
  color: var(--secondary-orange);
  font-size: 1.1rem;
  line-height: 1;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: rgba(17,24,39,0.72);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-item a {
  color: rgba(17,24,39,0.72);
  transition: color 0.2s ease;
}

.footer__contact-item a:hover { color: var(--secondary-orange); }

.footer__bottom {
  border-top: 1px solid rgba(0,0,98,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.83rem;
  color: rgba(17,24,39,0.58);
}

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 0.83rem;
  color: rgba(17,24,39,0.58);
  transition: color 0.2s ease;
}

.footer__legal a:hover { color: var(--secondary-orange); }

/* ===========================
   ANIMATIONS & KEYFRAMES
   =========================== */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(9px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===========================
   RESPONSIVE — Tablet (≤1100px)
   =========================== */
@media (max-width: 1100px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand,
  .footer__col:last-child {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__image {
    height: 340px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-detail--reverse .service-detail__image { order: 0; }
  .service-detail--reverse .service-detail__body { order: 0; }

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

  .stat {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-bottom: none; }
}

/* ===========================
   RESPONSIVE — Mobile (≤768px)
   =========================== */
@media (max-width: 768px) {
  .nav,
  .header__actions .btn:not(.hamburger) {
    display: none;
  }

  .hamburger { display: flex; }

  .header {
    padding: 6px 0;
  }

  .header.scrolled,
  .header.header--solid {
    padding: 4px 0;
  }

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

  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 48px 0 36px;
  }

  .footer__brand,
  .footer__col:last-child {
    grid-column: 1 / -1;
  }

  .footer__brand {
    text-align: center;
  }

  .footer__logo {
    margin-bottom: 16px;
  }

  .footer__logo a {
    display: inline-block;
  }

  .footer__logo img {
    height: 80px;
    max-width: min(100%, 280px);
    margin-inline: auto;
  }

  .footer__tagline {
    margin-bottom: 20px;
    font-size: 0.9rem;
  }

  .footer__social {
    justify-content: center;
    gap: 12px;
  }

  .footer__social a {
    width: 44px;
    height: 44px;
  }

  .footer__col {
    padding-top: 4px;
  }

  .footer__col:not(:last-child) {
    border-top: 1px solid rgba(0, 0, 98, 0.08);
    padding-top: 24px;
  }

  .footer__col h4 {
    margin-bottom: 14px;
    font-size: 0.8rem;
  }

  .footer__links a {
    min-height: 44px;
    padding: 4px 0;
  }

  .footer__contact-item {
    gap: 12px;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer__contact-item a,
  .footer__contact-item span {
    flex: 1;
    min-width: 0;
  }

  .footer__col .btn {
    display: flex;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 20px 0 28px;
  }

  .footer__copy,
  .footer__credit {
    width: 100%;
    max-width: 22rem;
    line-height: 1.5;
  }

  .footer__legal {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .footer__legal a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero__cta { flex-direction: column; align-items: flex-start; }

  .section { padding: 48px 0; }
  .section--lg { padding: 60px 0; }
  .cta-section { padding: 52px 0; }

  .split__content { padding: 40px 28px; }

  .page-hero { padding: 104px 0 52px; }

  .btn-group { flex-direction: column; align-items: center; }

  .stats-strip { padding: 36px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   RESPONSIVE — Small (≤480px)
   =========================== */
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .hero h1 { font-size: 1.85rem; }

  .container { padding: 0 18px; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 32px;
  }

  .footer__brand,
  .footer__col:last-child {
    grid-column: auto;
  }

  .footer__col:not(:last-child) {
    border-top: none;
    padding-top: 0;
  }

  .footer__col + .footer__col:not(:last-child) {
    border-top: 1px solid rgba(0, 0, 98, 0.08);
    padding-top: 24px;
  }

  .footer__logo img {
    height: 72px;
  }

  .footer__copy {
    font-size: 0.78rem;
  }
}

/* ===========================
   REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===========================
   UTILITIES
   =========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-orange { color: var(--secondary-orange); }
.text-navy { color: var(--primary-navy); }
.text-white { color: var(--white) !important; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.w-full { width: 100%; }
.max-w-lg { max-width: 680px; margin-left: auto; margin-right: auto; }
.highlight-text { color: var(--secondary-orange); }

/* Divider accent line */
.section-divider {
  width: 56px;
  height: 4px;
  background: var(--secondary-orange);
  border-radius: 2px;
  margin: 18px auto;
}

.section-divider--left {
  margin-left: 0;
  margin-right: auto;
}

/* Image banner */
.img-banner {
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
}

.img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.img-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,98,0.35);
}

/* Intro paragraph block */
.intro-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* Highlight box */
.highlight-box {
  background: rgba(252,160,28,0.08);
  border-left: 4px solid var(--secondary-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  font-size: 1rem;
  color: var(--text-dark);
  margin: 0;
}

/* Two col text layout */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col-text { grid-template-columns: 1fr; }
}

/* Inline icon list */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: #374151;
}

.icon-list li svg {
  width: 20px;
  height: 20px;
  color: var(--secondary-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Orange section divider */
.orange-rule {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-orange), var(--soft-orange), transparent);
}

/* ===========================
   CONTACT PAGE GRID
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===========================
   SERVICE CARD CENTER (AFL)
   =========================== */
.service-card--center {
  grid-column: 2;
}

@media (max-width: 1024px) {
  .service-card--center {
    grid-column: auto;
  }
}

/* ===========================
   SPLIT SECTION MOBILE
   =========================== */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split__image {
    height: 300px;
    min-height: 0;
  }

  .split__content {
    padding: 44px 28px;
  }
}

/* ===========================
   PAGE HERO RESPONSIVE
   =========================== */
@media (max-width: 640px) {
  .page-hero {
    padding: 120px 0 48px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }
}

/* ===========================
   STATS — 4-across fix
   =========================== */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .stat:nth-child(2n) {
    border-right: none;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: none;
  }
}

/* ===========================
   FOOTER RESPONSIVE — medium
   =========================== */
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 56px 0 44px;
  }

  .footer__brand,
  .footer__col:last-child {
    grid-column: 1 / -1;
  }
}

/* Service detail section responsive */
@media (max-width: 860px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail--reverse .service-detail__image {
    order: 0;
  }

  .service-detail--reverse .service-detail__body {
    order: 0;
  }

  .service-detail__image {
    aspect-ratio: 16/9;
  }
}

/* Grid 3 — tablet fallback */
@media (max-width: 900px) and (min-width: 601px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Header logo scaling */
@media (max-width: 480px) {
  .header__logo img {
    height: 48px;
  }

  .hero__content {
    padding: 116px 0 72px;
  }
}

/* Button group stacking */
@media (max-width: 540px) {
  .btn-group:not(.btn-group--center) {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-group--center {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================
   UI POLISH ENHANCEMENTS
   =========================== */

/* Footer Arsenal Computing credit */
.footer__credit {
  font-size: 0.8rem;
  color: rgba(17,24,39,0.56);
  margin-bottom: 0;
}

.footer__credit a {
  color: rgba(0,0,98,0.78);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__credit a:hover {
  color: var(--secondary-orange);
  text-decoration: underline;
}

/* Hero depth */
.hero h1 {
  text-shadow: 0 2px 28px rgba(0,0,30,0.25);
}

.hero__sub {
  color: rgba(255,255,255,0.92);
}

/* Service cards — stronger lift */
.service-card {
  padding: 40px 32px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 60px rgba(0,0,98,0.18);
}

/* Primary button — warm glow on hover */
.btn--primary:hover {
  box-shadow: 0 12px 36px rgba(252,160,28,0.45);
}

/* Stats strip — richer gradient */
.stats-strip {
  background: linear-gradient(140deg, #030d58 0%, var(--dark-navy) 50%, #020a50 100%);
}

/* Testimonial card — subtle top accent */
.testimonial-card {
  border-top: 2px solid rgba(252,160,28,0.2);
}

/* Reason card — icon turns orange on hover */
.reason-card:hover .reason-card__icon {
  background: var(--secondary-orange);
}

.reason-card:hover .reason-card__icon svg {
  color: var(--primary-navy);
}

/* Section label dot accent */
.section-label::before {
  content: none;
}

/* Page hero gradient depth */
.page-hero {
  background: linear-gradient(135deg, #020b4e 0%, var(--primary-navy) 55%, #040e60 100%);
}

/* Benefit and value card hover lift */
.benefit-card:hover,
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,98,0.13);
}

/* Step card subtle shadow */
.step-card {
  box-shadow: 0 4px 20px rgba(0,0,98,0.07);
}

.step-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,98,0.13);
  transform: translateY(-4px);
}

/* Reason card transition */
.reason-card {
  transition: var(--transition), box-shadow 0.25s ease;
}

.reason-card:hover {
  box-shadow: 0 14px 40px rgba(0,0,98,0.13);
  transform: translateY(-5px);
}
