/* ============================================================
   Icetek.ca — site stylesheet
   Used by the homepage AND all subpages.
   Section-level class hooks documented at top of homepage.jsx.
   ============================================================ */

@font-face {
  font-family: 'Haffer';
  src: url('../fonts/HafferSQXH-Regular.woff2') format('woff2'),
       url('../fonts/HafferSQXH-Regular.woff') format('woff');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:       #03070D;
  --steel:     #3D5060;
  --steel-d:   #26323b;
  --steel-l:   #5C7185;
  --paper:     #F2F4F3;
  --paper-2:   #E6E9E8;
  --line:      #C9CFCC;
  --ice:       #D9E4EE;
  --type-mute: #5C6470;
  --danger:    #A33C2F;
  --good:      #3D7050;

  --font-display: 'Haffer', 'Inter Tight', system-ui, sans-serif;
  --font-body:    'Haffer', 'Inter Tight', system-ui, sans-serif;

  /* Layout tokens — these scale at mobile via media queries below */
  --pad-x: 56px;
  --section-pad-y: 120px;

  /* Fluid type — used by section titles, hero, etc. */
  --hero-h1:        clamp(44px, 10vw, 128px);
  --section-title:  clamp(36px, 6vw, 64px);
  --section-title-lg: clamp(44px, 8vw, 96px);
}

/* Reset */
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─────────────────────────────────────────────────────────────
   Header
───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 16px; z-index: 50;
  background: rgba(242, 244, 243, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 4px;
  box-shadow: 0 4px 32px rgba(3, 7, 13, 0.08);
  overflow: hidden;
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
}
.nav-desktop { display: flex; gap: 36px; font-size: 13px; font-weight: 500; color: var(--ink); font-family: var(--font-display); }
.nav-desktop a { padding: 6px 2px; }
.nav-desktop a:hover { opacity: 0.6; }
.site-header__right { display: flex; align-items: center; gap: 16px; }
.site-header__lang { font-size: 13px; font-family: var(--font-display); }
.lang-switcher { display: inline-flex; align-items: center; gap: 2px; }
.lang-current { color: var(--ink); font-weight: 500; }
.lang-link { color: var(--type-mute); transition: color 0.15s; }
.lang-link:hover { color: var(--ink); }
.lang-sep { color: var(--type-mute); user-select: none; }
.nav-burger { display: none; background: transparent; border: none; cursor: pointer;
  padding: 8px; color: var(--ink); font-size: 22px; }
.nav-drawer { display: none; font-family: var(--font-display); }

/* ─────────────────────────────────────────────────────────────
   Hero
───────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.hero__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; isolation: isolate;
  background: var(--ink) url('../img/redesign/hero_poster.jpg') center/cover no-repeat;}
.hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-width: 177.78vh; min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(3,7,13,0.28) 0%, rgba(3,7,13,0) 55%),
    linear-gradient(to bottom, rgba(3,7,13,0.28) 0%, rgba(3,7,13,0.12) 35%, rgba(3,7,13,0.40) 100%);
}
/* ── Hero title — font sizes match _hero.scss ─────────────────── */
.hero__title {
  color: #fff; margin: 0; font-weight: 500;
  letter-spacing: -0.035em; transition: 0.5s font-size, 0.5s height;
  font-size: 45px; line-height: 1.2;
}
@media (min-width: 375px) { .hero__title { font-size: 55px; } }
@media (min-width: 410px) { .hero__title { font-size: 60px; } }
@media (min-width: 768px)  { .hero__title { font-size: 40px; } }
@media (min-width: 992px)  { .hero__title { font-size: 55px; line-height: 55px; } }
@media (min-width: 1170px) { .hero__title { font-size: 75px; } }
@media (min-width: 1375px) { .hero__title { font-size: 96px; } }
/* Mobile title: stacked, last line right-aligned */
.hero__title--mobile { margin-bottom: 55px; }
.hero__title--mobile .line-wrap { display: block !important; }
.hero__title--mobile .line-wrap:last-of-type { text-align: right; }
/* Desktop split title: hidden by default */
.hero__title--desktop { display: none; }
/* hero__inner: flex child on mobile, full-hero positioner on desktop */
.hero__inner { position: relative; z-index: 3; padding: 0 var(--pad-x) 56px; width: 100%; }
.hero__copy { max-width: 480px; }
.hero .eyebrow { color: rgba(255,255,255,0.75); }
.hero__sub { margin-top: 36px; font-size: clamp(16px, 1.4vw, 20px); max-width: 460px;
  line-height: 1.45; color: rgba(255,255,255,0.86); }
