/* =====================================================================
   VENTANA — main stylesheet
   Theming: 4 swappable skins via [data-theme] on <html>.
   All colors/radii/shadows/fonts come from CSS custom properties,
   so a full restyle only touches the theme blocks below.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Global scale (theme-independent)
--------------------------------------------------------------------- */
:root {
  --container: 1180px;
  --s-1: 6px;
  --s-2: 12px;
  --s-3: 18px;
  --s-4: 26px;
  --s-5: 40px;
  --s-6: 64px;
  --s-7: 96px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------------
   2. Skins
--------------------------------------------------------------------- */

/* AIRE — light, airy, blue (default) */
:root,
[data-theme="aire"] {
  --bg: #ffffff;
  --bg-soft: #eef5fd;
  --surface: #ffffff;
  --text: #0f2742;
  --text-soft: #53637b;
  --border: #dfe9f4;
  --primary: #1667d6;
  --primary-ink: #ffffff;
  --primary-2: #0f4fac;
  --accent: #25bfe6;
  --accent-soft: #e4f7fc;
  --accent-2: #7c5cff;
  --ic1: #1667d6;
  --ic2: #25bfe6;
  --ic3: #e2f0ff;
  --topbar-bg: #0f2742;
  --topbar-ink: #dbe7f5;
  --radius: 12px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 14px 38px rgba(16, 60, 110, .13);
  --shadow-sm: 0 4px 14px rgba(16, 60, 110, .08);
  --hero-grad: linear-gradient(135deg, #e9f2ff 0%, #f6fbff 55%, #eafaff 100%);
  --btn-grad: linear-gradient(135deg, var(--primary), var(--accent-2));
  --text-grad: linear-gradient(100deg, var(--primary), var(--accent) 55%, var(--accent-2));
  --font-display: "Sora";
  --font-body: "Inter";
  --display-weight: 800;
  --hairline: 1px;
}

/* NOIR — premium dark, gold */
[data-theme="noir"] {
  --bg: #0e1116;
  --bg-soft: #161d28;
  --surface: #161d28;
  --text: #f2f5fa;
  --text-soft: #9aa7b8;
  --border: #2a3442;
  --primary: #c9a35b;
  --primary-ink: #17130c;
  --primary-2: #e3c07a;
  --accent: #8fb7d9;
  --accent-soft: #212b3c;
  --accent-2: #c9a35b;
  --ic1: #c9a35b;
  --ic2: #8fb7d9;
  --ic3: #232c3a;
  --topbar-bg: #090c11;
  --topbar-ink: #c8d2df;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 6px;
  --shadow: 0 26px 64px rgba(0, 0, 0, .55);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, .4);
  --hero-grad: linear-gradient(135deg, #141b26 0%, #0e1116 55%, #191420 100%);
  --btn-grad: linear-gradient(135deg, #d9b56b, #a9813d);
  --text-grad: linear-gradient(100deg, #e9cc8a, #c9a35b 55%, #8fb7d9);
  --font-display: "Fraunces";
  --font-body: "Inter";
  --display-weight: 600;
  --hairline: 1px;
}

/* NORD — scandinavian minimal, sage/grey */
[data-theme="nord"] {
  --bg: #faf9f6;
  --bg-soft: #f1efe8;
  --surface: #ffffff;
  --text: #232a2c;
  --text-soft: #5d6a66;
  --border: #e2e0d6;
  --primary: #3f5646;
  --primary-ink: #ffffff;
  --primary-2: #2e4034;
  --accent: #6c7f9c;
  --accent-soft: #eaefe9;
  --accent-2: #3f5646;
  --ic1: #3f5646;
  --ic2: #6c7f9c;
  --ic3: #e9ede6;
  --topbar-bg: #2e4034;
  --topbar-ink: #e8ede7;
  --radius: 3px;
  --radius-lg: 4px;
  --radius-pill: 2px;
  --shadow: 0 1px 0 var(--border);
  --shadow-sm: 0 1px 0 var(--border);
  --hero-grad: linear-gradient(135deg, #f3f1ea 0%, #faf9f6 60%, #eef1ec 100%);
  --btn-grad: var(--primary);
  --text-grad: linear-gradient(100deg, #3f5646, #6c7f9c);
  --font-display: "Space Grotesk";
  --font-body: "Space Grotesk";
  --display-weight: 600;
  --hairline: 1px;
}

/* VIVID — bright marketing, orange/violet/yellow */
[data-theme="vivid"] {
  --bg: #ffffff;
  --bg-soft: #fff4ee;
  --surface: #ffffff;
  --text: #241b3a;
  --text-soft: #6b6480;
  --border: #f0e2dc;
  --primary: #ff5630;
  --primary-ink: #ffffff;
  --primary-2: #d43a17;
  --accent: #ffb020;
  --accent-soft: #fff1d6;
  --accent-2: #7b3ff2;
  --ic1: #ff5630;
  --ic2: #7b3ff2;
  --ic3: #ffe9e0;
  --topbar-bg: #241b3a;
  --topbar-ink: #efe8ff;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 18px 46px rgba(123, 63, 242, .18);
  --shadow-sm: 0 6px 18px rgba(255, 86, 48, .16);
  --hero-grad: linear-gradient(135deg, #fff0e6 0%, #fff8ef 50%, #f4ecff 100%);
  --btn-grad: linear-gradient(135deg, #ff5630, #7b3ff2 70%, #ffb020);
  --text-grad: linear-gradient(100deg, #ff5630, #7b3ff2 55%, #ffb020);
  --font-display: "Poppins";
  --font-body: "Poppins";
  --display-weight: 800;
  --hairline: 2px;
}

/* ---------------------------------------------------------------------
   3. Base
--------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-body, "Inter"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display, "Sora"), var(--font-body, "Inter"), system-ui, sans-serif;
  font-weight: var(--display-weight, 800);
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

p { margin: 0 0 var(--s-2); }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
button { font-family: inherit; }

.wrap {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.section { padding: var(--s-6) 0; }
.section--soft { background: var(--bg-soft); }

.hidden { display: none !important; }

/* Icons */
.ic { width: 24px; height: 24px; flex: none; }
.ic-s { width: 18px; height: 18px; }

/* Utilities */
.grad-text {
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--primary-2);
}
.eyebrow .ic { width: 18px; height: 18px; }

.h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.sec-head { max-width: 700px; margin-bottom: var(--s-5); }
.sec-head .h2 { margin-top: 10px; }
.sec-head p { color: var(--text-soft); margin: 10px 0 0; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

.sec-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.sec-top .sec-head { margin-bottom: 0; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.link-more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-more:hover .ic { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   4. Buttons
--------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  border: var(--hairline) solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s, color .2s, filter .2s;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }

.btn--primary {
  background: var(--btn-grad);
  color: var(--primary-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--lg { padding: 15px 28px; font-size: 1.05rem; }

/* ---------------------------------------------------------------------
   5. Topbar + header + nav
--------------------------------------------------------------------- */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-ink);
  font-size: .78rem;
}
.topbar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.topbar a,
.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.topbar a:hover { text-decoration: underline; }
.topbar .ic {
  width: 14px;
  height: 14px;
  --ic1: currentColor;
  --ic2: currentColor;
  --ic3: transparent;
}
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: var(--header-h);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display, "Sora"), sans-serif;
  font-weight: var(--display-weight, 800);
  font-size: 1.32rem;
  letter-spacing: -.01em;
}
.brand .ic { width: 32px; height: 32px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: .94rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.menu-cta { display: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   6. Hero (home)
--------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-grad);
  padding: var(--s-6) 0 calc(var(--s-6) + 10px);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.hero::before {
  width: 420px;
  height: 420px;
  background: var(--accent);
  opacity: .38;
  top: -150px;
  right: -90px;
}
.hero::after {
  width: 380px;
  height: 380px;
  background: var(--accent-2);
  opacity: .28;
  bottom: -170px;
  left: -130px;
}
.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--s-6);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.07;
  margin: 14px 0 18px;
  letter-spacing: -.015em;
}
.hero-lead {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 520px;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: var(--text-soft);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual > .win {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 18px 34px rgba(15, 39, 66, .16));
}

.float-ic {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 10px;
  animation: bob 4.6s var(--ease) infinite;
}
.float-ic .ic { width: 27px; height: 27px; }
.float-ic--a { top: -16px; left: -12px; }
.float-ic--b { top: 34%; right: -16px; animation-delay: 1.2s; }
.float-ic--c { bottom: 58px; left: -22px; animation-delay: 2.3s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.price-card {
  position: absolute;
  right: 10px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 13px 18px;
}
.price-card .ic { width: 36px; height: 36px; }
.price-card b {
  font-family: var(--font-display, "Sora"), sans-serif;
  font-size: 1.25rem;
  display: block;
  line-height: 1.15;
}
.price-card span { font-size: .78rem; color: var(--text-soft); }

/* ---------------------------------------------------------------------
   7. Window illustration (photo placeholder)
--------------------------------------------------------------------- */
.win { display: block; }
.win-wall { fill: var(--bg-soft); }
.win-frame { fill: var(--surface); stroke: var(--border); stroke-width: 3; }
.win-glass { fill: var(--accent-soft); }
.win-bar { fill: var(--surface); stroke: var(--border); stroke-width: 2; }
.win-handle { fill: var(--text-soft); }
.win-sun { fill: var(--accent-2); opacity: .7; }
.win-shine { fill: #ffffff; opacity: .5; }
[data-theme="noir"] .win-shine { opacity: .07; }

.win--madera .win-frame,
.win--madera .win-bar { fill: #b9835a; stroke: #96683f; }
.win--gris .win-frame,
.win--gris .win-bar { fill: #9aa4af; stroke: #7c8791; }
.win--old .win-frame,
.win--old .win-bar { fill: #d6cfc0; stroke: #b3ab99; }
.win--old .win-glass { fill: #e3ded1; }
.win--old .win-sun { opacity: .18; }
.win--old .win-shine { opacity: .14; }

/* ---------------------------------------------------------------------
   8. Page hero (inner pages) + breadcrumbs
--------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-grad);
  padding: var(--s-5) 0;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); letter-spacing: -.01em; }
.page-hero p { color: var(--text-soft); max-width: 660px; margin: 10px 0 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-hidden] { opacity: .6; }

/* ---------------------------------------------------------------------
   9. Trust strip
--------------------------------------------------------------------- */
.strip { background: var(--surface); border-block: 1px solid var(--border); }
.strip-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  padding: var(--s-4) 0;
}
.stat { display: flex; align-items: center; gap: 12px; }
.stat .ic { width: 38px; height: 38px; }
.stat b {
  display: block;
  font-family: var(--font-display, "Sora"), sans-serif;
  font-size: 1.28rem;
  line-height: 1.15;
}
.stat span { font-size: .84rem; color: var(--text-soft); }

/* ---------------------------------------------------------------------
   10. Card grids: benefits / steps / why / quotes
--------------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.b-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5) var(--s-4);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.b-card .ic { width: 46px; height: 46px; margin-bottom: 16px; }
.b-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.b-card p { color: var(--text-soft); font-size: .94rem; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -14px;
  left: var(--s-4);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--btn-grad);
  color: var(--primary-ink);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
}
.step .ic { width: 34px; height: 34px; margin: 8px 0 12px; }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: .9rem; margin: 0; }

.why {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--s-6);
  align-items: center;
}
.why-visual .win {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.why-list { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.why-item { display: flex; gap: 14px; }
.why-item .ic { width: 40px; height: 40px; }
.why-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { color: var(--text-soft); font-size: .92rem; margin: 0; }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stars { display: flex; gap: 3px; }
.stars .ic {
  width: 16px;
  height: 16px;
  --ic1: #f2a516;
  --ic3: transparent;
}
.quote p { color: var(--text-soft); font-size: .94rem; margin: 0; flex: 1; }
.quote-author { display: flex; align-items: center; gap: 10px; }
.quote-author b { display: block; font-size: .9rem; line-height: 1.2; }
.quote-author span { font-size: .78rem; color: var(--text-soft); }

.avatar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary-2);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* Mini link lists (forum / blog teasers on the home page) */
.mini-list { display: grid; gap: 12px; }
.mini-list a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  transition: color .2s;
}
.mini-list a:hover { color: var(--primary); }
.mini-list .ic { width: 18px; height: 18px; margin-top: 3px; }
.mini-list small { display: block; color: var(--text-soft); font-weight: 400; font-size: .8rem; }

/* ---------------------------------------------------------------------
   11. Callout banner
--------------------------------------------------------------------- */
.callout {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--s-4) var(--s-5);
  box-shadow: var(--shadow-sm);
}
.callout > .ic { width: 46px; height: 46px; }
.callout-body { flex: 1; min-width: 240px; }
.callout-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.callout-body p { color: var(--text-soft); font-size: .93rem; margin: 0; }

/* ---------------------------------------------------------------------
   12. Catalog: layout, filters, cards, slider
--------------------------------------------------------------------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s-5);
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
}
.filter-group + .filter-group { margin-top: var(--s-4); }
.filter-group h4 {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.filter-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .btn { width: 100%; margin-top: var(--s-4); }

.chip {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-soft);
  font-size: .84rem;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--s-3);
  color: var(--text-soft);
  font-size: .9rem;
}

.cards { display: grid; gap: var(--s-4); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card h3 { font-size: 1.14rem; }
.card-body > p { color: var(--text-soft); font-size: .9rem; margin: 0; }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
}
.spec .ic { width: 16px; height: 16px; }

.price-tag {
  font-family: var(--font-display, "Sora"), sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 1.15;
}
.price-tag small {
  display: block;
  font-family: var(--font-body, "Inter"), sans-serif;
  font-weight: 500;
  font-size: .74rem;
  color: var(--text-soft);
}

/* Card image slider (idealista-style) */
.card-slider {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.cs-track { display: flex; transition: transform .45s var(--ease); }
.cs-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 20px 26px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-slide .win { width: 100%; max-width: 330px; height: auto; }

.cs-prev,
.cs-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  transition: color .2s, border-color .2s, transform .2s;
  z-index: 2;
}
.cs-prev { left: 10px; }
.cs-next { right: 10px; }
.cs-prev:hover,
.cs-next:hover { color: var(--primary); border-color: var(--primary); }

.cs-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.cs-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background .2s, transform .2s;
}
.cs-dots span.on { background: var(--primary); transform: scale(1.25); }

/* Catalog teaser grid (home) */
.tease {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.tease.cols-3 { grid-template-columns: repeat(3, 1fr); }
.t-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.t-thumb { background: var(--bg-soft); padding: 18px 22px; }
.t-thumb .win { width: 100%; height: auto; }
.t-body { padding: 16px var(--s-3) var(--s-3); }
.t-body h3 { font-size: 1rem; margin-bottom: 4px; }
.t-body span { font-size: .84rem; color: var(--text-soft); }
.t-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 700;
}
.t-price .ic { width: 16px; height: 16px; color: var(--primary); }

/* ---------------------------------------------------------------------
   13. Product page
--------------------------------------------------------------------- */
.product {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--s-6);
  align-items: start;
}
.gallery .main {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  display: grid;
  place-items: center;
  min-height: 320px;
}
.gallery .main .win { width: 100%; max-width: 460px; height: auto; }
.p-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.p-thumbs button {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.p-thumbs button:hover,
.p-thumbs button.on {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.p-thumbs .win { width: 100%; height: auto; }

.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.product-price {
  font-family: var(--font-display, "Sora"), sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 6px 0 14px;
}
.product-price small {
  font-family: var(--font-body, "Inter"), sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-soft);
}
.product-info > p { color: var(--text-soft); }

.spec-table { width: 100%; border-collapse: collapse; margin: var(--s-3) 0 var(--s-4); }
.spec-table td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  vertical-align: middle;
}
.spec-table td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}
.spec-table td:last-child { font-weight: 600; text-align: right; }
.spec-table .ic { width: 22px; height: 22px; }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
}
.sticky-cta b {
  font-family: var(--font-display, "Sora"), sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
}
.sticky-cta span { font-size: .78rem; color: var(--text-soft); }

/* ---------------------------------------------------------------------
   14. Price calculator
--------------------------------------------------------------------- */
.calc {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--s-5);
}
.seg { margin-bottom: var(--s-3); }
.seg h4 {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.seg-opts { display: flex; flex-wrap: wrap; gap: 8px; }

.calc-dims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: var(--s-2);
}

.calc-result {
  align-self: start;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#calc-range {
  font-family: var(--font-display, "Sora"), sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--primary);
  line-height: 1.15;
}
.calc-month { font-weight: 600; font-size: .95rem; }
.calc-note { font-size: .8rem; color: var(--text-soft); margin: 0 0 6px; }
.calc-result .btn { align-self: flex-start; }

/* ---------------------------------------------------------------------
   15. FAQ accordion
--------------------------------------------------------------------- */
.acc { max-width: 820px; }
.acc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.acc-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.acc-q .ic {
  width: 16px;
  height: 16px;
  color: var(--primary);
  transition: transform .3s var(--ease);
}
.acc-item.open .acc-q .ic { transform: rotate(45deg); }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.acc-a p { padding: 0 18px 16px; margin: 0; color: var(--text-soft); font-size: .94rem; }

/* ---------------------------------------------------------------------
   16. Videos
--------------------------------------------------------------------- */
.vfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-4);
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.vtile {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vtile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vthumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--hero-grad);
  display: grid;
  place-items: center;
}
.vthumb .win { width: 56%; height: auto; }
.vplay {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--btn-grad);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease);
}
.vtile:hover .vplay { transform: scale(1.08); }
.vplay .ic {
  width: 22px;
  height: 22px;
  --ic1: #ffffff;
  --ic2: transparent;
  --ic3: transparent;
}
.vdur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(10, 16, 24, .75);
  color: #fff;
  font-size: .72rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.vmeta { padding: 14px 16px 16px; }
