/* ====================================================
   SMARTER COOL — Premium Landing
   Palette: Navy / Teal / Sky / Beige / White
   ==================================================== */

:root {
  --navy: #2F4156;
  --navy-deep: #1f2c3a;
  --teal: #567C8D;
  --teal-soft: #7e9aa8;
  --sky: #C8D9E6;
  --sky-soft: #dde8f0;
  --beige: #F5EFEB;
  --beige-warm: #ece4dc;
  --white: #FFFFFF;
  --ink: #1a2330;
  --line: rgba(47, 65, 86, 0.12);
  --line-strong: rgba(47, 65, 86, 0.22);

  --font-display: "Antonio", "Bebas Neue", sans-serif;
  --font-body: "Geist", "DM Sans", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.86;
  text-transform: uppercase;
}
.label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-glass {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
}
.btn-glass:hover { background: rgba(255,255,255,0.22); }
.btn .arrow {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
}
.btn-primary .arrow { background: var(--sky); }

/* ---------- Container ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 16px;
  z-index: 80;
  padding: 0 var(--gutter);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 12px 40px -16px rgba(47,65,86,0.18);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 18px;
  text-transform: uppercase;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sky);
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  gap: 6px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--navy);
  transition: background .2s ease;
}
.nav a:hover, .nav a.active { background: var(--sky); }
.header .actions { display: flex; gap: 8px; align-items: center; }
.header .btn { padding: 10px 16px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  padding: 28px var(--gutter) 0;
  position: relative;
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: end;
  padding: 8px 4px 20px;
}
.hero-meta .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.hero-meta .c { text-align: center; }
.hero-meta .r { text-align: right; }

.hero-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 720px;
  background: linear-gradient(180deg, #1c2a3a 0%, #2F4156 55%, #567C8D 100%);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  filter: saturate(0.6) contrast(1.05);
  z-index: 0;
}
.hero-stage::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 10% 100%, rgba(47,65,86,0.85), transparent 60%),
    linear-gradient(180deg, rgba(47,65,86,0.25) 0%, rgba(47,65,86,0.0) 30%, rgba(47,65,86,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 44px 48px 36px;
  min-height: 720px;
}
.hero-left { display: flex; flex-direction: column; justify-content: space-between; color: var(--white); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  align-self: flex-start;
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 999px; background: #7ce0c4; box-shadow: 0 0 0 4px rgba(124,224,196,0.2); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(54px, 8.4vw, 148px);
  line-height: 0.94;
  letter-spacing: -0.015em;
  margin: 24px 0 0;
  text-transform: uppercase;
  color: var(--white);
}
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.9);
  color: transparent;
  font-style: italic;
}
.hero h1 .accent { color: var(--sky); }
.hero-sub {
  max-width: 520px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; }

.hero-right { display: flex; flex-direction: column; gap: 18px; justify-content: flex-end; align-items: flex-end; }
.hero-card {
  width: 100%;
  max-width: 380px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
}
.hero-card .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.hero-card .v { font-family: var(--font-display); font-size: 56px; line-height: 1; margin-top: 4px; }
.hero-card .d { font-size: 13px; opacity: 0.85; margin-top: 8px; }

.hero-metrics {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: -1px var(--gutter) 0;
  background: var(--navy);
  border-radius: 0 0 28px 28px;
  color: var(--white);
}
.hero-metrics .m {
  padding: 22px 26px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-metrics .m:last-child { border-right: none; }
.hero-metrics .m .num { font-family: var(--font-display); font-size: 38px; line-height: 1; }
.hero-metrics .m .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.hero-metrics .m .desc { font-size: 12.5px; opacity: 0.75; margin-top: 8px; max-width: 180px; }

/* ---------- Generic section ---------- */
section.block { padding: 120px var(--gutter); position: relative; }
section.block.tight { padding: 80px var(--gutter); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.6vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 12px 0 0;
  text-transform: uppercase;
  color: var(--navy);
  text-wrap: balance;
}
.section-head h2 .stroke {
  -webkit-text-stroke: 1.4px var(--navy);
  color: transparent;
  font-style: italic;
}
.hvls .section-head h2 .stroke,
.cta-inner h2 .stroke {
  -webkit-text-stroke: 1.5px var(--white);
}
.section-head .sub { color: var(--teal); max-width: 560px; font-size: 15.5px; line-height: 1.55; }

