/* Calventus - consolidated styles (templates + brand tokens) */

:root {
  --primary: #1A5276;
  --accent: #F4A41A;
  --bg-light: #F7F9FC;
  --bg-dark: #0D1B2A;
  --text-main: #1C2B39;
  --text-muted: #5A6A7A;
  --border: #DDE4ED;
  --white: #FFFFFF;
  --success: #2E7D32;
  --cta: #E05C1A;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-8: 5rem;
  --radius-md: 8px;
  --radius-lg: 12px;
  --header-h: 4.25rem;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-light);
  padding-top: var(--header-h);
}

@media (min-width: 769px) {
  body {
    font-size: 1.0625rem;
  }
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--cta);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cta);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

.container.narrow {
  max-width: 760px;
}

/* -- Header -- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.2);
}

.inside-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-wordmark,
.mobile-wordmark {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-wordmark:hover,
.mobile-wordmark:hover {
  color: var(--accent);
}

.main-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 769px) and (max-width: 900px) {
  .nav-links {
    gap: 0.25rem 0.65rem;
  }

  .nav-links a {
    font-size: 0.875rem;
  }

  .nav-cta {
    padding: 0.55rem 0.95rem;
    font-size: 0.875rem;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 360px);
  height: 100%;
  background: var(--white);
  z-index: 999;
  padding: var(--space-4);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.mobile-wordmark {
  color: var(--primary);
}

.mobile-wordmark:hover {
  color: var(--cta);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
}

.mobile-menu-close:hover {
  background: var(--bg-light);
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.mobile-nav-links a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-nav-links .mobile-cta {
  margin-top: var(--space-3);
  text-align: center;
  background: var(--cta);
  color: var(--white);
}

.mobile-nav-links .mobile-cta:hover {
  background: #c24e16;
  color: var(--white);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-navigation {
    display: none;
  }
}

body.menu-open {
  overflow: hidden;
}

/* -- Hero -- */
.hero-section {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: var(--space-6) var(--space-4);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 0;
    padding-top: calc(var(--space-6) + 0.25rem);
    padding-bottom: clamp(3rem, 18vw, 5.5rem);
    align-items: center;
  }

  .hero-content {
    padding-bottom: 0.35rem;
    width: 100%;
  }

  .hero-cta {
    width: 100%;
    max-width: 22rem;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    line-height: 1.35;
    padding: 0.9rem 1.15rem;
    font-size: 1rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg-dark);
  background-image:
    linear-gradient(rgba(13, 27, 42, 0.82), rgba(26, 82, 118, 0.78)),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}

.hero-description {
  margin: 0 0 var(--space-5);
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cta {
  background: var(--cta);
  color: var(--white);
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
}

.btn-cta:hover {
  background: #c24e16;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(224, 92, 26, 0.35);
}

.btn-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.hero-cta {
  min-width: 220px;
}

/* CTA wrappers: must not rely on .section p (see :not(.section-cta-wrap) above) */
.section-cta-wrap {
  display: block;
  margin-top: clamp(3rem, 7vw, 5rem);
  margin-bottom: var(--space-4);
}

.section-cta-wrap.center {
  text-align: center;
}

.section-cta-wrap--after-cards {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.section-cta-wrap--after-callouts {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.section-cta-wrap--after-faq {
  margin-top: clamp(3.25rem, 7vw, 5rem);
}

/* FAQ block does not use .section class; keep CTA spacing consistent */
.faq p.section-cta-wrap {
  margin-top: clamp(3.25rem, 7vw, 5rem);
  margin-bottom: var(--space-4);
}

/* -- Trust bar -- */
.trust-bar {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .trust-bar-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.trust-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  stroke: var(--accent);
}

.intro-strip {
  background: var(--bg-light);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}

.keyword-lead {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
}

.authority-topics {
  max-width: 900px;
  margin: var(--space-4) auto 0;
  padding: 0 var(--space-4);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Credentials strip (scale / track record) */
.credentials-strip {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .credentials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cred-item {
  padding: var(--space-3);
}

.cred-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--primary);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.cred-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

/* Prop 2: centered title, left-aligned body + stats (desktop reference) */
#prop2-funding > .container > p {
  text-align: left;
  max-width: 52rem;
}

#prop2-funding .stat-bar {
  justify-items: stretch;
}

#prop2-funding .stat-item {
  text-align: left;
}

#prop2-funding .section-cta-wrap {
  text-align: left;
}

#prop2-funding .authority-links {
  font-size: 0.95rem;
  color: var(--text-muted);
}

#prop2-funding .authority-links a {
  font-weight: 600;
}

/* Proof / case study (Kansas district example) */
.proof-kicker {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.35;
  margin: 0 0 var(--space-4);
}

.proof-metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-3);
}

@media (min-width: 600px) {
  .proof-metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-metric {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.proof-metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--accent);
  font-weight: 400;
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.proof-metric-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.see-how-wrap {
  margin: 0 0 var(--space-5);
  text-align: center;
}

@media (min-width: 769px) {
  .proof-section-inner .see-how-wrap {
    text-align: left;
  }
}

.link-on-dark {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-on-dark:hover {
  color: var(--white);
}

#proof .lead-light {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 52rem;
}

/* IAQ: centered H2, left-aligned body */
#indoor-air-quality .lead-light {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 52rem;
}

