/* Global Theme Variables */

:root {
  /* Primary Color Palette */
  --color-1: rgba(26, 27, 31, 1);
  --color-2: rgba(var(--color-white-rgb), 1);
  --color-3: rgba(244, 244, 244, 0.91);
  --color-4: rgba(45, 46, 50, 1);

  /* Theme Specific Colors */
  --color-logo-bg: #e8e8e8;
  --color-nav-bg: #1a3d2c;
  --color-nav-text: var(--color-white);
  --color-cta-bg: #1a3d2c;
  --color-cta-text: var(--color-white);
  --color-cta-icon: #0b3d2c;           /* Icon color for white circle (needs contrast) */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-white-rgb: 255, 255, 255;
  --color-black-rgb: 0, 0, 0;
  --color-primary-rgb: 26, 61, 44;
  --color-accent-rgb: 216, 239, 231;
  --color-text-dark-rgb: 36, 43, 41;

  /* Semantic Color Names (for easier component reuse) */
  --color-primary: #1a3d2c;        /* Dark green */
  --color-primary-dark: #0f2819;   /* Darker green for hover states */
  --color-primary-light: #e8f5f1;  /* Light green for backgrounds */
  --color-accent: #d8efe7;
  --color-primary-soft: var(--color-primary);
  --color-primary-soft-dark: var(--color-primary-dark);
  --color-cream: #eef6f3;
  --color-dotted: var(--color-primary);
  --color-background-dark: #2d2e32; /* Dark gray */
  --color-background-light: #f9f9f9; /* Light gray background */
  --color-text-dark: #242b29;      /* Dark text */
  --color-text: var(--color-text-dark);
  --color-text-strong: var(--color-text-dark);
  --color-text-muted: #666666;     /* Muted text */
  --color-text-light: var(--color-white);     /* White text */
  --color-text-inverse: var(--color-white);
  --color-border: #e0e0e0;         /* Border color */
  --color-surface: var(--color-white);
  --color-surface-muted: #eef6f3;
  --color-surface-subtle: #f9f9f9;
  --hero-surface: var(--color-white);
  --hero-surface-muted: var(--color-surface-subtle);
  --hero-form-surface: var(--color-surface);
  --hero-accent: var(--color-primary);
  --hero-field-label: var(--color-text-strong);
  --hero-field-text: var(--color-text-dark);
  --hero-field-border: color-mix(in srgb, var(--color-primary) 34%, var(--color-surface));
  --hero-field-focus-border: var(--color-primary);
  --site6-accent-surface: var(--color-primary-light);
  --site6-accent-surface-soft: var(--color-surface-subtle);
  --site6-accent-surface-muted: var(--color-surface-muted);
  --site6-accent-line: var(--color-primary-light);
  --site6-accent-line-strong: var(--color-primary);
  --site6-warm-accent: #f0d1a8;
  --site6-warm-accent-strong: #d7b37f;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --color-success-bg: #d4edda;
  --color-success-text: #155724;
  --color-success-border: #c3e6cb;
  --color-error-bg: #f8d7da;
  --color-error-text: #721c24;
  --color-error-border: #f5c6cb;

  /* Typography */
  --font-family: Montserrat, "Montserrat Fallback", sans-serif;
  --font-family-display: var(--font-family);
  --font-size-base: 16px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* Heading Sizes - Consistent Hierarchy */
  --font-size-h1: 52px;
  --font-size-h2: 34px;
  --font-size-h3: 26px;
  --font-size-h4: 24px;
  --font-size-h5: 18px;
  --font-size-h6: 16px;

  /* Hero-specific heading sizes */
  --hero-heading-size: 52px;
  --hero-heading-size-tablet: 42px;
  --hero-heading-size-mobile: 32px;

  /* Section heading sizes (h2 used in component sections) */
  --section-heading-size: 34px;
  --section-heading-size-tablet: 30px;
  --section-heading-size-mobile: 25px;

  /* Subsection heading sizes (h3) */
  --subsection-heading-size: 26px;
  --subsection-heading-size-tablet: 24px;
  --subsection-heading-size-mobile: 21px;

  /* Eyebrow text (small text above headings) */
  --eyebrow-size: 14px;
  --eyebrow-weight: 600;
  --eyebrow-spacing: 2px;

  /* Body/description text */
  --section-body-size: 16px;
  --section-body-line-height: 1.6;

  /* Body Text */
  --font-size-body: 16px;
  --font-size-small: 14px;
  --line-height-body: 1.6;
  --line-height-heading: 1.2;

  /* Button Styles */
  --btn-border-width: 1px;
  --btn-border-radius: 50px;
  --btn-border-color: var(--color-1);
  --btn-bg-color: rgba(var(--color-black-rgb), 0);
  --btn-text-color: rgb(27, 27, 31);
  --btn-text-font-size: var(--font-size-body);
  --btn-text-font-weight: 400;
  --btn-hover-bg: rgb(65, 67, 69);
  --btn-hover-border-color: rgb(65, 67, 69);
  --btn-hover-text-color: var(--color-2);

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --spacing-2xl: 40px;
  --spacing-3xl: 60px;
  --content-width: 1180px;
  --page-gutter: 24px;
  --page-gutter-mobile: 16px;

  /* Transitions */
  --transition-speed: 0.3s;

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 50px;
  --radius-full: 100px;
  --card-radius: 8px;
  --panel-radius: 8px;
  --media-radius: 8px;
  --button-radius: 12px;
  --card-shadow: 0 10px 28px rgba(var(--color-text-dark-rgb), 0.08);
  --panel-shadow: 0 16px 36px rgba(var(--color-text-dark-rgb), 0.1);
  --button-bg: var(--color-cta-bg);
  --button-text: var(--color-cta-text);
  --button-border-color: var(--color-cta-bg);
  --button-hover-bg: var(--color-primary-dark);
  --button-hover-text: var(--color-text-light);
  --button-hover-border-color: var(--color-primary-dark);
  --button-shadow: 0 10px 24px rgba(var(--color-primary-rgb), 0.18);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);
  --button-min-height: 50px;
  --button-inline-padding: 22px;

  /* Breakpoints */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1200px;
}

