/* ============================================================
   ACES 2026 — LIGHT THEME VERSION
============================================================ */

:root {
  --aces-bg: #f7f8fb;
  --aces-surface: #ffffff;
  --aces-surface-soft: #fff5f5;
  --aces-text: #1f2937;
  --aces-text-muted: #555;
  --aces-primary: #d40000;
  --aces-primary-hover: #ee0000;
  --aces-border: rgba(212, 0, 0, 0.12);
  --aces-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* BASE RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f8fb;
  color: #1f2937;
  line-height: 1.6;
}

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

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

section {
  padding: 60px 28px;
}

@media (min-width: 900px) {
  section {
    padding: 80px 40px;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}



/* ============================================================
   HEADER — LIGHT THEME
============================================================ */

#aces-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

#aces-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area img {
  height: 48px;
}

/* NAV (DESKTOP) */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #374151;
  font-size: 1rem;
  transition: color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d62828;
  font-weight: 600;
}

/* HEADER CONTROLS */
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn {
  background: #d62828;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .9rem;
  transition: background .25s ease;
}

.lang-btn:hover {
  background: #ef4444;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: #111827;
  cursor: pointer;
}

/* ============================================================
   MOBILE MENU — LIGHT THEME
============================================================ */

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 1rem;
  color: #1f2937;
  display: block;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.mobile-menu a.active {
  background: #fecaca;
  color: #991b1b;
  font-weight: 600;
}

/* Mobile Dropdown */
.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  background: #f9fafb;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: flex;
}

.mobile-dropdown-toggle {
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 1rem;
  color: #1f2937;
  cursor: pointer;
  display: block;
}

/* Mobile Language Buttons */
.mobile-lang {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 0;
}

/* Hide desktop nav on mobile */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .mobile-menu-btn { display: block !important; }
}
/* ============================================================
   HERO — LIGHT VERSION (Unified)
============================================================ */

/* Base Hero Wrapper */
.aces-hero {
  background: radial-gradient(circle at top, #ffe5e5 0%, #ffffff 60%);
  padding: 80px 20px 60px;
  text-align: center;
  animation: fadeIn 0.6s ease forwards;
}

/* Inner Container */
.aces-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Headline */
.aces-hero-inner h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #111827;
}

/* Subtext */
.aces-hero-inner p {
  font-size: 1.15rem;
  color: #4b5563;
  margin-bottom: 20px;
}

/* Smaller Hero Variant */
.aces-hero.small {
  padding: 60px 20px;
}

.aces-hero.small h1 {
  font-size: 2.1rem;
}

/* Page Hero Variant */
.aces-hero.page {
  padding: 70px 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .aces-hero {
    padding: 70px 20px 50px;
  }

  .aces-hero-inner h1 {
    font-size: 2rem;
  }

  .aces-hero-inner p {
    font-size: 1rem;
  }
}

/* ============================================================
   CLAIMS HERO — ACES 2026 LIGHT THEME
============================================================ */

.claims-hero {
  background-image: url('Icons/hero-claims-aces.png');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 140px 20px;
  position: relative;

  color: #222;
  overflow: hidden;
}

/* Light overlay */
.claims-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(2px);
}

.claims-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.claims-hero-inner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #c40000;
}

.claims-hero-inner p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}

@media (max-width: 768px) {
  .claims-hero {
    padding: 100px 20px;
    background-position: center top;
  }

  .claims-hero-inner h1 {
    font-size: 2.2rem;
  }

  .claims-hero-inner p {
    font-size: 1.05rem;
  }
}

/* ============================================================
   WIZARD STEPS — LIGHT THEME
============================================================ */

.auto-wizard-steps,
.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.auto-wizard-step,
.wizard-step {
  display: flex;
  align-items: center;
  gap: 6px;

  padding: 8px 14px;
  border-radius: 20px;

  background: rgba(212, 0, 0, 0.08);
  border: 1px solid rgba(212, 0, 0, 0.18);

  color: #444;
  font-size: 0.9rem;
  cursor: pointer;

  transition: all 0.25s ease;
}

.auto-wizard-step:hover,
.wizard-step:hover {
  background: rgba(212, 0, 0, 0.12);
  border-color: rgba(212, 0, 0, 0.28);
}

.auto-wizard-step.active,
.wizard-step.active {
  background: #d40000;
  color: #fff;
  border-color: #d40000;
  font-weight: 600;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;
  border-radius: 50%;

  background: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  font-weight: bold;
}

.auto-wizard-step.active .step-index,
.wizard-step.active .step-index {
  background: rgba(255,255,255,0.25);
}
/* ============================================================
   LIGHT RED SECTION
============================================================ */

.app-section {
  background: linear-gradient(
    180deg,
    #fff5f5 0%,
    #ffeaea 60%,
    #fff7f7 100%
  );
}

.section-title,
.app-category-title {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #b00000;
}

.app-category-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 1rem;
}

/* ============================================================
   LIGHT SECTION
============================================================ */

.team-section {
  background: #f7f7f7;
}

/* ============================================================
   GRIDS — UNIFIED
============================================================ */