#indoor-air-quality .two-col-callouts {
  text-align: left;
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

/* Solution: centered intro under H2 */
#multizone-systems .lead-light {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* -- Sections -- */
.section {
  padding: var(--space-8) 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.92);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark a {
  color: var(--accent);
}

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

/* CTA buttons must stay high-contrast (avoid .section-dark a turning label orange) */
.section-dark a.btn-cta {
  color: var(--white);
  background: var(--cta);
  border: none;
}

.section-dark a.btn-cta:hover {
  color: var(--white);
  background: #c24e16;
}

.section-dark-contact button.btn-cta {
  color: var(--white);
}

.section-dark-contact button.btn-cta:hover {
  color: var(--white);
}

.lead-light {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  color: var(--primary);
  text-align: center;
}

.section-dark h2 {
  color: var(--white);
}

.section .narrow h2 {
  text-align: left;
}

.section p:not(.section-cta-wrap) {
  margin: 0 0 var(--space-3);
}

.callout-quote {
  margin: var(--space-5) 0;
  padding: var(--space-4);
  background: rgba(244, 164, 26, 0.15);
  border-left: 4px solid var(--accent);
  font-style: italic;
}

.callout-quote p {
  margin: 0;
}

.callout-quote a {
  font-style: normal;
  font-weight: 600;
  color: #1565c0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callout-quote a:hover {
  color: #0d47a1;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.feature-item {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.section-light .feature-item {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(28, 43, 57, 0.06);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  color: var(--accent);
  width: 48px !important;
  height: 48px !important;
  margin-bottom: var(--space-3);
}

.section-light .feature-icon {
  color: var(--primary);
  stroke: var(--accent);
}

.feature-item h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  margin: 0 0 var(--space-2);
  color: var(--white);
}

.section-light .feature-item h3 {
  color: var(--primary);
}

.feature-item p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.section-light .feature-item p {
  color: var(--text-muted);
}

/* Stats */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0 clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.stat-item {
  padding: var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Two-column callouts */
.two-col-callouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.callout-box {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.callout-box h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin: 0 0 var(--space-2);
}

.callout-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* Steps */
.steps-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: var(--space-5);
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.steps-list h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--primary);
}

.case-block {
  background: rgba(255, 255, 255, 0.06);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin: var(--space-4) 0;
}

.proof-subhead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin: var(--space-5) 0 var(--space-2);
  color: var(--white);
}

/* -- FAQ -- */
.faq {
  padding: var(--space-8) 0;
  background: var(--bg-light);
}

.faq h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--primary);
  text-align: center;
  margin-bottom: var(--space-5);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 82, 118, 0.08);
}

.faq .accordion {
  margin: 0 auto clamp(1rem, 2.5vw, 1.75rem);
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: background var(--transition), color var(--transition);
}

.accordion-header::after {
  content: "";
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion-header.active {
  background: var(--bg-light);
  color: var(--primary);
}

.accordion-header.active::after {
  transform: rotate(225deg);
}

.accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header.active + .accordion-body {
  padding-bottom: 1.25rem;
}

.accordion-body p {
  margin: 0;
  color: var(--text-main);
  font-size: 1rem;
}

.faq .section-cta-wrap {
  text-align: center;
}

/* -- Contact -- */
.section-dark-contact {
  background: var(--bg-dark);
  padding: var(--space-8) 0;
  color: var(--white);
}

.section-dark-contact h2 {
  color: var(--white);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 400;
}

.contact-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto var(--space-5);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 600px) {
  .form-row.two {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-3);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-main);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 164, 26, 0.25);
}

.form-group input.field-error,
.form-group textarea.field-error,
.form-group select.field-error {
  border-color: #c62828;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.2);
}

.btn-submit {
  width: 100%;
  margin-top: var(--space-2);
  padding: 1rem;
  font-size: 1.1rem;
}

.form-privacy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin: var(--space-3) 0 0;
}

.form-success {
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: var(--success);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.form-error-msg {
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: #c62828;
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-md);
  font-weight: 600;
}

/* -- Footer -- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-6) 0 var(--space-4);
  border-top: 4px solid var(--accent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}

.footer-info h3,
.footer-nav h3,
.footer-col-right h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0 0 var(--space-3);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-wordmark {
  font-size: 1.5rem;
}

.footer-info h3::after,
.footer-nav h3::after,
.footer-col-right h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-info p,
.footer-col-right p {
  margin: 0 0 var(--space-2);
  font-size: 0.98rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0 0 var(--space-2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .footer-nav h3::after,
  .footer-info h3::after,
  .footer-col-right h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-info,
  .footer-nav,
  .footer-col-right {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-item,
  .btn-cta,
  .accordion-header,
  .accordion-body,
  .accordion-header::after {
    transition: none;
  }

  .feature-item:hover {
    transform: none;
  }
}
