/*
Theme Name: Laurel Bay DSO
Author: Asher Sinclair
Description: Clean, fully wp-admin-editable theme for the Laurel Bay Dental Support Organization site. Built on a real WordPress content model (ACF PRO + core Posts), no WPConvert runtime. Design system preserved from the original authored stylesheet.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laurel-bay-dso
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, full-width-template
*/

/* Fonts are enqueued via inc/enqueue.php (preconnect + display=swap). No @import here. */

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */

/* =====================================================
   Art direction: Dental Support Organization → trusted, institutional, doctor-first
   Palette: Navy primary (#082f68), teal accent (#008898), gold highlight (#e49a00) — pulled from Laurel Bay logo
   Typography: Cormorant Garamond display (prestigious, warm serif) + Inter body (clinical clarity)
   Density: spacious editorial — DSO sites need breathing room to feel premium
   ===================================================== */

:root,
[data-theme='light'] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Brand colors from Laurel Bay logo */
  --navy: #082f68;
  --navy-dark: #061d3f;
  --navy-mid: #0b3d78;
  --teal: #008898;
  --teal-light: #23a6ad;
  --teal-dark: #007b89;
  --gold: #e49a00;
  --gold-light: #e8b24c;

  --color-bg: #f7f8f7;
  --color-surface: #ffffff;
  --color-surface-2: #eff3f4;
  --color-surface-offset: #e7ecee;
  --color-divider: rgba(13, 47, 83, 0.12);
  --color-border: rgba(13, 47, 83, 0.12);

  --color-text: #16253a;
  --color-text-muted: #657184;
  --color-text-faint: #98a4b3;
  --color-text-inverse: #f7f8f7;

  --color-primary: var(--navy);
  --color-primary-hover: var(--navy-dark);
  --color-accent: var(--teal);
  --color-accent-hover: var(--teal-dark);
  --color-gold: var(--gold);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px oklch(0.2 0.03 240 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.2 0.03 240 / 0.1);
  --shadow-lg: 0 12px 40px oklch(0.2 0.03 240 / 0.14);

  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
}

[data-theme='dark'] {
  --color-bg: #071524;
  --color-surface: #0b1d31;
  --color-surface-2: #10263f;
  --color-surface-offset: #142b48;
  --color-divider: rgba(255, 255, 255, 0.1);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text: #ecf3fa;
  --color-text-muted: #aab8c8;
  --color-text-faint: #6a7d92;
  --color-text-inverse: #071524;
  --color-primary: #4a8fc2;
  --color-primary-hover: #6aaad8;
  --color-accent: #23a6ad;
  --color-accent-hover: #3fb8be;
  --color-gold: #e8b24c;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.38);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #071524;
    --color-surface: #0b1d31;
    --color-surface-2: #10263f;
    --color-surface-offset: #142b48;
    --color-divider: rgba(255, 255, 255, 0.1);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-text: #ecf3fa;
    --color-text-muted: #aab8c8;
    --color-text-faint: #6a7d92;
    --color-text-inverse: #071524;
    --color-primary: #4a8fc2;
    --color-primary-hover: #6aaad8;
    --color-accent: #23a6ad;
    --color-accent-hover: #3fb8be;
    --color-gold: #e8b24c;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.15;
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  transform: translateY(-100%);
  left: var(--space-4);
  top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ===== UTILITY ===== */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--default {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-dark);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--teal);
  color: #fff;
}
.btn-accent:hover {
  background: var(--teal-dark);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost-white {
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(1 0 0 / 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid oklch(0.3 0.02 250 / 0.1);
}
[data-theme='dark'] .site-header {
  background: oklch(0.13 0.03 240 / 0.6);
  border-bottom-color: oklch(0.8 0.01 220 / 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: var(--space-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.nav-logo img {
  height: 72px;
  width: auto;
  transition: filter var(--transition-interactive);
}
.site-header .container {
  padding-inline: var(--space-4) var(--space-6);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
}
.nav-links a {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive);
}
.nav-links a:hover {
  color: var(--navy);
  background: var(--color-surface-2);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive);
}
.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
  gap: var(--space-1);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu ul,
.mobile-menu li {
  display: contents;
}
.mobile-menu a {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive);
}
.mobile-menu a:hover {
  background: var(--color-surface-2);
  color: var(--navy);
}
.mobile-menu .mobile-cta {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  min-height: 88vh;
  display: grid;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    oklch(0.12 0.06 240 / 0.92) 0%,
    oklch(0.14 0.05 240 / 0.75) 55%,
    oklch(0.16 0.04 240 / 0.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
}
.hero-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-16);
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-eyebrow-text {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.hero-eyebrow-line {
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--teal-light);
  opacity: 0.6;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1rem + 5vw, 5.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: normal;
  color: oklch(0.85 0.08 185);
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(220, 230, 245, 0.82);
  line-height: 1.65;
  margin-bottom: var(--space-10);
  max-width: 56ch;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
}
.hero-stat {
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(220, 230, 245, 0.65);
  margin-top: var(--space-1);
  font-weight: 500;
}

/* HERO APPOINTMENT CARD */
/* HERO MEDIA — static image or background video (client feedback round 2).
   Video renders full-bleed with a navy gradient scrim so the white heading
   stays readable; the contact card sits on top as a glass panel. */
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg--video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    oklch(0.12 0.06 240 / 0.88) 0%,
    oklch(0.14 0.05 240 / 0.55) 55%,
    oklch(0.16 0.04 240 / 0.28) 100%
  );
}
.hero-card {
  background: oklch(1 0 0 / 0.6);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid oklch(1 0 0 / 0.5);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px oklch(0.9 0 0 / 0.06);
}
[data-theme='dark'] .hero-card {
  background: oklch(0.2 0.045 240 / 0.5);
  border-color: oklch(1 0 0 / 0.14);
}
[data-theme='dark'] .hero-card h2 {
  color: var(--color-text);
}
[data-theme='dark'] .hero-card p {
  color: var(--color-text-muted);
}
.hero-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.hero-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px oklch(from var(--teal) l c h / 0.15);
  outline: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  gap: var(--space-4);
}
.form-success-icon {
  width: 56px;
  height: 56px;
  background: oklch(from var(--teal) l c h / 0.12);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
}
.form-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 30ch;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding-block: var(--space-6);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-16), 10vw, var(--space-24));
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-item-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
}
.trust-item-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  line-height: 1.3;
  max-width: 18ch;
  white-space: normal;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

