/* Cedar Point HVAC Services
   Palette, type, and breakpoints can be adjusted in :root.
   Business NAP lives in HTML — not here.
*/

:root {
  --navy: #071d2e;
  --navy-2: #0c2b42;
  --aqua: #00bfc8;
  --aqua-dark: #0098a0;
  --orange: #ff9f1c;
  --orange-dark: #e08810;
  --ice: #eaf8fa;
  --white: #fafcfd;
  --text: #102a3a;
  --muted: #3d5868;
  --line: #cfe7eb;
  --card: #ffffff;
  --shadow: 0 10px 28px rgba(7, 29, 46, 0.08);
  --shadow-hover: 0 16px 32px rgba(7, 29, 46, 0.12);
  --radius: 12px;
  --header-h: 84px;
  --max: 1200px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --focus: 0 0 0 3px #fafcfd, 0 0 0 6px #00bfc8;
}

*,
*::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;
  }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--aqua-dark);
}

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

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

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

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

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

.section {
  padding: 4.5rem 0;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-dark);
  margin-bottom: 0.6rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

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

.accent-bar {
  width: 56px;
  height: 4px;
  background: var(--aqua);
  border-radius: 4px;
  margin: 0 0 1.25rem;
}

/* Header
   ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  min-height: var(--header-h);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

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

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.logo-link img {
  height: 52px;
  width: auto;
  max-width: 280px;
}

.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

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

.site-nav a {
  color: #d7eef2;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(0, 191, 200, 0.16);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.6rem;
  flex-shrink: 0;
}

.header-phone-link {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.98rem;
  white-space: nowrap;
}

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

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  position: relative;
}

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

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

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

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

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

.btn-orange {
  background: var(--orange);
  color: var(--navy);
}

.btn-orange:hover {
  background: var(--orange-dark);
  color: var(--navy);
}

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

.btn-aqua:hover {
  background: #12d0d9;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-2);
  color: #fff;
}

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

.text-link:hover {
  color: #fff;
}

/* Hero
   ---------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #eaf8fa;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.25rem 0 3.75rem;
}

.badge-24 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 191, 200, 0.14);
  color: var(--aqua);
  border: 1px solid rgba(0, 191, 200, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-24 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee07a;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 1rem 0 1rem;
}

.hero p {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: #c5dbe3;
  font-size: 1.12rem;
}

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

.hero-media {
  position: relative;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 18px -12px 18px;
  height: 18px;
  background: var(--aqua);
  border-radius: 0 0 12px 12px;
  opacity: 0.7;
}

/* Value strip
   ---------------------------------------- */
.value-strip {
  background: var(--ice);
  border-bottom: 1px solid var(--line);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
}

.value-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.value-item svg {
    width: 40px;
    height: 40px;
    color: var(--aqua-dark);
  }

  .value-item h2,
  .value-item h3,
  .value-title {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 0.15rem;
    font-weight: 800;
    color: var(--text);
  }

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

  .value-item .value-title {
    color: var(--text);
    font-weight: 800;
  }

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

.about-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* Services
   ---------------------------------------- */
.services {
  background: linear-gradient(180deg, #fafcfd 0%, #eaf8fa 100%);
}

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

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ice);
  color: var(--aqua-dark);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

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

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

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

/* Emergency band
   ---------------------------------------- */
.emergency {
  background: var(--navy);
  color: #d7eef2;
  position: relative;
}

.emergency::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--orange);
}

.emergency-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.emergency h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.emergency p {
  margin: 0;
  max-width: 38rem;
}

.emergency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  flex-shrink: 0;
}

/* Why us
   ---------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.why-card {
  background: var(--white);
  border-top: 4px solid var(--aqua);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.why-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

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

/* Problems
   ---------------------------------------- */
.problems {
  background: var(--ice);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.problem-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
}

.problem-item h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
}

.problem-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.step {
  position: relative;
  padding: 1.2rem 1rem 1.2rem 1.15rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--aqua);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 8px;
  margin-bottom: 0.7rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.process-photo {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
}

.process-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

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

.area-card,
.map-frame-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.area-card {
  padding: 1.4rem;
}

.area-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
}

.nap {
  margin: 0 0 1rem;
  color: var(--muted);
}

.area-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.area-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.map-frame-wrap iframe,
.map-frame-wrap .map-placeholder {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  background: #d7e8ee;
}

/* FAQ
   ---------------------------------------- */
.faqs {
  background: #fff;
}

.faq-list {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.faq-question {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  padding: 1rem 2.2rem 1rem 0;
  min-height: 52px;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--aqua-dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-question[aria-expanded="true"]::after {
  content: "–";
}

.faq-answer {
  padding: 0 0 1rem;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

/* Contact
   ---------------------------------------- */
.contact {
  background: var(--ice);
}

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

.contact-panel,
.form-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-panel h3 {
  font-family: var(--font-display);
  margin: 0 0 0.8rem;
}

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

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

.contact-list span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aqua-dark);
}

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

.contact-list a:hover {
  color: var(--aqua-dark);
}

.form-panel label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid #b7cfd6;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  min-height: 44px;
}

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

.form-panel input:focus-visible,
.form-panel textarea:focus-visible,
.form-panel input:focus,
.form-panel textarea:focus {
  outline: 3px solid var(--aqua);
  border-color: var(--aqua);
}

.field-error {
  color: #9b1c1c;
  font-size: 0.88rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0.4rem 0 1rem;
}

.consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
  accent-color: var(--aqua-dark);
}

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

.form-status {
  margin-top: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  background: #fde8e8;
  color: #7a1212;
}

.form-status.is-success {
  background: #e5f8ec;
  color: #14532d;
}

.form-status.is-info {
  background: #eaf8fa;
  color: var(--text);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Final CTA
   ---------------------------------------- */
.final-cta {
  background:
    linear-gradient(110deg, rgba(7, 29, 46, 0.88), rgba(7, 29, 46, 0.72)),
    var(--navy);
  color: #d7eef2;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  margin: 0 auto 1.4rem;
  max-width: 36rem;
}

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

/* Footer
   ---------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #c5dbe3;
  padding: 3rem 0 5.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.footer-logo {
  width: min(100%, 280px);
  height: auto;
}

.site-footer a {
  color: #eaf8fa;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.7rem;
}

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

.footer-links li {
  margin: 0 0 0.4rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
}

.footer-disclaimer {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8ea8b3;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
  margin: 0;
}

/* Floating call (mobile)
   ---------------------------------------- */
.floating-call {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  background: var(--orange);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  min-height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(7, 29, 46, 0.28);
}

.floating-call.is-away {
  transform: translateY(140%);
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

  .logo-link img {
    max-width: 220px;
    height: 46px;
  }
}

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    transform: translateX(110%);
    transition: transform 0.2s ease;
    gap: 0.2rem;
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a {
    padding: 0.85rem 0.75rem;
    font-size: 1.05rem;
    min-height: 44px;
  }

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

  .hero-inner {
    padding: 2rem 0 2.4rem;
  }

  .hero-media img,
  .about-photo img,
  .process-photo img {
    height: 220px;
  }

  .service-grid,
  .why-grid,
  .problem-grid,
  .process-steps,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .emergency-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .emergency-actions .btn,
  .final-cta .btn {
    width: auto;
    flex: 1 1 180px;
  }

  .floating-call {
    display: flex;
  }

  .site-footer {
    padding-bottom: 6.2rem;
  }

  .logo-link img {
    height: 40px;
    max-width: 190px;
  }
}

@media (max-width: 379px) {
  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .hero h1 {
    font-size: 1.85rem;
  }
}
