/* ============================================================
   Kinetic Air HVAC Systems — Kinetic Current
   Palette, type, and layout tokens. Swap brand colors here.
   ============================================================ */
:root {
  --blue: #147dff;
  --navy: #071b33;
  --navy-2: #0c2748;
  --cyan: #19d3ff;
  --orange: #ff7a21;
  --ice: #f3faff;
  --white: #ffffff;
  --ink: #102033;
  --muted: #4a6078;
  --line: rgba(20, 125, 255, 0.16);
  --shadow: 0 18px 40px rgba(7, 27, 51, 0.12);
  --radius: 18px;
  --header-h: 84px;
  --max: 1180px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ice);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
}

a:hover {
  color: #0d63d0;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--orange);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

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

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

h1,
h2,
h3,
.logo-text {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.15rem, 6vw, 4.1rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted);
  max-width: 62ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-call {
  background: linear-gradient(135deg, #ff8a38, var(--orange));
  color: #3a1800;
  box-shadow: 0 10px 24px rgba(255, 122, 33, 0.35);
}

.btn-call:hover,
.btn-call:focus-visible {
  color: #2a1000;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-line {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--line);
}

.btn-solid {
  background: linear-gradient(135deg, var(--blue), #0b63d6);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(20, 125, 255, 0.28);
}

.btn-solid:hover {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

.arrow {
  transition: transform 0.2s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 27, 51, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(25, 211, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

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

.brand img {
  height: 52px;
  width: auto;
  max-width: min(280px, 46vw);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

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

.site-nav a {
  color: #d7e8ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.header-phone:hover {
  color: var(--cyan);
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 80% 10%, rgba(25, 211, 255, 0.18), transparent 50%),
    linear-gradient(160deg, #051526 0%, var(--navy) 48%, #0a3058 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 5.5rem;
  scroll-margin-top: var(--header-h);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero p {
  color: #c9dceb;
  max-width: 52ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 1.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(25, 211, 255, 0.12);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
}

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

.hero-explore {
  color: var(--cyan);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-float {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(7, 27, 51, 0.88);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(25, 211, 255, 0.25);
  font-size: 0.9rem;
}

.airflow {
  position: absolute;
  inset: auto -8% -18% auto;
  width: 58%;
  height: 220px;
  pointer-events: none;
  opacity: 0.35;
}

.airflow path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 8 14;
  animation: drift 14s linear infinite;
}

@keyframes drift {
  to {
    stroke-dashoffset: -180;
  }
}

/* Trust */
.trust {
  margin-top: -3.4rem;
  position: relative;
  z-index: 2;
  padding: 0 0 1rem;
}

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

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.icon-well {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #e8f4ff, #d6f7ff);
  color: var(--blue);
  flex: 0 0 auto;
}

.trust-card h3 {
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
}

.about-chip {
  position: absolute;
  left: -12px;
  top: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
}

/* Why */
.why {
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(20, 125, 255, 0.08), transparent 60%),
    var(--ice);
}

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

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(7, 27, 51, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

/* Services */
.services {
  background: linear-gradient(180deg, #081f3a, #0a2a4e);
  color: var(--white);
}

.services .lede,
.services .kicker {
  color: var(--cyan);
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(25, 211, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.2rem;
  scroll-margin-top: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.service-card h3 {
  color: var(--white);
}

.service-card p {
  color: #c5d8ec;
  margin: 0 0 0.4rem;
  flex: 1;
}

.service-card .faq-mini {
  color: #9ec9ff;
  font-size: 0.9rem;
}

.service-card .text-link {
  color: var(--cyan);
}

/* Process */
.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.4rem 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--ice);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

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

/* Area */
.area {
  background:
    linear-gradient(180deg, rgba(243, 250, 255, 0.2), var(--ice));
}

.area-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.2rem;
}

.town {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.map-wrap {
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7e8f6;
}

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

.map-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.7rem 0 0;
}

/* FAQ */
.faq {
  background: var(--white);
}

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

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

.faq-item[open] {
  background: var(--white);
  border-color: rgba(20, 125, 255, 0.35);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.3rem;
}

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

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

/* Contact */
.contact {
  background: linear-gradient(180deg, #f3faff, #e7f4ff);
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
}

.contact-card,
.form-card {
  background: var(--white);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
}

.contact-list li {
  margin: 0 0 0.85rem;
}

.contact-list a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0.85rem 0 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #c9d7e6;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fbfeff;
}

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

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

.consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.consent label {
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
  color: var(--muted);
}

.form-status {
  min-height: 1.4rem;
  margin: 0.6rem 0 0;
  font-weight: 600;
}

.form-status.error {
  color: #b42318;
}

.form-status.success {
  color: #027a48;
}

.field-error {
  color: #b42318;
  font-size: 0.82rem;
  min-height: 1.1rem;
}

/* Final CTA */
.final-cta {
  background:
    radial-gradient(500px 180px at 90% 20%, rgba(255, 122, 33, 0.22), transparent 55%),
    linear-gradient(135deg, var(--navy), #0d3a6a);
  color: var(--white);
  text-align: center;
}

.final-cta p {
  color: #d0e4f8;
  margin: 0 auto 1.4rem;
  max-width: 52ch;
}

.final-cta .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #04101f;
  color: #c5d4e4;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

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

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

.site-footer .brand img {
  height: 46px;
  margin-bottom: 0.8rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
}

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

.footer-col li {
  margin: 0.35rem 0;
}

.disclaimer {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #8ea0b5;
}

.copyright {
  margin: 0.8rem 0 0;
  font-size: 0.85rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.photo-strip figure {
  margin: 0;
}

.photo-strip img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.photo-strip picture {
  display: block;
}

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

.process-photos {
  margin-top: 1.6rem;
}

.contact-photo {
  margin-top: 1.2rem;
}

.contact-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

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

/* Floating call */
.float-call {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  background: linear-gradient(135deg, #ff8a38, var(--orange));
  color: #3a1800;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--font-head);
  border-radius: 999px;
  min-height: 48px;
  padding: 0.7rem 1.05rem;
  box-shadow: 0 12px 28px rgba(255, 122, 33, 0.4);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s ease forwards;
}

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

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

  .airflow path,
  .reveal,
  .btn,
  .why-card,
  .service-card,
  .arrow {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .area-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .why-grid,
  .trust-grid,
  .process-steps,
  .photo-strip-3 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media img,
  .about-media img {
    height: 300px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #071b33;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    gap: 0;
    border-bottom: 1px solid rgba(25, 211, 255, 0.15);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.4rem;
    min-height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header-cta .header-phone {
    display: none;
  }

  .header-cta .btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }

  .brand img {
    height: 40px;
  }

  .service-grid,
  .why-grid,
  .trust-grid,
  .process-steps,
  .footer-grid,
  .photo-strip,
  .photo-strip-3 {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .final-cta .btn {
    width: 100%;
  }

  .float-call {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .contact {
    padding-bottom: 6.5rem;
  }

  .about-chip {
    left: 12px;
  }

  .hero-media img {
    height: 240px;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 1.2rem);
  }
}
