/* ==========================================================================
   Autoquotes Design System & Stylesheet
   Brand: Autoquotes (autoquotes.us)
   Technology: Pure CSS3, Responsive, Accessible
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  --bg-primary: #FFFFFF;
  --bg-subtle: #F4FBF7;
  --bg-input: #F8FCFA;
  --bg-card: #FFFFFF;
  --bg-hover: #F1F5F9;

  --text-heading: #0F291E;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --brand-blue: #10B981;
  --brand-blue-hover: #059669;
  --brand-blue-light: #ECFDF5;
  --brand-blue-glow: rgba(16, 185, 129, 0.2);

  --accent-teal: #047857;
  --accent-teal-light: #D1FAE5;

  --border-color: #E2E8F0;
  --border-focus: #10B981;
  --border-subtle: #EDF2F7;

  --state-error: #DC2626;
  --state-error-bg: #FEF2F2;
  --state-error-border: #FCA5A5;
  --state-success: #059669;
  --state-success-bg: #ECFDF5;
  --state-success-border: #A7F3D0;
  --state-demo: #D97706;
  --state-demo-bg: #FFFBEB;
  --state-demo-border: #FDE68A;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px 0 rgba(16, 35, 63, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(16, 35, 63, 0.06), 0 2px 4px -2px rgba(16, 35, 63, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(16, 35, 63, 0.08), 0 4px 10px -2px rgba(16, 35, 63, 0.03);
  --shadow-elevated: 0 20px 40px -10px rgba(16, 35, 63, 0.12), 0 8px 16px -4px rgba(16, 35, 63, 0.04);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --container-max-width: 1200px;
  --header-height: 76px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  background-color: var(--bg-primary);
  color: var(--text-body);
  position: relative;
}

/* Accessible focus visible outlines */
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Skip link for screen readers and keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-blue);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 1000;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-body);
  word-break: break-word;
  overflow-wrap: break-word;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
  word-break: break-word;
}

a:hover {
  color: var(--brand-blue-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.9rem;
}

.section-eyebrow.teal {
  color: var(--accent-teal);
  background-color: var(--accent-teal-light);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  box-shadow: 0 1px 3px rgba(16, 35, 63, 0.02);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.main-nav {
  display: flex;
  align-items: center;
}

.mobile-menu-cta {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-heading);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-blue);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-heading);
}

.mobile-nav-toggle:hover {
  background-color: var(--bg-subtle);
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.22);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.32);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-heading);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #CBD5E1;
  color: var(--text-heading);
}

.btn-call {
  background-color: var(--brand-blue-light);
  color: var(--accent-teal);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.btn-call:hover {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.28);
  transform: translateY(-1px);
}

.btn-call svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.header-call-btn .call-text-mobile {
  display: none;
}

.btn-block {
  width: 100%;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  font-size: 1.05rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* Disabled button state */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* --- SECTION 1: HERO & QUOTE FORM --- */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(236, 253, 245, 0.75) 0%, rgba(255, 255, 255, 1) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 2.5rem;
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.hero-headline {
  margin-bottom: 1.2rem;
}

.hero-subhead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 1.75rem;
}

.hero-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-heading);
}

.check-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-photo-wrapper {
  margin-top: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  background-color: var(--bg-subtle);
}

.hero-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* --- Hero Quote Form Card --- */
.quote-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  padding: 2.25rem;
  position: relative;
}

.form-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.1rem;
}