.phone-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.phone-cta__icon svg {
  width: 1em;
  height: 1em;
}

.phone-cta__icon + span {
  margin-left: 0.45em;
}

/* ========================================
   SITE THEMES
   Each theme defines colors AND fonts
   Only these variables change per theme - spacing, shapes, etc. stay component-specific
   ======================================== */

/* Theme: Blue Corporate */
[data-site-theme="blue-corporate"] {
  /* Colors */
  --color-logo-bg: #ecf0f1;
  --color-nav-bg: #2c3e50;
  --color-nav-text: var(--color-white);
  --color-cta-bg: #256f9f;
  --color-cta-text: var(--color-white);
  --color-cta-icon: #102a43;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 44, 62, 80;
  --color-accent-rgb: 217, 237, 249;
  --color-text-dark-rgb: 44, 62, 80;
  --color-primary: #2c3e50;        /* Dark blue */
  --color-primary-dark: #1a252f;   /* Darker blue for hover */
  --color-primary-light: #ebf5fb;  /* Light blue background */
  --color-accent: #d9edf9;
  --color-primary-soft: #256f9f;
  --color-primary-soft-dark: var(--color-primary-dark);
  --color-cream: #eef7fc;
  --color-dotted: var(--color-primary);
  --color-background-dark: #34495e;
  --color-background-light: #f9f9f9;
  --color-text-dark: #2c3e50;
  --color-text: var(--color-text-dark);
  --color-text-strong: var(--color-text-dark);
  --color-text-muted: #7f8c8d;
  --color-text-light: var(--color-white);
  --color-text-inverse: var(--color-white);
  --color-border: #bdc3c7;
  --color-surface: var(--color-white);
  --color-surface-muted: #eef7fc;
  --color-surface-subtle: #f9fbfc;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #f9fbfc;
  --hero-form-surface: var(--color-white);
  --hero-accent: #256f9f;
  --hero-field-label: #102a43;
  --hero-field-text: #2c3e50;
  --hero-field-border: #bdd8eb;
  --hero-field-focus-border: #256f9f;
  --site6-accent-surface: #ebf5fb;
  --site6-accent-surface-soft: #f9fbfc;
  --site6-accent-surface-muted: #eef7fc;
  --site6-accent-line: #256f9f;
  --site6-accent-line-strong: #2c3e50;
  --site6-warm-accent: #3498db;
  --site6-warm-accent-strong: #256f9f;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #256f9f;
  --button-text: var(--color-white);
  --button-border-color: #256f9f;
  --button-hover-bg: #1a252f;
  --button-hover-text: var(--color-white);
  --button-hover-border-color: #1a252f;
  --button-shadow: 0 10px 24px rgba(var(--color-primary-rgb), 0.18);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);

  /* Typography */
  --font-family: 'Roboto', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Red Modern */
