/* ══════════════════════════════════════════════════════════════════
   COOL DOWN SOLUTIONS — page styles
   Layered ON TOP of ui-core/tokens.css. Own business identity:
   deep cold ink base + ONE ice accent on a cool-white canvas.
   Never the New Vision jade; never a brand-colour flood.
   ══════════════════════════════════════════════════════════════════ */
:root {
  --ink:      #0b1b2b;
  --ink2:     #11293e;
  --ink3:     #1d3d57;
  --ice:      #17a9cf;   /* the ONE accent — action + proven truth only */
  --ice-deep: #0e7f9e;
  --ice-soft: #e3f4f9;
  --canvas:   #f6fafb;
  --card:     #ffffff;
  --line:     #dfe8ed;
  --line2:    #c7d6de;
  --ink-text: #0f2231;
  --ink-mute: #5b7285;

  --cds-radius: 14px;
  --cds-radius-lg: 20px;
  --cds-shadow: 0 1px 2px rgba(11,27,43,.05), 0 8px 24px -12px rgba(11,27,43,.18);
  --cds-shadow-lift: 0 2px 4px rgba(11,27,43,.06), 0 18px 40px -18px rgba(11,27,43,.28);
  --cds-ring: 0 0 0 3px rgba(23,169,207,.35);
  --cds-ease: cubic-bezier(.16,1,.3,1);
}

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

html { -webkit-text-size-adjust: 100%; }