/* ---------- About ---------- */
.about {
  background: var(--beige);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--navy); letter-spacing: -0.005em; }
.about-copy .em { color: var(--teal); }
.about-side { display: grid; gap: 20px; }
.about-img {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sky);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.pill .d { width: 6px; height: 6px; border-radius: 999px; background: var(--teal); }

/* ---------- Categories ---------- */
.cats { background: var(--white); }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 3/4.2;
  cursor: pointer;
  transition: transform .35s ease;
}
.cat:hover { transform: translateY(-6px); }
.cat.cat-static, .cat:not([role="button"]) { cursor: default; }
.cat .meta.cat-label {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 8px 14px;
  left: auto; right: 18px; bottom: 18px;
  width: auto;
  display: inline-flex;
  pointer-events: none;
}
.cat .meta.cat-label .name {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.cat .cover {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--teal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cat .cover svg { width: 70%; height: 70%; }
.cat .meta {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cat .meta .name { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; line-height: 1; letter-spacing: 0.02em; }
.cat .meta .sub { font-size: 11px; color: var(--teal); margin-top: 4px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.15em; }
.cat .meta .go {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease;
}
.cat:hover .meta .go { background: var(--teal); }
.cat .idx {
  position: absolute; top: 18px; left: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.cat .idx-r {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* ---------- Catalog ---------- */
.catalog { background: var(--sky-soft); }
.catalog-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.tab {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--navy);
  transition: background .2s ease, color .2s ease;
}
.tab .count { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; margin-left: 8px; color: var(--teal); }
.tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab.active .count { color: var(--sky); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.product-card {
  grid-column: span 4;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.6);
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}
.product-card.large { grid-column: span 6; }
.product-card.feature { grid-column: span 8; flex-direction: row; }
.product-card.feature .product-visual { flex: 1.2; aspect-ratio: auto; }
.product-card.feature .product-body { flex: 1; padding: 32px; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(47,65,86,0.35); }
.product-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--beige), var(--sky));
  position: relative;
  overflow: hidden;
}
.product-visual.dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--teal) 100%);
}
.product-visual svg { position: absolute; inset: 0; margin: auto; }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; gap: 6px; align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy);
}
.product-tag.dark { background: rgba(0,0,0,0.32); color: var(--white); }
.product-id {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); opacity: 0.55;
}
.product-id.light { color: var(--white); opacity: 0.7; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.product-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.product-desc { font-size: 13.5px; color: var(--teal); line-height: 1.5; min-height: 36px; }
.product-specs { display: flex; gap: 18px; padding-top: 12px; border-top: 1px dashed var(--line); margin-top: 6px; flex-wrap: wrap; }
.spec { display: flex; flex-direction: column; gap: 2px; }
.spec .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.spec .v { font-family: var(--font-display); font-size: 22px; color: var(--navy); line-height: 1; }
.product-card .open {
  position: absolute; bottom: 22px; right: 22px;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.product-card:hover .open { background: var(--teal); transform: rotate(-45deg); }

/* ---------- HVLS dedicated band ---------- */
.hvls {
  background: var(--navy);
  color: var(--white);
}
.hvls .section-head h2, .hvls .section-head .sub { color: var(--white); }
.hvls .section-head .sub { color: rgba(255,255,255,0.7); }
.hvls .eyebrow { color: var(--sky); }
.hvls-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}
.hvls-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #1d2a39, #2F4156);
}
.hvls-hero .bg {
  position: absolute; inset: 0;
  background-image: url("assets/gigantes-que-mueven-el-aire.png");
  background-size: cover; background-position: center;
  opacity: 1; filter: none;
}
.hvls-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(31,44,58,0.8));
}
.hvls-fan {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 60%; aspect-ratio: 1; z-index: 2;
  animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.hvls-hero .label-tl { position: absolute; top: 18px; left: 18px; z-index: 3; color: rgba(255,255,255,0.7); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.hvls-hero .label-br { position: absolute; bottom: 18px; right: 18px; z-index: 3; color: var(--white); font-family: var(--font-display); font-size: 64px; line-height: 1; }
.hvls-hero .label-br span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 4px; }

.hvls-table {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  font-size: 13px;
}
.hvls-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 50px;
  gap: 8px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
  cursor: pointer;
  transition: background .2s ease;
}
.hvls-row:last-child { border-bottom: none; }
.hvls-row.head { background: rgba(255,255,255,0.03); }
.hvls-row.head div { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); }
.hvls-row .nm { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; }
.hvls-row .vl { color: rgba(255,255,255,0.85); font-family: var(--font-mono); font-size: 12px; }
.hvls-row:not(.head):hover { background: rgba(200,217,230,0.06); }
.hvls-row .arr {
  width: 32px; height: 32px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sky);
  transition: background .2s ease, color .2s ease;
}
.hvls-row:not(.head):hover .arr { background: var(--sky); color: var(--navy); }

