/* ==========================================================================
   Careers Unlimited Insurance — Modern redesign
   Brand anchors: maroon #800000 · navy · professional blue
   ========================================================================== */

:root {
  --maroon: #7a0010;
  --maroon-deep: #5c000c;
  --maroon-soft: #9a1a28;
  --navy: #0f1b2d;
  --navy-mid: #1a2a42;
  --navy-soft: #243652;
  --blue: #1a5fd4;
  --blue-soft: #e8f0fc;
  --cream: #f7f4f0;
  --cream-deep: #efe9e1;
  --sand: #e6ddd2;
  --text: #1c2430;
  --text-muted: #5a6575;
  --text-light: #8a93a0;
  --white: #ffffff;
  --border: rgba(15, 27, 45, 0.08);
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.04), 0 4px 12px rgba(15, 27, 45, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 27, 45, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1140px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* Utilities --------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.7;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(122, 0, 16, 0.28);
}

.btn-primary:hover {
  background: var(--maroon-deep);
  box-shadow: 0 8px 22px rgba(122, 0, 16, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(15, 27, 45, 0.16);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding-inline: 0.75rem;
}

.btn-ghost:hover {
  color: var(--maroon);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* Top bar ----------------------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  padding: 0.55rem 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.topbar a {
  color: var(--white);
  font-weight: 600;
  transition: color 0.2s;
}

.topbar a:hover {
  color: #f0c4c8;
}

.topbar-left,
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(15, 27, 45, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 2.35rem;
  padding: 0 0.4rem;
  border: 2px solid var(--maroon);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--maroon);
  line-height: 1;
}

.logo-text {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo-text span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.logo-fallback {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo-fallback span {
  display: block;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

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

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-mid);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--maroon);
  background: rgba(122, 0, 16, 0.05);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-mid);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--maroon);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  color: var(--navy);
}

.menu-toggle:hover {
  background: var(--cream);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(122, 0, 16, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(26, 95, 212, 0.06), transparent 50%),
    linear-gradient(165deg, #faf8f5 0%, var(--cream) 45%, #f3ebe3 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}

.hero-badge-dot {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-soft));
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--maroon);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.path-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(122, 0, 16, 0.15);
}

.path-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.path-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.path-card .link {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

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

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

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--navy);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(15, 27, 45, 0.75) 100%
  );
}

.hero-card-caption {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  color: var(--white);
}

.hero-card-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
  margin-bottom: 0.25rem;
}

.hero-card-caption span {
  font-size: 0.88rem;
  opacity: 0.85;
}

.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: float 6s ease-in-out infinite;
}

.hero-float-stat {
  top: 8%;
  left: -8%;
  max-width: 160px;
}

.hero-float-trust {
  bottom: 12%;
  right: -6%;
  max-width: 190px;
  animation-delay: -2.5s;
}

.hero-float .num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--maroon);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-float .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.35;
  font-weight: 500;
}

.hero-float-trust .stars {
  color: #d4a017;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Stats ------------------------------------------------------------------- */
.stats {
  background: var(--navy);
  color: var(--white);
  padding: 2.75rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(122, 0, 16, 0.35), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(26, 95, 212, 0.18), transparent 40%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 0.5rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-value span {
  color: #f0a8b0;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* Services ---------------------------------------------------------------- */
.services-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  background: var(--cream);
  color: var(--maroon);
}

.service-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.15rem;
}

.service-card .link {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

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

/* About band -------------------------------------------------------------- */
.about-band {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text);
  font-weight: 500;
}

.check {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--maroon);
  color: white;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}

.check svg {
  width: 0.75rem;
  height: 0.75rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Testimonials ------------------------------------------------------------ */
.testimonials-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.testimonials-header .section-label {
  justify-content: center;
}

.testimonials-header .section-label::before {
  display: none;
}

.testimonials-header .section-lead {
  margin-inline: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.35rem;
}

.testimonial-quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 0.6;
  color: var(--maroon);
  display: block;
  margin-bottom: 0.65rem;
  opacity: 0.7;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.cta-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #2a1840 100%);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 0, 16, 0.45), transparent 70%);
  top: -80px;
  right: -40px;
  pointer-events: none;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 30rem;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  justify-content: flex-end;
}

.cta-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  margin-top: 1rem;
  position: relative;
  grid-column: 2;
  justify-self: end;
}