.vmeta h3 { font-size: .98rem; margin-bottom: 4px; }
.vmeta span { font-size: .78rem; color: var(--text-soft); }

/* Video lightbox */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 12, 20, .8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.vmodal.open { display: grid; }
.vmodal-inner { position: relative; width: min(920px, 100%); }
.vmodal-box {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vmodal-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.vclose {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------------------------------------------------------------------
   17. Articles + single article + comments
--------------------------------------------------------------------- */
.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.art-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art-thumb {
  background: var(--hero-grad);
  display: grid;
  place-items: center;
  padding: 28px;
}
.art-thumb .ic { width: 54px; height: 54px; }
.art-body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.art-cat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--primary-2);
}
.art-body h3 { font-size: 1.05rem; }
.art-body > p { color: var(--text-soft); font-size: .9rem; margin: 0; }
.art-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  color: var(--text-soft);
}
.art-meta span { display: inline-flex; align-items: center; gap: 5px; }
.art-meta .ic { width: 15px; height: 15px; }

/* Single article */
.article { max-width: 760px; margin: 0 auto; }
.article-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 12px 0 14px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: .84rem;
  color: var(--text-soft);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .ic { width: 16px; height: 16px; }
.article-hero {
  background: var(--hero-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  padding: var(--s-5);
  margin: var(--s-5) 0;
}
.article-hero .win { width: min(100%, 440px); height: auto; }

.article-body { font-size: 1.02rem; line-height: 1.75; }
.article-body p { color: var(--text-soft); margin-bottom: var(--s-3); }
.article-body h2 { font-size: 1.4rem; margin: var(--s-5) 0 var(--s-2); }
.article-body h3 { font-size: 1.12rem; margin: var(--s-4) 0 var(--s-2); }
.article-body ul { color: var(--text-soft); margin: 0 0 var(--s-3); padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  margin: var(--s-4) 0;
  padding: 16px 22px;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}
.article-body blockquote p { margin: 0; color: inherit; }

/* Comments */
.comments { max-width: 760px; margin: var(--s-6) auto 0; }
.comments h2 { font-size: 1.35rem; margin-bottom: var(--s-3); }
.comment {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.comment-main { flex: 1; min-width: 0; }
.comment-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.comment-head b { font-size: .94rem; }
.comment-head time { font-size: .76rem; color: var(--text-soft); }
.comment-main p { margin: 6px 0 0; color: var(--text-soft); font-size: .94rem; }

.badge {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--primary-2);
}
.badge--ok { background: #e2f6e9; color: #1c7c3f; }
[data-theme="noir"] .badge--ok { background: #17301f; color: #7fd39a; }

.comment-form {
  margin-top: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
}
.comment-form h3 { font-size: 1.1rem; margin-bottom: var(--s-3); }

/* ---------------------------------------------------------------------
   18. Forum
--------------------------------------------------------------------- */
.forum-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.fcat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fcat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcat .ic { width: 42px; height: 42px; margin-bottom: 12px; }
.fcat h3 { font-size: 1.02rem; margin-bottom: 4px; }
.fcat p { color: var(--text-soft); font-size: .88rem; margin: 0 0 10px; }
.fcat span { font-size: .78rem; color: var(--primary-2); font-weight: 600; }

.thread-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.thread-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px var(--s-4);
  border-bottom: 1px solid var(--border);
}
.thread-row:last-child { border-bottom: 0; }
.thread-main { flex: 1; min-width: 0; }
.thread-main a {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-size: .98rem;
}
.thread-main a:hover { color: var(--primary); }
.thread-meta { font-size: .8rem; color: var(--text-soft); margin-top: 3px; }
.thread-side {
  flex: none;
  text-align: right;
  font-size: .8rem;
  color: var(--text-soft);
  white-space: nowrap;
}
.thread-side b { display: block; color: var(--text); font-size: .88rem; }

.thread-head { max-width: 860px; }
.thread-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 10px 0 12px; }
.thread-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .86rem;
  color: var(--text-soft);
}