/* ---------- Applications (Air Maps bento) ---------- */
.apps { background: var(--beige); position: relative; }
.apps-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.app-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  display: flex; flex-direction: column;
  padding: 22px;
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
  isolation: isolate;
}
.app-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(47,65,86,0.28); }
.app-card.light { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.app-card.dark  { background: var(--navy); color: var(--white); }
.app-card.teal  { background: var(--teal); color: var(--white); }
.app-card.sky   { background: var(--sky); color: var(--navy); }
.app-card.beige { background: var(--beige-warm); color: var(--navy); border: 1px solid var(--line); }
.app-card.photo { background: var(--navy); color: var(--white); }
.app-card .photo-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: 0.55; filter: saturate(0.6) contrast(1.05);
}
.app-card.photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31,44,58,0.25) 0%, rgba(31,44,58,0.8) 100%);
}

.ac-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ac-head .ix { opacity: 0.6; }
.ac-head .tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: currentColor;
}
.ac-head .tag span { color: var(--navy); }
.app-card.dark .ac-head .tag span, .app-card.teal .ac-head .tag span, .app-card.photo .ac-head .tag span { color: var(--white); }
.app-card.dark .ac-head .tag, .app-card.teal .ac-head .tag, .app-card.photo .ac-head .tag { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }
.app-card.dark .ac-head .tag span, .app-card.teal .ac-head .tag span, .app-card.photo .ac-head .tag span { color: inherit; }

.ac-plan {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 4px;
}
.ac-plan svg { width: 100%; height: 100%; max-height: 220px; }

.ac-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}
.ac-foot .nm {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.ac-foot .nm .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-top: 8px;
  opacity: 0.65;
}
.ac-chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  white-space: nowrap;
  opacity: 0.85;
}