.app-grid,
.contact-grid,
.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ============================================================
   CARDS — LIGHT THEME (Unified)
============================================================ */

.app-card,
.contact-card,
.team-card,
.agent-card {
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(212,0,0,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: slideInUp 0.6s ease forwards;
}

/* Staggered animation for agent cards */
.agent-card:nth-child(1) { animation-delay: 0.1s; }
.agent-card:nth-child(2) { animation-delay: 0.2s; }
.agent-card:nth-child(3) { animation-delay: 0.3s; }
.agent-card:nth-child(4) { animation-delay: 0.4s; }
.agent-card:nth-child(5) { animation-delay: 0.5s; }
.agent-card:nth-child(6) { animation-delay: 0.6s; }
.agent-card:nth-child(7) { animation-delay: 0.7s; }

.app-card:hover,
.contact-card:hover,
.team-card:hover,
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border-color: rgba(212,0,0,0.35);
}

.app-card h3,
.contact-card h3,
.team-card h3,
.agent-card h3 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
  color: #b00000;
}

.app-card p,
.contact-card p,
.team-card p,
.agent-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* ============================================================
   TEAM IMAGES
============================================================ */

.team-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ============================================================
   ICONS — LIGHT THEME (Unified)
============================================================ */

/* Icon Wrapper */
.app-icon {
  width: 72px;
  height: 72px;

  background: none;
  border-radius: 0;
  padding: 0;

  display: block;
  margin: 0 auto 12px;

  transition: transform 0.3s ease;
}

/* Icon Image / SVG */
.app-icon img,
.app-icon svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 4px rgba(212,0,0,0.18));
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover Animation */
.app-card:hover .app-icon {
  transform: scale(1.06);
  background: rgba(212, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(212,0,0,0.12);
}

.app-card:hover .app-icon img,
.app-card:hover .app-icon svg {
  transform: scale(1.05);
  filter: drop-shadow(0 0 6px rgba(212,0,0,0.25));
}

/* Contact Icons */
.contact-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #c40000;
}
/* ============================================================
   BUTTONS — LIGHT THEME
============================================================ */

.app-btn,
.hero-btn,
.submit-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #d40000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease, transform .15s ease, box-shadow .25s ease;
}

.app-btn:hover,
.hero-btn:hover,
.submit-btn:hover {
  background: #ee0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,0,0,0.22);
}

/* PRIMARY + SECONDARY */

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* PRIMARY */

.btn-primary {
  background: #d40000;
  color: #fff;
}

.btn-primary:hover {
  background: #ee0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,0,0,0.22);
}

/* SECONDARY */

.btn-secondary {
  background: rgba(255,255,255,0.85);
  color: #555;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #fff;
  color: #b00000;
  border-color: rgba(212,0,0,0.35);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* ============================================================
   FORM STYLES — LIGHT THEME
============================================================ */

.form-section {
  background: #f7f7f7;
  padding: 40px 20px;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  border: 1px solid rgba(212,0,0,0.08);
}

/* FORM STEPS */

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #b00000;
}

.section-subtitle {
  color: #666;
  margin-bottom: 20px;
}

/* GRID */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

/* FIELDS */

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: #444;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #222;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(212,0,0,0.5);
  box-shadow: 0 0 0 4px rgba(212,0,0,0.08);
  background: #fff;
}

/* ============================================================
   INPUT ICONS — QUICK QUOTE FORM
============================================================ */

.input-icon {
  position: relative;
  margin-bottom: 15px;
}

.input-icon img {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
}

.input-icon input,
.input-icon select {
  padding-left: 45px !important;
  width: 100%;
}

/* ============================================================
   AGENT PANEL — LIGHT THEME (SLIDE-OUT)
============================================================ */

.agent-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 320px;
  max-width: 80%;
  height: 100vh;
  background: #ffffff;
  box-shadow: -10px 0 25px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 2000;
  overflow-y: auto;
  border-left: 1px solid #e5e5e5;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.agent-panel.open {
  right: 0;
  animation: slideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.agent-panel .close-panel {
  background: none;
  border: none;
  color: #666;
  font-size: 1.8rem;
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 4px;
}

.agent-panel .close-panel:hover {
  color: #fff;
  background: #d40000;
}

.agent-panel .panel-photo {
  width: 100%;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 15px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.agent-panel h2 {
  margin-top: 20px;
  margin-bottom: 4px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
}

.agent-panel .panel-title {
  color: #d40000;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.agent-panel p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #555;
  line-height: 1.5;
}

.agent-panel .panel-call {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 6px;
  background: #d40000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.agent-panel .panel-call:hover {
  background: #ff1a1a;
  transform: translateY(-2px);
}

/* ============================================================
   CHECKBOX CARDS
============================================================ */

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  border: 1px solid rgba(212,0,0,0.12);
  cursor: pointer;
  transition: all 0.25s ease;
}

/* ============================================================
   FOOTER — ACES LIGHT THEME
============================================================ */

.aces-footer {
  background: #ffffff;
  padding: 60px 20px 40px;
  color: #333;
  border-top: 1px solid #e5e5e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #111827;
  font-weight: 600;
}