.hero__cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Desktop split layout (768px+) ───────────────────────────── */
@media (min-width: 768px) {
  .hero__title--mobile { display: none; }
  .hero__inner { position: absolute; inset: 0; z-index: 3; padding: 0; width: auto; max-width: none; }
  .hero__title--desktop {
    display: block; position: absolute; bottom: 0; left: 0; right: 0;
    height: 220px; padding-left: var(--pad-x);
  }
  .hero__title--desktop .line-wrap { display: block; white-space: nowrap; }
  .hero__title--desktop .line-wrap:last-child {
    position: absolute; right: var(--pad-x); bottom: 30px;
  }
  .hero__copy { position: absolute; bottom: 30px; left: var(--pad-x); max-width: 480px; }
}
@media (min-width: 992px)  { .hero__title--desktop { height: 225px; } }
@media (min-width: 1170px) { .hero__title--desktop { height: 250px; } .hero__title--desktop .line-wrap:last-child { bottom: 40px; } }
@media (min-width: 1375px) { .hero__title--desktop { height: 290px; } }
@media (min-width: 1600px) { .hero__title--desktop { height: 320px; } }
/* Cap font at 75px so "before it sees you." always fits on one line */
@media (min-width: 1375px) { .hero__title { font-size: 75px; } }
@media (min-width: 1600px) { .hero__title { font-size: 90px; } }