[data-site-theme="red-modern"] {
  /* Colors */
  --color-logo-bg: #fdf5e6;
  --color-nav-bg: #c0392b;
  --color-nav-text: var(--color-white);
  --color-cta-bg: #c0392b;
  --color-cta-text: var(--color-white);
  --color-cta-icon: #7f2719;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 192, 57, 43;
  --color-accent-rgb: 247, 214, 204;
  --color-text-dark-rgb: 44, 62, 80;
  --color-primary: #c0392b;        /* Deep red */
  --color-primary-dark: #922b21;   /* Darker red for hover */
  --color-primary-light: #fadbd8;  /* Light red background */
  --color-accent: #f7d6cc;
  --color-primary-soft: #c0392b;
  --color-primary-soft-dark: var(--color-primary-dark);
  --color-cream: #fdf0ed;
  --color-dotted: var(--color-primary);
  --color-background-dark: #7f2719;
  --color-background-light: #f9f9f9;
  --color-text-dark: #2c3e50;
  --color-text: var(--color-text-dark);
  --color-text-strong: var(--color-text-dark);
  --color-text-muted: #7b7d7d;
  --color-text-light: var(--color-white);
  --color-text-inverse: var(--color-white);
  --color-border: #e0e0e0;
  --color-surface: var(--color-white);
  --color-surface-muted: #fdf0ed;
  --color-surface-subtle: #fbf8f6;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #fbf8f6;
  --hero-form-surface: var(--color-white);
  --hero-accent: #c0392b;
  --hero-field-label: #2c1800;
  --hero-field-text: #2c3e50;
  --hero-field-border: #efc2b8;
  --hero-field-focus-border: #c0392b;
  --site6-accent-surface: #fadbd8;
  --site6-accent-surface-soft: #fbf8f6;
  --site6-accent-surface-muted: #fdf0ed;
  --site6-accent-line: #c0392b;
  --site6-accent-line-strong: #7f2719;
  --site6-warm-accent: #f39c12;
  --site6-warm-accent-strong: #b86f09;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #c0392b;
  --button-text: var(--color-white);
  --button-border-color: #c0392b;
  --button-hover-bg: #7f2719;
  --button-hover-text: var(--color-white);
  --button-hover-border-color: #7f2719;
  --button-shadow: 0 10px 24px rgba(var(--color-primary-rgb), 0.18);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);

  /* Typography */
  --font-family: 'Open Sans', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Purple Creative */
[data-site-theme="purple-creative"] {
  /* Colors */
  --color-logo-bg: #f5f0fa;
  --color-nav-bg: #8e44ad;
  --color-nav-text: var(--color-white);
  --color-cta-bg: #8e44ad;
  --color-cta-text: var(--color-white);
  --color-cta-icon: #321044;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 142, 68, 173;
  --color-accent-rgb: 234, 220, 241;
  --color-text-dark-rgb: 49, 16, 68;
  --color-primary: #8e44ad;        /* Purple */
  --color-primary-dark: #5b2b73;   /* Darker purple for hover */
  --color-primary-light: #f4ecf7;  /* Light purple background */
  --color-accent: #eadcf1;
  --color-primary-soft: #8e44ad;
  --color-primary-soft-dark: var(--color-primary-dark);
  --color-cream: #f5eef8;
  --color-dotted: var(--color-primary);
  --color-background-dark: #321044;
  --color-background-light: #f9f9f9;
  --color-text-dark: #321044;
  --color-text: var(--color-text-dark);
  --color-text-strong: var(--color-text-dark);
  --color-text-muted: #6d5f75;
  --color-text-light: var(--color-white);
  --color-text-inverse: var(--color-white);
  --color-border: #dfd4e8;
  --color-surface: var(--color-white);
  --color-surface-muted: #f5f0fa;
  --color-surface-subtle: #faf6fc;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #faf6fc;
  --hero-form-surface: var(--color-white);
  --hero-accent: #8e44ad;
  --hero-field-label: #321044;
  --hero-field-text: #321044;
  --hero-field-border: #dcc2e7;
  --hero-field-focus-border: #8e44ad;
  --site6-accent-surface: #f4ecf7;
  --site6-accent-surface-soft: #faf6fc;
  --site6-accent-surface-muted: #f5f0fa;
  --site6-accent-line: #8e44ad;
  --site6-accent-line-strong: #321044;
  --site6-warm-accent: #f1c40f;
  --site6-warm-accent-strong: #a78308;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #8e44ad;
  --button-text: var(--color-white);
  --button-border-color: #8e44ad;
  --button-hover-bg: #321044;
  --button-hover-text: var(--color-white);
  --button-hover-border-color: #321044;
  --button-shadow: 0 10px 24px rgba(var(--color-primary-rgb), 0.18);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);

  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 600;
}


