/* ============================================================
   CHILLMART — dark ice theme
   Deep night-blue #0B1220 · icy blue #3E7BFA · pale ice #A9C6F7
   midnight blue #1C2B4A · light text #E8F0FE
   ============================================================ */

:root {
  --bg: #0B1220;
  --bg-soft: #0E1628;
  --text: #E8F0FE;
  --text-mute: #A9C6F7;
  --icy: #3E7BFA;
  --pale: #A9C6F7;
  --mid: #1C2B4A;
  --line: #24365C;
  --dark-text: #0B1220;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--icy);
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation (ice crystal nav) ---------- */

.crystal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--icy);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand:hover {
  color: var(--pale);
}

.crystal-glyph {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
}

.crystal-glyph .bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 18px;
  background: var(--icy);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.crystal-glyph .bar::before,
.crystal-glyph .bar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 2px;
  background: var(--icy);
  border-radius: 1px;
}

.crystal-glyph .bar::before { top: 3px; }
.crystal-glyph .bar::after { bottom: 3px; }

.crystal-glyph .b2 { transform: translate(-50%, -50%) rotate(60deg); }
.crystal-glyph .b3 { transform: translate(-50%, -50%) rotate(120deg); }

.wordmark {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

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

.nav-links a {
  color: var(--text-mute);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: var(--icy);
  border-radius: 2px;
}

.nav-cta {
  background: var(--icy);
  color: var(--dark-text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--pale);
  color: var(--dark-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--icy);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

/* ---------- Hero (ice cube hero) ---------- */

.ice-hero {
  padding: 84px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow-chip {
  display: inline-block;
  background: var(--icy);
  color: var(--dark-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--text-mute);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--icy);
  color: var(--dark-text);
}

.btn-primary:hover {
  background: var(--pale);
  color: var(--dark-text);
}

.btn-outline {
  border: 2px solid var(--pale);
  color: var(--pale);
}

.btn-outline:hover {
  background: var(--pale);
  color: var(--dark-text);
}

.btn-dark {
  background: var(--dark-text);
  color: var(--text);
}

.btn-dark:hover {
  background: var(--mid);
  color: var(--text);
}

/* Ice cube stack */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.ice-stack {
  position: relative;
  width: 320px;
  height: 340px;
}

.snow-dot {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--icy);
  border-radius: 50%;
}

.ice-cube {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 20px;
}

.ice-cube .hl {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.cube-one {
  top: 4px;
  left: 76px;
  background: var(--icy);
  transform: rotate(3deg);
}

.cube-one .hl { background: var(--pale); }

.cube-two {
  top: 86px;
  left: 108px;
  background: var(--pale);
}

.cube-two .hl { background: var(--mid); }

.cube-three {
  top: 168px;
  left: 76px;
  background: var(--mid);
  border: 2px solid var(--icy);
}

.cube-three .hl { background: var(--icy); }

.freezer-line {
  position: absolute;
  bottom: 6px;
  left: 40px;
  width: 240px;
  height: 6px;
  background: var(--pale);
  border-radius: 3px;
}

/* ---------- Statement row ---------- */

.statement-row {
  padding: 72px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-text {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto;
}

.statement-sub {
  text-align: center;
  color: var(--text-mute);
  font-size: 1.05rem;
  max-width: 760px;
  margin: 20px auto 0;
}

/* ---------- Shared section head ---------- */

.section-head {
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--text-mute);
  font-size: 1.08rem;
  max-width: 720px;
}

/* ---------- Cold rows ---------- */

.cold-rows {
  padding: 88px 0;
}

.cold-row {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.cold-row .marker {
  width: 14px;
  height: 14px;
  background: var(--icy);
  border-radius: 3px;
  margin-top: 8px;
}

.cold-copy h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cold-copy p {
  color: var(--text-mute);
  max-width: 720px;
}

.cold-row .side-square {
  width: 20px;
  height: 20px;
  background: var(--pale);
  border-radius: 4px;
  margin-top: 8px;
  justify-self: end;
}

/* ---------- Temp rows ---------- */

.temp-rows {
  padding: 88px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.temp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.temp-row:last-child { border-bottom: none; }

.zone-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.zone-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pale);
  font-variant-numeric: tabular-nums;
}

.zone-note {
  color: var(--text-mute);
  margin-top: 24px;
  max-width: 720px;
}

/* ---------- Safe rows ---------- */

.safe-rows {
  padding: 88px 0;
}

.safe-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.safe-row h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.safe-row p {
  color: var(--text-mute);
}

.safe-marker {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex: 0 0 auto;
}

.safe-marker.icy { background: var(--icy); }
.safe-marker.pale { background: var(--pale); }
.safe-marker.mid { background: var(--mid); border: 1px solid var(--icy); }

/* ---------- FAQ accordion ---------- */

.faq-section {
  padding: 88px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--icy);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a p {
  color: var(--text-mute);
  padding-bottom: 24px;
  max-width: 720px;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 88px 0;
  background: var(--icy);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--dark-text);
}

.cta-inner p {
  color: var(--dark-text);
  margin-top: 6px;
}

/* ---------- Sub-page hero ---------- */

.page-hero {
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 20px;
}

.page-lead {
  color: var(--text-mute);
  font-size: 1.1rem;
  max-width: 640px;
}

/* ---------- Services blocks ---------- */

.service-section {
  padding: 80px 0;
}

.service-intro {
  max-width: 720px;
  margin-bottom: 20px;
}

.service-intro p {
  color: var(--text-mute);
  font-size: 1.1rem;
}

.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--icy);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.service-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-body p {
  color: var(--text-mute);
  max-width: 760px;
}

/* ---------- Process ---------- */

.process-section {
  padding: 80px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  padding: 28px;
  background: var(--mid);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.step-marker {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--icy);
  border-radius: 3px;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-mute);
  font-size: 0.98rem;
}

.process-note {
  color: var(--text-mute);
  margin-top: 28px;
  max-width: 720px;
}

/* ---------- Contact ---------- */

.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.info-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-lead {
  color: var(--text-mute);
  margin-bottom: 16px;
}

.info-row h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pale);
  margin-bottom: 6px;
}

.info-row p {
  color: var(--text-mute);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--icy);
  border-color: var(--icy);
}

.contact-form .btn {
  margin-top: 22px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  color: var(--text-mute);
  font-size: 0.88rem;
  margin-top: 14px;
}

/* ---------- Mini FAQ ---------- */

.mini-faq {
  padding: 80px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
}

/* ---------- Footer (frost footer) ---------- */

.frost-footer {
  background: var(--bg);
  border-top: 3px solid var(--icy);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .wordmark {
  display: inline-block;
  margin-left: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--icy);
  border-radius: 3px;
}

.footer-brand p {
  color: var(--text-mute);
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pale);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-mute);
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--text); }

.footer-col p {
  color: var(--text-mute);
  margin-top: 6px;
}

.legal-line {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  text-align: center;
}

.legal-line p {
  color: var(--text-mute);
  font-size: 0.9rem;
}

.legal-line a {
  color: var(--pale);
}

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--icy);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a.active::after { display: none; }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .ice-stack {
    transform: scale(0.82);
    transform-origin: top center;
    height: 290px;
  }

  .cold-row {
    grid-template-columns: 24px 1fr;
  }

  .cold-row .side-square {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