/* ── Scrolla animation (ported from _animations.scss) ─────────── */
.animate { visibility: hidden; }
.animate__hero-entrance span.line {
  display: inline-block; opacity: 0;
  transform: translateY(50%) rotate(5deg);
}
@media (min-width: 576px) {
  .animate__hero-entrance span.line { transform: translateY(200px) rotate(5deg); }
}
.animate__hero-entrance span.line-wrap { display: inline-block; overflow: hidden; }
.animate__hero-entrance .line-wrap { line-height: 1.1; }
.animate__hero-entrance .line-wrap .line {
  animation: hero-entrance 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s both;
}
.animate__hero-entrance .line-wrap:nth-child(2) .line { animation-delay: 0.4s; }
.animate__hero-entrance .line-wrap:nth-child(3) .line { animation-delay: 0.6s; }
.animate__hero-entrance .line-wrap:nth-child(4) .line { animation-delay: 0.8s; }
@keyframes hero-entrance {
  0%   { opacity: 1; transform: translateY(200px) rotate(5deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
.animate__fade-in { animation: fade-in 1.8s cubic-bezier(0.39, 0.575, 0.565, 1) both; }
@keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
.animate__animated { animation-fill-mode: both; }

/* Homepage: fixed nav floats over hero so video fills from top */
.redesign-home .site-header { position: fixed; top: 16px; left: 16px; right: 16px; width: calc(100% - 32px); }

/* ─────────────────────────────────────────────────────────────
   Section heads (shared)
───────────────────────────────────────────────────────────── */
.section-head { display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 48px; flex-wrap: wrap; gap: 24px; }
.section-title {
  font-size: var(--section-title); font-weight: 500; letter-spacing: -0.03em;
  margin-top: 16px; line-height: 1; color: var(--ink);
}
.section-title--light { color: var(--paper); }

/* ─────────────────────────────────────────────────────────────
   Product card (used by products + services)
───────────────────────────────────────────────────────────── */
.pcard {
  border-radius: 20px; padding: 36px; min-height: 520px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pcard:hover { transform: translateY(-3px); }
.pcard--light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.pcard--light:hover { box-shadow: 0 12px 32px rgba(3,7,13,0.06); }
.pcard--dark  { background: var(--ink); color: var(--paper); border: none; }
.pcard--dark:hover { box-shadow: 0 12px 32px rgba(3,7,13,0.4); }
.pcard__tag {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--type-mute);
}
.pcard--dark .pcard__tag { color: rgba(242,244,243,0.6); }
.pcard__name { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; margin-top: 10px; }
.pcard__desc { margin-top: 12px; font-size: 15px; line-height: 1.5; max-width: 360px; color: var(--type-mute); }
.pcard--dark .pcard__desc { color: rgba(242,244,243,0.7); }
.pcard__desc b { color: var(--ink); font-weight: 600; }
.pcard--dark .pcard__desc b { color: var(--paper); }
.pcard__media { flex: 1; display: flex; align-items: flex-end; justify-content: center; margin-top: 24px; }
.pcard__media img { max-width: 90%; max-height: 280px; object-fit: contain; }
.pcard__img--ic1,
.pcard__img--ic2     { max-width: 70% !important; }
.pcard__img--service { max-width: 100% !important; max-height: 220px !important;
  object-fit: cover !important; width: 100% !important; border-radius: 10px; }
.pcard__cta { margin-top: 16px; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 6px; }

/* ─────────────────────────────────────────────────────────────
   Products section + FT row
───────────────────────────────────────────────────────────── */
.products { padding: var(--section-pad-y) var(--pad-x); }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.products__ft {
  margin-top: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 28px; align-items: center;
}
.products__ft-logo   { height: 28px; object-fit: contain; }
.products__ft-sensor { height: 84px; object-fit: contain; }
.products__ft-eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--type-mute);
}
.products__ft-title {
  font-size: 20px; font-weight: 500; margin-top: 4px;
  letter-spacing: -0.015em; color: var(--ink);
}
.products__ft-desc { margin-top: 6px; font-size: 14px; color: var(--type-mute);
  max-width: 540px; line-height: 1.5; }

/* ─────────────────────────────────────────────────────────────
   Services
───────────────────────────────────────────────────────────── */
.services {
  padding: var(--section-pad-y) var(--pad-x); background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.services__lede { max-width: 460px; color: var(--type-mute); font-size: 15px; line-height: 1.55; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ─────────────────────────────────────────────────────────────
   Ice Index
───────────────────────────────────────────────────────────── */
.iceindex { padding: var(--section-pad-y) var(--pad-x); }
.iceindex__intro { margin-top: 14px; font-size: 16px; color: var(--type-mute);
  max-width: 580px; line-height: 1.55; }
.iceindex__commission { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.iceindex__years { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.year-btn {
  padding: 9px 16px; font-size: 13px; font-weight: 500; border-radius: 999px;
  cursor: pointer; background: transparent; color: var(--ink);
  border: 1px solid var(--line); font-family: inherit;
}
.year-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.year-btn--ghost { color: var(--type-mute); }
.iceindex__card {
  margin-top: 32px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 32px;
}
.iceindex__headline {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
}
.iceindex__eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--type-mute);
}
.iceindex__ytd { display: flex; align-items: baseline; gap: 16px; margin-top: 10px; }
.iceindex__ytd-value {
  font-family: var(--font-display); font-size: clamp(56px, 8vw, 84px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
}
.iceindex__feat-value {
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px);
  font-weight: 500; letter-spacing: -0.03em;
}
.iceindex__ytd-delta { font-size: 14px; color: var(--danger); }
.iceindex__ytd-sub   { font-size: 13px; color: var(--type-mute); margin-top: 4px; }
.iceindex__headline-cta { align-self: center; }
.iceindex__featured {
  margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: center; border-top: 1px solid var(--line); padding-top: 28px;
}
.iceindex__featured-note { margin-top: 12px; font-size: 14px; color: var(--ink);
  line-height: 1.55; max-width: 360px; }
.iceindex__featured-img {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px;
}
.iceindex__featured-img img { width: 100%; border-radius: 8px; }
.iceindex__caption { margin-top: 10px; font-size: 11px; color: var(--type-mute); }
.iceindex__months { margin-top: 24px; }
.iceindex__months-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--type-mute); margin-bottom: 10px;
}
.iceindex__chips { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.month-chip {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 8px; text-align: center; cursor: pointer;
  position: relative; overflow: hidden; font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.month-chip:hover { transform: translateY(-1px); }
.month-chip.is-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.month-chip.is-empty .month-chip__value { opacity: 0.4; }
.month-chip__tone { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.month-chip__label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.65; margin-top: 4px;
}
.month-chip__value { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-top: 2px; }

/* ─────────────────────────────────────────────────────────────
   Stats + Partners (dark)
───────────────────────────────────────────────────────────── */
.stats {
  padding: var(--section-pad-y) var(--pad-x);
  background: var(--ink); color: var(--paper);
}
.stats__lede { max-width: 380px; font-size: 15px; opacity: 0.75; line-height: 1.55; }
.stats__logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 40px 32px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.stats__logos img {
  flex: 0 0 calc(25% - 24px);
  filter: brightness(0) invert(1); opacity: 0.78;
  object-fit: contain; height: 56px;
}
.stats__main {
  margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: start;
}
.stats__map {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 14px;
}
.stats__map img { width: 100%; display: block; border-radius: 10px; }
.stats__map-caption {
  margin-top: 12px; padding: 0 6px; font-size: 12px; opacity: 0.6;
  display: flex; justify-content: space-between;
}
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats__cell { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 14px; }
.stats__num {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500; letter-spacing: -0.02em;
}
.stats__num--big { font-size: clamp(40px, 5vw, 56px); }
.stats__label { font-size: 13px; opacity: 0.7; margin-top: 4px; }
.stats__cta {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.stats__cta-text { font-size: 16px; opacity: 0.85; max-width: 540px; line-height: 1.5; }

.stats__bg-layout { position: relative; padding: 48px 0; }
.stats__bg-map {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0.18; filter: brightness(1.6);
}
.stats__bg-content { position: relative; }
.stats__bg-content .stats__logos {
  justify-content: center; padding-bottom: 0; border: none;
}
.stats__bg-stats {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1100px; margin-left: auto; margin-right: auto;
  text-align: center;
}

.stats__side-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.stats__side-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.6; margin-bottom: 16px;
}
.stats__side-logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: center; margin-bottom: 36px;
}
.stats__side-logos img { max-height: 36px; max-width: 100%; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.85; }
.stats__side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stats__map--side { margin: 0; }

/* ─────────────────────────────────────────────────────────────
   Contact
───────────────────────────────────────────────────────────── */
.contact { padding: var(--section-pad-y) var(--pad-x) 80px; }
.contact__intro { max-width: 520px; }
.contact__title { font-size: clamp(48px, 6.5vw, 72px); line-height: 0.98; }
.contact__lede { margin-top: 18px; font-size: 17px; color: var(--type-mute); line-height: 1.5; }
.contact__grid {
  margin-top: 56px; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; align-items: start;
}
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__submit {
  grid-column: span 2; display: flex; gap: 14px; align-items: center;
  flex-wrap: wrap; margin-top: 8px;
}
.contact__legal { font-size: 12px; color: var(--type-mute); }
.contact__legal a { text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.contact__aside { display: flex; flex-direction: column; gap: 32px; }
.contact__block { border-top: 1px solid var(--line); padding-top: 18px; }
.contact__block-title {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--type-mute);
}
.contact__block-body { margin-top: 8px; font-size: 15px; color: var(--ink); line-height: 1.55; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field--span-2 { grid-column: span 2; }
.field__label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--type-mute);
}
.field__req { color: var(--danger); }
.field__input {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 14px; font-size: 15px; color: var(--ink); font-family: inherit;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field__input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(3,7,13,0.06); }
.field__input--select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6470' stroke-width='1.6'><path d='M6 9l6 6 6-6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  background-size: 18px; padding-right: 44px;
}
.field__input--area { resize: vertical; min-height: 120px; }

