/* Green Valley HVAC Solutions — custom local-service stylesheet */
:root {
  --forest: #1b4d2e;
  --forest-deep: #123524;
  --lime: #8cc63f;
  --lime-soft: #a4d65e;
  --aqua: #2ba4e0;
  --aqua-deep: #1b86bc;
  --offwhite: #f6f8f5;
  --sage: #e7efe4;
  --charcoal: #1a2421;
  --muted: #4b5853;
  --white: #ffffff;
  --line: #d5e0d4;
  --error: #9b2c2c;
  --success: #1b4d2e;
  --shadow: 0 12px 40px rgba(18, 53, 36, 0.1);
  --radius: 18px;
  --header-h: 5.25rem;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--offwhite);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

a {
  color: var(--aqua-deep);
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--forest);
  color: var(--white);
  padding: 0.65rem 1rem;
  z-index: 200;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--aqua-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 0.7rem;
}

.section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--forest-deep);
  letter-spacing: -0.03em;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 1.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo-link img {
  height: clamp(42px, 6vw, 58px);
  width: auto;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--forest);
}

.site-nav {
  display: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  border-bottom-color: var(--lime);
  color: var(--forest-deep);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  font-family: var(--font-head);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--aqua-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-ghost:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-lime {
  background: var(--lime);
  color: var(--forest-deep);
}

.btn-lime:hover {
  background: var(--lime-soft);
  color: var(--forest-deep);
}

.btn-white {
  background: var(--white);
  color: var(--forest-deep);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4.2rem) 0 4.5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, #edf6ef 0%, var(--offwhite) 100%);
}

.hero-grid {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: var(--forest-deep);
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.4rem;
}

.badge-24 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.badge-24::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-pills li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(27, 77, 46, 0.88);
  color: var(--white);
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

/* Trust */
.trust {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}

.trust-grid {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  border: 1px solid var(--line);
}

.icon-well {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8f6d8;
  color: var(--forest);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-well.aqua {
  background: #dff3fb;
  color: var(--aqua-deep);
}

.trust-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--forest-deep);
}

.trust-card p,
.trust-card a {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.about-photo img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-row {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.process-photo {
  margin: 1.6rem 0 0;
  max-width: 520px;
}

.about-photo picture,
.hero-visual picture {
  display: block;
}

/* Services */
.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-family: var(--font-head);
  margin: 0.7rem 0 0.45rem;
  font-size: 1.15rem;
  color: var(--forest-deep);
}

.service-card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.service-card .more {
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--aqua-deep);
}

.service-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Why */
.why {
  background: var(--sage);
}

.why-grid {
  display: grid;
  gap: 1rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--forest-deep);
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

.why-cta {
  margin-top: 2rem;
}

/* Process */
.process-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.2rem 1.35rem;
  border-left: 5px solid var(--lime);
}

.process-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-head);
  font-size: 1.08rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.process-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-right: 0.45rem;
  font-size: 0.85rem;
}

/* Service area */
.area {
  background: var(--white);
}

.area-grid {
  display: grid;
  gap: 1.5rem;
}

.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.2rem;
  list-style: none;
}

.town-list li {
  background: var(--sage);
  color: var(--forest-deep);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.map-frame {
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sage);
  position: relative;
}

#service-map {
  height: 380px;
  width: 100%;
}

.map-fallback {
  padding: 1.25rem;
  color: var(--muted);
}

.area-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ */
.faqs {
  background: var(--offwhite);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 1rem 1.1rem;
  list-style: none;
  color: var(--forest-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--aqua);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.faq-cta {
  margin-top: 1.75rem;
}

/* Contact */
.contact {
  background: var(--forest-deep);
  color: var(--white);
}

.contact h2,
.contact .section-kicker {
  color: var(--lime-soft);
}

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

.contact-grid {
  display: grid;
  gap: 1.75rem;
}

.contact-card,
.form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.4rem;
}

.contact-card h3 {
  margin-top: 0;
  font-family: var(--font-head);
}

.contact-card a {
  color: var(--lime-soft);
}

.contact-card p {
  margin: 0.4rem 0 0.9rem;
}

.form-card label {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.3rem;
  color: #eef6ea;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--charcoal);
  border-radius: 12px;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  font: inherit;
}

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

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 1rem 0 1.1rem;
}

.consent input {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 0.15rem;
  accent-color: var(--lime);
}

.consent label {
  margin: 0;
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #dbe7d6;
}

.field-error {
  color: #ffd0d0;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  display: none;
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: #d7f0c5;
  color: var(--forest-deep);
}

.form-status.error {
  display: block;
  background: #f8d0d0;
  color: var(--error);
}

/* Footer */
.site-footer {
  background: #0d2418;
  color: #d5e4d4;
  padding: 2.4rem 0 5.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.site-footer a {
  color: #f2f8ef;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime-soft);
}

.footer-logo {
  height: 52px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.disclaimer {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #c6d6c4;
  max-width: 70rem;
}

.float-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

body.menu-open {
  overflow: hidden;
}

.nav-panel {
  display: none;
}

.site-nav.is-open {
  display: flex;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--offwhite);
  flex-direction: column;
  padding: 1.2rem;
  gap: 1rem;
  z-index: 90;
}

@media (min-width: 768px) {
  .trust-grid,
  .service-grid,
  .why-grid,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .area-grid,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .float-call {
    display: none;
  }

  .photo-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.05rem;
    margin-left: auto;
  }

  .header-cta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: 0.6rem;
  }

  .header-phone {
    font-weight: 800;
    color: var(--forest);
    text-decoration: none;
    font-family: var(--font-head);
    white-space: nowrap;
  }

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

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

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

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

@media (min-width: 1280px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.4rem;
  }
}

@media (max-width: 430px) {
  .hero-actions .btn {
    width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 0.6s ease forwards;
  }

  @keyframes rise {
    to {
      opacity: 1;
      transform: none;
    }
  }
}