.thread-messages { max-width: 860px; }

.forum-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  max-width: 860px;
}
.forum-form h2, .forum-form h3 { font-size: 1.15rem; margin-bottom: var(--s-3); }

/* ---------------------------------------------------------------------
   19. Pagination
--------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s-5);
}
.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-soft);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.pagination button:hover:not(:disabled):not(.on) { border-color: var(--primary); color: var(--primary); }
.pagination button.on {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .dots { align-self: center; color: var(--text-soft); padding: 0 4px; }

/* ---------------------------------------------------------------------
   20. Before / after slider
--------------------------------------------------------------------- */
.ba {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
  min-height: 260px;
  --split: 50%;
}
.ba-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
}
.ba-scene .win { width: min(46%, 340px); height: auto; }
.ba .before { background: #ded8cb; }
[data-theme="noir"] .ba .before { background: #2c3038; }
.ba .after {
  background: var(--hero-grad);
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  background: rgba(10, 16, 24, .7);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.ba-tag--after { left: 14px; }
.ba-tag--before { right: 14px; }
.ba .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
.ba .handle b {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #223;
  display: grid;
  place-items: center;
  font-size: .8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  white-space: nowrap;
}
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ---------------------------------------------------------------------
   21. Lead form
--------------------------------------------------------------------- */
.form-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--s-5);
}
.form-intro h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 10px 0 12px; }
.form-intro > p { color: var(--text-soft); }
.form-perks { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 12px; }
.form-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--text-soft);
}
.form-perks .ic { width: 22px; height: 22px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: .94rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row .field { margin-bottom: 14px; }

.form-note { font-size: .76rem; color: var(--text-soft); margin: 10px 0 0; }

/* ---------------------------------------------------------------------
   22. Footer
--------------------------------------------------------------------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  margin-top: var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s-5);
  padding: var(--s-6) 0 var(--s-5);
}
.footer .brand { margin-bottom: 12px; }
.footer-about { color: var(--text-soft); font-size: .88rem; max-width: 280px; }
.footer h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  text-decoration: none;
  padding: 4px 0;
  font-size: .92rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-col .ic { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: .82rem;
  color: var(--text-soft);
}
.footer-bottom a { color: var(--text-soft); text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: var(--primary); }

/* ---------------------------------------------------------------------
   23. Floating WhatsApp button
--------------------------------------------------------------------- */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
  --ic1: #ffffff;
  --ic2: #d9f8e3;
  --ic3: transparent;
}
.wa:hover { transform: scale(1.08); }
.wa .ic { width: 30px; height: 30px; }

