/* ── SHARED STYLES: Customized Solutions Insurance LLC ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a3a6b;
  --navy-dark: #112850;
  --teal: #2a9d8f;
  --teal-light: #3bbfaf;
  --teal-pale: #e8f7f5;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --text: #1e293b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.2; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,58,107,0.1);
  padding: 0 5%; display: flex; align-items: center;
  justify-content: space-between; height: 72px; transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(26,58,107,0.12); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 110px; width: auto; }
.nav-phone { display: flex; align-items: center; gap: 6px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--navy); transition: color .2s; }
.nav-phone:hover { color: var(--teal); }
.nav-phone svg { width: 16px; height: 16px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--gray-700); transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.cta-btn { background: var(--navy) !important; color: var(--white) !important; padding: 10px 22px; border-radius: 6px; transition: background .2s !important; font-weight: 600 !important; font-size: 14px !important; }
.cta-btn:hover { background: var(--teal) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--gray-100); padding: 20px 5%; flex-direction: column; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--navy); padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.mobile-menu a.mob-cta { color: var(--teal); font-weight: 700; border-bottom: none; }

/* STICKY MOBILE CTA */
.sticky-mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 98;
  background: var(--white); border-top: 1px solid var(--gray-100);
  padding: 12px 5%; gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.sticky-mobile-cta a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; text-align: center;
}
.sticky-cta-call { background: var(--navy); color: var(--white) !important; }
.sticky-cta-quote { background: var(--teal); color: var(--white) !important; }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--teal); color: var(--white); text-decoration: none; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 4px 20px rgba(42,157,143,0.4); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-outline { display: inline-block; background: transparent; color: var(--white); text-decoration: none; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; border: 2px solid rgba(255,255,255,0.4); transition: border-color .2s, background .2s, transform .15s; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-navy { display: inline-block; background: var(--navy); color: var(--white); text-decoration: none; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: background .2s, transform .15s; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }

/* SECTION SHARED */
section { padding: 90px 5%; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--navy); margin-bottom: 20px; }
.section-sub { font-size: 1rem; color: var(--gray-500); line-height: 1.75; max-width: 580px; }

/* FAQ ACCORDION */
.faq-section { background: var(--off-white); }
.faq-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; max-width: 820px; }
details.faq-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; overflow: hidden; transition: box-shadow .2s; }
details.faq-item[open] { box-shadow: 0 4px 20px rgba(26,58,107,0.08); border-color: var(--teal); }
details.faq-item summary { padding: 20px 24px; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 16px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--teal); flex-shrink: 0; transition: transform .2s; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 20px; font-size: 0.93rem; color: var(--gray-700); line-height: 1.75; border-top: 1px solid var(--gray-100); margin-top: 0; padding-top: 16px; }

