/* ===== Aldea House — sistema de diseño industrial/catálogo ===== */

:root {
  /* base */
  --ink: #17181b;
  --ink-2: #2b2e33;
  --paper: #e7ebe9;
  --surface: #ffffff;
  --line: #d7dcd8;
  --muted: #565c5a;

  /* marca */
  --red: #d42a1f;
  --red-dark: #a82017;
  --yellow: #f2b705;
  --amber-ink: #6b4b00;

  /* categorías (tomadas del logo real: llave=rojo, tuerca=grafito, pincel=verde, ficha piletas=azul, rayo=ámbar; plomería extiende la paleta en un tono afín) */
  --c-herramientas: #d42a1f;
  --c-materiales: #2b2e33;
  --c-pinturas: #2e8b3d;
  --c-plomeria: #4a6e7c;
  --c-electricidad: #c98a00;
  --c-piletas: #14689e;
  --c-piletas-tint: #e5eff4;

  --whatsapp: #22a559;
  --whatsapp-dark: #1c8a4a;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px -4px rgba(23, 24, 27, 0.18);
  --shadow: 0 14px 30px -14px rgba(23, 24, 27, 0.28);
  --shadow-lg: 0 30px 70px -24px rgba(23, 24, 27, 0.4);

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  margin: 0 0 .45em;
  line-height: 1.05;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; }

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin: 0 0 14px;
}
.tag-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
  display: inline-block;
  transition: width .6s var(--ease-premium) .1s;
}
.js-ready .tag-label.reveal::before { width: 0; }
.js-ready .tag-label.reveal.is-visible::before { width: 18px; }
.tag-label-light { color: var(--yellow); }
.tag-label-light::before { background: var(--yellow); }
.tag-label-pool { color: var(--c-piletas); }
.tag-label-pool::before { background: var(--c-piletas); }

.section-lead { max-width: 58ch; font-size: 1.03rem; }
.section-lead-light { color: #b9c0c6; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium), background-color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.97); transition-duration: .12s; }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.4) 48%, transparent 66%);
  transform: translateX(-140%);
  transition: transform .7s var(--ease-premium);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(140%); }

.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 16px 32px -10px rgba(212,42,31,.5); }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.btn-pool { background: var(--c-piletas); color: #fff; margin-top: 6px; }
.btn-pool:hover { filter: brightness(0.9); box-shadow: 0 16px 32px -10px rgba(20,104,158,.5); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 16px 32px -10px rgba(34,165,89,.5); }
.btn-lg { padding: 16px 28px; font-size: 0.92rem; }
.icon-wsp { width: 18px; height: 18px; flex: none; }

/* ---- Scroll progress ---- */
.scroll-progress-track {
  position: sticky;
  top: 0;
  z-index: 101;
  height: 3px;
  background: transparent;
}
.scroll-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--c-piletas));
  transition: width .1s linear;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(231,235,233,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease-premium);
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -18px rgba(23,24,27,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding .35s var(--ease-premium);
}
.site-header.is-scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand-logo {
  height: 96px;
  width: auto;
  transition: height .35s var(--ease-premium), transform .35s var(--ease-premium);
}
.brand:hover .brand-logo { transform: scale(1.03); }
.site-header.is-scrolled .brand-logo { height: 62px; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding-bottom: 3px;
  transition: color .25s ease;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transition: right .3s var(--ease-premium);
}
.site-nav a:not(.btn):hover { color: var(--red); }
.site-nav a:not(.btn):hover::after { right: 0; }
.nav-whatsapp { padding: 10px 18px; font-size: 0.8rem; }

.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before { content: ""; position: absolute; top: -7px; }
.nav-toggle-bars::after { content: ""; position: absolute; top: 7px; }