/* Theme: Teal Professional */
[data-site-theme="teal-pro"] {
  /* Colors */
  --color-logo-bg: #e0f2f1;
  --color-nav-bg: #00796b;
  --color-nav-text: var(--color-white);
  --color-cta-bg: #00796b;
  --color-cta-text: var(--color-white);
  --color-cta-icon: #00352f;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 0, 121, 107;
  --color-accent-rgb: 201, 239, 234;
  --color-text-dark-rgb: 44, 62, 80;
  --color-primary: #00796b;        /* Teal */
  --color-primary-dark: #004d40;   /* Darker teal for hover */
  --color-primary-light: #e0f2f1;  /* Light teal background */
  --color-accent: #c9efea;
  --color-primary-soft: #00796b;
  --color-primary-soft-dark: var(--color-primary-dark);
  --color-cream: #eef9f7;
  --color-dotted: var(--color-primary);
  --color-background-dark: #004d40;
  --color-background-light: #f9f9f9;
  --color-text-dark: #2c3e50;
  --color-text: var(--color-text-dark);
  --color-text-strong: var(--color-text-dark);
  --color-text-muted: #78909c;
  --color-text-light: var(--color-white);
  --color-text-inverse: var(--color-white);
  --color-border: #e0e0e0;
  --color-surface: var(--color-white);
  --color-surface-muted: #eef9f7;
  --color-surface-subtle: #f6fbfa;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #f6fbfa;
  --hero-form-surface: var(--color-white);
  --hero-accent: #00796b;
  --hero-field-label: #00352f;
  --hero-field-text: #2c3e50;
  --hero-field-border: #b8ded9;
  --hero-field-focus-border: #00796b;
  --site6-accent-surface: #e0f2f1;
  --site6-accent-surface-soft: #f6fbfa;
  --site6-accent-surface-muted: #eef9f7;
  --site6-accent-line: #00796b;
  --site6-accent-line-strong: #004d40;
  --site6-warm-accent: #ffeb3b;
  --site6-warm-accent-strong: #c8b600;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #00796b;
  --button-text: var(--color-white);
  --button-border-color: #00796b;
  --button-hover-bg: #004d40;
  --button-hover-text: var(--color-white);
  --button-hover-border-color: #004d40;
  --button-shadow: 0 10px 24px rgba(var(--color-primary-rgb), 0.18);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);

  /* Typography */
  --font-family: 'Lato', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Clean Coral */
