/* ===============================
   Pinnacle – Cooling (blue theme)
   Mirrors heating styles; blue palette
   =============================== */

/* ---------- Globals ---------- */
:root {
  --c-bg: #fff;
  --c-text: #111827;
  --c-text-weak: #374151;

  --c-primary: #1f6aa6;
  --c-primary-2: #4ba1d1;
  --c-footer: #0b385b;

  --r10: 10px;
  --r12: 12px;
  --r14: 14px;
  --r16: 16px;
  --shadow-soft: 0 2px 10px rgba(9, 31, 49, 0.06);
  --shadow-pop: 0 14px 32px rgba(9, 31, 49, 0.18);
}
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
}
body {
  margin: 0;
  background: var(--c-bg);
  -ms-overflow-style: none;
  scrollbar-width: none;
  color: var(--c-text);
}
body::-webkit-scrollbar {
  display: none;
}

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* ---------- Containers ---------- */
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}
.text-container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* ===================================
   Navigation (desktop + dropdown)
   =================================== */
.navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100px;
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding: 10px clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 4vw, 52px);
}
.logo-box {
  width: 300px;
  height: 90px;
}
.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.menu-desktop {
  margin-left: auto;
}
.navigation nav ul.menu {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation nav li {
  position: relative;
}
.navigation nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
}
.navigation > nav > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Desktop dropdown */
.navigation .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  color: var(--c-text);
  border: 1px solid rgba(31, 106, 166, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.navigation .dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: #fff;
  border-left: 1px solid rgba(31, 106, 166, 0.12);
  border-top: 1px solid rgba(31, 106, 166, 0.12);
}
.navigation li:hover > .dropdown,
.navigation li:focus-within > .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.navigation .dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--c-text-weak);
  font-weight: 600;
  border-radius: 8px;
}
.navigation .dropdown a:hover {
  background: #f4f8fc;
  color: var(--c-primary);
}
@media (max-width: 820px) {
  .navigation .dropdown {
    left: auto;
    right: 0;
  }
}

/* =========================
   Hero (band + content)
   ========================= */

/* Band reaches behind nav; solid blue */
.hero-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-band--blue {
  background: #1f6aa6;
  color: #fff;
}
.hero-band--blue .navigation {
  background: transparent;
}
.hero-band--blue .menu a {
  color: #fff;
}
.hero-band--blue .menu .active > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

/* Main hero area */
.hero {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 6vh 0 14vh;
}

/* 3-column (index-style) hero, kept for parity */
.hero-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.hero-heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  margin: 0;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.hero-cta {
  font-size: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 200px;
  pointer-events: none;
}

/* Cooling (2-column) hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 72px);
}
.hero-copy h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-copy .lead {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  max-width: 58ch;
  margin: 0 0 18px;
  opacity: 0.98;
  color: #f8fbff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.menu-desktop .dropdown a {
  color: #11144d;
}

/* Blue primary button (same class name) */
.btn-primary {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background-image: linear-gradient(
    45deg,
    var(--c-primary) 0%,
    var(--c-primary-2) 50%,
    var(--c-primary) 100%
  );
  background-size: 200% auto;
  transition: background-position 0.35s ease, transform 0.15s ease;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
  background-position: right center;
}
.btn-primary:active {
  transform: scale(0.98);
}

.quick-points {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #eaf3fa;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Visual halo (no visible panel) */
.hero-visual {
  position: relative;
  min-height: 320px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -12% -20% -12%;
  background: radial-gradient(
    circle at 55% 50%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0) 60%
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.unit-img {
  position: relative;
  z-index: 1;
  width: min(680px, 42vw);
  max-width: 100%;
  display: block;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  transform: translate(20px, -6px) scale(1.4);
  filter: drop-shadow(0 0 0.75rem black);
  /* box-shadow: 0 28px 50px rgba(0, 0, 0, 0.28); */
}

/* =========================
   Cooling Services (neutral)
   ========================= */
.cooling-services {
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 8vw, 96px);
  color: #111827;
  background: #fff;
}
.section-intro h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--c-footer);
}
.section-intro p {
  max-width: 70ch;
  line-height: 1.65;
  margin: 0 0 16px;
  color: #374151;
}
.cooling-services .service + .service {
  margin-top: clamp(16px, 2.4vw, 24px);
  padding-top: clamp(12px, 2vw, 18px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.cooling-services h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.6vw, 24px);
  color: var(--c-footer);
}
.cooling-services p {
  margin: 0;
  max-width: 74ch;
  line-height: 1.65;
  color: #374151;
}
.why-us {
  margin-top: clamp(20px, 3vw, 28px);
  padding-top: clamp(12px, 2vw, 18px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.why-us h3 {
  margin: 0 0 6px;
  color: var(--c-footer);
}
.why-us ul {
  margin: 0;
  padding-left: 18px;
}

#ac-install {
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: clamp(12px, 2vw, 18px);
}

/* =====
   FAQ
   ===== */
.faq {
  --faq-accent: var(--c-primary);
  --faq-bg: var(--c-bg);
  --faq-card-bg: var(--c-bg);
  --faq-border: color-mix(in oklab, var(--c-text) 12%, transparent);
  --faq-open-bg: color-mix(in oklab, var(--c-primary) 14%, var(--c-bg));

  padding: clamp(28px, 5vw, 56px) 0;
  background: var(--faq-bg);
}

.faq h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 3.2vw, 30px);
  color: var(--c-text);
}