.footer-column p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #555;
  line-height: 1.6;
}

.footer-logo {
  height: 48px;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-icon {
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

.footer-link {
  color: #d40000;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ff1a1a;
  text-decoration: underline;
}

.footer-center {
  text-align: center;
}

.footer-badge {
  height: 80px;
  object-fit: contain;
  margin: 12px 0;
}

.footer-chamber-text {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 12px 0 !important;
}

.footer-qr {
  height: 100px;
  object-fit: contain;
  margin-top: 12px;
}

.footer-legal {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.footer-legal p {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 8px;
}

.back-to-top {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  background: #d40000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.back-to-top:hover {
  background: #ff1a1a;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }

  .agent-panel {
    width: 100%;
    right: -100%;
  }
}

/* ============================================================
   PAGE TITLE
============================================================ */

.page-title {
  text-align: center;
  margin: 2rem 0 1.5rem;
}

.page-title h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
   QUICK QUOTE BOX
============================================================ */

.quick-quote-box {
  width: 100%;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  padding: 1.75rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-left: 6px solid #c8102e;
  text-align: center;
}

.quick-quote-box h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.quick-quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-quote-form input,
.quick-quote-form select {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #d0d0d0;
  font-size: 1rem;
  background: #fafafa;
}

.quick-quote-form input:focus,
.quick-quote-form select:focus {
  border-color: #c8102e;
  outline: none;
  box-shadow: 0 0 0 2px rgba(200,16,46,0.15);
}

.quote-submit-btn {
  padding: 1rem;
  background: #c8102e;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.quote-submit-btn:hover {
  background: #a50d26;
}


/* ============================================================
   CLAIMS PAGE
============================================================ */

.claims-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
}

.claims-step-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 30px 24px;
  border: 1px solid rgba(212, 0, 0, 0.12);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInUp 0.6s ease forwards;
}

.claims-step-card:nth-child(1) { animation-delay: 0.1s; }
.claims-step-card:nth-child(2) { animation-delay: 0.2s; }
.claims-step-card:nth-child(3) { animation-delay: 0.3s; }
.claims-step-card:nth-child(4) { animation-delay: 0.4s; }

.claims-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(212, 0, 0, 0.1);
  border-color: rgba(212, 0, 0, 0.3);
}

.claims-step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.claims-step-card h3 {
  font-size: 1.1rem;
  color: #d40000;
  margin: 12px 0 8px;
  font-weight: 600;
}

.claims-step-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.claims-download,
.claims-agent-cta {
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
}

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
}

.carrier-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 24px;
  border-left: 6px solid #d40000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInUp 0.6s ease forwards;
}

.carrier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(212, 0, 0, 0.15);
  border-left-color: #ff1a1a;
}

.carrier-card h3 {
  font-size: 1.2rem;
  color: #111827;
  margin: 0 0 12px;
  font-weight: 600;
}

.carrier-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 6px 0;
  line-height: 1.4;
}

.carrier-card a {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  background: #d40000;
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.carrier-card a:hover {
  background: #ff1a1a;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE TWEAKS
============================================================ */

@media (max-width: 768px) {
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .services-section h2 {
    font-size: 1.5rem;
  }
}
/* ============================================================
   SERVICE DETAIL HERO (Full Banner Layout) — ACES 2026
============================================================ */

/* The outer container for your wide, top hero graphic */
.product-hero-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.product-hero-container,
.product-hero-container * {
  box-sizing: border-box;
}

/* Hero Banner Image - Full width with controlled height */
.product-hero-banner {
  width: 100%;
  height: clamp(250px, 30vw, 400px);
  object-fit: cover;
  object-position: center 40%;  /* 🎯 FINE-TUNE THIS: 0% = top, 50% = center, 100% = bottom */
  display: block;
}

/* Center-aligns the Title, Icon, and Subtitle block */
.product-title-section {
  text-align: center;
  margin: 50px auto 30px auto;
  padding: 0 24px;
  max-width: 800px;
}

.product-title-section h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 10px;
  font-weight: 700;
}

/* Beautifully maps your small PNG icon right under the title */
.product-type-icon {
  width: 100px;
  height: 100px;
  margin: 20px auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(212,0,0,0.2));
}

.product-hero-sub {
  font-size: 1.2rem;
  color: #4b5563;
  font-weight: 500;
  margin-top: 10px;
}

/* Centered global structural spacing for product body sections */
.product-section {
  margin: 60px auto;
  padding: 0 24px;
  max-width: 800px;
  text-align: center;
}

.product-section h2 {
  font-size: 1.8rem;
  color: #d40000;
  margin-bottom: 20px;
  font-weight: 600;
}

.product-section p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.6;
}

/* Centers list components cleanly without breaking indentation */
.product-list {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
  margin: 20px 0;
}

.product-list li {
  font-size: 1.05rem;
  color: #374151;
  margin: 12px 0;
  padding-left: 30px;
  position: relative;
}

/* Red checkmark bullet */
.product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d40000;
  font-weight: bold;
  font-size: 1.3rem;
}

