/* ============================================================
   Nascimento Contabilidade — Design System (Fincco-inspired)
   Paleta: Navy escuro + Verde accent + Tipografia Fraunces/Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Core palette */
  --navy:        #0B2735;
  --navy-deep:   #071B26;
  --navy-mid:    #0F3447;
  --navy-light:  #153D55;
  --dark:        #161616;

  /* Accent greens */
  --green:       #4AAB3D;
  --green-light: #72E485;
  --green-glow:  rgba(74,171,61,.18);
  --green-border:rgba(74,171,61,.30);

  /* Light backgrounds */
  --bg-light:    #F5F7F8;
  --bg-white:    #FAFBFC;

  /* Text */
  --text-white:  #FFFFFF;
  --text-muted:  rgba(255,255,255,.72);
  --text-faint:  rgba(255,255,255,.48);
  --text-dark:   #0B2735;
  --text-body:   #48586A;

  /* Lines */
  --line-dark:   rgba(255,255,255,.10);
  --line-light:  rgba(11,39,53,.10);

  /* Shadows */
  --shadow:      0 24px 60px rgba(7,27,38,.28);
  --shadow-soft: 0 12px 32px rgba(7,27,38,.14);
  --shadow-card: 0 8px 24px rgba(11,39,53,.10);

  /* Layout */
  --container:   1240px;
  --radius:      24px;
  --radius-sm:   14px;
  --radius-xs:   10px;
  --transition:  200ms ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin: 0;
  color: var(--text-dark);
}
h1 { font-size: clamp(42px, 5vw, 64px); letter-spacing: -1.5px; line-height: 1.05; }
h2 { font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -1px; }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.3px; }
p { margin: 0; }

/* ── Layout ── */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}
.narrow { width: min(calc(100% - 40px), 860px); }
.section { padding: 100px 0; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  margin-top: 56px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px;
  margin-top: 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* ── Eyebrow labels ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 999px;
  flex-shrink: 0;
}
.eyebrow.dark { color: var(--green); }

/* ── Section heads ── */
.section-head { margin-bottom: 60px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { max-width: 64ch; font-size: 17px; color: var(--text-muted); }
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }
.section-head.on-light h2 { color: var(--text-dark); }
.section-head.on-light p { color: var(--text-body); }
.section-head.on-light .eyebrow { color: var(--green); }
.section-head.on-light .eyebrow::before { background: var(--green); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green);
  color: var(--text-white);
}
.btn-primary:hover {
  background: #3d9532;
  box-shadow: 0 8px 24px rgba(74,171,61,.35);
}

.btn-secondary {
  background: rgba(255,255,255,.14);
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.22);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--line-light);
}
.btn-outline:hover {
  background: var(--bg-light);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
}

.btn-block { width: 100%; justify-content: center; padding: 16px; font-size: 17px; }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(7,27,38,.4);
}

.topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-muted);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}
.topbar p { margin: 0; }
.topbar-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar a { color: var(--text-muted); transition: color var(--transition); }
.topbar a:hover { color: var(--text-white); }

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu > li { position: relative; }
.menu a, .menu-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.menu a.active,
.menu a:hover,
.menu-button:hover,
.menu-button[aria-expanded="true"] {
  background: var(--green-glow);
  color: var(--text-white);
}
.menu-button::after { content: '▾'; font-size: 11px; opacity: .7; }

.dropdown-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  width: min(600px, calc(100vw - 32px));
  background: var(--navy-mid);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-title {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}
.dropdown-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dropdown-panel a {
  display: flex;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}
.dropdown-panel a:hover,
.dropdown-panel a.active {
  background: var(--green-glow);
  color: var(--text-white);
}