body.cds {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-text);
  font-family: var(--font-main, system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

/* ── Type ──────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display, var(--font-main));
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(30px, 6.2vw, 54px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ice-deep);
}
.eyebrow--on-dark { color: #7fd6ea; }
.lede { font-size: clamp(15px, 2.1vw, 18px); color: var(--ink-mute); line-height: 1.6; }
.num  { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ── Top chrome — dark rail against light content ──────────────── */
.topbar {
  position: sticky; top: 0; z-index: 1100;
  background: var(--ink);
  color: #eaf3f7;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__in { display: flex; align-items: center; gap: 14px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; color: #fff; text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--ice) 0%, var(--ice-deep) 100%);
  box-shadow: 0 2px 10px rgba(23,169,207,.45);
}
.brand__name { font-size: 15px; }
.brand__name small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8fb4c6; }
.topbar__spacer { margin-left: auto; }
.topbar__tel {
  color: #d6e9f1; text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  transition: background var(--dur-2,.2s) var(--cds-ease), border-color var(--dur-2,.2s) var(--cds-ease);
  white-space: nowrap;
}
.topbar__tel:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; letter-spacing: -0.01em;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-2,.2s) var(--cds-ease), box-shadow var(--dur-2,.2s) var(--cds-ease), background var(--dur-2,.2s) var(--cds-ease);
}
.btn--primary { background: var(--ice); color: #04222c; box-shadow: 0 10px 26px -10px rgba(23,169,207,.75); }
.btn--primary:hover { background: #21b8e0; transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(23,169,207,.85); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink-text); border-color: var(--line2); }
.btn--ghost:hover { background: #fff; border-color: var(--ink3); }
.btn--ondark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.24); }
.btn--ondark:hover { background: rgba(255,255,255,.18); }
.btn--sm { padding: 9px 15px; font-size: 13.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

:where(a, button, input, select, summary):focus-visible {
  outline: none; box-shadow: var(--cds-ring); border-radius: 10px;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: #eef6f9; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.72) contrast(1.04); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 82% 6%, rgba(23,169,207,.34) 0%, rgba(23,169,207,0) 58%),
    linear-gradient(180deg, rgba(11,27,43,.62) 0%, rgba(11,27,43,.9) 62%, var(--ink) 100%);
}
.hero__noimg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 95% at 78% 0%, rgba(23,169,207,.30) 0%, rgba(23,169,207,0) 60%),
    radial-gradient(90% 80% at 6% 100%, rgba(29,61,87,.75) 0%, rgba(11,27,43,0) 60%),
    var(--ink);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 75%);
}
.hero__in { position: relative; padding: 54px 0 42px; max-width: 690px; }
.hero h1 { margin: 12px 0 0; color: #fff; }
.hero h1 .accent { color: #63cfe8; }
.hero__sub { margin-top: 16px; font-size: clamp(15px, 2.2vw, 19px); color: #c3dae4; line-height: 1.6; max-width: 54ch; }
.hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.facts { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-bottom: 44px; }
.fact {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: #d3e6ee;
}
.fact b { color: #fff; font-weight: 700; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(23,169,207,.22); }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section__head { max-width: 640px; margin-bottom: 26px; }
.section__head h2 { margin: 10px 0 0; }
.section__head .lede { margin-top: 12px; }

/* ── Caution strip — the honest note BEFORE the action ─────────── */
.caution {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--ice-soft); border: 1px solid #bfe4ef;
  border-radius: var(--cds-radius); padding: 15px 17px;
  font-size: 14.5px; color: #0d3f4f; line-height: 1.55;
}
.caution svg { flex: 0 0 auto; margin-top: 1px; }

/* ── Capacity picker — the ONE signature mechanic ──────────────── */
.sizer { background: var(--card); border: 1px solid var(--line); border-radius: var(--cds-radius-lg); box-shadow: var(--cds-shadow); overflow: hidden; }
.sizer__head { padding: 22px 22px 0; }
.sizer__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px 22px 22px; }
.sizer__opt {
  position: relative; text-align: left; font: inherit; cursor: pointer;
  background: #fbfdfe; border: 1px solid var(--line); border-radius: var(--cds-radius);
  padding: 14px 15px; color: var(--ink-text);
  transition: border-color var(--dur-2,.2s) var(--cds-ease), box-shadow var(--dur-2,.2s) var(--cds-ease), transform var(--dur-2,.2s) var(--cds-ease), background var(--dur-2,.2s) var(--cds-ease);
}
.sizer__opt:hover { border-color: var(--ice); transform: translateY(-2px); box-shadow: var(--cds-shadow); }
.sizer__opt[aria-pressed="true"] { background: var(--ice-soft); border-color: var(--ice); box-shadow: inset 0 0 0 1px var(--ice); }
.sizer__opt b { display: block; font-size: 15px; }
.sizer__opt span { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; }
.sizer__out { border-top: 1px solid var(--line); background: #f9fcfd; padding: 18px 22px; }
.sizer__out[hidden] { display: none; }
.sizer__rec { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sizer__badge {
  background: var(--ink); color: #fff; border-radius: 11px; padding: 9px 14px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em;
}
.sizer__note { font-size: 13.5px; color: var(--ink-mute); margin-top: 10px; line-height: 1.5; }

/* ── Filter chips ──────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  padding: 8px 15px; border-radius: 999px;
  background: #fff; color: var(--ink-mute); border: 1px solid var(--line);
  transition: all var(--dur-2,.2s) var(--cds-ease);
}
.chip:hover { border-color: var(--line2); color: var(--ink-text); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Catalog ───────────────────────────────────────────────────── */
.tier { margin-bottom: 26px; }
.tier__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.tier__btu { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.tier__for { font-size: 12.5px; color: var(--ink-mute); }
.tier.is-rec .tier__btu { color: var(--ice-deep); }
.tier.is-rec .tier__head { border-bottom-color: var(--ice); }
.tier__flag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ice-deep); }

.units { display: grid; gap: 10px; }
.unit {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--cds-radius);
  padding: 14px 16px;
  transition: border-color var(--dur-2,.2s) var(--cds-ease), box-shadow var(--dur-2,.2s) var(--cds-ease), transform var(--dur-2,.2s) var(--cds-ease);
}
.unit:hover { border-color: var(--line2); box-shadow: var(--cds-shadow); transform: translateY(-1px); }
.unit__name { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.unit__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #eef4f7; color: #46606f; border: 1px solid #e1eaef; }
.pill--inv { background: var(--ice-soft); color: #0c6c87; border-color: #bfe4ef; }
.pill--offer { background: #fff1e0; color: #8a5410; border-color: #f6dcbb; }
.unit__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.unit__price { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.unit__price small { font-size: 11.5px; font-weight: 600; color: var(--ink-mute); display: block; text-align: right; margin-top: -2px; }

/* loading / empty / error states — honest, never blank */
.skel { display: grid; gap: 10px; }
.skel__row { height: 74px; border-radius: var(--cds-radius); background: linear-gradient(90deg, #eef3f6 25%, #f7fafb 50%, #eef3f6 75%); background-size: 240% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -240% 0; } }
.state {
  border: 1px dashed var(--line2); border-radius: var(--cds-radius);
  padding: 26px 20px; text-align: center; color: var(--ink-mute); font-size: 14.5px; background: #fbfdfe;
}
.state b { display: block; color: var(--ink-text); font-size: 15.5px; margin-bottom: 6px; }
.state .btn { margin-top: 14px; }

/* ── Services ──────────────────────────────────────────────────── */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--cds-radius-lg);
  overflow: hidden; box-shadow: var(--cds-shadow);
  transition: transform var(--dur-3,.35s) var(--cds-ease), box-shadow var(--dur-3,.35s) var(--cds-ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--cds-shadow-lift); }
.card__fig { aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--ink2) 0%, var(--ink) 100%); position: relative; display: grid; place-items: center; }
.card__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__fig--ph { color: #5e8397; }
.card__fig--ph span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.card__body { padding: 18px 20px 22px; }
.card__body p { margin-top: 8px; color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; }

/* ── Brands ────────────────────────────────────────────────────── */
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands span {
  font-size: 13.5px; font-weight: 600; color: var(--ink-text);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 13px;
}

/* ── Steps ─────────────────────────────────────────────────────── */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.step__n {
  counter-increment: s; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; flex: 0 0 auto;
}
.step__n::before { content: counter(s); }
.step p { color: var(--ink-mute); font-size: 14.5px; margin-top: 4px; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--cds-radius); overflow: hidden; }
.faq summary { cursor: pointer; padding: 15px 17px; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 19px; font-weight: 400; color: var(--ice-deep); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 17px 17px; color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; }

/* ── Closing CTA ───────────────────────────────────────────────── */
.close { background: var(--ink); color: #eaf4f8; border-radius: var(--cds-radius-lg); padding: 34px 26px; text-align: center; position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 50% 0%, rgba(23,169,207,.26) 0%, transparent 62%); }
.close > * { position: relative; }
.close h2 { color: #fff; }
.close p { margin-top: 12px; color: #b9d4df; font-size: 15px; }
.close .btn { margin-top: 22px; }

/* ── Footer ────────────────────────────────────────────────────── */
.foot { background: var(--ink); color: #9db9c8; padding: 34px 0 96px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.foot a { color: #d4e8f0; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__grid { display: grid; gap: 22px; }
.foot h3 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.foot__fine { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #7796a7; line-height: 1.6; }

/* ── Mobile action bar — ONE primary action ────────────────────── */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
}
.actionbar .btn--primary { flex: 1; }
.actionbar__tel { color: var(--ink-text); text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 6px; white-space: nowrap; }

/* ── Reveal — transform/opacity only, reduced-motion honoured ──── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--cds-ease), transform .55s var(--cds-ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .skel__row { animation: none; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ── Desktop ───────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .sizer__opts { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .units { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__in { padding: 78px 0 54px; }
  .section { padding: 76px 0; }
  .actionbar { display: none; }
  .foot { padding-bottom: 40px; }
}
@media (min-width: 1000px) {
  .units { grid-template-columns: repeat(3, 1fr); }
}
