/* ===========================
   Variables & Reset
=========================== */
:root {
  /* Header / Hero palette — DO NOT change */
  --blue-dark:    #1a3a5c;
  --blue-mid:     #1e5799;
  --blue-light:   #2e86de;
  --blue-pale:    #e8f1fb;
  --white:        #ffffff;
  --gray-light:   #f4f6f9;
  --gray-mid:     #d1d9e0;
  --gray-text:    #555e6a;
  --text:         #1c2530;
  --radius:       8px;
  --shadow:       0 2px 12px rgba(0, 0, 0, 0.08);
  --transition:   0.2s ease;

  /* Modern section palette */
  --navy:         #1C2B47;
  --body-text:    #4A5568;
  --bg-off-white: #F7F8FA;
  --border-light: #E2E8F0;
  --card-radius:  12px;
  --card-shadow:  0 2px 20px rgba(0, 0, 0, 0.07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--body-text);
  line-height: 1.65;
  background: var(--white);
}

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

a {
  color: var(--blue-light);
  text-decoration: none;
}

/* ===========================
   Utility
=========================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--body-text);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--blue-light);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46, 134, 222, 0.35);
}

/* ===========================
   Header  (UNTOUCHED)
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--blue-pale);
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--blue-pale);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--blue-light);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: #1e78d0 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ===========================
   Hero  (UNTOUCHED)
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 5rem 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.btn-hero-primary {
  background: #FF6B35;
  color: var(--white);
  padding: 1.05rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: 0 4px 22px rgba(255, 107, 53, 0.5);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-hero-primary:hover {
  background: #e65100;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(245, 124, 0, 0.6);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 1.85rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.trust-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.9;
}

/* ===========================
   How It Works
=========================== */
.how-it-works {
  padding: 6rem 0;
  background: var(--white);
}

.steps-list {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 0;
  border-top: 2px dashed var(--gray-mid);
  z-index: 0;
}

.step-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.step-circle-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.step-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(28, 43, 71, 0.25);
}

.step-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.step-col p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===========================
   Services
=========================== */
.services {
  background: var(--gray-light);
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===========================
   Why Us
=========================== */
.why-us {
  padding: 6rem 0;
  background: var(--white);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-headline {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-check-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.why-item-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.why-item-body p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===========================
   FAQ
=========================== */
.faq-section {
  padding: 6rem 0;
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1.5rem;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--blue-light);
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--navy);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 1.35rem;
  color: var(--body-text);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ===========================
   Quote Form
=========================== */
.quote-section {
  background: var(--bg-off-white);
  padding: 6rem 0;
}

.quote-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2.75rem 3rem;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.required {
  color: #E53E3E;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0AEC0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28, 43, 71, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.25rem;
  border-radius: 50px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(28, 43, 71, 0.25);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-submit:hover {
  background: #152038;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(28, 43, 71, 0.35);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #A0AEC0;
  margin-top: 0.75rem;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.97rem;
  min-height: 1.4rem;
}

.form-status.success { color: #38A169; }
.form-status.error   { color: #E53E3E; }

/* ===========================
   Footer
=========================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 3rem 1rem;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.site-footer p {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-layout {
    gap: 3rem;
  }

  .quote-form {
    padding: 2.25rem 2rem;
  }
}

@media (max-width: 640px) {
  /* Nav / Header (UNTOUCHED) */
  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  /* Hero (UNTOUCHED) */
  .hero-content {
    padding: 4rem 0 3rem;
  }

  .hero-trust {
    gap: 0.5rem;
  }

  .trust-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.875rem;
  }

  /* Below-hero sections */
  .how-it-works,
  .services,
  .why-us,
  .faq-section,
  .quote-section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Steps: stack vertically */
  .steps-list {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .steps-list::before {
    display: none;
  }

  .step-col {
    width: 100%;
    max-width: 420px;
    padding: 0;
  }

  .step-circle {
    width: 4rem;
    height: 4rem;
    font-size: 1.65rem;
  }

  /* Why Us */
  .why-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.95rem;
    padding: 1.15rem 0;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-form {
    padding: 1.75rem 1.25rem;
  }
}