.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.05);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}
.site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.home-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 80% 50%, rgba(74,171,61,.12) 0%, transparent 60%),
                    radial-gradient(ellipse at 10% 90%, rgba(11,39,53,.9) 0%, transparent 60%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.home-hero h1 { color: var(--text-white); margin-bottom: 22px; }
.home-hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.metric-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.metric-pill strong {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-light);
}
.metric-pill span { font-size: 13px; color: var(--text-muted); }

/* Hero visual */
.hero-visual { position: relative; }
.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.image-frame.spotlight {
  min-height: 480px;
  border-radius: 32px;
}
.image-frame.tall {
  min-height: 520px;
  border-radius: 32px;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
  max-width: 240px;
}
.floating-card.fc-top { top: -20px; right: -28px; }
.floating-card.fc-bottom { bottom: -20px; left: -28px; }
.floating-card .mini-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.floating-card strong { display: block; color: var(--text-dark); font-size: 14px; margin-bottom: 4px; }
.floating-card p { font-size: 12px; color: var(--text-body); line-height: 1.5; }

/* ── Stats strip ── */
.stats-strip {
  background: var(--navy-deep);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 2px;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--line-dark);
}
.stat-item:last-child { border-right: 0; }
.stat-item .num {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  display: block;
  letter-spacing: -1px;
}
.stat-item .label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Info/Feature cards (light background) ── */
.surface-section { background: var(--bg-light); }

.cards-spaced { margin-top: 56px; }
.info-card {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-border);
}
.info-card h3 { color: var(--text-dark); margin: 16px 0 10px; }
.info-card p { color: var(--text-body); font-size: 15px; line-height: 1.6; }

.card-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  font-size: 24px;
  color: var(--green);
}

/* ── Service cards (dark background) ── */
.services-section {
  background: var(--navy);
  background-image: radial-gradient(ellipse at top right, rgba(74,171,61,.08) 0%, transparent 60%);
}
.services-section .section-head h2 { color: var(--text-white); }
.services-section .section-head p { color: var(--text-muted); }

.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--green-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(74,171,61,.12);
}
.service-card .card-icon {
  background: var(--green-glow);
  border-color: var(--green-border);
}
.service-card h3 { color: var(--text-white); margin: 18px 0 10px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.65; flex: 1; }
.text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 22px;
  color: var(--green-light);
  font-size: 14px;
  font-weight: 600;
  transition: gap var(--transition);
}
.text-link::after { content: '→'; }
.service-card:hover .text-link { gap: 10px; }

/* ── About section ── */
.about-section {
  background: var(--bg-white);
}
.about-section .eyebrow { color: var(--green); }
.about-section .eyebrow::before { background: var(--green); }
.about-section h2 { color: var(--text-dark); margin-bottom: 18px; }
.about-section p { color: var(--text-body); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }

.about-image-wrap { position: relative; }
.about-image-wrap .image-frame { height: 560px; }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -24px;
  background: var(--green);
  color: var(--text-white);
  border-radius: 20px;
  padding: 20px 26px;
  box-shadow: 0 12px 32px rgba(74,171,61,.4);
  text-align: center;
}
.about-badge strong { display: block; font-family: 'Fraunces', serif; font-size: 36px; line-height: 1; }
.about-badge span { font-size: 12px; opacity: .9; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.mission-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}
.mission-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 18px 20px;
}
.mission-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mission-card strong { display: block; color: var(--text-dark); margin-bottom: 4px; font-size: 15px; }
.mission-card p { font-size: 14px; color: var(--text-body); line-height: 1.5; }

/* ── Steps ── */
.steps-section {
  background: var(--navy);
  background-image: radial-gradient(ellipse at bottom left, rgba(74,171,61,.1) 0%, transparent 55%);
}
.steps-section .section-head h2 { color: var(--text-white); }
.steps-section .section-head p { color: var(--text-muted); }