/* list wrapper (left-align with your h2/container) */
.faq .faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  width: 100%;
  margin: 0;
}

/* Support both <details class="faq-item"> and bare <details> */
.faq .faq-item,
.faq details {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-border);
  border-radius: var(--r16);
  padding: 0;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq details + details,
.faq .faq-item + .faq-item {
  margin-top: 10px;
}

/* header */
.faq .faq-item > summary,
.faq details > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--c-text);
  transition: background 0.2s ease, color 0.2s ease;
  outline: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}

/* chevron */
.faq .faq-item > summary::after,
.faq details > summary::after {
  content: "";
  margin-left: auto;
  inline-size: 10px;
  block-size: 10px;
  border-right: 2px solid var(--c-text-weak);
  border-bottom: 2px solid var(--c-text-weak);
  transform: rotate(-45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* hover/focus */
.faq .faq-item > summary:hover,
.faq details > summary:hover {
  background: color-mix(in oklab, var(--c-text) 4%, var(--c-bg));
}
.faq .faq-item > summary:focus-visible,
.faq details > summary:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-primary-2) 40%, transparent);
  border-radius: var(--r16);
}

/* open state */
.faq .faq-item[open] > summary,
.faq details[open] > summary {
  background: var(--faq-open-bg);
  color: var(--faq-accent);
}
.faq .faq-item[open] > summary::after,
.faq details[open] > summary::after {
  transform: rotate(45deg);
  border-color: var(--faq-accent);
}

/* body */
.faq .answer,
.faq details > div {
  border-top: 1px solid var(--faq-border);
  padding: 12px 18px 16px;
  color: var(--c-text-weak);
  line-height: 1.6;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}
.faq .faq-item[open] .answer,
.faq details[open] > div {
  max-height: 360px;
  opacity: 1;
}

/* links inside answers */
.faq .answer a,
.faq details > div a {
  color: var(--faq-accent);
  text-decoration-color: color-mix(
    in oklab,
    var(--faq-accent) 40%,
    transparent
  );
}
.faq .answer a:hover,
.faq details > div a:hover {
  text-decoration-color: var(--faq-accent);
}

/* =================
   Footer (blue)
   ================= */
.site-footer {
  background: var(--c-footer);
  color: #e8f0f6;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 36px;
}
.footer-brand .brand-logo {
  margin-bottom: 12px;
}
.footer-brand .brand-blurb {
  margin: 8px 0 16px;
  color: #d7e6f2;
  line-height: 1.6;
}
.contact-list {
  display: grid;
  gap: 8px;
  padding-inline-start: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8f0f6;
  opacity: 0.95;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}
.footer-col {
  position: relative;
}
.footer-col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding-top: clamp(12px, 2vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col a {
  color: #dae7f3;
  text-decoration: none;
  font-weight: 600;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col:not(:first-of-type)::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 14px;
  color: #dae7f3;
  font-size: 14px;
}
.footer-bottom .madeby {
  opacity: 0.9;
}

/* ============================================
   Mobile nav (hamburger + left drawer)
   ============================================ */
#menu_checkbox {
  display: none;
}
.hamburger-btn {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: none;
  z-index: 1100;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 56, 91, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) inset;
  padding: 12px;
  box-sizing: border-box;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.hamburger-btn span + span {
  margin-top: 6px;
}
#menu_checkbox:checked + .hamburger-btn span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#menu_checkbox:checked + .hamburger-btn span:nth-child(2) {
  opacity: 0;
}
#menu_checkbox:checked + .hamburger-btn span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Left drawer */
.menu-mobile {
  --drawer-w: min(82vw, 420px);
  --t: 0.42s;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--drawer-w);
  padding: clamp(12px, 3vw, 20px);
  padding-top: calc(72px + 16px);
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(31, 106, 166, 0.96),
    rgba(11, 56, 91, 0.95)
  );
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.28);
  transform: translateX(-105%);
  transition: transform var(--t) cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1050;
  overflow-y: auto;
}
.menu-mobile::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--drawer-w);
  background: rgba(31, 106, 166, 0.35);
  opacity: 0;
  transition: opacity var(--t) ease;
  pointer-events: none;
  z-index: -1;
}
#menu_checkbox:checked ~ .menu-mobile {
  transform: translateX(0);
  --t: 0.68s;
}
#menu_checkbox:checked ~ .menu-mobile::before {
  opacity: 1;
}