/* Typography variant */
.ac-type {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}
.ac-type .big {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 168px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.ac-type .big .stroke {
  -webkit-text-stroke: 1.5px currentColor;
  color: transparent;
  font-style: italic;
}
.ac-type .lede { font-size: 14px; line-height: 1.5; opacity: 0.85; max-width: 280px; }

/* Span sizes */
.app-card.span-3 { grid-column: span 3; }
.app-card.span-4 { grid-column: span 4; }
.app-card.span-5 { grid-column: span 5; }
.app-card.span-6 { grid-column: span 6; }
.app-card.span-7 { grid-column: span 7; }
.app-card.span-8 { grid-column: span 8; }
.app-card.span-12 { grid-column: span 12; flex-direction: row; align-items: stretch; padding: 0; min-height: 240px; }
.app-card.span-12 > .ac-head {
  position: absolute; top: 22px; left: 22px; right: 22px;
  margin-bottom: 0;
  z-index: 2;
}
.app-card.span-12 .ac-plan {
  flex: 1.4;
  padding: 56px 28px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.app-card.span-12 .ac-plan svg { max-height: none; height: 100%; }
.app-card.span-12 .ac-foot {
  flex: 1;
  padding: 56px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 14px;
}
.app-card.span-12 .ac-foot .nm {
  font-size: clamp(40px, 5vw, 72px);
}
.app-card.tall { min-height: 360px; }
.app-card.short { min-height: 240px; }

/* Air-flow line animation */
@keyframes flow {
  to { stroke-dashoffset: -32; }
}
.airline { stroke-dasharray: 4 6; animation: flow 3.5s linear infinite; }

@media (max-width: 1100px) {
  .app-card.span-3, .app-card.span-4, .app-card.span-5 { grid-column: span 6; }
  .app-card.span-6, .app-card.span-7, .app-card.span-8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .app-card { grid-column: span 12 !important; min-height: 260px; }
}

/* ---------- Advantages ---------- */
.adv { background: var(--white); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.adv-card {
  background: var(--beige);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.adv-card.s1 { grid-column: span 5; background: var(--navy); color: var(--white); }
.adv-card.s2 { grid-column: span 7; }
.adv-card.s3 { grid-column: span 4; }
.adv-card.s4 { grid-column: span 4; background: var(--sky); }
.adv-card.s5 { grid-column: span 4; background: var(--teal); color: var(--white); }
.adv-card .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--teal); }
.adv-card.s1 .n, .adv-card.s5 .n { color: rgba(255,255,255,0.6); }
.adv-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}
.adv-card p { margin: 0; font-size: 14px; opacity: 0.85; line-height: 1.55; }
.adv-card .big { font-family: var(--font-display); font-size: 120px; line-height: 0.9; color: var(--sky); margin-top: auto; }
.adv-card.s2 .big { color: var(--teal); }

/* ---------- CTA ---------- */
.cta { padding: 0 var(--gutter); }
.cta-inner {
  position: relative;
  border-radius: 28px;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  isolation: isolate;
}
.cta-inner::before {
  content: "";
  position: absolute;
  right: -120px; top: -100px;
  width: 520px; height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200,217,230,0.4), transparent 70%);
  z-index: -1;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 12px 0 0;
}
.cta-inner h2 .stroke { -webkit-text-stroke: 1.5px var(--white); color: transparent; font-style: italic; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-side { font-size: 14px; opacity: 0.85; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { background: var(--beige); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.faq-q .ico {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--beige);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--navy); color: var(--white); }
.faq-a {
  padding: 0 28px 24px;
  font-size: 14.5px;
  color: var(--teal);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 24px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--sky-soft);
  padding: 80px var(--gutter) 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "SMARTER COOL";
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(200,217,230,0.06);
  white-space: nowrap;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--sky); margin: 0 0 18px; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul li a { transition: color .2s ease; }
.footer ul li a:hover { color: var(--white); }
.footer-brand .ttl {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.footer-brand p { color: rgba(200,217,230,0.6); max-width: 360px; font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.footer .socials { display: flex; gap: 8px; }
.footer .socials a {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(200,217,230,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sky);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer .socials a:hover { background: var(--sky); color: var(--navy); border-color: var(--sky); }

.footer-bar {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(200,217,230,0.12);
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(200,217,230,0.5);
  position: relative; z-index: 1;
  flex-wrap: wrap;
}

/* ====================================================
   PRODUCT DETAIL — Immersive (glassmorphism, ref. img 3)
   ==================================================== */
.product-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.product-overlay.open { opacity: 1; pointer-events: auto; }
.product-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 20% 30%, rgba(86,124,141,0.7), transparent 60%),
    radial-gradient(80% 60% at 80% 70%, rgba(47,65,86,0.85), transparent 60%),
    linear-gradient(135deg, #1c2a3a, #2F4156 40%, #567C8D 100%);
}
.product-bg .stars {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
  opacity: 0.18; mix-blend-mode: screen; filter: blur(2px);
}

.product-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
  color: var(--white);
  overflow-y: auto;
}

.po-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.18);
}
.po-topbar .crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.po-topbar .crumbs b { color: var(--white); font-weight: 500; }
.po-close {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background .2s ease;
}
.po-close:hover { background: rgba(255,255,255,0.22); }