.form-title {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Two-column Form Grid */
.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.col-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.required-mark {
  color: var(--brand-blue);
  margin-left: 2px;
}

.optional-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Form Inputs & Selects */
.form-input,
.form-select {
  height: 48px;
  padding: 0 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-heading);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  width: 100%;
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus,
.form-select:focus {
  background-color: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Inline Form Validation Error */
.form-group.has-error .form-input,
.form-group.has-error .form-select {
  border-color: var(--state-error);
  background-color: var(--state-error-bg);
}

.form-group.has-error .form-input:focus,
.form-group.has-error .form-select:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.field-error-message {
  color: var(--state-error);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.35rem;
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.form-group.has-error .field-error-message {
  display: flex;
}

/* Other vehicle make custom field (hidden by default) */
.custom-make-wrapper {
  margin-top: 0.65rem;
  display: none;
}

.custom-make-wrapper.visible {
  display: block;
}

/* Disclosures & Consent Area */
.disclosures-card,
.form-consent-box {
  grid-column: 1 / -1;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.consent-checkbox-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.consent-checkbox {
  width: 19px;
  height: 19px;
  border-radius: 4px;
  accent-color: var(--brand-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-label {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 0;
  cursor: pointer;
}

.consent-label a {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 500;
}

.consent-label a:hover {
  color: var(--brand-blue-hover);
}

.field-error-msg {
  display: block;
  grid-column: 1 / -1;
  color: var(--state-error);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Form Action Button */
.form-submit-wrapper,
.form-submit-wrap {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.form-submit-wrap .btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-spinner {
  display: none;
}

/* Status Banner / Feedback region */
.form-status-region {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.status-banner {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
}

.status-banner.visible {
  display: block;
}

.status-banner.demo {
  background-color: var(--state-demo-bg);
  border: 1px solid var(--state-demo-border);
  color: #92400E;
}

.status-banner.success {
  background-color: var(--state-success-bg);
  border: 1px solid var(--state-success-border);
  color: #065F46;
}

.status-banner.error {
  background-color: var(--state-error-bg);
  border: 1px solid var(--state-error-border);
  color: #991B1B;
}

.status-banner-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- SECTION 2: WHY AUTOQUOTES --- */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.why-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.why-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* --- SECTION 3: ABOUT AUTOQUOTES (ELEVATED & ATTRACTIVE) --- */
.about-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.about-header-wrap {
  margin-bottom: 1.5rem;
}

.about-lead-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.about-lead-text {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-heading);
  font-weight: 500;
  margin: 0;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about-pillar-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.about-pillar-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.about-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.about-pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.about-pillar-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background-color: var(--brand-blue-light);
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
}

.about-stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
}

.about-stat-label {
  font-size: 0.8rem;
  color: #065F46;
  font-weight: 500;
  margin-top: 0.2rem;
}

/* About Media & Visual Elements */
.about-media-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
}

.about-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(16, 35, 63, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.floating-badge-subtitle {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin: 0;
}

.about-quote-box {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.about-quote-text {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.about-quote-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* --- SECTION 4: HOW IT WORKS --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-number-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.55;
}

.steps-banner-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.steps-banner-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* --- SECTION 5: COVERAGE EXPLAINED --- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.coverage-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.coverage-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.coverage-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
  background-color: var(--accent-teal-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 0.9rem;
}

.coverage-title {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.coverage-body {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.coverage-disclaimer-card {
  background-color: var(--brand-blue-light);
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.info-icon {
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.coverage-disclaimer-text {
  font-size: 0.92rem;
  color: #065F46;
  line-height: 1.5;
  margin: 0;
}

.coverage-photo-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.coverage-photo-wrapper img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* --- SECTION 6: WHAT AFFECTS YOUR QUOTE --- */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.factor-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.factor-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

.factor-icon {
  color: var(--brand-blue);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.factor-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.factor-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.factors-note-box {
  background-color: var(--bg-subtle);
  border-left: 4px solid var(--brand-blue);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2.5rem;
}

.factors-note-text {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-heading);
  margin: 0;
}

.factors-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.factors-photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* --- SECTION 7: BEFORE YOU SUBMIT --- */
.checklist-section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0 2rem 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--text-heading);
}

.check-pill {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.checklist-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.checklist-photo-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* --- SECTION 8: FAQ ACCORDION --- */
.faq-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item:hover {
  border-color: #CBD5E1;
}

.accordion-header {
  margin: 0;
}

.accordion-trigger {
  width: 100%;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: -2px;
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.accordion-trigger[aria-expanded="true"] {
  color: var(--brand-blue);
}

.accordion-panel {
  padding: 0 1.4rem 1.25rem 1.4rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-panel[hidden] {
  display: none;
}

.faq-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.faq-photo-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* --- SECTION 9: CONTACT & FINAL CTA --- */
.cta-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.cta-content h2 {
  margin-bottom: 0.85rem;
}

.cta-copy {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 1.75rem;
}

.cta-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-direct-block {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.contact-direct-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-email-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.cta-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.cta-image-wrapper img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.85rem;
  max-width: 340px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
  margin-bottom: 1.1rem;
}

.footer-col-title.has-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.45rem;
  margin-bottom: 1.25rem;
}

.footer-col-title.has-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2.5px;
  background-color: #10B981;
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--brand-blue);
  transform: translateX(2px);
}

.footer-legal-disclaimer {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* White Disclosure Box matching Screenshot 3 */
.legal-disclosure-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  color: var(--text-body);
  font-size: 0.85rem;
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}

.legal-disclosure-card a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.legal-disclosure-card a:hover {
  color: var(--brand-blue-hover);
}

.disclosure-entry {
  position: relative;
}

.disclosure-entry p {
  color: var(--text-body);
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
}

.disclosure-entry strong {
  color: var(--text-heading);
  font-weight: 700;
}

.disclosure-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 1.25rem 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- DRAFT LEGAL PAGE STYLES (privacy.html, terms.html) --- */
.legal-main {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.draft-notice-banner {
  background-color: #FEF3C7;
  border: 2px dashed #D97706;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.draft-notice-title {
  color: #92400E;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.draft-notice-text {
  color: #78350F;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.legal-article {
  max-width: 820px;
  margin: 0 auto;
}

.legal-article h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--text-heading);
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.legal-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablets and small laptops (max 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-image-card img {
    height: 340px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-card img {
    height: 340px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checklist-section-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile Devices (max 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  body, html {
    overflow-x: hidden;
    position: relative;
    width: 100%;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    overflow-x: hidden;
  }

  /* Navigation Drawer */
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .header-actions .header-call-btn {
    display: inline-flex;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    gap: 0.35rem;
  }

  .header-actions .header-call-btn .call-text-desktop {
    display: none;
  }

  .header-actions .header-call-btn .call-text-mobile {
    display: inline;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFF;
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    overflow-y: auto;
    z-index: 99;
    max-width: 100vw;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .mobile-menu-cta {
    display: block;
    width: 100%;
  }

  /* Hero & Form on Mobile */
  .hero-section {
    padding-top: 1.75rem;
    padding-bottom: 2.75rem;
    overflow-x: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    width: 100%;
    min-width: 0;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .hero-headline {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    line-height: 1.22;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .hero-subhead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-photo {
    height: 220px;
  }

  .quote-card {
    padding: 1.4rem 1.1rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    width: 100%;
    min-width: 0;
  }

  .form-group.col-full {
    grid-column: 1;
  }

  .form-input, .form-select {
    height: 46px;
    font-size: 16px; /* Prevents auto-zoom on iOS */
    width: 100%;
    max-width: 100%;
  }

  .why-cards-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .about-stats-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .factors-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .cta-card {
    padding: 2rem 1.25rem;
    width: 100%;
    min-width: 0;
  }

  .legal-disclosure-card {
    padding: 1.25rem 1rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

/* Extra Small (max 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.6rem;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 210px;
  }

  .btn {
    width: 100%;
  }

  .cta-action-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Thank You Modal Pop-up --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.is-active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 41, 30, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(15, 41, 30, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.15);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-overlay.is-active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.modal-close-btn:hover,
.modal-close-btn:focus-visible {
  background-color: var(--bg-hover);
  color: var(--text-heading);
}

.modal-icon-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-next-steps {
  background-color: var(--bg-subtle);
  border: 1px solid #D1FAE5;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.modal-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.modal-step-item:last-child {
  margin-bottom: 0;
}

.modal-step-bullet {
  width: 24px;
  height: 24px;
  background-color: var(--brand-blue);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-step-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}

.modal-step-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.modal-action-btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
}

/* --- Phone & Click-to-Call Styles --- */
.phone-link-inline {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
}

.phone-link-inline:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.form-call-help {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-call-prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.55rem 1rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 0.88rem;
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.hero-call-prompt a {
  color: var(--brand-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.hero-call-prompt a:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
}

.contact-phone-link:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.contact-direct-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.contact-divider {
  color: var(--text-light);
}

.footer-phone-link {
  color: var(--text-heading);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color var(--transition-fast);
}

.footer-phone-link:hover {
  color: var(--brand-blue);
}

/* Modal Call Prompt */
.modal-call-box {
  background-color: var(--brand-blue-light);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.modal-call-box p {
  font-size: 0.88rem;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.modal-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-decoration: none;
}

.modal-call-btn:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

/* Mobile Floating Click-to-Call Button */
.floating-call-btn {
  display: none;
}

@media (max-width: 768px) {
  .floating-call-btn {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 998;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-blue);
    color: #FFFFFF !important;
    padding: 0.75rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
  }

  .floating-call-btn:hover,
  .floating-call-btn:active {
    background-color: var(--brand-blue-hover);
    transform: translateY(-2px) scale(1.03);
    color: #FFFFFF !important;
  }

  .floating-call-btn svg {
    animation: phoneWiggle 2.5s infinite ease-in-out;
  }

  @keyframes phoneWiggle {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-12deg); }
    20%, 40% { transform: rotate(12deg); }
    50% { transform: rotate(0deg); }
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