/* Drawer list */
.mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.menu-mobile a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.mobile-group details {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.mobile-group summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  color: #fff;
  list-style: none;
  position: relative;
}
.mobile-group summary::-webkit-details-marker {
  display: none;
}
.mobile-group summary::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 20px;
  line-height: 1;
  opacity: 0.85;
}
.mobile-group details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}
.mobile-group details ul {
  list-style: none;
  margin: 0;
  padding: 6px 8px 12px 10px;
}
.mobile-group details ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  color: #eaf3fa;
}
.mobile-group details ul a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.menu-mobile > .mobile-list > li > a {
  display: block;
  padding: 12px 2px;
  font-size: 18px;
}

/* Show/hide per breakpoint */
@media (min-width: 881px) {
  .hamburger-btn,
  .menu-mobile {
    display: none !important;
  }
  .menu-desktop {
    display: block;
  }
}

/* Focus */
.hamburger-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.menu-mobile a:focus-visible,
.mobile-group summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
}

/* ==========================
   Responsive (page-wide)
   ========================== */
@media (max-width: 980px) {
  .areas-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 920px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .city-list {
    columns: 1;
  }
}
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone-specific layout (<=880px) */
@media (max-width: 880px) {
  .hamburger-btn {
    display: block;
  }
  .menu-desktop {
    display: none;
  }
  html,
  body {
    overflow-x: hidden;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0 24px;
  }
  .footer-col:not(:first-of-type)::before {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .navigation {
    height: 72px;
    padding: 8px clamp(14px, 4vw, 20px);
    max-width: 100%;
  }
  .logo-box {
    width: 180px;
    height: 54px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 64px;
  }
  .hero-container {
    width: min(720px, 92vw);
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .hero-heading {
    font-size: clamp(24px, 6vw, 34px);
    text-align: left;
    margin-inline: clamp(14px, 4vw, 24px);
  }
  .hero-cta {
    order: 3;
    font-size: 16px;
    padding: 0 clamp(14px, 4vw, 24px);
  }
  .hero-divider {
    height: 100px;
  }

  .service-grid {
    grid-template-columns: 1fr !important;
  }
  .unit-img {
    width: min(520px, 88vw);
  }
  .hero-visual::before {
    inset: -18% -18% -26% -18%;
  }

  .hero-grid,
  .hero-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-inline: clamp(16px, 6vw, 28px); /* breathing room on left/right */
    width: 100%;
  }

  /* center all hero copy */
  .hero-copy {
    text-align: center;
  }

  /* some earlier rules force the H1 left; re-center it here */
  .hero-heading,
  .hero-copy h1 {
    text-align: center !important;
    margin: 0 auto clamp(12px, 2vh, 20px);
    max-width: 18ch; /* keeps lines tidy on ultra-wide phones */
  }

  /* lead/body text should not hug the edge either */
  .hero-copy .lead {
    margin-inline: auto;
    max-width: 62ch;
  }

  /* center the unit image and prevent any push to the right */
  .hero-visual {
    width: 100%;
    justify-self: center;
  }
  .unit-img {
    width: min(520px, 90vw);
    margin: 0 auto;
    display: block;
    transform: scale(1.2);
  }

  /* keep the glow inside the hero’s box to avoid off-screen bias */
  .hero-visual::before {
    inset: -10% -8% -14% -8%; /* symmetric insets */
    background: radial-gradient(
      circle at 50% 55%,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.1) 42%,
      rgba(255, 255, 255, 0) 70%
    );
  }

  /* make the CTA button actually centered */
  .btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
}

.tel-link,
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
.tel-link:hover,
.tel-link:focus {
  text-decoration: underline; /* or keep none */
}
.tel-link:visited {
  color: inherit;
}
