:root {
  --primary: #003a70;
  --primary-dark: #002850;
  --primary-light: #0055a4;
  --accent: #ff7a00;
  --accent-dark: #e56e00;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0c1b2e;
  --border: #e5e7eb;
  --success: #16a34a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #fff; }
.topbar .topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
}
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 240px;
  padding: 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  list-style: none;
  border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { display: block; margin: 0; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover { background: var(--bg-alt); color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: #fff; }
.hero p.lead {
  font-size: 1.2rem;
  margin: 16px 0 28px;
  opacity: 0.95;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-trust .trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.hero-trust .check {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* quick quote card */
.quick-quote {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.quick-quote h3 { color: var(--primary); margin-bottom: 4px; }
.quick-quote .subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.quote-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.quote-tab {
  padding: 12px;
  background: var(--bg-alt);
  border: 2px solid transparent;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.2s;
}
.quote-tab:hover { border-color: var(--primary-light); }
.quote-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.quote-tab .tab-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,58,112,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== SECTION ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header .eyebrow {
  display: inline-block;
  background: rgba(255,122,0,0.1);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card .card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3.5rem;
}
.product-card .card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { margin-bottom: 10px; }
.product-card p { color: var(--text-muted); flex: 1; margin-bottom: 16px; }
.product-card .card-link {
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card .card-link::after { content: '→'; transition: transform 0.2s; }
.product-card:hover .card-link::after { transform: translateX(4px); }

/* ===== FEATURE STRIP ===== */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 24px;
}
.feature-item .feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: rgba(0,58,112,0.08);
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ===== STATS ===== */
.stats {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.95rem; opacity: 0.85; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial .stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}
.testimonial .author { font-weight: 600; color: var(--primary); }
.testimonial .author-role { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { font-size: 1.15rem; opacity: 0.95; max-width: 640px; margin: 0 auto 28px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header .breadcrumb { opacity: 0.85; font-size: 0.9rem; }
.page-header .breadcrumb a { color: #fff; }

/* ===== CONTENT BLOCKS ===== */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.content-image {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 5rem;
}
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 22px; height: 22px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius-lg);
}
.contact-info-card .info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-card .info-row:last-child { border-bottom: none; }
.contact-info-card .info-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-card .info-text strong { display: block; color: var(--primary); margin-bottom: 2px; }
.contact-info-card .info-text { font-size: 0.95rem; color: var(--text-muted); }

.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.site-footer .footer-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer p { font-size: 0.92rem; line-height: 1.7; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #cbd5e1; font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent); }

.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--accent); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero .container,
  .content-two-col,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero { padding: 56px 0 72px; }
  .section { padding: 56px 0; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 80px 24px 24px;
    transition: right 0.3s;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; width: 100%; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    background: transparent;
  }
  .menu-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .topbar .topbar-info { gap: 12px; font-size: 0.8rem; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .stat-number { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