.po-main {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  gap: 22px;
  padding: 28px 0;
  align-items: stretch;
}

.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 22px;
}
.glass.dark {
  background: rgba(31,44,58,0.45);
  border-color: rgba(255,255,255,0.1);
}

.po-left { display: flex; flex-direction: column; gap: 16px; }
.po-left .breadcrumb {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.po-left .num {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--white);
  margin: -8px 0 4px;
}
.po-left .nm-sub {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.po-left h2 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}
.po-left p { font-size: 14px; color: rgba(255,255,255,0.78); margin: 14px 0 0; line-height: 1.55; }

.po-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.po-thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.po-thumb.active { border-color: var(--sky); }
.po-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(200,217,230,0.2), transparent);
}

.po-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(200,217,230,0.18), transparent 70%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-height: 540px;
  display: flex; align-items: center; justify-content: center;
}
.po-stage .glow {
  position: absolute; inset: 10% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,217,230,0.35), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.po-stage .product-art {
  position: relative; z-index: 1;
  width: 70%; max-width: 480px;
}
.po-stage .floater {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white);
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 2;
}
.po-stage .floater .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--sky); box-shadow: 0 0 0 4px rgba(200,217,230,0.2); }
.po-stage .floater b { font-weight: 600; color: var(--sky); letter-spacing: 0.05em; }
.po-stage .float-1 { top: 8%; left: 6%; }
.po-stage .float-2 { top: 14%; right: 8%; }
.po-stage .float-3 { bottom: 18%; left: 8%; }
.po-stage .float-4 { bottom: 8%; right: 6%; }

.po-stage .corner-meta {
  position: absolute; bottom: 22px; left: 22px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  z-index: 2;
}
.po-stage .price-bar {
  position: absolute; bottom: 22px; right: 22px;
  padding: 10px 16px 10px 18px;
  border-radius: 999px;
  background: rgba(31,44,58,0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; gap: 14px;
  z-index: 2;
}
.po-stage .price-bar .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.po-stage .price-bar .v { font-family: var(--font-display); font-size: 22px; line-height: 1; }

.po-right { display: flex; flex-direction: column; gap: 16px; }
.specs-block .h {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 14px;
}
.specs-list { display: flex; flex-direction: column; gap: 0; }
.specs-list .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.specs-list .row:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.specs-list .row .k { color: rgba(255,255,255,0.6); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.specs-list .row .v { color: var(--white); font-weight: 500; }

.po-features { display: flex; flex-direction: column; gap: 10px; }
.po-feat {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.po-feat .ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.po-cta { display: flex; gap: 10px; margin-top: 14px; }
.po-cta .btn-primary { background: var(--white); color: var(--navy); flex: 1; justify-content: center; padding: 14px 18px; }
.po-cta .btn-primary:hover { background: var(--sky); }
.po-cta .btn-icon {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background .2s ease;
}
.po-cta .btn-icon:hover { background: rgba(255,255,255,0.22); }

.po-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.po-related-title {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 12px;
}
.po-related { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.po-rel {
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: background .2s ease;
}
.po-rel:hover { background: rgba(255,255,255,0.12); }
.po-rel .pv {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(200,217,230,0.05));
  position: relative;
}
.po-rel .pb { padding: 12px 14px; font-size: 12px; }
.po-rel .nm { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; color: var(--white); }
.po-rel .ds { color: rgba(255,255,255,0.6); font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Marquee divider ---------- */
.marquee {
  background: var(--navy);
  color: var(--white);
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marq 40s linear infinite;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.marquee-track .star { color: var(--sky); margin: 0 24px; }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-content, .hvls-grid, .cta-inner, .about-grid, .faq-grid, .section-head, .footer-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card, .product-card.large, .product-card.feature { grid-column: span 12; }
  .product-card.feature { flex-direction: column; }
  .adv-card { grid-column: span 12 !important; }
  .po-main { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav, .header .actions .desktop-only { display: none; }
  .cats-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 60px; }
  .section-head h2 { font-size: 48px; }
  section.block { padding: 80px var(--gutter); }
}

/* ---------- Installations gallery ---------- */
.installations {
  background: var(--white);
}
.inst-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 12px 0 28px;
  border-top: 1px solid rgba(47,65,86,0.12);
  border-bottom: 1px solid rgba(47,65,86,0.12);
  margin-bottom: 28px;
}
.inst-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.inst-tile {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.inst-tile::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,44,58,0) 35%, rgba(31,44,58,0.85) 100%);
  z-index: 1;
  transition: opacity .35s ease;
}
.inst-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(31,44,58,0.55);
}
.inst-tile:hover::before { opacity: 1; }