/* ---------------------------------------------------------------------
   24. Skin switcher — REMOVE BEFORE LAUNCH
   Preview panel to pick one of the 4 skins. Delete this block, the
   .skinbar markup in every page and the skin block in app.js
   before going live (keep the localStorage restore only if you keep
   multiple themes).
--------------------------------------------------------------------- */
.skinbar {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 85;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.skinbar button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  background: none;
  border-radius: 9px;
  padding: 6px 10px;
  font: inherit;
  font-size: .78rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.skinbar button.on {
  border-color: var(--primary);
  color: var(--text);
  background: var(--bg-soft);
}
.skinbar i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.skinbar [data-skin="aire"] i { background: linear-gradient(135deg, #1667d6, #25bfe6); }
.skinbar [data-skin="noir"] i { background: linear-gradient(135deg, #0e1116, #c9a35b); }
.skinbar [data-skin="nord"] i { background: linear-gradient(135deg, #3f5646, #d9d5c5); }
.skinbar [data-skin="vivid"] i { background: linear-gradient(135deg, #ff5630, #7b3ff2); }
/* --------------------- end REMOVE BEFORE LAUNCH --------------------- */

/* ---------------------------------------------------------------------
   25. Responsive
--------------------------------------------------------------------- */
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav-cta .btn { display: none; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 10px 20px 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility .35s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .menu-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0 !important;
  }
}

@media (max-width: 900px) {
  .hero-in,
  .catalog-layout,
  .product,
  .calc,
  .form-card,
  .why { grid-template-columns: 1fr; }

  .hero-visual { margin-top: var(--s-2); }
  .filters { position: static; }
  .why-visual { order: -1; }

  .sticky-cta { display: flex; }
  body.has-sticky { padding-bottom: 78px; }
  body.has-sticky .wa { bottom: 90px; }
}

@media (max-width: 860px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .forum-cats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tease { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-2 { grid-template-columns: 1fr; }
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }

  /* Skinbar drops to the bottom-left on small screens */
  .skinbar {
    top: auto;
    bottom: 16px;
    left: 14px;
    right: auto;
    transform: none;
    flex-direction: row;
  }
  .skinbar button span { display: none; }
  body.has-sticky .skinbar { bottom: 90px; }
}

@media (max-width: 640px) {
  .benefits { grid-template-columns: 1fr; }
  .thread-side { display: none; }
}

@media (max-width: 560px) {
  .quotes { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tease { grid-template-columns: 1fr; }
  .calc-dims { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .art-grid { grid-template-columns: 1fr; }
  .forum-cats { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .p-thumbs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
  .strip-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .price-card { position: static; margin-top: 14px; }
  .float-ic { display: none; }
}

/* ---------------------------------------------------------------------
   26. Reduced motion
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