/* QUOTE FORM — 2-step */
.quote-section { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); position: relative; overflow: hidden; }
.quote-section::before { content: ''; position: absolute; inset: 0; opacity: .04; background-image: repeating-linear-gradient(45deg,var(--white) 0,var(--white) 1px,transparent 0,transparent 50%); background-size: 20px 20px; }
.quote-glow { position: absolute; top: -100px; right: 5%; width: 500px; height: 500px; background: radial-gradient(circle,rgba(42,157,143,.2) 0%,transparent 70%); pointer-events: none; }
.quote-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.quote-text .section-title { color: var(--white); }
.quote-text .section-sub { color: rgba(255,255,255,.7); }
.quote-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.quote-perks li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: .92rem; }
.quote-perks li span { color: var(--teal-light); font-size: 16px; }
.quote-form-box { background: var(--white); border-radius: 20px; padding: 40px 36px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.quote-form-box h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.quote-form-box .form-sub { font-size: .85rem; color: var(--gray-500); margin-bottom: 28px; }

/* Step indicators */
.step-indicator { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.step-dot.active { background: var(--navy); color: var(--white); }
.step-dot.done { background: var(--teal); color: var(--white); }
.step-dot.inactive { background: var(--gray-100); color: var(--gray-500); }
.step-line { flex: 1; height: 2px; background: var(--gray-100); }
.step-line.done { background: var(--teal); }

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

/* Coverage type buttons — step 1 */
.coverage-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.cov-btn { padding: 12px 10px; border: 2px solid var(--gray-200, #e2e8f0); border-radius: 10px; background: var(--white); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; text-align: center; transition: border-color .2s, background .2s, color .2s; line-height: 1.3; }
.cov-btn:hover { border-color: var(--teal); background: var(--teal-pale); }
.cov-btn.selected { border-color: var(--teal); background: var(--teal); color: var(--white); }
.cov-btn-next { width: 100%; padding: 14px; background: var(--navy); color: var(--white); border: none; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.cov-btn-next:hover { background: var(--teal); }
.cov-btn-next:disabled { opacity: .4; cursor: not-allowed; }

/* Step 2 form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { border: 1.5px solid var(--gray-300); border-radius: 8px; padding: 11px 14px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,157,143,.12); }
.form-submit { width: 100%; padding: 14px; background: var(--teal); color: var(--white); border: none; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, transform .15s; margin-top: 4px; }
.form-submit:hover { background: var(--teal-light); transform: translateY(-1px); }
.form-back { background: none; border: none; color: var(--gray-500); font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; margin-top: 10px; text-decoration: underline; display: block; }
.form-note { font-size: 11px; color: var(--gray-500); text-align: center; margin-top: 10px; }

/* SERVICE PAGE HERO */
.page-hero { padding: 140px 5% 80px; background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1f4a7a 100%); position: relative; overflow: hidden; }
.page-hero-pattern { position: absolute; inset: 0; opacity: .04; background-image: repeating-linear-gradient(45deg,var(--white) 0,var(--white) 1px,transparent 0,transparent 50%); background-size: 20px 20px; }
.page-hero-glow { position: absolute; top: -80px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle,rgba(42,157,143,.25) 0%,transparent 70%); pointer-events: none; }
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(42,157,143,.2); border: 1px solid rgba(42,157,143,.4); color: var(--teal-light); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white); margin-bottom: 20px; font-weight: 700; }
.page-hero h1 em { font-style: normal; color: var(--teal-light); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.78); line-height: 1.75; margin-bottom: 36px; max-width: 560px; font-weight: 300; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* COVERAGE DETAIL */
.coverage-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.coverage-text p { font-size: .97rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 20px; }
.coverage-includes { background: var(--teal-pale); border-radius: 16px; padding: 32px; border: 1px solid rgba(42,157,143,.2); }
.coverage-includes h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 20px; }
.coverage-includes ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.coverage-includes ul li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--gray-700); line-height: 1.6; }
.coverage-includes ul li::before { content: '✓'; display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; background: var(--teal); color: var(--white); border-radius: 50%; font-size: 11px; font-weight: 700; margin-top: 2px; flex-shrink: 0; }
.why-box { background: var(--navy); border-radius: 16px; padding: 32px; color: var(--white); margin-top: 24px; }
.why-box h3 { font-size: 1.2rem; margin-bottom: 16px; }
.why-box p { font-size: .9rem; line-height: 1.75; opacity: .85; }

/* BREADCRUMB */
.breadcrumb { padding: 14px 5%; background: var(--gray-100); font-size: 13px; color: var(--gray-500); }
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 6px; }

/* RELATED SERVICES */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.related-card { border: 1px solid var(--gray-100); border-radius: 14px; padding: 28px 24px; text-decoration: none; display: block; transition: box-shadow .2s, transform .2s, border-color .2s; }
.related-card:hover { box-shadow: 0 8px 28px rgba(26,58,107,.1); transform: translateY(-3px); border-color: var(--teal); }
.related-card .icon { font-size: 28px; margin-bottom: 12px; }
.related-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.related-card p { font-size: .83rem; color: var(--gray-500); line-height: 1.6; }

/* FOOTER */
footer { background: var(--navy-dark); color: var(--white); padding: 60px 5% 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 32px; }
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: .84rem; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 260px; }
.footer-brand .footer-phone { display: block; margin-top: 16px; color: var(--teal-light); font-weight: 600; font-size: .95rem; text-decoration: none; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,.65); font-size: .87rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 12px; }
.footer-license { color: var(--teal-light); font-weight: 600; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.anim-hero { animation: fadeUp .9s ease both; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .quote-inner { grid-template-columns: 1fr; gap: 48px; }
  .coverage-detail { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .sticky-mobile-cta { display: flex; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 68px 5%; }
  .coverage-buttons { grid-template-columns: 1fr; }
}