.inst-tile.tile-hero      { grid-column: span 6; grid-row: span 3; }
.inst-tile.tile-tall      { grid-column: span 3; grid-row: span 3; }
.inst-tile.tile-wide      { grid-column: span 6; grid-row: span 2; }
.inst-tile.tile-sq        { grid-column: span 3; grid-row: span 2; }
.inst-tile.tile-wide-sm   { grid-column: span 4; grid-row: span 2; }
.inst-tile.tile-full      { grid-column: span 12; grid-row: span 2; }

.inst-num {
  position: absolute; top: 14px; left: 16px;
  z-index: 2;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.inst-tag {
  position: absolute; top: 14px; right: 16px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white);
}
.inst-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.inst-tile:hover .inst-overlay,
.inst-tile:focus-visible .inst-overlay { transform: translateY(0); opacity: 1; }
.inst-title {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.01em;
  color: var(--white);
}
.inst-place {
  font-size: 12.5px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}
.inst-zoom {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(15, 20, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px clamp(60px, 8vw, 120px);
  animation: lb-fade .25s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex; flex-direction: column;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  border-radius: 14px;
  background: var(--navy);
  display: block;
  margin: 0 auto;
}
.lb-info {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 18px;
  color: var(--white);
}
.lb-tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
}
.lb-title {
  font-family: var(--font-display);
  font-size: 28px; line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 6px;
}
.lb-place {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-top: 6px;
}
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, transform .2s ease;
}
.lb-btn:hover { background: var(--sky); color: var(--navy); transform: scale(1.06); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-counter {
  position: absolute; top: 28px; left: 28px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 2;
}

@media (max-width: 1100px) {
  .inst-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; }
  .inst-tile.tile-hero    { grid-column: span 6; grid-row: span 3; }
  .inst-tile.tile-tall    { grid-column: span 3; grid-row: span 3; }
  .inst-tile.tile-wide    { grid-column: span 6; grid-row: span 2; }
  .inst-tile.tile-sq      { grid-column: span 3; grid-row: span 2; }
  .inst-tile.tile-wide-sm { grid-column: span 3; grid-row: span 2; }
  .inst-tile.tile-full    { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 640px) {
  .inst-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .inst-tile.tile-hero,
  .inst-tile.tile-tall,
  .inst-tile.tile-wide,
  .inst-tile.tile-sq,
  .inst-tile.tile-wide-sm,
  .inst-tile.tile-full   { grid-column: span 2; grid-row: span 2; }
  .inst-meta { flex-direction: column; gap: 6px; text-align: left; }
  .lb-btn { width: 40px; height: 40px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev  { left: 10px; }
  .lb-next  { right: 10px; }
}

/* ---------- Applications (scroll-stacking cards) ---------- */
.apps-stack {
  background: var(--beige);
  position: relative;
}
.apps-stack-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.apps-stack-col {
  display: grid;
  gap: 0;
}
.apps-figure {
  position: sticky;
  top: 100px;
  height: calc(100vh - 120px);
  min-height: 560px;
  display: grid;
  place-content: center;
  margin: 0;
}
.apps-stack-card {
  position: relative;
  width: min(680px, calc(100vw - 80px));
  aspect-ratio: 5 / 6;
  max-height: calc(100vh - 160px);
  border-radius: 28px;
  overflow: hidden;
  color: var(--white);
  background: var(--cardBg, var(--navy));
  transform: rotate(var(--rot, 0deg));
  box-shadow: 0 40px 80px -30px rgba(31,44,58,0.45),
              0 12px 30px -16px rgba(31,44,58,0.3);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.apps-stack-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}
.apps-stack-shade {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(31,44,58,0.25) 0%, rgba(31,44,58,0.78) 70%, rgba(31,44,58,0.92) 100%);
}
.apps-stack-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.apps-stack-head .ix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.apps-stack-head .chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.apps-stack-body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apps-stack-body .place {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
}
.apps-stack-body h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--white);
}
.apps-stack-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}
.apps-stack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.apps-stack-foot .equip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
}
.apps-stack-foot .go {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.apps-stack-card:hover .go {
  transform: rotate(-45deg);
}

/* Side panel */
.apps-stack-side {
  position: sticky;
  top: 100px;
  height: calc(100vh - 120px);
  min-height: 560px;
  display: flex;
  align-items: center;
}
.apps-side-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.apps-side-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}
.apps-side-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.apps-side-title .stroke {
  -webkit-text-stroke: 1.4px var(--navy);
  color: transparent;
  font-style: italic;
}
.apps-side-inner > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.85;
  margin: 0;
  max-width: 320px;
}
.apps-side-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.apps-side-stats > div {
  padding: 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.apps-side-stats b {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--navy);
}
.apps-side-stats span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.apps-side-cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.apps-side-cta .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(200,217,230,0.2);
}