/* FAQ Block formatting */
.faq-item {
  margin-bottom: 35px;
  padding: 20px;
  background: rgba(255, 245, 245, 0.5);
  border-radius: 10px;
  border-left: 4px solid #d40000;
  text-align: left;
}

.faq-item h3 {
  font-size: 1.2rem;
  color: #b00000;
  margin-bottom: 10px;
  font-weight: 600;
}

.faq-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Call to Action Wrapper */
.product-cta {
  text-align: center;
  margin: 60px auto;
  padding: 50px 20px;
  background: linear-gradient(180deg, #fff5f5 0%, #ffeaea 100%);
}

.product-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #d40000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(212, 0, 0, 0.2);
}

.product-cta-btn:hover {
  background: #ee0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 0, 0, 0.3);
}

/* Fade-in animation for sections */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Responsive Mobile Modifications */
@media (max-width: 768px) {
  .product-hero-banner {
    height: clamp(200px, 35vw, 280px);
    object-position: center 40%;  /* 🎯 Match this to desktop for consistency */
  }

  .product-title-section h1 {
    font-size: 2rem;
  }

  .product-section h2 {
    font-size: 1.5rem;
  }

  .product-type-icon {
    width: 85px;
    height: 85px;
  }

  .product-hero-sub {
    font-size: 1.05rem;
  }

  .product-list li {
    font-size: 1rem;
  }
}

/* ============================================================
   ACES 2026 — UNIVERSAL WIZARD (RED THEME + HYBRID LAYOUT)
   Fully Isolated Namespace: .aces-wizard
============================================================ */

/* WIZARD WRAPPER */
.aces-wizard {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  background: linear-gradient(
    180deg,
    #fff5f5 0%,
    #ffeaea 60%,
    #fff7f7 100%
  );
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

/* ============================================================
   DESKTOP TABS (Centered)
============================================================ */

.aces-wizard-tabs {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.aces-wizard-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;

  padding: 10px 14px;
  border-bottom: 3px solid transparent;

  font-size: 1rem;
  font-weight: 600;
  color: #444;

  transition: all 0.25s ease;
}

.aces-wizard-tab:hover {
  color: #b00000;
  border-bottom-color: rgba(212,0,0,0.35);
}

/* ACTIVE TAB */
.aces-wizard-tab.active {
  color: #b00000;
  border-bottom-color: #d40000;
}

/* STEP NUMBER CIRCLE */
.aces-wizard-step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

/* ACTIVE STEP CIRCLE */
.aces-wizard-tab.active .aces-wizard-step-circle {
  background: #d40000;
  color: #fff;
  border: 2px solid #d40000;
}

/* INACTIVE STEP CIRCLE */
.aces-wizard-tab:not(.active) .aces-wizard-step-circle {
  background: #fff;
  color: #d40000;
  border: 2px solid #d40000;
}

/* ============================================================
   PROGRESS BAR (Thick ACES Red)
============================================================ */

.aces-wizard-progress {
  width: 100%;
  height: 14px;
  background: #ffd6d6;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 35px;
}

.aces-wizard-progress-fill {
  height: 100%;
  width: 0%;
  background: #d40000;
  transition: width 0.35s ease;
}

/* ============================================================
   STEP CARDS
============================================================ */

.aces-wizard-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(212,0,0,0.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  margin-bottom: 30px;
  display: none;
}

.aces-wizard-card.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.aces-wizard-card h2 {
  font-size: 1.6rem;
  color: #b00000;
  margin-bottom: 12px;
}

.aces-wizard-card p.section-subtitle {
  color: #666;
  margin-bottom: 20px;
}

/* ============================================================
   FORM GRID
============================================================ */

.aces-wizard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 20px 0;
}

/* FIELDS */
.aces-wizard-field {
  display: flex;
  flex-direction: column;
}

.aces-wizard-field label {
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: #444;
  font-weight: 600;
}

.aces-wizard-field input,
.aces-wizard-field select,
.aces-wizard-field textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #222;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aces-wizard-field input:focus,
.aces-wizard-field select:focus,
.aces-wizard-field textarea:focus {
  outline: none;
  border-color: #d40000;
  box-shadow: 0 0 0 4px rgba(212,0,0,0.12);
}

/* ============================================================
   REPEATERS (Drivers, Vehicles, Claims)
============================================================ */