[data-site-theme="clean-coral"] {
  --color-logo-bg: #f2faf8;
  --color-nav-bg: #17252a;
  --color-nav-text: var(--color-white);
  --color-cta-bg: #b8472a;
  --color-cta-text: var(--color-white);
  --color-cta-icon: #17252a;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 17, 100, 102;
  --color-accent-rgb: 215, 240, 236;
  --color-text-dark-rgb: 31, 43, 45;
  --color-primary: #116466;
  --color-primary-dark: #0b3d3e;
  --color-primary-light: #e4f4f2;
  --color-accent: #d7f0ec;
  --color-primary-soft: #116466;
  --color-primary-soft-dark: #0b3d3e;
  --color-cream: #eef8f5;
  --color-dotted: #116466;
  --color-background-dark: #17252a;
  --color-background-light: #f7fbf9;
  --color-text-dark: #1f2b2d;
  --color-text: var(--color-text-dark);
  --color-text-strong: #17252a;
  --color-text-muted: #607174;
  --color-text-light: var(--color-white);
  --color-text-inverse: var(--color-white);
  --color-border: #d7e7e4;
  --color-surface: var(--color-white);
  --color-surface-muted: #eef8f5;
  --color-surface-subtle: #f7fbf9;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #f7fbf9;
  --hero-form-surface: var(--color-white);
  --hero-accent: #116466;
  --hero-field-label: #17252a;
  --hero-field-text: #1f2b2d;
  --hero-field-border: #beddd9;
  --hero-field-focus-border: #116466;
  --site6-accent-surface: #e4f4f2;
  --site6-accent-surface-soft: #f7fbf9;
  --site6-accent-surface-muted: #eef8f5;
  --site6-accent-line: #116466;
  --site6-accent-line-strong: #116466;
  --site6-warm-accent: #b8472a;
  --site6-warm-accent-strong: #95351f;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #b8472a;
  --button-text: var(--color-white);
  --button-border-color: #b8472a;
  --button-hover-bg: #17252a;
  --button-hover-text: var(--color-white);
  --button-hover-border-color: #17252a;
  --button-shadow: 0 10px 24px rgba(184, 71, 42, 0.2);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);
  --font-family: "Poppins", sans-serif;
  --font-family-display: "Montserrat", sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Exact imported palette for the site-3 Waterloo recipe. */