/* ---- Hero ---- */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.hero {
  position: relative;
  padding: clamp(64px, 9vw, 116px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(212,42,31,0.16), transparent 60%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6%;
  width: min(46vw, 720px);
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  background: #ffffff;
  -webkit-mask-image: url("assets/watermark-mark.webp");
  mask-image: url("assets/watermark-mark.webp");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 0.05;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(2.6rem, 4.8vw, 4.1rem);
  letter-spacing: -0.02em;
  margin-bottom: .55em;
  animation: heroUp .8s var(--ease-premium) .1s both;
}
.hl-accent { color: var(--yellow); text-shadow: 0 0 36px rgba(242,183,5,.35); }
.hero-lead {
  color: #c6ccd0;
  font-size: 1.1rem;
  max-width: 48ch;
  animation: heroUp .8s var(--ease-premium) .2s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px;
  animation: heroUp .8s var(--ease-premium) .32s both;
}

/* ---- Pizarra de novedades (rotating promo board) ---- */
.promo-board {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.09) 1.6px, transparent 1.6px) 0 0/26px 26px,
    linear-gradient(155deg, var(--ink-2), #1f2226);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), 0 0 130px -50px rgba(212,42,31,.3);
  animation: heroIn 1s var(--ease-premium) .15s both;
}
.promo-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.promo-board-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.promo-board-nav { display: flex; gap: 8px; }
.promo-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--ease-premium);
}
.promo-arrow:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: scale(1.08); }

.promo-slides { position: relative; min-height: 168px; }
.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
  transition: opacity .5s var(--ease-premium), transform .5s var(--ease-premium);
}
.promo-slide.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.promo-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.promo-tag--offer { background: rgba(212,42,31,0.18); color: #ff8478; }
.promo-tag--new { background: rgba(20,104,158,0.2); color: #7ec4ee; }
.promo-tag--top { background: rgba(242,183,5,0.18); color: var(--yellow); }
.promo-slide h3 {
  color: #fff;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: .3em;
}
.promo-desc { color: #aab1b6; font-size: 0.9rem; margin-bottom: 14px; }
.promo-price { font-family: var(--font-mono); font-weight: 600; font-size: 1.6rem; color: #fff; margin: 0; }

.promo-dots { display: flex; gap: 8px; margin-top: 18px; }
.promo-dot {
  width: 22px; height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, width .3s var(--ease-premium);
}
.promo-dot.is-active { background: var(--yellow); width: 34px; }

/* hazard seam — el único acento gráfico "de riesgo" del sistema */
.seam {
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, var(--ink) 18px 36px);
}

/* ---- Spec strip ---- */
.spec-strip { background: var(--ink-2); padding: 24px 0; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-item { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 700; color: #e6e9eb; text-transform: uppercase; letter-spacing: .02em; transition: color .25s ease, transform .3s var(--ease-premium); }
.spec-item:hover { color: #fff; transform: translateY(-1px); }
.spec-item svg { width: 19px; height: 19px; color: var(--red); flex: none; transition: transform .3s var(--ease-premium); }
.spec-item:hover svg { transform: scale(1.15) rotate(-4deg); }

/* ---- Zona piletas ---- */
.zone-pool { background: var(--c-piletas-tint); padding: clamp(64px, 8vw, 112px) 0; }
.zone-head { max-width: 640px; }
.zone-pool h2 { color: var(--ink); font-size: clamp(2rem, 3.4vw, 2.7rem); }

.pool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 34px; }
.pool-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid rgba(20,104,158,0.14);
  transition: box-shadow .4s var(--ease-premium), transform .4s var(--ease-premium), border-color .3s ease;
}
.pool-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(20,104,158,0.35);
}
.pool-icon {
  display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-piletas-tint); color: var(--c-piletas); margin-bottom: 16px;
  transition: transform .4s var(--ease-premium), background .3s ease;
}
.pool-card:hover .pool-icon { transform: scale(1.1) rotate(-6deg); background: var(--c-piletas); color: #fff; }
.pool-icon svg { width: 24px; height: 24px; }
.pool-card h3 { font-size: 1.02rem; text-transform: none; letter-spacing: 0; }
.pool-card p { font-size: 0.92rem; margin: 0; }

/* ---- Catalog ---- */
.catalog { padding: clamp(64px, 8vw, 116px) 0; }
.catalog h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }

.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 44px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 9px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.filter-chip { transition: border-color .25s ease, transform .3s var(--ease-premium), background .25s ease, color .25s ease; }
.filter-chip:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.chip-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.chip-dot--all { background: linear-gradient(90deg, var(--red), var(--yellow), var(--c-piletas)); }
.chip-dot--herramientas { background: var(--c-herramientas); }
.chip-dot--materiales { background: var(--c-materiales); }
.chip-dot--pinturas { background: var(--c-pinturas); }
.chip-dot--plomeria { background: var(--c-plomeria); }
.chip-dot--electricidad { background: var(--c-electricidad); }
.chip-dot--piletas { background: var(--c-piletas); }

.cat-block { margin-bottom: 52px; scroll-margin-top: 130px; }
.cat-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 20px;
}
.cat-title .chip-dot { width: 12px; height: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  --cat-color: var(--c-materiales);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 4px solid var(--cat-color);
  transition: box-shadow .4s var(--ease-premium), transform .4s var(--ease-premium), border-color .3s ease;
}
.cat-herramientas .product-card { --cat-color: var(--c-herramientas); }
.cat-materiales .product-card { --cat-color: var(--c-materiales); }
.cat-pinturas .product-card { --cat-color: var(--c-pinturas); }
.cat-plomeria .product-card { --cat-color: var(--c-plomeria); }
.cat-electricidad .product-card { --cat-color: var(--c-electricidad); }
.cat-piletas .product-card { --cat-color: var(--c-piletas); }

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.product-top { margin-bottom: 10px; }
.product-sku { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: .04em; }
.product-card h4 { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 0.98rem; letter-spacing: 0; margin-bottom: 4px; }
.product-desc { font-size: 0.85rem; margin-bottom: 14px; }
.product-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0;
  transition: color .25s ease;
}
.product-card:hover .product-price { color: var(--cat-color); }