.step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}
.step-card:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--green-border);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green-light);
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}
.step-card h3 { color: var(--text-white); margin-bottom: 10px; font-size: 20px; }
.step-card p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ── Testimonials ── */
.testimonials-section {
  background: var(--bg-light);
}
.review-card {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.review-card .stars { color: #f0b429; letter-spacing: .2em; font-size: 18px; margin-bottom: 18px; }
.review-card blockquote {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
}
.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-card cite::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--green);
  border-radius: 999px;
}

/* ── FAQ ── */
.faq-section { background: var(--bg-white); }
.faq-section .section-head.on-light h2 { color: var(--text-dark); }
.faq-list { display: grid; gap: 12px; margin-top: 48px; }
details {
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}
details[open] { border-color: var(--green-border); }
summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  color: var(--green);
  font-size: 20px;
  flex-shrink: 0;
}
details[open] summary::after {
  content: '–';
  background: var(--green-glow);
  border-color: var(--green-border);
}
details p { padding: 0 26px 22px; color: var(--text-body); line-height: 1.7; }

/* ── Contact ── */
.contact-section { background: var(--navy); background-image: radial-gradient(ellipse at top left, rgba(74,171,61,.1) 0%, transparent 50%); }
.contact-copy { display: grid; gap: 20px; align-content: start; }
.contact-copy .eyebrow { color: var(--green-light); }
.contact-copy h2 { color: var(--text-white); }
.contact-copy p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
}
.check-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green-light);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-info-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.contact-info-box {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.contact-info-box h3 { color: var(--text-white); font-size: 17px; margin-bottom: 12px; }
.contact-info-box p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Contact form panel */
.contact-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-panel h2 { color: var(--text-white); margin-bottom: 8px; }
.contact-panel > p { color: var(--text-muted); margin-bottom: 4px; font-size: 15px; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
}
.field { display: grid; gap: 8px; }
.field-span-2 { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: .03em; }

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.38); }
.lead-form select { color: rgba(255,255,255,.85); }
.lead-form option { color: var(--text-dark); background: white; }
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: var(--green-border);
  background: rgba(255,255,255,.10);
}

.form-submit-wrap { margin-top: 28px; }
.form-note { margin-top: 12px; color: var(--text-faint); font-size: 13px; text-align: center; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line-dark);
  color: var(--text-muted);
}
.footer-grid { padding: 80px 0 48px; }
.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-grid p { font-size: 14px; line-height: 1.7; max-width: 30ch; }
.footer-grid h3 {
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 18px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list li, .footer-list a { font-size: 14px; color: var(--text-muted); }
.footer-list a:hover { color: var(--text-white); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0 28px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--text-faint); }

/* ── WhatsApp float ── */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #25D366;
  color: var(--text-white);
  font-size: 26px;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(37,211,102,.55);
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--line-dark);
  border-radius: 36px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-band h2 { color: var(--text-white); max-width: 46ch; }
.cta-band p { color: var(--text-muted); margin-top: 10px; font-size: 16px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at top right, rgba(74,171,61,.12) 0%, transparent 55%);
  padding: 80px 0;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.page-hero h1 { color: var(--text-white); margin-bottom: 18px; }
.page-hero .lead { font-size: 17px; color: var(--text-muted); max-width: 52ch; margin-bottom: 32px; line-height: 1.7; }
.page-hero .hero-actions { margin-bottom: 32px; }

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.hero-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
}
.hero-checks li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 800;
  flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-faint);
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb strong { color: var(--green-light); }