/* ─────────────────────────────────────────────────────────────
   CF7 Contact Form — redesign
   The form HTML uses old Bootstrap .row/.col-*/.form-group which
   are stripped on redesign pages. Restore layout + style inputs.
───────────────────────────────────────────────────────────── */
.contact__form-wrap .wpcf7 { width: 100%; }

/* Restore Bootstrap-like row/col inside the form */
.contact__form-wrap .row {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0;
}
.contact__form-wrap .col-12,
.contact__form-wrap .col-lg-5 { flex: 1 1 100%; min-width: 0; }
.contact__form-wrap .row > .row { gap: 10px; }
.contact__form-wrap .col-5 { flex: 0 0 calc(42% - 6px); min-width: 0; }
.contact__form-wrap .col-7 { flex: 1 1 calc(58% - 6px); min-width: 0; }

/* Field wrappers */
.contact__form-wrap .form-group {
  display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; padding: 0;
}
.contact__form-wrap .form-group:last-child { margin-bottom: 0; }
.contact__form-wrap .wpcf7 form > .row + .row { margin-top: 20px; }
.contact__form-wrap .wpcf7-form-control-wrap { display: block; }

/* Labels */
.contact__form-wrap label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--type-mute); font-weight: 500;
}

/* All text inputs, selects, textareas */
.contact__form-wrap input[type="text"],
.contact__form-wrap input[type="email"],
.contact__form-wrap input[type="tel"],
.contact__form-wrap select,
.contact__form-wrap textarea {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; font-size: 15px; color: var(--ink); font-family: inherit;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%; box-sizing: border-box; -webkit-appearance: none;
}
.contact__form-wrap select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6470' stroke-width='1.6'><path d='M6 9l6 6 6-6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 16px; padding-right: 38px;
}
.contact__form-wrap input:focus,
.contact__form-wrap select:focus,
.contact__form-wrap textarea:focus {
  border-color: var(--ink); box-shadow: 0 0 0 3px rgba(3,7,13,0.06);
}
.contact__form-wrap textarea { resize: vertical; min-height: 120px; }