.cta-phone span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.cta-phone a {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 550;
  color: var(--white);
  letter-spacing: -0.01em;
}

.cta-phone a:hover {
  color: #f0c4c8;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.75rem;
  font-size: 0.92rem;
}

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

.logo-on-dark .logo-mark {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.logo-on-dark .logo-text {
  color: var(--white);
}

.logo-on-dark .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  max-width: 16rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile nav -------------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 27, 45, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 340px);
  height: 100%;
  background: var(--white);
  padding: 1.25rem 1.35rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--navy);
}

.mobile-nav-close:hover {
  background: var(--cream);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-links a {
  padding: 0.85rem 0.75rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 10px;
  font-size: 1.05rem;
}

.mobile-nav-links a:hover {
  background: var(--cream);
  color: var(--maroon);
}

.mobile-nav-links .sub {
  padding-left: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-nav-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Reveal animation -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
    order: -1;
  }

  .hero-float-stat {
    left: -4%;
  }

  .hero-float-trust {
    right: -2%;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-visual {
    max-width: 520px;
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .cta-phone {
    grid-column: 1;
    align-items: flex-start;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .nav,
  .header-cta .btn-secondary {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
  }
}

@media (max-width: 600px) {
  .hero-paths {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-float {
    display: none;
  }

  .topbar-right {
    display: none;
  }

  .header-cta .btn-primary {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

/* Page hero (inner pages) ------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(122, 0, 16, 0.08), transparent 50%),
    linear-gradient(165deg, #faf8f5 0%, var(--cream) 100%);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-bottom: 1px solid var(--border);
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a:hover {
  color: var(--maroon);
}

.page-hero .breadcrumb span[aria-hidden] {
  opacity: 0.4;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 40rem;
  line-height: 1.7;
}

/* Prose content ----------------------------------------------------------- */
.prose {
  max-width: 42rem;
}

.prose p {
  margin-bottom: 1.15rem;
  color: var(--text);
  line-height: 1.75;
}

.prose p.muted,
.prose .muted {
  color: var(--text-muted);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 550;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 0.6rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem 1.15rem;
  color: var(--text);
}

.prose li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
  list-style: disc;
}

.prose strong {
  color: var(--navy);
  font-weight: 650;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.content-grid.flip {
  grid-template-columns: 0.85fr 1.4fr;
}

.content-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.aside-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.aside-card p,
.aside-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.aside-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.aside-card .btn {
  width: 100%;
}

.aside-card + .aside-card {
  margin-top: 1rem;
}

.figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}

.figure img {
  width: 100%;
  height: auto;
  display: block;
}

.figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--cream);
}

/* Team cards -------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.team-card-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
}

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

.team-card-photo img[src*="marc"] {
  object-position: center center;
}

.team-card-body {
  padding: 1.5rem 1.4rem 1.65rem;
}

.team-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 550;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--maroon);
  margin-bottom: 1rem;
}

.team-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

/* Story layout ------------------------------------------------------------ */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

.story-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-gallery .figure {
  margin: 0;
}

/* Forms ------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 550;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-card .form-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

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

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(15, 27, 45, 0.14);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(122, 0, 16, 0.45);
  box-shadow: 0 0 0 3px rgba(122, 0, 16, 0.1);
}

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

.field-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.35rem;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.form-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Feature list / checklist ------------------------------------------------ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  list-style: none;
}

/* Contact cards ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-card .role {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--maroon);
  margin-bottom: 1rem;
}

.contact-card dl {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.contact-card dt {
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.contact-card dd {
  color: var(--text);
  margin-bottom: 0.35rem;
}

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

/* Job board empty state --------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--white);
  border: 1px dashed rgba(15, 27, 45, 0.15);
  border-radius: var(--radius);
}

.empty-state h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0.75rem 0 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

/* Pill list --------------------------------------------------------------- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.pill {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* Two-col services -------------------------------------------------------- */
.service-list {
  display: grid;
  gap: 1.15rem;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-row h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.service-row p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Price note -------------------------------------------------------------- */
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
}

/* Reviews expanded -------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Responsive inner pages -------------------------------------------------- */
@media (max-width: 900px) {
  .content-grid,
  .content-grid.flip,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .content-aside {
    position: static;
  }

  .team-grid,
  .contact-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .service-row {
    grid-template-columns: auto 1fr;
  }

  .service-row .btn {
    grid-column: 2;
    justify-self: start;
  }
}

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-float,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