/* ===== MISSION SECTION ===== */
.mission {
  background: var(--color-surface);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}
.mission-img {
  position: sticky;
  top: 6rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.mission-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mission-img:hover img {
  transform: scale(1.03);
}
.mission-text .tag {
  margin-bottom: var(--space-5);
}
.mission-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
[data-theme='dark'] .mission-text h2 {
  color: var(--color-text);
}
.mission-text p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.mission-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.mission-value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.mission-value-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}
.mission-value h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.mission-value p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== WHAT WE OFFER (SUPPORT SERVICES) ===== */
.services {
  background: var(--color-bg);
}
.section-header {
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}
.section-header .tag {
  margin-bottom: var(--space-5);
}
.section-header h2,
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
[data-theme='dark'] .section-header h2,
[data-theme='dark'] .section-title {
  color: var(--color-text);
}
.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-top: var(--space-5);
  font-weight: 300;
  line-height: 1.65;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition:
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.service-icon {
  width: 44px;
  height: 44px;
  color: var(--teal);
  margin-bottom: var(--space-5);
}
.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== PARTNERSHIP PATHS ===== */
.partnership {
  background: var(--color-bg);
}
.partnership-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1px;
}
.partnership-tab {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition:
    color var(--transition-interactive),
    border-color var(--transition-interactive);
  min-height: 44px;
}
.partnership-tab.active {
  color: var(--navy);
  border-bottom-color: var(--teal);
}
[data-theme='dark'] .partnership-tab.active {
  color: var(--color-accent);
}
.partnership-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: center;
}
.partnership-panel.active {
  display: grid;
}
.partnership-panel img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.partnership-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
[data-theme='dark'] .partnership-content h3 {
  color: var(--color-text);
}
.partnership-content p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
}
.partnership-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.partnership-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 1px;
}