.aces-wizard-repeater {
  background: #fff;
  border: 1px solid rgba(212,0,0,0.15);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.aces-wizard-repeater h3 {
  font-size: 1.1rem;
  color: #b00000;
  margin-bottom: 12px;
}

.aces-wizard-remove-btn {
  background: #fff;
  border: 1px solid #d40000;
  color: #d40000;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.aces-wizard-remove-btn:hover {
  background: #d40000;
  color: #fff;
}

/* ============================================================
   NAVIGATION BUTTONS
============================================================ */

.aces-wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.aces-wizard-btn {
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* BACK BUTTON */
.aces-wizard-btn.back {
  background: #fff;
  color: #555;
  border: 1px solid #ccc;
}

.aces-wizard-btn.back:hover {
  background: #fff;
  color: #b00000;
  border-color: #d40000;
}

/* NEXT BUTTON */
.aces-wizard-btn.next {
  background: #d40000;
  color: #fff;
}

.aces-wizard-btn.next:hover {
  background: #ff1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,0,0,0.22);
}

/* ============================================================
   MOBILE LAYOUT — Vertical Steps
============================================================ */

@media (max-width: 900px) {

  .aces-wizard-tabs {
    display: none;
  }

  .aces-wizard-mobile-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
  }

  .aces-wizard-mobile-step {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 16px;
    border-radius: 10px;

    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(212,0,0,0.15);

    font-size: 1rem;
    font-weight: 600;
    color: #444;
  }

  .aces-wizard-mobile-step.active {
    background: #d40000;
    color: #fff;
    border-color: #d40000;
  }

  .aces-wizard-mobile-step .aces-wizard-step-circle {
    width: 26px;
    height: 26px;
  }
}

/* ============================================================
   HOME HERO — ACES STOREFRONT HERO (FIXED LAYOUT)
============================================================ */

/* Main Hero Wrapper */
.home-hero{
    position:relative;
    min-height:650px;
    overflow:hidden;

    background:
      linear-gradient(
        rgba(0,0,0,0.30),
        rgba(0,0,0,0.30)
      ),
      url('Icons/storefront.jpg') center 30% no-repeat;

    background-size:cover;
    color:#fff;

    display:flex;
    align-items:center;

    padding:120px 20px 80px;
}

/* Main Layout */
.home-hero-inner{
    width:100%;
    max-width:1450px;
    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:80px;
}

/* ============================================================
   LEFT SIDE
============================================================ */

.hero-left{
    flex:0 0 55%;
    max-width:700px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.hero-logo{
    width:220px;
    height:auto;
    margin-bottom:20px;
}

.hero-left h1{
    font-size:3.2rem;
    line-height:1.1;
    font-weight:800;
    color:#fff;
    margin-bottom:20px;

    text-shadow:
      0 2px 10px rgba(0,0,0,.40);
}

.hero-left p{
    font-size:1.2rem;
    line-height:1.7;
    color:#fff;

    margin-bottom:30px;

    text-shadow:
      0 2px 8px rgba(0,0,0,.35);
}

/* Buttons */
.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

/* ============================================================
   RIGHT SIDE
============================================================ */

.hero-right{
    flex:0 0 45%;

    display:flex;
    justify-content:flex-end;
    align-items:center;
}

/* Quote Box */
.hero-right .quick-quote-box{
    width:100%;
    max-width:520px;

    margin:0;

    background:#fff;
    border-radius:14px;

    box-shadow:
      0 15px 45px rgba(0,0,0,.25);

    overflow:hidden;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width:1024px){

    .home-hero{
        min-height:auto;
        padding:120px 20px 60px;
    }

    .home-hero-inner{
        gap:40px;
    }

    .hero-left{
        flex:0 0 50%;
    }

    .hero-right{
        flex:0 0 50%;
    }

    .hero-left h1{
        font-size:2.6rem;
    }

    .hero-logo{
        width:180px;
    }

    .hero-right .quick-quote-box{
        max-width:450px;
    }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width:768px){

    .home-hero{
        text-align:center;
        padding:90px 20px 50px;
    }

    .home-hero-inner{
        flex-direction:column;
        gap:35px;
    }

    .hero-left,
    .hero-right{
        flex:none;
        width:100%;
        max-width:100%;
    }

    .hero-right{
        justify-content:center;
    }

    .hero-logo{
        width:160px;
        margin:0 auto 20px;
    }

    .hero-left h1{
        font-size:2.2rem;
    }

    .hero-left p{
        font-size:1.05rem;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-right .quick-quote-box{
        max-width:550px;
    }
}

/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width:480px){

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

    .hero-logo{
        width:140px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-buttons .hero-btn{
        width:100%;
    }
}
/* ============================================================
   CONTACT PAGE — NOTEPAD FORM POLISH
============================================================ */
.notepad-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.notepad-form {
  background: #fff;
  border: 1px solid var(--aces-border, rgba(212, 0, 0, 0.12));
  border-radius: 14px;
  box-shadow: var(--aces-shadow, 0 6px 20px rgba(0,0,0,0.06));
  padding: 22px;
  display: grid;
  gap: 10px;
}

.notepad-form label {
  font-weight: 600;
  color: var(--aces-text, #1f2937);
  margin-top: 4px;
}

.notepad-form input,
.notepad-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--aces-text, #1f2937);
  background: #fff;
}

.notepad-form input:focus,
.notepad-form textarea:focus {
  outline: none;
  border-color: var(--aces-primary, #d40000);
  box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.12);
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--aces-border, rgba(212, 0, 0, 0.12));
  box-shadow: var(--aces-shadow, 0 6px 20px rgba(0,0,0,0.06));
}

/* HOTFIX: contact hero + fade */
.small-hero {
  background: linear-gradient(180deg, #fff5f5 0%, #ffeaea 60%, #fff7f7 100%);
  padding: 56px 20px 38px;
  border-bottom: 1px solid rgba(212, 0, 0, 0.12);
}

.small-hero-content {
  max-width: 1100px;
  margin: 0 auto;
}

.small-hero h1 {
  color: var(--aces-primary, #d40000);
  font-size: 2rem;
  margin-bottom: 8px;
}

.small-hero p {
  color: var(--aces-text-muted, #555);
  max-width: 700px;
}

.fade-in {
  animation: fadeIn 0.45s ease both;
}

/* ============================================================
   HEADER AGENT LOGIN BUTTON
============================================================ */
.agent-login-btn {
  background: #ffffff;
  color: var(--aces-primary, #d40000);
  border: 1px solid rgba(212, 0, 0, 0.3);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.agent-login-btn:hover {
  background: #fff1f1;
  border-color: var(--aces-primary, #d40000);
}

/* ============================================================
   LOGIN PANEL (SLIDE-OUT RIGHT)
============================================================ */
.login-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 360px;
  max-width: 92vw;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--aces-border, rgba(212, 0, 0, 0.12));
  box-shadow: -10px 0 28px rgba(0, 0, 0, 0.18);
  z-index: 3200;
  padding: 56px 20px 24px;
  overflow-y: auto;
  transition: right 0.3s ease;
}
.login-panel.open {
  right: 0;
}

/* close X (same style pattern as agent panel) */
.login-panel .close-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #666;
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}
.login-panel .close-panel:hover {
  background: #fff1f1;
  color: var(--aces-primary, #d40000);
}

.login-panel h2 {
  margin-bottom: 14px;
  color: var(--aces-primary, #d40000);
}

.login-panel label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 600;
  color: var(--aces-text, #1f2937);
}

.login-panel input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  margin-bottom: 8px;
  background: #fff;
}
.login-panel input:focus {
  outline: none;
  border-color: var(--aces-primary, #d40000);
  box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.12);
}

.login-submit-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--aces-primary, #d40000);
  color: #fff;
}
.login-submit-btn:hover {
  background: var(--aces-primary-hover, #ee0000);
}

.portal-link-disabled {
  display: block;
  margin-top: 14px;
  font-size: 0.88rem;
  color: #6b7280;
  text-decoration: none;
  cursor: default;
}

@media (max-width: 768px) {
  .login-panel {
    width: 100%;
    right: -100%;
    max-width: 100%;
  }
}

.login-agent-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  margin-bottom: 8px;
  background: #fff;
  color: var(--aces-text, #1f2937);
}
.login-agent-select:focus {
  outline: none;
  border-color: var(--aces-primary, #d40000);
  box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.12);
}
/* HOTFIX: ensure quick quote submit button is always visible/clickable */
.quick-quote-form button[type="submit"],
.quick-quote-form .quote-submit-btn,
.quick-quote-form .submit-btn {
  display: inline-block !important;
  width: 100%;
  min-height: 48px;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
  margin-top: 6px;
}

/* ============================================================
   COI PAGE — MATCH GLOBAL ACES RED LIGHT THEME
   (place near end of style.css so it overrides earlier rules)
============================================================ */

/* hero */
.coi-hero {
  background:
    radial-gradient(circle at top, #ffe5e5 0%, #ffffff 62%);
  color: var(--aces-text);
  border-bottom: 1px solid var(--aces-border);
}

.coi-hero .small-hero-content h1 {
  color: #b00000;
}

.coi-hero .small-hero-content p {
  color: var(--aces-text-muted);
}

/* keep app section aligned with existing site sections */
.app-section:has(.coi-app-form) {
  background: linear-gradient(
    180deg,
    #fff5f5 0%,
    #ffeaea 60%,
    #fff7f7 100%
  );
}

/* form shell */
.coi-app-form {
  max-width: 980px;
  margin: 8px auto 0;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(212,0,0,0.10);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  padding: 30px;
}

/* stepper */
.coi-wizard-steps {
  max-width: 980px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.coi-wizard-steps .wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;

  padding: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(212,0,0,0.18);
  background: rgba(212,0,0,0.08);
  color: #555;
  font-size: 0.9rem;
  transition: all .25s ease;
}

.coi-wizard-steps .wizard-step:hover {
  background: rgba(212,0,0,0.12);
  border-color: rgba(212,0,0,0.28);
}

.coi-wizard-steps .wizard-step.active {
  background: #d40000;
  border-color: #d40000;
  color: #fff;
  font-weight: 600;
}

.coi-wizard-steps .wizard-step-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}

.coi-wizard-steps .wizard-step.active .wizard-step-icon {
  background: rgba(255,255,255,0.25);
}

/* headings / copy */
.coi-app-form .form-step h2 {
  color: #b00000;
  margin-bottom: 10px;
}

.coi-app-form .form-step p {
  color: #666;
  margin-bottom: 16px;
}

/* form grid consistency */
.coi-app-form .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

/* inputs consistent with site */
.coi-app-form .form-field label {
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: #444;
  font-weight: 500;
}

.coi-app-form input[type="text"],
.coi-app-form input[type="email"],
.coi-app-form input[type="tel"],
.coi-app-form textarea,
.coi-app-form input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #222;
  font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.coi-app-form input:focus,
.coi-app-form textarea:focus {
  outline: none;
  border-color: rgba(212,0,0,0.5);
  box-shadow: 0 0 0 4px rgba(212,0,0,0.08);
}

/* optional upload box polish */
.coi-app-form input[type="file"] {
  border-style: dashed;
  background: #fffafa;
}

/* nav buttons reuse your existing .btn-primary/.btn-secondary styles */
.coi-app-form .wizard-nav {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* consent card */
.coi-app-form .checkbox-field {
  margin-top: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(212,0,0,0.12);
  border-radius: 10px;
}

.coi-app-form .checkbox-field label {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* responsive */
@media (max-width: 900px) {
  .coi-wizard-steps {
    grid-template-columns: 1fr 1fr;
  }

  .coi-app-form {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .coi-wizard-steps {
    grid-template-columns: 1fr;
  }

  .coi-app-form .wizard-nav {
    flex-direction: column;
  }

  .coi-app-form .btn-primary,
  .coi-app-form .btn-secondary {
    width: 100%;
  }
}

/* SERVICES HERO — ACES 2026 LIGHT THEME */
.services-hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("Icons/hero-services-aces.png") center/cover no-repeat;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.services-hero .small-hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.services-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.services-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
}

/* CONTACT HERO — ACES 2026 LIGHT THEME */
.contact-hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("Icons/hero-contact-aces.png") center/cover no-repeat;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.contact-hero .small-hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
}
/* ============================================================
   TESTIMONIALS HERO — ACES 2026
============================================================ */
.testimonials-hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("Icons/hero-testimonials-aces.png") center/cover no-repeat;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: #fff;
  border-bottom: 4px solid #c8102e;
}

.testimonials-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.testimonials-hero p {
  font-size: 1.2rem;
  color: #f3f3f3;
  max-width: 860px;
}

/* ============================================================
   TESTIMONIALS CONTENT
============================================================ */
.testimonials-container {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.testimonials-live {
  padding: 40px 20px 10px;
  text-align: center;
}

.testimonials-live h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}

#google-reviews-widget {
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================================
   CTA BUTTONS
============================================================ */
.leave-review-wrap {
  text-align: center;
}

.leave-review-wrap--top {
  margin-top: 24px;
}

.leave-review-wrap--bottom {
  margin-top: 40px;
}

.leave-review-btn {
  display: inline-block;
  margin: 0 auto;
  padding: 14px 26px;
  background: #c8102e;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.leave-review-btn:hover,
.leave-review-btn:focus {
  background: #a50d24;
  transform: translateY(-1px);
}

/* ============================================================
   CLAIMS HERO — LIGHT THEME
============================================================ */
.claims-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background-image: url("/Icons/hero-claims-aces.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.claims-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
  z-index: 1;
}

.claims-hero-inner,
.claims-hero .small-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.claims-hero h1,
.claims-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: #111827;
  text-shadow: none;
}

.claims-hero p,
.claims-hero-inner p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #374151;
  opacity: 1;
  text-shadow: none;
}

/* ============================================================
   CLAIMS HERO — CLEAR IMAGE VERSION
============================================================ */
.claims-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background-image: url("/Icons/hero-claims-aces.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* remove white wash */
.claims-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;   /* was rgba(255,255,255,0.58) */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1;
}

.claims-hero-inner,
.claims-hero .small-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.claims-hero h1,
.claims-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.claims-hero p,
.claims-hero-inner p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* ============================================================
   COI HERO — FORCE WHITE TEXT + CRISP IMAGE
============================================================ */
section.small-hero.coi-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background-image: url("/Icons/hero-coi-aces.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* remove any white wash / blur overlay */
section.small-hero.coi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1;
}

/* content layer */
section.small-hero.coi-hero .small-hero-content,
section.small-hero.coi-hero .coi-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* force white hero text */
section.small-hero.coi-hero .small-hero-content h1,
section.small-hero.coi-hero .coi-hero-inner h1,
section.coi-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55) !important;
}

section.small-hero.coi-hero .small-hero-content p,
section.small-hero.coi-hero .coi-hero-inner p,
section.coi-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 768px) {
  .claims-hero,
  .coi-hero {
    min-height: 340px;
  }
}


/* ============================================================
   SERVICES PAGE — FINAL MERGED (ACES 2026)
============================================================ */

.services-filter-bar {
  max-width: 1200px;
  margin: 24px auto 12px;
  padding: 0 28px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  /* NEW — centers everything */
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  /* NEW — centers the row */
  justify-content: center;
}

.filter-btn {
  background: #fff;
  border: 1px solid rgba(212, 0, 0, 0.25);
  color: #333;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(212, 0, 0, 0.5);
  color: #d40000;
  transform: translateY(-1px);
}

.filter-btn.active {
  background: #d40000;
  color: #fff;
  border-color: #d40000;
}

.services-search-input {
  width: min(420px, 92%);
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(212, 0, 0, 0.25);
  border-radius: 10px;
  font-size: 0.95rem;
  color: #1f2937;
  outline: none;
}

.services-search-input::placeholder {
  color: #6b7280;
}

.services-search-input:focus {
  border-color: rgba(212, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.12);
}

/* Main services wrapper */
.subcategory-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 28px 40px;
}

/* Group section */
.services-section {
  display: block;
  margin-top: 0;
  padding-top: 0;
}

.services-section + .services-section {
  margin-top: 34px;
}

.services-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin: 0 0 20px;
  color: #1f2937;
}

