/* =========================================================
   Ansuncons — Site Stylesheet
   Theme: black navigation, green accent, white content
   Edit any colors, spacing, or copy below directly.
   ========================================================= */

:root {
  --color-black: #0b0d0c;
  --color-black-soft: #141715;
  --color-green: #1f8a4c;
  --color-green-dark: #146238;
  --color-green-light: #e8f5ec;
  --color-white: #ffffff;
  --color-off-white: #f6f7f5;
  --color-text: #1b1f1d;
  --color-text-muted: #565f5a;
  --color-border: #e1e4e0;
  --max-width: 1180px;
  --radius: 10px;
  --shadow-card: 0 6px 24px rgba(11, 13, 12, 0.08);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-green);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--color-green-dark);
  color: #ffffff;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  background: var(--color-black);
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
  max-height: 48px;
}

.footer-logo {
  width: 154px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  width: 42px;
  height: 38px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 18px; }
.nav-toggle::before { top: 12px; }
.nav-toggle::after { top: 24px; }
.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  border-bottom-color: var(--color-green);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-black-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-width: 260px;
  padding: 8px;
  margin-top: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  border-bottom: none;
  font-size: 14px;
}

.dropdown a:hover {
  background: rgba(31, 138, 76, 0.18);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-green);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--color-green-dark);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.btn-outline-light:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-black);
  color: var(--color-black);
}
.btn-outline-dark:hover {
  background: var(--color-black);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-black);
  background-image: linear-gradient(90deg, rgba(5, 7, 6, 0.9) 0%, rgba(5, 7, 6, 0.74) 42%, rgba(5, 7, 6, 0.3) 100%), url("/images/hero-desk.png");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 12, 0) 70%, rgba(11, 13, 12, 0.28) 100%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 106px);
  padding-top: 76px;
  padding-bottom: 76px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 690px;
}


.hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}
.hero-trust strong {
  color: #ffffff;
  display: block;
  font-size: 20px;
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-off-white);
}

.section-dark {
  background: var(--color-black);
  color: #ffffff;
}

.section-head {
  max-width: 660px;
  margin: 0 0 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  color: var(--color-green-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-dark .section-tag {
  color: #6bd39a;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 16.5px;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 13, 12, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-green-light);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0 0 14px;
}

.card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-green-dark);
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-green-dark);
  font-weight: 800;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-green);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-green-dark), var(--color-green));
  color: #ffffff;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
}
.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
}
.cta-banner .btn-primary {
  background: #ffffff;
  color: var(--color-green-dark);
}
.cta-banner .btn-primary:hover {
  background: var(--color-black);
  color: #ffffff;
}
.cta-phone {
  font-size: 22px;
  font-weight: 800;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  border-top: 1px solid var(--color-border);
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-green);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-question .plus {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--color-text-muted);
  font-size: 15.5px;
}
.faq-answer-inner {
  padding: 0 4px 22px;
}
.faq-item.is-open .faq-answer {
  max-height: 600px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13.5px;
  color: var(--color-text-muted);
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb a {
  text-decoration: none;
  color: var(--color-text-muted);
}
.breadcrumb a:hover {
  color: var(--color-green-dark);
}
.breadcrumb .sep {
  margin: 0 8px;
  color: #b7bcb7;
}
.breadcrumb .current {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--color-black);
  color: #ffffff;
  padding: 56px 0;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 68ch;
  font-size: 17px;
  margin: 0;
}

/* ---------- Prose / long-form content ---------- */
.prose {
  max-width: 800px;
}
.prose h2 {
  font-size: 26px;
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 20px;
  margin: 30px 0 12px;
}
.prose p {
  color: var(--color-text);
  font-size: 16px;
  margin: 0 0 18px;
}
.prose ul, .prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.prose li {
  margin-bottom: 10px;
}
.prose a {
  color: var(--color-green-dark);
  font-weight: 600;
}

.callout {
  background: var(--color-green-light);
  border-left: 4px solid var(--color-green);
  border-radius: 8px;
  padding: 20px 22px;
  margin: 26px 0;
  font-size: 15.5px;
  color: var(--color-text);
}
.callout strong { color: var(--color-green-dark); }

.sidebar-box {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.sidebar-box h3 {
  margin: 0 0 14px;
  font-size: 17px;
}
.sidebar-box .btn { margin-top: 6px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
}

/* ---------- Table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
  font-size: 14.5px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
}
.data-table th {
  background: var(--color-off-white);
  font-weight: 700;
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 14px;
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #ffffff;
  color: var(--color-text);
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 1px;
}
.form-note {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 32ch;
  margin: 14px 0 0;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
}
.footer-col a:hover {
  color: var(--color-green);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-disclaimer {
  padding-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.badge {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container {
    min-height: calc(100vh - 68px);
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--color-black);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    margin: 0 0 8px 14px;
    border: none;
    background: transparent;
    padding: 0;
  }
  .nav-cta {
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .cta-banner { padding: 32px 24px; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  body { padding-bottom: 66px; }
  .brand-logo {
    width: 156px;
  }
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(5, 7, 6, 0.28) 0%,
        rgba(5, 7, 6, 0.58) 52%,
        rgba(5, 7, 6, 0.86) 100%
      ),
      url("/images/hero-desk.png");
    background-position: 64% center;
  }
  .hero::after {
  background: rgba(0, 0, 0, 0.38);
  }
  .hero .container {
    min-height: calc(100vh - 68px);
    align-items: center;
    justify-content: center;
    padding-top: 52px;
    padding-bottom: 52px;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    transform: translateY(-50px);
  }

  .hero h1 {
    max-width: 12ch;
    margin: 0 auto 24px;
    font-size: clamp(40px, 11vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }

  .hero p.lead {
    max-width: 34ch;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
  }

  .hero-actions {
    display: none;
  }

  .hero-trust {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--color-black);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 65px;
  background: var(--color-green);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  padding: 15px 12px;
  border-radius: 0;
}
.mobile-call-bar svg { flex-shrink: 0; }

@media (max-width: 720px) {
  .mobile-call-bar { display: flex; }
}