[data-site-theme="waterloo-earth"] {
  --color-primary: #1f4f38;
  --color-primary-rgb: 31, 79, 56;
  --color-accent-rgb: 146, 175, 59;
  --color-primary-dark: #163d2b;
  --color-primary-light: #eef4e3;
  --color-primary-soft: #1f4f38;
  --color-primary-soft-dark: #163d2b;
  --color-accent: #92af3b;
  --color-cream: #f4edd1;
  --color-cream-deep: #ebe2be;
  --color-background-dark: #1f4f38;
  --color-background-light: #f7f4ea;
  --color-text: #2f3a38;
  --color-text-dark: #2f3a38;
  --color-text-dark-rgb: 47, 58, 56;
  --color-text-strong: #35393f;
  --color-text-muted: #66706d;
  --color-text-light: #f7f4ea;
  --color-text-inverse: #f7f4ea;
  --color-border: rgba(143, 184, 95, 0.85);
  --color-dotted: #1f4f38;
  --color-surface: var(--color-white);
  --color-surface-muted: #f4edd1;
  --color-surface-subtle: #faf8f0;
  --color-nav-bg: #1f4f38;
  --color-nav-text: #f7f4ea;
  --color-cta-bg: #1f4f38;
  --color-cta-text: #f7f4ea;
  --color-cta-icon: #2f3a38;
  --font-family: "Nunito Sans", sans-serif;
  --font-family-display: "Montserrat", sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Graphite Gold */
[data-site-theme="graphite-gold"] {
  --color-logo-bg: #eef1f2;
  --color-nav-bg: #273036;
  --color-nav-text: #fffaf0;
  --color-cta-bg: #273036;
  --color-cta-text: #fffaf0;
  --color-cta-icon: #1f2528;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 39, 48, 54;
  --color-accent-rgb: 214, 168, 79;
  --color-text-dark-rgb: 31, 37, 40;
  --color-primary: #273036;
  --color-primary-dark: #171d21;
  --color-primary-light: #eef1f2;
  --color-accent: #d6a84f;
  --color-primary-soft: #273036;
  --color-primary-soft-dark: #171d21;
  --color-cream: #f5efe1;
  --color-dotted: #273036;
  --color-background-dark: #1f2528;
  --color-background-light: #f7f5ef;
  --color-text-dark: #1f2528;
  --color-text: var(--color-text-dark);
  --color-text-strong: #171d21;
  --color-text-muted: #657178;
  --color-text-light: #fffaf0;
  --color-text-inverse: #fffaf0;
  --color-border: #d6dde0;
  --color-surface: var(--color-white);
  --color-surface-muted: #f5efe1;
  --color-surface-subtle: #f9f8f4;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #f9f8f4;
  --hero-form-surface: var(--color-white);
  --hero-accent: #d6a84f;
  --hero-field-label: #171d21;
  --hero-field-text: #1f2528;
  --hero-field-border: #c9d1d5;
  --hero-field-focus-border: #d6a84f;
  --site6-accent-surface: #eef1f2;
  --site6-accent-surface-soft: #f9f8f4;
  --site6-accent-surface-muted: #f5efe1;
  --site6-accent-line: #d6a84f;
  --site6-accent-line-strong: #273036;
  --site6-warm-accent: #d6a84f;
  --site6-warm-accent-strong: #b7872f;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.13);
  --button-bg: #273036;
  --button-text: #fffaf0;
  --button-border-color: #273036;
  --button-hover-bg: #171d21;
  --button-hover-text: #fffaf0;
  --button-hover-border-color: #171d21;
  --button-shadow: 0 10px 24px rgba(var(--color-accent-rgb), 0.22);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);
  --font-family: "Inter", sans-serif;
  --font-family-display: "Montserrat", sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Coastal Clinic */
[data-site-theme="coastal-clinic"] {
  --color-logo-bg: #e7f5f7;
  --color-nav-bg: #155e75;
  --color-nav-text: #f4fbfb;
  --color-cta-bg: #155e75;
  --color-cta-text: #f4fbfb;
  --color-cta-icon: #082f37;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 21, 94, 117;
  --color-accent-rgb: 47, 183, 163;
  --color-text-dark-rgb: 23, 52, 59;
  --color-primary: #155e75;
  --color-primary-dark: #0c3f4f;
  --color-primary-light: #e7f5f7;
  --color-accent: #2fb7a3;
  --color-primary-soft: #155e75;
  --color-primary-soft-dark: #0c3f4f;
  --color-cream: #eef8f5;
  --color-dotted: #155e75;
  --color-background-dark: #0c3f4f;
  --color-background-light: #f5fbfb;
  --color-text-dark: #17343b;
  --color-text: var(--color-text-dark);
  --color-text-strong: #082f37;
  --color-text-muted: #55727a;
  --color-text-light: #f4fbfb;
  --color-text-inverse: #f4fbfb;
  --color-border: #cce5e8;
  --color-surface: var(--color-white);
  --color-surface-muted: #eef8f5;
  --color-surface-subtle: #f5fbfb;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #f5fbfb;
  --hero-form-surface: var(--color-white);
  --hero-accent: #2fb7a3;
  --hero-field-label: #082f37;
  --hero-field-text: #17343b;
  --hero-field-border: #bbdce2;
  --hero-field-focus-border: #155e75;
  --site6-accent-surface: #e7f5f7;
  --site6-accent-surface-soft: #f5fbfb;
  --site6-accent-surface-muted: #eef8f5;
  --site6-accent-line: #2fb7a3;
  --site6-accent-line-strong: #155e75;
  --site6-warm-accent: #2fb7a3;
  --site6-warm-accent-strong: #218f82;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.11);
  --button-bg: #155e75;
  --button-text: #f4fbfb;
  --button-border-color: #155e75;
  --button-hover-bg: #0c3f4f;
  --button-hover-text: #f4fbfb;
  --button-hover-border-color: #0c3f4f;
  --button-shadow: 0 10px 24px rgba(var(--color-accent-rgb), 0.2);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);
  --font-family: "Source Sans 3", sans-serif;
  --font-family-display: "Lato", sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Sage Editorial */
[data-site-theme="sage-editorial"] {
  --color-logo-bg: #eef4ec;
  --color-nav-bg: #496b4f;
  --color-nav-text: #fbf8ef;
  --color-cta-bg: #b65c3a;
  --color-cta-text: #fffaf4;
  --color-cta-icon: #3a2018;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 73, 107, 79;
  --color-accent-rgb: 223, 234, 221;
  --color-text-dark-rgb: 38, 53, 42;
  --color-primary: #496b4f;
  --color-primary-dark: #314936;
  --color-primary-light: #eef4ec;
  --color-accent: #dfeadd;
  --color-primary-soft: #496b4f;
  --color-primary-soft-dark: #314936;
  --color-cream: #eef4ec;
  --color-dotted: #496b4f;
  --color-background-dark: #314936;
  --color-background-light: #faf8f0;
  --color-text-dark: #26352a;
  --color-text: var(--color-text-dark);
  --color-text-strong: #1d2b21;
  --color-text-muted: #667568;
  --color-text-light: #fbf8ef;
  --color-text-inverse: #fbf8ef;
  --color-border: #d7e3d3;
  --color-surface: var(--color-white);
  --color-surface-muted: #eef4ec;
  --color-surface-subtle: #faf8f0;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #faf8f0;
  --hero-form-surface: var(--color-white);
  --hero-accent: #496b4f;
  --hero-field-label: #1d2b21;
  --hero-field-text: #26352a;
  --hero-field-border: #cbd9c6;
  --hero-field-focus-border: #496b4f;
  --site6-accent-surface: #eef4ec;
  --site6-accent-surface-soft: #faf8f0;
  --site6-accent-surface-muted: #eef4ec;
  --site6-accent-line: #496b4f;
  --site6-accent-line-strong: #496b4f;
  --site6-warm-accent: #b65c3a;
  --site6-warm-accent-strong: #91452a;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #b65c3a;
  --button-text: #fffaf4;
  --button-border-color: #b65c3a;
  --button-hover-bg: #314936;
  --button-hover-text: #fbf8ef;
  --button-hover-border-color: #314936;
  --button-shadow: 0 10px 24px rgba(var(--color-accent-rgb), 0.2);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);
  --font-family: "Nunito Sans", sans-serif;
  --font-family-display: "Merriweather", serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Civic Indigo */
[data-site-theme="civic-indigo"] {
  --color-logo-bg: #eef0fa;
  --color-nav-bg: #33437a;
  --color-nav-text: #f7f9ff;
  --color-cta-bg: #33437a;
  --color-cta-text: #f7f9ff;
  --color-cta-icon: #20263f;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 51, 67, 122;
  --color-accent-rgb: 199, 214, 79;
  --color-text-dark-rgb: 32, 38, 63;
  --color-primary: #33437a;
  --color-primary-dark: #202a52;
  --color-primary-light: #eef0fa;
  --color-accent: #c7d64f;
  --color-primary-soft: #33437a;
  --color-primary-soft-dark: #202a52;
  --color-cream: #f2f4d8;
  --color-dotted: #33437a;
  --color-background-dark: #202a52;
  --color-background-light: #f7f8fc;
  --color-text-dark: #20263f;
  --color-text: var(--color-text-dark);
  --color-text-strong: #161c33;
  --color-text-muted: #5f6888;
  --color-text-light: #f7f9ff;
  --color-text-inverse: #f7f9ff;
  --color-border: #d6dced;
  --color-surface: var(--color-white);
  --color-surface-muted: #f2f4d8;
  --color-surface-subtle: #f7f8fc;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #f7f8fc;
  --hero-form-surface: var(--color-white);
  --hero-accent: #c7d64f;
  --hero-field-label: #161c33;
  --hero-field-text: #20263f;
  --hero-field-border: #cbd2e8;
  --hero-field-focus-border: #33437a;
  --site6-accent-surface: #eef0fa;
  --site6-accent-surface-soft: #f7f8fc;
  --site6-accent-surface-muted: #f2f4d8;
  --site6-accent-line: #c7d64f;
  --site6-accent-line-strong: #33437a;
  --site6-warm-accent: #c7d64f;
  --site6-warm-accent-strong: #a9b734;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #33437a;
  --button-text: #f7f9ff;
  --button-border-color: #33437a;
  --button-hover-bg: #202a52;
  --button-hover-text: #f7f9ff;
  --button-hover-border-color: #202a52;
  --button-shadow: 0 10px 24px rgba(var(--color-accent-rgb), 0.22);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);
  --font-family: "Inter", sans-serif;
  --font-family-display: "Poppins", sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Rosewood Professional */
[data-site-theme="rosewood-professional"] {
  --color-logo-bg: #f8eaf0;
  --color-nav-bg: #6d273f;
  --color-nav-text: #fff7fa;
  --color-cta-bg: #6d273f;
  --color-cta-text: #fff7fa;
  --color-cta-icon: #26141b;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-rgb: 109, 39, 63;
  --color-accent-rgb: 121, 184, 169;
  --color-text-dark-rgb: 47, 34, 40;
  --color-primary: #6d273f;
  --color-primary-dark: #481a2a;
  --color-primary-light: #f8eaf0;
  --color-accent: #79b8a9;
  --color-primary-soft: #6d273f;
  --color-primary-soft-dark: #481a2a;
  --color-cream: #f3eee8;
  --color-dotted: #6d273f;
  --color-background-dark: #481a2a;
  --color-background-light: #fbf8f5;
  --color-text-dark: #2f2228;
  --color-text: var(--color-text-dark);
  --color-text-strong: #26141b;
  --color-text-muted: #765d66;
  --color-text-light: #fff7fa;
  --color-text-inverse: #fff7fa;
  --color-border: #ead2db;
  --color-surface: var(--color-white);
  --color-surface-muted: #f3eee8;
  --color-surface-subtle: #fbf8f5;
  --hero-surface: var(--color-white);
  --hero-surface-muted: #fbf8f5;
  --hero-form-surface: var(--color-white);
  --hero-accent: #79b8a9;
  --hero-field-label: #26141b;
  --hero-field-text: #2f2228;
  --hero-field-border: #e2c4cf;
  --hero-field-focus-border: #6d273f;
  --site6-accent-surface: #f8eaf0;
  --site6-accent-surface-soft: #fbf8f5;
  --site6-accent-surface-muted: #f3eee8;
  --site6-accent-line: #79b8a9;
  --site6-accent-line-strong: #6d273f;
  --site6-warm-accent: #79b8a9;
  --site6-warm-accent-strong: #579b8b;
  --site6-panel-shadow: rgba(var(--color-text-dark-rgb), 0.12);
  --button-bg: #6d273f;
  --button-text: #fff7fa;
  --button-border-color: #6d273f;
  --button-hover-bg: #481a2a;
  --button-hover-text: #fff7fa;
  --button-hover-border-color: #481a2a;
  --button-shadow: 0 10px 24px rgba(var(--color-accent-rgb), 0.2);
  --button-hover-shadow: 0 14px 30px rgba(var(--color-primary-rgb), 0.24);
  --font-family: "Lato", sans-serif;
  --font-family-display: "Playfair Display", serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-dark);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  line-height: 1.6;
}