/* Cards grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

/* Card */
.service-box {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 0, 0, 0.14);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-box:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 0, 0, 0.35);
  box-shadow: 0 10px 18px rgba(212, 0, 0, 0.12);
}

.service-box img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.service-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
}

.service-box p {
  font-size: 0.92rem;
  color: #374151;
  margin: 0;
  line-height: 1.45;
  min-height: 42px;
}

/* CTA */
.service-btn {
  margin-top: auto;
  display: inline-block;
  background: #d40000;
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.service-btn:hover {
  background: #b70000;
  transform: translateY(-1px);
}

/* Optional no-results state */
.services-empty-state {
  text-align: center;
  color: #555;
  padding: 26px 0 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .services-section h2 {
    font-size: 1.5rem;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .services-filter-bar,
  .subcategory-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .services-search-input {
    width: 100%;
  }
}

/* ============================================================
   HERO IMAGES OPTIMIZATION PATCH
   Optimized JPG format (92.6% smaller than original PNGs)
   Original: 1536x1024 PNG → Optimized: 1050x700 JPG
============================================================ */

/* Service Hero Variant - For pages using hero service images */
.aces-hero.service-hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
  padding: 100px 20px 80px;
}

/* Light overlay for better text readability */
.aces-hero.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* Ensure content stays above overlay */
.aces-hero.service-hero .aces-hero-inner {
  position: relative;
  z-index: 2;
}

/* Individual service hero backgrounds - OPTIMIZED JPGs */
.hero-auto {
  background-image: url('Icons/heroservices/hero-services-auto.jpg');
}

.hero-home {
  background-image: url('Icons/heroservices/hero-services-home.jpg');
}

.hero-motorcycle {
  background-image: url('Icons/heroservices/hero-services-motorcycle.jpg');
}

.hero-boat {
  background-image: url('Icons/heroservices/hero-services-boat.jpg');
}

.hero-rv {
  background-image: url('Icons/heroservices/hero-services-rv.jpg');
}

.hero-atv {
  background-image: url('Icons/heroservices/hero-services-atv.jpg');
}

.hero-renters {
  background-image: url('Icons/heroservices/hero-services-renters.jpg');
}

.hero-condo {
  background-image: url('Icons/heroservices/hero-services-condo.jpg');
}

.hero-bundle {
  background-image: url('Icons/heroservices/hero-services-bundle.jpg');
}

.hero-personal-umbrella {
  background-image: url('Icons/heroservices/hero-services-personalumbrella.jpg');
}

.hero-life {
  background-image: url('Icons/heroservices/hero-services-life.jpg');
}

.hero-term-life {
  background-image: url('Icons/heroservices/hero-services-termlife.jpg');
}

.hero-whole-life {
  background-image: url('Icons/heroservices/hero-services-wholelife.jpg');
}

.hero-final-expense {
  background-image: url('Icons/heroservices/hero-services-finalexpense.jpg');
}

.hero-bop {
  background-image: url('Icons/heroservices/hero-services-bop.jpg');
}

.hero-gl {
  background-image: url('Icons/heroservices/hero-services-gl.jpg');
}

.hero-commercial-auto {
  background-image: url('Icons/heroservices/hero-services-commercialauto.jpg');
}

.hero-commercial-prop {
  background-image: url('Icons/heroservices/hero-services-commercialprop.jpg');
}

.hero-commercial-trucking {
  background-image: url('Icons/heroservices/hero-services-commtrucking.jpg');
}

.hero-commercial-umbrella {
  background-image: url('Icons/heroservices/hero-services-commumbrella.jpg');
}

.hero-workers-comp {
  background-image: url('Icons/heroservices/hero-services-workerscomp.jpg');
}

.hero-inland-marine {
  background-image: url('Icons/heroservices/hero-services-inlandmarine.jpg');
}

.hero-eo {
  background-image: url('Icons/heroservices/hero-services-eo.jpg');
}

.hero-cyber {
  background-image: url('Icons/heroservices/hero-services-cyber.jpg');
}

.hero-surety-bond {
  background-image: url('Icons/heroservices/hero-services-suretybond.jpg');
}

/* Responsive adjustments for service heroes */
@media (max-width: 768px) {
  .aces-hero.service-hero {
    min-height: 320px;
    padding: 80px 20px 60px;
    background-position: center center;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .aces-hero.service-hero {
    min-height: 360px;
    background-position: center 40%;
  }
}

@media (min-width: 1201px) {
  .aces-hero.service-hero {
    min-height: 450px;
    background-position: center 35%;
  }
}

/* Large displays optimization */
@media (min-width: 1920px) {
  .aces-hero.service-hero {
    background-size: contain;
    background-color: #fff5f5;
  }
}