/* ---- Asistente virtual (bot) ---- */
.bot-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 116px) 0;
  background:
    radial-gradient(700px 420px at 82% 15%, rgba(34,165,89,0.18), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(20,104,158,0.14), transparent 60%),
    var(--ink);
  color: #fff;
}
.bot-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.tag-label-bot { color: #4ade80; }
.tag-label-bot::before { background: #4ade80; }
.bot-section h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; }
.bot-hl { color: #4ade80; }
.bot-features {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.bot-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: #dfe4e8;
  font-size: 0.97rem;
}
.bot-features svg {
  width: 22px; height: 22px; flex: none;
  color: #4ade80;
  margin-top: 1px;
}
.bot-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bot-number { margin: 0; font-size: 0.9rem; color: #aab3ba; line-height: 1.35; }
.bot-number strong {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: .02em;
}

/* --- chat mockup --- */
@keyframes botFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes typing { 0%,60%,100% { opacity: .25; transform: translateY(0);} 30% { opacity: 1; transform: translateY(-3px);} }
.bot-phone { justify-self: center; width: 100%; max-width: 380px; animation: botFloat 6s ease-in-out infinite; }
.chat {
  border-radius: 22px;
  overflow: hidden;
  background: #0b141a;
  box-shadow: 0 40px 80px -28px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
}
.chat-top {
  display: flex; align-items: center; gap: 12px;
  background: #1f2c33;
  padding: 14px 16px;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); flex: none;
}
.chat-avatar svg { width: 24px; height: 24px; }
.chat-id { display: flex; flex-direction: column; line-height: 1.2; }
.chat-name { font-weight: 700; font-size: 0.98rem; color: #fff; }
.chat-status { font-size: 0.76rem; color: #4ade80; }
.chat-body {
  padding: 18px 14px 16px;
  background:
    linear-gradient(rgba(11,20,26,0.94), rgba(11,20,26,0.94)),
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0/16px 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 300px;
}
.chat-day {
  align-self: center;
  font-size: 0.65rem; letter-spacing: .08em;
  color: #8996a0;
  background: rgba(255,255,255,0.06);
  padding: 3px 10px; border-radius: 8px;
  margin-bottom: 4px;
}
.bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #e9edf0;
}
.bubble-in { align-self: flex-start; background: #1f2c33; border-top-left-radius: 3px; }
.bubble-out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.bubble-out b, .bubble-in b { color: #fff; }
.bubble-typing { display: inline-flex; gap: 3px; margin-left: 4px; vertical-align: middle; }
.bubble-typing i { width: 5px; height: 5px; border-radius: 50%; background: #b9e6d3; display: inline-block; animation: typing 1.2s infinite; }
.bubble-typing i:nth-child(2) { animation-delay: .2s; }
.bubble-typing i:nth-child(3) { animation-delay: .4s; }
.chat-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #1f2c33;
}
.chat-input {
  flex: 1;
  background: #0b141a;
  color: #8996a0;
  font-size: 0.82rem;
  padding: 9px 14px;
  border-radius: 999px;
}
.chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex: none;
}
.chat-send svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .bot-phone { animation: none; }
  .bubble-typing i { animation: none; }
}

/* ---- About ---- */
@keyframes badgeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.about { background: var(--surface); padding: clamp(64px, 8vw, 116px) 0; border-top: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.about-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.about-list li { position: relative; padding-left: 26px; font-weight: 600; color: var(--ink-2); font-size: 0.95rem; transition: transform .3s var(--ease-premium); }
.about-list li:hover { transform: translateX(4px); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: var(--red); transition: border-radius .3s ease; }
.about-list li:hover::before { border-radius: 50%; }

.about-badge { color: var(--ink-2); opacity: 0.9; justify-self: center; width: 210px; }
.about-badge text { fill: var(--ink-2); font-family: var(--font-mono); }
.about-badge .badge-ring { transform-origin: 100px 100px; animation: badgeSpin 36s linear infinite; }

/* ---- Contact ---- */
.contact { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 116px) 0; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 85% 20%, rgba(20,104,158,0.18), transparent 60%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}
.contact h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 2.6rem); }

.contact-slip {
  display: grid;
  gap: 20px;
  align-content: start;
  margin: 0;
  padding: 28px 26px;
  background: var(--ink-2);
  border-radius: var(--radius);
  border-left: 3px dashed rgba(255,255,255,0.25);
  transition: border-color .3s ease, transform .4s var(--ease-premium);
}
.contact-slip:hover { border-left-color: var(--yellow); transform: translateY(-4px); }
.contact-slip dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-slip dd { margin: 0; font-weight: 600; }
.contact-slip a { text-decoration: none; }
.contact-slip a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { background: #101114; color: #9aa0a5; padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; font-size: 0.82rem; }
.footer-logo { height: 28px; width: auto; opacity: 0.9; transition: opacity .25s ease; }
.footer-logo:hover { opacity: 1; }
.footer-legend { display: flex; gap: 7px; }
.footer-legend .chip-dot { width: 8px; height: 8px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { position: relative; text-decoration: none; color: #9aa0a5; transition: color .25s ease; }
.footer-nav a:hover { color: #fff; }

/* ---- Floating WhatsApp ---- */
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 24px -8px rgba(34,165,89,0.6), 0 0 0 0 rgba(34,165,89,.5); }
  50% { box-shadow: 0 10px 24px -8px rgba(34,165,89,0.6), 0 0 0 10px rgba(34,165,89,0); }
}
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 150; text-decoration: none;
  animation: fabPulse 3s ease-in-out infinite;
  transition: transform .3s var(--ease-premium), background .25s ease;
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover { background: var(--whatsapp-dark); transform: scale(1.08); animation-play-state: paused; }

/* ---- Reveal-on-scroll (progressive enhancement only) ---- */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-premium), transform .6s var(--ease-premium);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .promo-board { max-width: 460px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .pool-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; text-align: left; }
  .about-badge { justify-self: start; width: 160px; }
  .contact-inner { grid-template-columns: 1fr; }
  .bot-inner { grid-template-columns: 1fr; gap: 40px; }
  .bot-phone { order: -1; max-width: 340px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 16px 24px 22px; gap: 14px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-whatsapp { justify-content: center; }
  .hero { padding-top: 40px; }
  .whatsapp-fab { right: 16px; bottom: 16px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .brand-logo { height: 64px; }
  .site-header.is-scrolled .brand-logo { height: 48px; }
}

@media (max-width: 520px) {
  .pool-grid, .product-grid { grid-template-columns: 1fr; }
}