@media (max-width: 1100px) {
  .apps-stack-wrap { grid-template-columns: 1fr; }
  .apps-stack-side { position: relative; top: auto; height: auto; min-height: 0; order: -1; margin-bottom: 12px; }
  .apps-figure { min-height: 520px; }
}
@media (max-width: 640px) {
  .apps-stack-card { padding: 22px; aspect-ratio: auto; height: calc(100vh - 200px); }
  .apps-figure { min-height: 480px; top: 80px; height: calc(100vh - 100px); }
  .apps-side-stats { grid-template-columns: 1fr; }
}


/* ---------- Scroll-reveal entrance animations ---------- */
.reveal {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 0.7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform 0.8s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    filter 0.7s ease var(--reveal-delay, 0ms);
}
.reveal-up      { transform: translateY(28px); }
.reveal-fade    { transform: none; filter: blur(6px); }
.reveal-left    { transform: translateX(-32px); }
.reveal-right   { transform: translateX(32px); }
.reveal-scale   { transform: scale(0.96); }
.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Reduced motion: instant on */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Headline shimmer / underline appear on section heads */
.section-head h2 .stroke {
  background: linear-gradient(90deg, transparent 0%, transparent 50%, rgba(86,124,141,0.15) 50%, rgba(86,124,141,0.15) 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 1.2s ease 0.2s;
}
.section-head.in-view h2 .stroke,
.section-head .in-view h2 .stroke { background-position: 0 0; }

/* Marquee already animates; nudge for visual flow */
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* Floating bob for product art / fan */
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.po-stage .product-art img,
.product-card img { animation: float-bob 6s ease-in-out infinite; }

/* Hero h1 entrance flourish */
.hero h1.reveal { transform: translateY(36px); filter: blur(6px); }
.hero h1.reveal.in-view { transform: none; filter: none; }