.site-section-separator {
  height: clamp(24px, 3.4vw, 52px);
  background:
    linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.18), transparent) center / min(360px, 62vw) 1px no-repeat;
}

@media (max-width: 640px) {
  .site-section-separator {
    height: 24px;
    background-size: 180px 1px;
  }
}

/* Global Heading Styles - Consistent across all components */
h1, .h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin: 0 0 20px;
}

h2, .h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin: 0 0 16px;
}

h3, .h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin: 0 0 12px;
}

h4, .h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin: 0 0 10px;
}

h5, .h5 {
  font-size: var(--font-size-h5);
  font-weight: 600;
  line-height: var(--line-height-heading);
  margin: 0 0 8px;
}

h6, .h6 {
  font-size: var(--font-size-h6);
  font-weight: 600;
  line-height: var(--line-height-heading);
  margin: 0 0 8px;
}

/* Global Eyebrow Styles */
[class*="eyebrow"], .eyebrow {
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: var(--color-primary);
}

/* Global Description/Body Text */
[class*="description"], .description, [class*="body-text"] {
  font-size: var(--section-body-size);
  line-height: var(--section-body-line-height);
  color: var(--color-text-dark);
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-2xl);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: var(--btn-border-width) solid var(--btn-border-color);
  border-radius: var(--btn-border-radius);
  background: var(--btn-bg-color);
  color: var(--btn-text-color);
  font-size: var(--btn-text-font-size);
  font-weight: var(--btn-text-font-weight);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border-color);
  color: var(--btn-hover-text-color);
}

/* ========================================
   GLOBAL CTA BUTTON STYLES
   Use these classes for all CTAs to ensure consistency
   ======================================== */

.cta, .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  font-size: var(--font-size-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.cta:hover, .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--color-black-rgb), 0.15);
  opacity: 0.9;
}

.cta .cta-icon, .cta-button .cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
