/* Keep It Cool Home Services - light (navy/orange) theme */
:root {
  --navy: #0b2f55;
  --navy-2: #0a2440;
  --orange: #f28c1b;
  --orange-2: #ffb257;
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --text: #0b2f55;
  --muted: #4f6478;
  --border: #e3eaf3;
  --shadow: 0 16px 40px rgba(11, 47, 85, 0.10);

  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  z-index: 9999;
}

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

/* Top info bar (matches screenshot vibe) */
.infobar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.infobar__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.infobar__items {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.infobar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 140, 27, 0.18);
}

/* Main header */
.topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand__logo {
  width: 164px;
  height: 164px;
  object-fit: contain;
}

.brand__name {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand__name strong {
  font-size: 14px;
  letter-spacing: 0.2px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.brand__name span {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(11, 47, 85, 0.76);
  padding: 10px 10px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(11, 47, 85, 0.06);
}

.nav a[aria-current="page"] {
  color: var(--navy);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--orange);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease,
    border-color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(11, 47, 85, 0.18);
}

.btn--primary {
  border: 0;
  background: linear-gradient(180deg, var(--orange), #e77c06);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(1.02);
}

.btn--ghost {
  background: transparent;
}

/* Hero banner with photo */
.hero-banner {
  position: relative;
  background: #0b2f55;
  color: #fff;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.hero-banner__content {
  position: relative;
  padding: 54px 0 44px;
  /* Light readability boost without hiding the photo */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.06) 55%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.hero-banner__content .container {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 0;
}

.hero-banner__title {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(0, 0, 0, 0.22);
}

.hero-banner__sub {
  margin: 0;
  max-width: 80ch;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.40);
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.hero-banner .btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero-banner .btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-banner .btn--primary {
  background: linear-gradient(180deg, var(--orange), #e77c06);
  color: #fff;
  border: 0;
}

/* Compatibility helpers (used on inner sections/pages) */
.actions,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.07;
  letter-spacing: -0.9px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 78ch;
}

.hero__badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  font-size: 12px;
  color: rgba(11, 47, 85, 0.78);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}

/* Sections */
.section {
  padding: 54px 0;
}

.section--alt {
  background: var(--bg-2);
}

.section__head {
  text-align: center;
  margin-bottom: 18px;
}

.h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.4px;
}

.section__underline {
  margin: 10px auto 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}

.sub {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 70ch;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 47, 85, 0.06);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(11, 47, 85, 0.12);
  border-color: rgba(11, 47, 85, 0.16);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11, 47, 85, 0.06);
  color: var(--navy);
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: block;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.panel {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(11, 47, 85, 0.07);
}

.panel--tight {
  padding: 20px;
}

.panel__title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.panel__muted {
  margin: 8px 0 0;
  color: var(--muted);
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 8px 0;
}

.pagehead {
  padding: 36px 0 10px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}

.breadcrumb a {
  color: rgba(11, 47, 85, 0.85);
}

.pagehead h1 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.6px;
}

.pagehead p {
  margin: 0;
  color: var(--muted);
  max-width: 78ch;
}

.photo-band {
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(11, 47, 85, 0.10);
}

.photo-band img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.cta {
  padding: 0 0 64px;
}

.cta__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 47, 85, 0.12);
  background: linear-gradient(180deg, rgba(11, 47, 85, 0.05), rgba(11, 47, 85, 0.02));
}

.cta__box p {
  margin: 0;
  color: rgba(11, 47, 85, 0.82);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: rgba(11, 47, 85, 0.72);
  font-size: 12px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__links a {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
}

.footer__links a:hover {
  border-color: rgba(11, 47, 85, 0.18);
}

.footer__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  color: rgba(11, 47, 85, 0.92);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  appearance: none;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(242, 140, 27, 0.7);
  box-shadow: 0 0 0 4px rgba(242, 140, 27, 0.18);
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .brand__logo {
    width: 128px;
    height: 128px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }
  .nav {
    display: none;
  }
  .infobar__inner {
    justify-content: center;
  }
  .photo-band img {
    height: 260px;
  }
}