/* ===== SUPPORT PILLARS (HOW WE SUPPORT) ===== */
.pillars {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 58%, #064c5a 120%);
  color: #fff;
  overflow: hidden;
}
.pillars::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 152, 0.16), transparent 70%);
  right: -120px;
  top: -160px;
  pointer-events: none;
}
.pillars .container {
  position: relative;
  z-index: 1;
}
.pillars .section-header h2 {
  color: #fff;
}
.pillars .section-header p {
  color: rgba(220, 230, 245, 0.72);
}
.pillars .tag {
  color: rgba(100, 220, 225, 0.9);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--space-6);
}
.pillar-card {
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: background var(--transition-interactive);
}
.pillar-card:hover {
  background: oklch(1 0 0 / 0.08);
}
.pillar-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw, 4.5rem);
  font-weight: 600;
  color: oklch(1 0 0 / 0.1);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.pillar-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
  letter-spacing: 0.01em;
}
.pillar-card p {
  font-size: var(--text-sm);
  color: rgba(220, 230, 245, 0.68);
  line-height: 1.7;
}
.pillar-icon {
  color: var(--teal-light);
  margin-bottom: var(--space-4);
  width: 36px;
  height: 36px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--color-bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  color: var(--gold);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text);
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: oklch(from var(--teal) l c h / 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== LEADERSHIP ===== */
.leadership {
  background: var(--color-surface);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-8);
}
.leader-card {
  display: flex;
  flex-direction: column;
}
.leader-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-2);
  margin-bottom: var(--space-5);
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.leader-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-surface-2) 0%,
    oklch(from var(--teal) l c h / 0.08) 100%
  );
}
.leader-initial {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: oklch(from var(--teal) l c h / 0.4);
}
.leader-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-1);
}
[data-theme='dark'] .leader-name {
  color: var(--color-text);
}
.leader-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.leader-bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== CAREERS ===== */
.careers {
  background: var(--color-bg);
}
.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: start;
}
.careers-text {
  position: sticky;
  top: 6rem;
}
.careers-text .tag {
  margin-bottom: var(--space-5);
}
.careers-text h2 {
  margin-bottom: var(--space-6);
}
.careers-text p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.careers-text p:last-of-type {
  margin-bottom: var(--space-10);
}
.careers-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.careers-benefits__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.careers-benefits__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.careers-actions {
  margin-top: var(--space-6);
  text-align: right;
}
.job-listings {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  transition:
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive);
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: oklch(from var(--teal) l c h / 0.3);
}
.job-card-info h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.job-badge {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  font-weight: 500;
}
.job-badge.type {
  background: oklch(from var(--teal) l c h / 0.1);
  color: var(--teal);
}
.job-arrow {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition:
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    color var(--transition-interactive);
}
.job-card:hover .job-arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--color-bg);
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.cta-band-inner {
  position: relative;
  overflow: hidden;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 55px) clamp(26px, 5vw, 58px);
  border-radius: 28px;
  background: linear-gradient(115deg, #078b9b, #0a5d75 45%, #0a2f65);
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-10);
}
.cta-band-inner::before,
.cta-band-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.cta-band-inner::before {
  width: 520px;
  height: 180px;
  right: -80px;
  bottom: -115px;
  transform: rotate(-7deg);
}
.cta-band-inner::after {
  width: 420px;
  height: 140px;
  right: 60px;
  bottom: -106px;
  transform: rotate(5deg);
}
.cta-band h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.75rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
}
.cta-band p {
  position: relative;
  z-index: 1;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.78);
  max-width: 690px;
  margin: 0;
  font-weight: 300;
  line-height: 1.65;
}
.cta-band-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.cta-band .btn--on-teal {
  background: #fff;
  color: var(--navy);
}
.cta-band .btn--on-teal:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