/* ── Inner page sections ── */
.section-dark {
  background: var(--navy);
  background-image: radial-gradient(ellipse at top right, rgba(74,171,61,.06) 0%, transparent 50%);
}
.section-dark h2 { color: var(--text-white); }
.section-dark p { color: var(--text-muted); }
.section-dark .eyebrow { color: var(--green-light); }
.section-dark .eyebrow::before { background: var(--green); }

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.bullet-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-body);
}
.bullet-list li::before {
  content: '•';
  color: var(--green);
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.bullet-list.light li { color: var(--text-muted); }
.bullet-list.light li::before { color: var(--green-light); }

.panel {
  border-radius: var(--radius);
  padding: 32px;
}
.panel-dark {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
}
.panel-dark h3 { color: var(--text-white); margin-bottom: 16px; }
.panel-soft {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card);
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Counter animation ── */
.counter { transition: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-grid,
  .page-hero-grid,
  .two-col,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band-actions { justify-content: flex-start; }
  .floating-card { display: none; }
  .about-badge { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-mid);
    border: 1px solid var(--line-dark);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 20px;
    gap: 12px;
  }
  .site-header.menu-open .primary-nav { display: flex; }
  .menu { width: 100%; flex-direction: column; align-items: stretch; gap: 2px; }
  .menu > li, .menu a, .menu-button { width: 100%; }
  .menu a, .menu-button { border-radius: 12px; justify-content: space-between; }
  .dropdown-panel {
    position: static;
    width: 100%;
    border-radius: 14px;
    padding: 16px;
    margin-top: 8px;
    box-shadow: none;
    grid-template-columns: 1fr;
    opacity: 1; visibility: visible; transform: none;
    display: none; pointer-events: auto;
  }
  .has-dropdown.is-open .dropdown-panel { display: grid; }
  .nav-cta { margin: 0; width: 100%; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .topbar { display: none; }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(36px, 10vw, 52px); }
  h2 { font-size: clamp(28px, 8vw, 38px); }
  .service-grid,
  .steps-grid,
  .grid-3,
  .grid-4,
  .stats-grid,
  .field-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .stat-item:last-child { border-bottom: 0; }
  .field-span-2 { grid-column: auto; }
  .cta-band { padding: 36px 28px; border-radius: 24px; }
  .contact-panel { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .image-frame.spotlight,
  .image-frame.tall { min-height: 320px; }
}


/* ═══════════════════════════════════════════
   Context corrections & compatibility aliases
   ═══════════════════════════════════════════ */

/* Button aliases */
.btn-accent { background: var(--green); color: var(--text-white); }
.btn-accent:hover { background: #3d9532; box-shadow: 0 8px 24px rgba(74,171,61,.35); }

/* Dark contact panel — dark bg regardless of parent section */
.contact-panel,
.contact-panel.surface-dark {
  background: linear-gradient(175deg, var(--navy-mid) 0%, var(--navy-deep) 100%) !important;
  border: 1px solid var(--line-dark) !important;
}

/* ── Headings: dark-bg sections → white ── */
.services-section h2,
.steps-section h2,
.contact-section h2,
.section-dark h2,
.page-hero h2,
.home-hero h2,
.cta-band h2 { color: var(--text-white); }

/* ── Headings: light-bg sections → dark ── */
.surface-section h2,
.about-section h2,
.testimonials-section h2,
.faq-section h2 { color: var(--text-dark) !important; }

/* Base h2 inside plain .section — dark (white bg) */
.section:not(.section-dark):not(.services-section):not(.steps-section):not(.contact-section):not(.surface-section):not(.about-section):not(.testimonials-section):not(.faq-section) .section-head h2 { color: var(--text-dark); }
.section:not(.section-dark):not(.services-section):not(.steps-section):not(.contact-section):not(.surface-section):not(.about-section):not(.testimonials-section):not(.faq-section) .section-head p { color: var(--text-body); }

/* Remove the problematic blanket overrides */

/* ── Eyebrow colors by context ── */
/* Dark sections → bright green */
.services-section .eyebrow,
.steps-section .eyebrow,
.contact-section .eyebrow,
.section-dark .eyebrow,
.page-hero .eyebrow,
.home-hero .eyebrow,
.cta-band .eyebrow,
.contact-panel .eyebrow {
  color: var(--green-light);
}
.services-section .eyebrow::before,
.steps-section .eyebrow::before,
.contact-section .eyebrow::before,
.section-dark .eyebrow::before,
.page-hero .eyebrow::before,
.home-hero .eyebrow::before,
.contact-panel .eyebrow::before { background: var(--green); }

/* Light sections → solid green */
.surface-section .eyebrow,
.about-section .eyebrow,
.testimonials-section .eyebrow,
.faq-section .eyebrow {
  color: var(--green) !important;
}
.surface-section .eyebrow::before,
.about-section .eyebrow::before,
.testimonials-section .eyebrow::before,
.faq-section .eyebrow::before { background: var(--green) !important; }

/* Plain white section headings */
.section:not(.section-dark):not(.services-section):not(.steps-section):not(.contact-section):not(.surface-section):not(.about-section):not(.testimonials-section):not(.faq-section) .eyebrow {
  color: var(--green);
}
.section:not(.section-dark):not(.services-section):not(.steps-section):not(.contact-section):not(.surface-section):not(.about-section):not(.testimonials-section):not(.faq-section) .eyebrow::before {
  background: var(--green);
}

/* .eyebrow.light always forces bright green */
.eyebrow.light { color: var(--green-light) !important; }

/* ── check-list defaults ── */
/* On LIGHT backgrounds (default) → dark body text */
.check-list li { color: var(--text-body); }
.check-list li::before {
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green);
}
/* On DARK backgrounds → muted white */
.check-list.light li { color: var(--text-muted); }
.check-list.light li::before {
  background: rgba(74,171,61,.14);
  border-color: var(--green-border);
  color: var(--green-light);
}

/* ── Contact copy on any section ── */
.contact-copy h2 { color: var(--text-dark); }
.contact-copy p { color: var(--text-body); }
.contact-copy .eyebrow { color: var(--green) !important; }
.contact-copy .eyebrow::before { background: var(--green) !important; }
/* Override for dark contact-section */
.contact-section .contact-copy h2 { color: var(--text-white) !important; }
.contact-section .contact-copy p { color: var(--text-muted) !important; }
.contact-section .contact-copy .eyebrow { color: var(--green-light) !important; }

/* ── Panel soft on light sections ── */
.panel-soft {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 32px;
}
.panel-soft h3 { color: var(--text-dark); margin-bottom: 14px; }
.panel-soft .bullet-list li { color: var(--text-body); }
.panel-soft .bullet-list li::before { color: var(--green); }

/* ── Panel dark always dark ── */
.panel-dark {
  background: rgba(11,39,53,.06);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 32px;
}
.section-dark .panel-dark {
  background: rgba(255,255,255,.05);
  border-color: var(--line-dark);
}
.panel-dark h3 { color: var(--text-dark); margin-bottom: 14px; }
.section-dark .panel-dark h3 { color: var(--text-white); }

/* ── section-dark bullet-list ── */
.section-dark .bullet-list li { color: var(--text-muted); }
.section-dark .bullet-list.light li { color: var(--text-muted); }

/* ── Inner page about: plain .section two-col ── */
.section:not(.section-dark) .two-col .check-list li { color: var(--text-body); }
.section:not(.section-dark) .two-col .check-list li::before { color: var(--green); background: var(--green-glow); border-color: var(--green-border); }

/* ── cta-band always dark ── */
.cta-band { color: var(--text-muted); }
.cta-band h2 { color: var(--text-white) !important; }
.cta-band p { color: var(--text-muted); }
.cta-band .eyebrow { color: var(--green-light) !important; }
.cta-band .eyebrow::before { background: var(--green) !important; }

/* ── surface-section section-head p ── */
.surface-section .section-head p { color: var(--text-body) !important; }
.testimonials-section .section-head p { color: var(--text-body) !important; }

/* ── page-hero lead ── */
.page-hero .lead { color: var(--text-muted); }

/* ── Responsive additions ── */
@media (max-width: 680px) {
  .contact-panel,
  .contact-panel.surface-dark { padding: 28px 20px !important; }
}
