/* ============================================================
   UK Heatwave — main.css
   Palette: clean consumer guide with heat advisory accents
   ============================================================ */

:root {
  --amber:      #F59E0B;
  --amber-deep: #B45309;
  --heat:       #D92D20;
  --heat-deep:  #991B1B;
  --sky:        #0477BF;
  --sky-deep:   #075985;
  --warm-white: #F7F6F3;
  --cream:      #FFF7E6;
  --stone:      #637381;
  --charcoal:   #172026;
  --border:     #DDE3EA;
  --card-bg:    #FFFFFF;
  --radius:     8px;
  --radius-lg:  10px;
  --shadow:     0 1px 2px rgba(23,32,38,0.05), 0 8px 24px rgba(23,32,38,0.06);
  --shadow-md:  0 2px 6px rgba(23,32,38,0.08), 0 16px 36px rgba(23,32,38,0.10);
}

/* ---- Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--heat); }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.25;
  color: var(--charcoal);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3.5vw, 2rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p { margin-bottom: 1em; }
ul, ol { padding-left: 1.4em; margin-bottom: 1em; }
li { margin-bottom: 0.3em; }

/* ---- Utility ---------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3rem 0; }
.section--tight { padding: 2rem 0; }

.text-center { text-align: center; }
.text-muted { color: var(--stone); font-size: 0.9rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ---- Header ----------------------------------------------- */
.site-header {
  background: #0E1A22;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 2px 14px rgba(0,0,0,0.18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}

.site-logo {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo__icon { font-size: 1.4rem; }
.site-logo span { color: var(--amber); }

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.site-nav a {
  border-radius: 6px;
  color: rgba(255,255,255,0.78);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.site-nav a[aria-current="page"] {
  background: #E8F3FA;
  color: var(--sky-deep);
}
.site-nav a[aria-current="page"]:hover {
  background: #D7ECF8;
  color: var(--sky-deep);
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
  white-space: nowrap;
}
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(23,32,38,0.16); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--sky);
  color: #fff;
}
.btn--primary:hover { background: var(--sky-deep); color: #fff; }

.btn--sky {
  background: #E8F3FA;
  color: var(--sky-deep);
  border: 1px solid #BBDDF0;
}
.btn--sky:hover { background: #D7ECF8; color: var(--sky-deep); }

.btn--outline {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--outline:hover { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.75); }

.btn--lg { font-size: 1rem; padding: 0.8rem 1.6rem; border-radius: 8px; }
.btn--full { width: 100%; justify-content: center; }

/* ---- Hero ------------------------------------------------- */
.hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(4,119,191,0.28), transparent 32%),
    linear-gradient(135deg, #101F2A 0%, #172B38 55%, #214559 100%);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before { display: none; }

.hero__inner { position: relative; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 { color: #fff; margin-bottom: 0.6rem; }
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin-bottom: 1.75rem;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero--sales { padding: 3.75rem 0 3rem; }
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.hero__copy { min-width: 0; }
.hero__note {
  color: rgba(255,255,255,0.74);
  font-size: 0.9rem;
  margin: 1rem 0 0;
}

.hero-picks {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.hero-picks h2 {
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-deep);
  margin-bottom: 0.8rem;
}

.hero-calculator {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid #BBDDF0;
  border-radius: 8px;
  padding: 0.75rem;
  background: #EEF5F9;
  margin-bottom: 1rem;
}
.hero-calculator:hover {
  color: var(--charcoal);
  border-color: var(--sky);
  background: #E2F0F8;
}
.hero-calculator__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
}
.hero-calculator strong { display: block; line-height: 1.25; }
.hero-calculator small {
  display: block;
  color: var(--stone);
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.hero-pick {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem;
  background: #fff;
}
.hero-pick + .hero-pick { margin-top: 0.75rem; }
.hero-pick:hover { color: var(--charcoal); border-color: #9CCCE6; background: #F8FCFE; }
.hero-pick img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}
.hero-pick strong { display: block; font-size: 0.9rem; line-height: 1.3; }
.hero-pick small {
  display: block;
  color: var(--stone);
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 0.2rem;
}

/* ---- Sales sections --------------------------------------- */
.status-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.status-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.status-strip__inner p {
  color: var(--stone);
  font-size: 0.9rem;
  margin: 0.55rem 0 0;
}

.intent-grid,
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.intent-card,
.kit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.intent-card {
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.intent-card:hover {
  color: var(--charcoal);
  border-color: #9CCCE6;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.intent-card__label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-deep);
}
.intent-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0.85rem 0;
}
.intent-card small { color: var(--stone); font-size: 0.85rem; }

.kit-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kit-card h3 { margin-bottom: 0.5rem; }
.kit-card p { color: var(--stone); font-size: 0.92rem; }
.kit-card ul { font-size: 0.9rem; margin-bottom: 1.2rem; }
.kit-card .btn { margin-top: auto; }

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.comparison-table {
  margin: 0;
  min-width: 760px;
}
.comparison-table td:first-child {
  font-weight: 700;
  color: var(--charcoal);
}
.comparison-table a { font-weight: 700; }

.featured-products {
  background: #F2F6F9;
}

.home-aircon-map {
  background: #fff;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding-bottom: 2.5rem;
}
.home-map-shell {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.home-aircon-map .map-controls {
  border-top: 0;
  box-shadow: none;
  position: static;
}
.home-aircon-map #aircon-map {
  height: min(680px, 72vh);
  min-height: 540px;
}
.home-map-seo {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 1.5rem;
  padding: 1.1rem;
}
.home-map-seo h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}
.home-map-seo p {
  color: var(--stone);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.utility-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.utility-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--charcoal);
  min-height: 170px;
  padding: 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.utility-card:hover {
  color: var(--charcoal);
  border-color: #BBDDF0;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.utility-card--featured {
  background: #EEF5F9;
  border-color: #BBDDF0;
}
.utility-card__label {
  color: var(--sky-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.utility-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0.8rem 0;
}
.utility-card small {
  color: var(--stone);
  font-size: 0.86rem;
  line-height: 1.45;
}

.editorial-policy {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--stone);
  font-size: 0.9rem;
}
.editorial-policy strong { color: var(--charcoal); }

/* ---- Status Card ------------------------------------------ */
.status-section { margin: -1.5rem 0 0; padding-bottom: 0; }

.status-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--amber);
  padding: 1.5rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.status-card--active { border-top-color: var(--heat); }
.status-card--possible { border-top-color: var(--amber); }
.status-card--none { border-top-color: #22C55E; }

.status-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.status--active .status-badge { background: #FEE4E2; color: var(--heat-deep); }
.status--possible .status-badge { background: #FFF3CD; color: #8A4B05; }
.status--none .status-badge { background: #DCFCE7; color: #15803D; }

.pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.status--active .pulse { background: var(--heat); animation: pulse 1.5s infinite; }
.status--possible .pulse { background: var(--amber); animation: pulse 2.5s infinite; }
.status--none .pulse { background: #22C55E; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.status-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.status-stat {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.status-stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone);
  margin-bottom: 0.25rem;
}

.status-stat__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
}
.weather-live-value[data-weather-loading="true"] { color: var(--stone); }
.weather-live-summary {
  color: var(--stone);
  font-size: 0.9rem;
  margin: -0.25rem 0 1rem;
}

.warning-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}
.warning--red { background: #FEE2E2; color: var(--heat-deep); }
.warning--amber { background: #FFF3CD; color: #8A4B05; }
.warning--yellow { background: #FEF6D8; color: #713F12; }
.warning--green { background: #DCFCE7; color: #15803D; }

.status-card__advice {
  background: #FFF7E6;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.status-card__footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--stone);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.status-card__footer a { color: var(--sky-deep); font-weight: 500; }

/* ---- Today Checklist -------------------------------------- */
.checklist-section { background: #EEF5F9; }

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 0;
  font-size: 0.95rem;
}

.checklist__icon { font-size: 1.3rem; flex-shrink: 0; margin-top: -0.1rem; }
.checklist__text strong { display: block; margin-bottom: 0.1rem; }
.checklist__text span { font-size: 0.85rem; color: var(--stone); }

/* ---- Section headings ------------------------------------- */
.section-header { margin-bottom: 1.75rem; }
.section-header p { color: var(--stone); font-size: 1rem; margin-bottom: 0; max-width: 560px; }
.section-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-deep);
  margin-bottom: 0.4rem;
  display: block;
}

/* ---- Product Cards ---------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { border-color: #BBDDF0; box-shadow: var(--shadow-md); transform: translateY(-2px); }

.product-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.product-card__overlay:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: -4px;
  border-radius: var(--radius-lg);
}

.product-card__img {
  background: #F8FAFC;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.product-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sky-deep);
  margin-bottom: 0.3rem;
}

.product-card__title {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-card__best-for {
  font-size: 0.82rem;
  color: var(--stone);
  margin-bottom: 0.75rem;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.affiliate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--sky);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.15s;
}
.affiliate-link:hover { background: var(--sky-deep); color: #fff; }
.affiliate-link::after { content: ' ↗'; }

.affiliate-note {
  font-size: 0.78rem;
  color: var(--stone);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  margin-top: 1.25rem;
}

/* ---- Article Grid ----------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover { border-color: #BBDDF0; box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }

.article-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sky-deep);
  margin-bottom: 0.5rem;
  display: block;
}

.article-card__title {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--stone);
  flex: 1;
  margin-bottom: 1rem;
}

.article-card__read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-deep);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.article-card__read-more::after { content: '→'; }

/* ---- Article page ----------------------------------------- */
.article-hero {
  background: linear-gradient(135deg, #101F2A 0%, #172B38 100%);
  color: #fff;
  padding: 3rem 0 2rem;
}
.article-hero h1 { color: #fff; }
.article-hero .article-meta { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 0.75rem; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.article-body h2 { margin-top: 2em; margin-bottom: 0.5em; }
.article-body h3 { margin-top: 1.5em; margin-bottom: 0.4em; }

.article-body .callout {
  background: #FFF7E6;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.1rem;
  margin: 1.5em 0;
}

.article-body .callout--blue {
  background: #EFF6FF;
  border-left-color: var(--sky);
}

/* ---- Calculator ------------------------------------------- */
.calculator {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.calculator-disclaimer {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--stone);
  font-size: 0.84rem;
  line-height: 1.45;
  margin: -0.25rem 0 1.25rem;
  padding: 0.75rem 0.85rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  background: #FFFFFF;
  color: var(--charcoal);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(4,119,191,0.14);
}

.calc-result {
  background: #FFF7E6;
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.25rem;
  display: none;
}
.calc-result.visible { display: block; }
.calc-result__headline { font-size: 1.5rem; font-weight: 700; color: var(--charcoal); }
.calc-result__sub { color: var(--stone); font-size: 0.9rem; }

/* ---- Product detail page ---------------------------------- */
.product-detail-header {
  background: linear-gradient(135deg, #EEF5F9, #FFFFFF);
  padding: 3rem 0;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.features {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}
.features h4 { color: #15803D; margin-bottom: 0.5rem; }
.features ul { margin-bottom: 0; font-size: 0.9rem; }

/* ---- Affiliate Disclosure --------------------------------- */
.disclosure-banner {
  background: #FFF7E6;
  border: 1px solid #F8D57E;
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  font-size: 0.82rem;
  color: #78350F;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* ---- Footer ----------------------------------------------- */
.site-footer {
  background: #0E1A22;
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-family: system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-col a:hover { color: #9CCCE6; }

.footer-brand { font-family: Georgia, serif; font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.footer-brand span { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-disclosure {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

/* ---- Breadcrumb ------------------------------------------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--stone);
  padding: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--sky-deep); }
.breadcrumb__sep { color: var(--border); }

/* ---- Skip link -------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--charcoal);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  z-index: 999;
  transition: top 0.1s;
}
.skip-link:focus { top: 0; }

/* ---- Editorial badges ------------------------------------- */
.editorial-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.35rem;
  background: #EEF5F9;
  border: 1px solid #BBDDF0;
  color: var(--sky-deep);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0.2rem 0 0.5rem;
}

/* ---- Tables ----------------------------------------------- */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.5em 0; background: #fff; }
th, td { text-align: left; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--border); }
th { background: #EEF5F9; font-weight: 700; color: var(--charcoal); }
tr:hover td { background: var(--warm-white); }

/* ---- Aircon Map ------------------------------------------- */
.map-hero {
  background: linear-gradient(135deg, #101F2A 0%, #172B38 55%, #214559 100%);
  color: #fff;
  padding: 2.5rem 0 2rem;
}
.map-hero h1 { color: #fff; margin: 0.3rem 0 0.5rem; }
.map-hero p { color: rgba(255,255,255,0.82); max-width: 760px; margin-bottom: 0; }
.map-hero code {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 0.08rem 0.25rem;
}
.map-hero .breadcrumb { color: rgba(255,255,255,0.62); padding-top: 0; }
.map-hero .breadcrumb a { color: rgba(255,255,255,0.72); }
.map-hero .breadcrumb__sep { color: rgba(255,255,255,0.35); }
.map-hero__ctas { margin-top: 1.2rem; }

.map-controls {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding: 0.8rem 1.25rem;
  position: sticky;
  top: 61px;
  z-index: 50;
}
.map-search {
  flex: 1 1 280px;
  min-width: 220px;
  position: relative;
}
.map-search input {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.2rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--charcoal);
  background: #F8FAFC;
  font-size: 0.92rem;
}
.map-search input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(4,119,191,0.14);
}
.map-search__icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone);
  pointer-events: none;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pill,
.map-locate-btn {
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--charcoal);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  white-space: nowrap;
}
.pill:hover,
.map-locate-btn:hover {
  border-color: #BBDDF0;
  color: var(--sky-deep);
}
.pill.active {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
}
.map-locate-btn { border-radius: 6px; }

#aircon-map {
  background: #EEF5F9;
  height: min(680px, calc(100vh - 230px));
  min-height: 520px;
  position: relative;
}
.map-loading {
  align-items: center;
  color: var(--stone);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 2;
}
.map-loading__spinner {
  animation: spin 0.85s linear infinite;
  border: 3px solid var(--border);
  border-radius: 50%;
  border-top-color: var(--sky);
  height: 34px;
  width: 34px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.aircon-marker {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 34px;
  padding: 0;
  width: 34px;
}
.aircon-marker__pin {
  align-items: center;
  background: var(--sky);
  border: 2px solid #fff;
  border-radius: 999px 999px 999px 3px;
  box-shadow: 0 4px 12px rgba(23,32,38,0.25);
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  line-height: 1;
  transform: rotate(-45deg);
  transition: transform 0.12s, box-shadow 0.12s;
  width: 28px;
}
.aircon-marker:hover .aircon-marker__pin,
.aircon-marker:focus .aircon-marker__pin {
  box-shadow: 0 7px 18px rgba(23,32,38,0.32);
  transform: rotate(-45deg) scale(1.12);
}
.aircon-marker:focus {
  outline: none;
}
.aircon-marker__pin::after {
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  content: '';
  height: 10px;
  position: absolute;
  width: 10px;
}
.aircon-marker--pub .aircon-marker__pin { background: #2563EB; }
.aircon-marker--bar .aircon-marker__pin { background: #7C3AED; }
.aircon-marker--cafe .aircon-marker__pin { background: #0F766E; }
.aircon-marker--restaurant .aircon-marker__pin { background: #16A34A; }
.aircon-marker--public .aircon-marker__pin { background: #B45309; }
.aircon-marker--other .aircon-marker__pin { background: #64748B; }

.map-count-bar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  color: var(--stone);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.84rem;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
}
.legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.legend__item { align-items: center; display: inline-flex; gap: 0.35rem; }
.legend__dot {
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.map-popup {
  font-family: system-ui, sans-serif;
  line-height: 1.45;
  max-width: 280px;
}
.map-popup p { margin-bottom: 0.45rem; }
.map-popup__name {
  align-items: center;
  color: var(--charcoal);
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.45rem;
}
.map-popup__symbol {
  align-items: center;
  background: var(--sky);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 0.75rem;
  height: 24px;
  justify-content: center;
  width: 24px;
}
.map-popup__cat {
  color: var(--stone);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-popup__badge {
  background: #DCFCE7;
  border-radius: 4px;
  color: #15803D;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.5rem;
}
.map-popup__addr,
.map-popup__hours,
.map-popup__verified {
  color: var(--stone);
  font-size: 0.82rem;
}
.map-popup__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}
.map-popup__link {
  color: var(--sky-deep);
  font-size: 0.82rem;
  font-weight: 800;
}
.map-info-section {
  background: #F8FAFC;
  border-top: 1px solid var(--border);
}
.map-city-section {
  background: #fff;
  border-top: 1px solid var(--border);
}
.city-link-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.city-link-grid--compact {
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.city-link-grid a {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--charcoal);
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-decoration: none;
}
.city-link-grid--compact a {
  background: #fff;
  padding: 0.55rem 0.7rem;
}
.city-link-grid a:hover {
  border-color: #BBDDF0;
  color: var(--sky-deep);
}
.map-seo-copy {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  max-width: 820px;
  padding-top: 1.5rem;
}
.map-seo-copy h3 { margin-bottom: 0.5rem; }
.map-seo-copy p { color: var(--stone); }
.map-submit-section {
  background: #EEF5F9;
  border-top: 1px solid #BBDDF0;
}
.submit-place-card {
  align-items: center;
  background: #fff;
  border: 1px solid #BBDDF0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1.35rem;
}
.submit-place-card h2 { margin-bottom: 0.35rem; }
.submit-place-card p {
  color: var(--stone);
  margin-bottom: 0;
  max-width: 680px;
}
.suggest-form-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}
.suggest-place-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
  padding: 1.35rem;
}
.form-status {
  border-radius: 6px;
  display: none;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
}
.form-status.is-success {
  background: #DCFCE7;
  color: #15803D;
  display: block;
}
.form-status.is-error {
  background: #FEE2E2;
  color: var(--heat-deep);
  display: block;
}
.hp-field {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}
.suggest-place-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--charcoal);
  font: inherit;
  resize: vertical;
}
.suggest-place-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(4,119,191,0.14);
}
.suggest-form-aside {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.15rem;
}
.suggest-form-aside h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.suggest-form-aside li,
.suggest-form-aside p {
  color: var(--stone);
  font-size: 0.9rem;
}
.map-info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.map-info-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
}
.map-info-grid h2 { font-size: 1.2rem; }
.map-info-grid p { color: var(--stone); font-size: 0.92rem; margin-bottom: 0; }

/* ---- Compact map hero ------------------------------------- */
.hero--compact {
  padding: 2.25rem 0 2rem;
}
.hero--compact h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 0.5rem;
}
.hero--compact .hero__sub {
  margin-bottom: 1.25rem;
}
.hero--compact .hero__ctas {
  gap: 0.6rem;
}
.venue-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.9rem;
  letter-spacing: 0.03em;
}
.venue-count strong { color: #fff; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 640px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
  }
  .site-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 -1rem;
    max-width: calc(100% + 2rem);
    overflow-x: auto;
    padding: 0 1rem 0.1rem;
    width: calc(100% + 2rem);
  }
  .site-nav a { flex: 0 0 auto; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-picks { margin-top: 0.5rem; }
  .status-strip__inner { align-items: flex-start; flex-direction: column; }
  .status-card { margin-top: -2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .map-controls { padding: 0.65rem 0.75rem; top: 56px; }
  #aircon-map { height: calc(100vh - 280px); min-height: 430px; }
  .home-aircon-map #aircon-map { height: 60vh; min-height: 460px; }
  .submit-place-card { align-items: flex-start; flex-direction: column; }
  .suggest-form-layout { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