/* ===== NEWS ===== */
.news {
  background: var(--color-surface);
}
.news-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.news-header--split h2 {
  margin-top: var(--space-4);
}
.news-header--split .btn {
  flex-shrink: 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
  background: var(--color-surface);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.news-card-img {
  display: block;
  aspect-ratio: 16/9;
  background: var(--color-surface-2);
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.04);
}
.news-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.news-cat {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  flex: 1;
}
.news-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.news-read {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--space-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.footer-brand {
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.footer-logo img {
  height: 48px;
  opacity: 0.95;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
}
.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-5);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col ul a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}
.footer-col ul a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}
.footer-legal {
  display: flex;
  gap: var(--space-6);
}
.footer-legal li {
  display: contents;
}
.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-fast);
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    max-width: 700px;
  }
  .hero-card {
    max-width: 500px;
  }
  .hero-stats {
    gap: var(--space-6);
  }
  .partnership-panel.active {
    grid-template-columns: 1fr;
  }
  .partnership-panel img {
    max-height: 300px;
  }
  .careers-grid {
    grid-template-columns: 1fr;
  }
  .careers-text {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .mission-img {
    order: -1;
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-6);
  }
  .trust-bar-inner {
    gap: var(--space-6);
  }
  .trust-divider {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-band-inner {
    grid-template-columns: 1fr;
    padding: 38px 26px;
    border-radius: 22px;
  }
  .cta-band-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
  .hero-ctas {
    flex-direction: column;
  }
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* NAV SCROLL EFFECT */
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* COUNTER ANIMATION */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.count-animated {
  animation: countUp 0.5s ease both;
}

/* =====================================================
   Blog / single / archive / search / 404 (Task 10)
   New to the rebuild — the original export was a single landing page with
   no blog. Built entirely from existing tokens, no new colours/fonts.
   ===================================================== */
.page-header {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
  background: var(--color-surface-2);
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}
[data-theme='dark'] .page-header h1 {
  color: var(--color-text);
}
.page-header p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.post-grid-section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.article {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.article-header {
  margin-bottom: var(--space-8);
}
.article-cat {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: var(--space-3);
}
[data-theme='dark'] .article-header h1 {
  color: var(--color-text);
}
.article-meta {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
.article-thumb {
  margin: var(--space-8) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-thumb img {
  width: 100%;
  height: auto;
}
.article-content {
  color: var(--color-text);
  line-height: 1.75;
  font-size: var(--text-base);
  max-width: var(--content-narrow);
}
.article-content p {
  margin-bottom: var(--space-6);
}
.article-content h2,
.article-content h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
}
.article-content h2 {
  font-size: var(--text-xl);
  margin: var(--space-10) 0 var(--space-4);
}
.article-content h3 {
  font-size: var(--text-lg);
  margin: var(--space-8) 0 var(--space-3);
}
[data-theme='dark'] .article-content h2,
[data-theme='dark'] .article-content h3 {
  color: var(--color-text);
}
.article-content a {
  color: var(--teal);
  text-decoration: underline;
}
.article-content img {
  border-radius: var(--radius-md);
  margin-block: var(--space-6);
}
.article-content ul,
.article-content ol {
  margin: 0 0 var(--space-6) var(--space-6);
}
.article-content blockquote {
  border-left: 3px solid var(--teal);
  padding-left: var(--space-4);
  color: var(--color-text-muted);
  font-style: italic;
  margin: var(--space-6) 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.pagination .current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.pagination a:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.search-form-wrap {
  max-width: var(--content-narrow);
  margin-inline: auto;
  display: flex;
  gap: var(--space-3);
}
.search-form-wrap input[type='search'] {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
}
.error-404 {
  text-align: center;
}
.error-404__heading {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}
.error-404__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.news-empty {
  padding: var(--space-16) 0;
  text-align: center;
  color: var(--color-text-muted);
}
.hero-form-fallback .form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  margin-top: var(--space-3);
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  clip: auto !important;
  clip-path: none;
  color: var(--color-text);
  display: block;
  font-size: var(--text-sm);
  height: auto;
  left: 5px;
  line-height: normal;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ===== CONTACT FORM 7 (Task 13) — reuse .form-group/.hero-card styling ===== */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7 .form-group input.wpcf7-form-control,
.wpcf7 .form-group select.wpcf7-form-control {
  width: 100%;
}
.wpcf7-not-valid-tip {
  display: block;
  font-size: var(--text-xs);
  color: #b3261e;
  margin-top: var(--space-1);
}
.wpcf7-response-output {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.wpcf7-mail-sent-ok {
  border-color: var(--teal);
  color: var(--teal-dark);
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  border-color: #b3261e;
  color: #b3261e;
}
.wpcf7-spinner {
  margin: 0 0 0 var(--space-2);
}

/* ===== CONTACT MODAL ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.contact-modal.open {
  display: flex;
}
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.1 0.03 240 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: oklch(1 0 0 / 0.9);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid oklch(1 0 0 / 0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
  margin-block: auto;
}
[data-theme='dark'] .contact-modal-panel {
  background: oklch(0.18 0.04 240 / 0.85);
  border-color: oklch(1 0 0 / 0.14);
  color: var(--color-text);
}
.contact-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: background var(--transition-interactive), color var(--transition-interactive);
}
.contact-modal-close:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.contact-modal-panel h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-2);
  padding-right: var(--space-8);
}
[data-theme='dark'] .contact-modal-panel h2 {
  color: var(--color-text);
}
.contact-modal-panel > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.contact-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-10) var(--space-4);
}
.contact-modal-success .form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: oklch(from var(--teal) l c h / 0.14);
  color: var(--teal);
  margin-bottom: var(--space-5);
}
.contact-modal-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.contact-modal-success p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