/* Services checkbox list — pill tags */
.contact__form-wrap .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.contact__form-wrap .wpcf7-list-item { margin: 0; }
.contact__form-wrap .wpcf7-list-item label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--ink); cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 6px 12px; transition: border-color 0.15s, background 0.15s;
}
.contact__form-wrap .wpcf7-list-item label:hover { border-color: var(--ink); }
.contact__form-wrap .wpcf7-list-item input[type="checkbox"] {
  width: 14px; height: 14px; accent-color: var(--ink);
}

/* Submit button — matches .rbtn--solid */
.contact__form-wrap .wpcf7-submit,
.contact__form-wrap input[type="submit"] {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; background: var(--ink); color: var(--paper);
  border: none; font-family: inherit;
  transition: opacity 0.15s, transform 0.15s;
}
.contact__form-wrap .wpcf7-submit:hover { opacity: 0.85; transform: translateY(-1px); }
.contact__form-wrap .form-submit {
  display: flex; align-items: center; padding-top: 8px;
}

/* Validation + response messages */
.contact__form-wrap .wpcf7-not-valid-tip {
  font-size: 12px; color: var(--danger, #a33c2f); margin-top: 4px;
}
.contact__form-wrap .wpcf7-response-output {
  margin-top: 16px; padding: 12px 16px; border-radius: 8px;
  font-size: 14px; border: none !important;
}
.contact__form-wrap .wpcf7-form.sent .wpcf7-response-output {
  background: rgba(61,112,80,0.08); color: #2d5c3a;
}
.contact__form-wrap .wpcf7-form.failed .wpcf7-response-output,
.contact__form-wrap .wpcf7-form.invalid .wpcf7-response-output {
  background: rgba(163,60,47,0.08); color: #7a2c22;
}

/* ─────────────────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────────────────── */
.site-footer { padding: 24px var(--pad-x) 48px; }
.site-footer__row {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; font-size: 12px; color: var(--type-mute);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — tablet (1024px)
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --pad-x: 32px;
    --section-pad-y: 96px;
  }
  .stats__main { grid-template-columns: 1fr; gap: 32px; }
  .stats__map { order: 2; }
  .iceindex__chips { grid-template-columns: repeat(4, 1fr); }
  .iceindex__featured { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__aside { flex-direction: row; flex-wrap: wrap; }
  .contact__block { flex: 1 1 200px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .products__ft {
    grid-template-columns: auto 1fr auto;
  }
  .products__ft-sensor { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — mobile (768px)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
    --section-pad-y: 72px;
  }

  /* Header → burger */
  .nav-desktop { display: none; }
  .nav-burger { display: inline-flex; align-items: center; }
  .nav-drawer:not([hidden]) { display: block; padding: 8px 20px 16px; background: var(--paper);
    border-top: 1px solid var(--line); }
  .nav-drawer__links a {
    display: block; padding: 16px 4px; font-size: 18px; font-weight: 500;
    color: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav-drawer__links a:last-child { border-bottom: none; }
  .nav-drawer__foot {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 4px 4px; margin-top: 8px; border-top: 1px solid var(--line);
  }
  .nav-drawer__lang { font-size: 13px; font-family: var(--font-display); }
  /* hide demo link on mobile to declutter header */
  .site-header__right > .rbtn { display: none; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero__sub  { margin-top: 24px; }
  .hero__cta  { margin-top: 24px; }

  /* Section heads */
  .section-head { margin-bottom: 32px; }

  /* Products / Services */
  .products__grid,
  .services__grid { grid-template-columns: 1fr; gap: 16px; }
  .pcard { padding: 28px; min-height: 420px; }

  /* FT row */
  .products__ft {
    grid-template-columns: 1fr; text-align: left; gap: 16px;
    padding: 24px;
  }
  .products__ft-sensor { display: none; }
  .products__ft > button { width: 100%; justify-content: center; }

  /* Ice Index */
  .iceindex__card { padding: 20px; }
  .iceindex__years { gap: 6px; }
  .iceindex__years .year-btn { padding: 8px 12px; font-size: 12px; }
  .iceindex__headline { gap: 16px; }
  .iceindex__chips { grid-template-columns: repeat(2, 1fr); }

  /* Stats */
  .stats__logos { gap: 28px 32px; padding-bottom: 28px; }
  .stats__logos img { flex-basis: calc(50% - 16px); height: 40px !important; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats__side-layout { grid-template-columns: 1fr; gap: 32px; }
  .stats__bg-stats { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Contact */
  .contact__form { grid-template-columns: 1fr; gap: 16px; }
  .contact__submit { grid-column: span 1; }
  .field--span-2 { grid-column: span 1; }
  .contact__aside { flex-direction: column; gap: 22px; }

  /* Footer */
  .site-footer__row { flex-direction: column; gap: 8px; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — small mobile (430px)
───────────────────────────────────────────────────────────── */
@media (max-width: 430px) {
  .pcard { padding: 24px; min-height: 380px; }
  .pcard__name { font-size: 28px; }
  .iceindex__chips { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────────────────
   Production static classes
   React inline styles translated to CSS classes for PHP templates
───────────────────────────────────────────────────────────── */

/* Eyebrow label */
.eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--type-mute);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; flex-shrink: 0; width: 18px; height: 1px;
  background: currentColor; opacity: 0.6;
}
.eyebrow--light { color: var(--steel-l); }

/* Buttons — prefixed rbtn to avoid Bootstrap .btn collision */
.rbtn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; letter-spacing: -0.005em; cursor: pointer;
  font-family: inherit; transition: opacity 0.15s, background 0.15s;
  text-decoration: none; line-height: 1; border-radius: 8px;
}
.rbtn:hover { opacity: 0.85; }
.rbtn--sm  { padding: 8px 14px;  font-size: 13px; border-radius: 6px; }
.rbtn--md  { padding: 12px 20px; font-size: 14px; }
.rbtn--lg  { padding: 16px 28px; font-size: 16px; border-radius: 10px; }
.rbtn--solid  { background: var(--ink);   color: var(--paper); border: 1px solid var(--ink); }
.rbtn--steel  { background: var(--steel); color: #fff;         border: 1px solid var(--steel); }
.rbtn--ghost  { background: transparent;  color: var(--ink);   border: 1px solid var(--ink); }
.rbtn--ghostlt{ background: transparent;  color: #fff;         border: 1px solid rgba(255,255,255,0.4); }
.rbtn--link   { background: transparent;  color: var(--ink);   border: none; padding: 0; }
.rbtn svg { width: 1em; height: 1em; }

/* Icetek logo mark — inline SVG + wordmark */
.icetek-logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.icetek-logo__mark { display: block; flex-shrink: 0; }
.icetek-logo__wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: -0.02em;
}
