/* ==========================================================================
   Domótica Hogar Madrid — Sistema de diseño
   ========================================================================== */

:root {
  /* Paleta corporativa: azul marino + grises azulados, acento azul eléctrico y cian */
  --bg-dark: #0b1220;
  --bg-dark-2: #111b2c;
  --bg-dark-3: #1a2639;
  --slate: #2b3240;
  --line-dark: rgba(170, 195, 230, 0.10);
  --line-dark-2: rgba(170, 195, 230, 0.18);
  --paper: #f2f5f9;
  --paper-2: #e6ecf3;
  --white: #ffffff;
  --ink: #0f1a2b;
  --ink-2: #26344a;
  --muted: #5a6a80;
  --muted-dark: #9fb0c6;
  --line: #d9e1eb;
  --gold: #3d8bff;
  --gold-2: #8ec0ff;
  --gold-3: #1f6fe5;
  --glow: #34d3f0;
  --warm: #ffcf8a;
  --danger: #ff7a6b;

  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(15, 26, 43, 0.06);
  --shadow: 0 18px 50px -18px rgba(15, 26, 43, 0.28);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

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

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: normal; font-weight: 700; color: var(--gold); background: linear-gradient(100deg, var(--gold-3), var(--gold) 45%, var(--glow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section--dark h1 em, .section--dark h2 em, .hero h1 em, .page-hero h1 em, .cta-band h2 em { background: linear-gradient(100deg, var(--gold-2), var(--glow)); -webkit-background-clip: text; background-clip: text; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 640px; }
.dark .lead, .section--dark .lead { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .dark .eyebrow { color: var(--gold); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end;
}
.section-head--split .lead { margin: 0; }

.text-gold { color: var(--gold); }
.small { font-size: 0.88rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.01em; line-height: 1;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  color: #ffffff; box-shadow: 0 10px 30px -10px rgba(61, 139, 255, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(61, 139, 255, 0.85); }
.btn--ghost { border-color: var(--line-dark-2); color: #fff; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-3);
  border-bottom: 1px solid transparent; transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; border-color: currentColor; }
.section--dark .link-arrow { color: var(--gold); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: background 0.4s, box-shadow 0.4s, height 0.3s;
}
.site-header.is-scrolled {
  background: rgba(10, 14, 19, 0.82); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-dark); height: 66px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.01em; }
.logo__mark { width: 42px; height: 40px; flex: none; color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1rem; }
.logo__text small { font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; white-space: nowrap; padding: 10px 14px; font-size: 0.93rem; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  border-radius: 999px; transition: color 0.25s, background 0.25s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__link.is-active { color: var(--gold-2); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 20px; font-size: 0.9rem; }
.header-phone { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,.85); }
.header-phone svg { flex: none; width: 16px; height: 16px; color: var(--gold); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark-2);
  background: rgba(255, 255, 255, 0.04); color: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s, background 0.3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.section--dark { background: var(--bg-dark); color: #e9edf2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark-2 { background: var(--bg-dark-2); }
.section--white { background: var(--white); }
.section--paper2 { background: var(--paper-2); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--bg-dark); color: #fff; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 80px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(61, 139, 255, 0.22), transparent 62%);
}
.hero__bg::after {
  content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -340px;
  background: radial-gradient(circle, rgba(52, 211, 240, 0.12), transparent 62%);
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
  opacity: 0.55;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero .lead { color: var(--muted-dark); margin-bottom: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; color: var(--muted-dark); font-size: 0.9rem; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--gold); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-dark-2); background: rgba(255, 255, 255, 0.04); font-size: 0.85rem; color: #dfe4ea; margin-bottom: 28px;
}
.pill b { background: var(--gold); color: #ffffff; border-radius: 999px; padding: 3px 10px; font-size: 0.72rem; letter-spacing: 0.06em; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 rgba(52, 211, 240, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 240, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 240, 0); } }

/* Subpáginas */
.page-hero {
  position: relative; background: var(--bg-dark); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(70px, 9vw, 120px);
}
.page-hero .hero__bg::before { right: -300px; top: -380px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 900px; }
.page-hero .lead { color: var(--muted-dark); max-width: 700px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.breadcrumb { display: flex; gap: 10px; font-size: 0.85rem; color: var(--muted-dark); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { opacity: 0.4; }

/* ---------- Dashboard mockup (Home Assistant) ---------- */
.mock {
  position: relative; border-radius: var(--radius-lg); padding: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
}
.mock__bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 16px; color: #cfd6de; font-size: 0.82rem; }
.mock__bar b { color: #fff; font-weight: 600; font-size: 0.95rem; }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile {
  background: rgba(10, 14, 19, 0.72); border: 1px solid var(--line-dark); border-radius: 16px; padding: 14px;
  min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; color: #cfd6de;
  font-size: 0.8rem; transition: background 0.4s, border-color 0.4s, transform 0.3s var(--ease);
}
.tile:hover { transform: translateY(-2px); }
.tile__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: #aab3bd; transition: all 0.4s; }
.tile__icon svg { width: 18px; height: 18px; }
.tile__name { color: #fff; font-weight: 600; font-size: 0.86rem; margin-top: 10px; }
.tile__state { color: var(--muted-dark); }
.tile.is-on { background: linear-gradient(160deg, rgba(255, 207, 138, 0.22), rgba(61, 139, 255, 0.08)); border-color: rgba(255, 207, 138, 0.35); }
.tile.is-on .tile__icon { background: var(--warm); color: #0b1d3a; box-shadow: 0 0 22px rgba(255, 207, 138, 0.55); }
.tile.is-on .tile__state { color: var(--gold-2); }
.tile--wide { grid-column: span 2; }
.tile--climate .temp { font-family: var(--font-display); font-size: 2.1rem; color: #fff; line-height: 1; }
.tile--climate .temp sup { font-size: 0.9rem; color: var(--gold); }
.tile--energy svg.spark { width: 100%; height: 46px; }
.spark path.line { fill: none; stroke: var(--glow); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3s var(--ease) forwards 0.6s; }
.spark path.area { fill: url(#sparkFill); opacity: 0.6; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.blind-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 8px; }
.blind-bar i { display: block; height: 100%; width: 65%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); border-radius: 6px; animation: blind 6s ease-in-out infinite alternate; }
@keyframes blind { from { width: 25%; } to { width: 85%; } }
.toggle { width: 34px; height: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.14); position: relative; transition: background 0.3s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.is-on .toggle { background: var(--gold); }
.is-on .toggle::after { transform: translateX(14px); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: var(--shadow); font-size: 0.82rem; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 0.9rem; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card--a { left: -40px; bottom: -26px; }
.float-card--b { right: -22px; top: -24px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marcas (marquee) ---------- */
.brands { background: var(--bg-dark); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 30px 0; overflow: hidden; color: #fff; }
.brands__label { text-align: center; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.brand-word { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.55); white-space: nowrap; transition: color 0.3s; display: inline-flex; align-items: center; gap: 10px; }
.brand-word:hover { color: #fff; }
.brand-word i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.7; }
.brand-word.serif { font-family: var(--font-display); font-weight: 500; font-style: italic; }
.brand-word.caps { text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas de servicio ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__visual { position: relative; height: 240px; overflow: hidden; background: var(--bg-dark); }
.service-card__body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--muted); }
.service-card__body .link-arrow { margin-top: auto; }
.service-card__num { position: absolute; top: 18px; left: 20px; z-index: 2; font-size: 0.75rem; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.7); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.tag { font-size: 0.76rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.section--dark .tag { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark-2); color: #dfe4ea; }

/* Visuales de tarjeta (escenas CSS) */
.vis-home { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(255, 207, 138, 0.35), transparent 50%), linear-gradient(160deg, #1c2430, #0b0f14); }
.vis-home .house { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 78%; }
.vis-switch { position: absolute; inset: 0; background: linear-gradient(140deg, #ece6dc, #d7cfc2); display: grid; place-items: center; }
.vis-knx { position: absolute; inset: 0; background: linear-gradient(160deg, #0f1924, #0a0e13); }
.vis-knx svg { width: 100%; height: 100%; }

/* ---------- Cards genéricas ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-top: 18px; }
.section--dark .card { background: rgba(255, 255, 255, 0.03); border-color: var(--line-dark); }
.section--dark .card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(61, 139, 255, 0.35); box-shadow: none; }
.section--dark .card p { color: var(--muted-dark); }
.icon-box { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); }
.icon-box svg { width: 24px; height: 24px; }
.section--dark .icon-box { background: rgba(61, 139, 255, 0.12); color: var(--gold); border: 1px solid rgba(61, 139, 255, 0.25); }

/* ---------- Escenas interactivas ---------- */
.scenes { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.scene-tabs { display: flex; flex-direction: column; gap: 10px; }
.scene-tab {
  display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.02); color: #cfd6de; transition: all 0.35s var(--ease);
}
.scene-tab:hover { border-color: var(--line-dark-2); background: rgba(255, 255, 255, 0.04); }
.scene-tab.is-active { border-color: rgba(61, 139, 255, 0.5); background: linear-gradient(120deg, rgba(61, 139, 255, 0.16), rgba(61, 139, 255, 0.03)); color: #fff; }
.scene-tab .icon-box { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.scene-tab strong { display: block; font-size: 1rem; color: #fff; }
.scene-tab small { color: var(--muted-dark); font-size: 0.83rem; }
.scene-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark-2); background: #0d1218; box-shadow: var(--shadow-lg); }
.scene-stage svg { width: 100%; height: auto; }
.scene-caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px;
}
.scene-caption span { font-size: 0.78rem; padding: 7px 12px; border-radius: 999px; background: rgba(10, 14, 19, 0.75); border: 1px solid var(--line-dark-2); color: #e9edf2; backdrop-filter: blur(6px); display: inline-flex; gap: 6px; align-items: center; }
.scene-caption span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); }

/* Variables de escena para el salón SVG */
.room { --sky1: #9ccbe8; --sky2: #f4e3c1; --lamp: 0; --blind: 0.15; --tv: 0; --ceil: 0.15; --ambient: 0.0; --strip: 0; --warm-wall: #3a3f47; }
.room .sky-a { stop-color: var(--sky1); transition: stop-color 1.2s; }
.room .sky-b { stop-color: var(--sky2); transition: stop-color 1.2s; }
.room .blind { transform: scaleY(var(--blind)); transform-box: fill-box; transform-origin: top; transition: transform 1.4s var(--ease); }
.room .lamp-glow { opacity: var(--lamp); transition: opacity 1s; }
.room .ceil-glow { opacity: var(--ceil); transition: opacity 1s; }
.room .tv-screen { opacity: var(--tv); transition: opacity 0.8s; }
.room .strip { opacity: var(--strip); transition: opacity 1s; }
.room .dark-veil { opacity: var(--ambient); transition: opacity 1.2s; }
.room[data-scene="morning"] { --sky1: #9ccbe8; --sky2: #ffe2b0; --blind: 0.08; --lamp: 0; --ceil: 0.2; --tv: 0; --ambient: 0; --strip: 0; }
.room[data-scene="away"] { --sky1: #7fb4dc; --sky2: #d6e6f2; --blind: 0.92; --lamp: 0; --ceil: 0; --tv: 0; --ambient: 0.55; --strip: 0; }
.room[data-scene="cinema"] { --sky1: #1b2440; --sky2: #3a2d4a; --blind: 0.95; --lamp: 0.25; --ceil: 0; --tv: 1; --ambient: 0.72; --strip: 1; }
.room[data-scene="night"] { --sky1: #0c1428; --sky2: #1c2340; --blind: 0.95; --lamp: 0.55; --ceil: 0; --tv: 0; --ambient: 0.68; --strip: 0.35; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; line-height: 1; color: var(--gold); margin-bottom: 16px; display: block; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Estadísticas ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #fff; display: block; }
.stat__num em { color: var(--gold); font-style: normal; }
.stat__label { color: var(--muted-dark); font-size: 0.92rem; margin-top: 10px; display: block; }

/* ---------- Testimonios ---------- */
.testimonials { position: relative; }
.t-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 24px; }
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  margin: 0; flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column;
}
.t-stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.t-stars svg { width: 18px; height: 18px; }
.t-quote { margin: 0 0 26px; font-family: var(--font-body); font-size: 1.08rem; font-weight: 500; line-height: 1.5; color: var(--ink); flex: 1; }
.t-person { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #ffffff; background: linear-gradient(135deg, var(--gold-2), var(--gold)); flex: none; }
.t-person b { display: block; font-size: 0.97rem; }
.t-person small { color: var(--muted); }
.t-nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink); transition: all 0.3s; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn svg { width: 18px; height: 18px; }
.rating-badge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.9rem; }
.rating-badge strong { font-family: var(--font-display); font-size: 1.5rem; }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; color: #fff; display: block;
  background: var(--bg-dark-2); isolation: isolate; transition: transform 0.5s var(--ease);
}
.reel:hover { transform: translateY(-6px) scale(1.01); }
.reel__bg { position: absolute; inset: 0; z-index: -1; transition: transform 0.8s var(--ease); }
.reel:hover .reel__bg { transform: scale(1.06); }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75)); }
.reel__play { position: absolute; top: 62%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); transition: transform 0.4s var(--ease), background 0.3s; }
.reel:hover .reel__play { transform: scale(1.12); background: var(--gold); border-color: var(--gold); }
.reel__play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel__meta { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.reel__meta b { display: block; font-size: 1rem; line-height: 1.3; margin-bottom: 6px; }
.reel__meta small { opacity: 0.8; display: inline-flex; align-items: center; gap: 6px; }
.reel__meta small svg { width: 14px; height: 14px; }
.reel__tag { position: absolute; top: 16px; left: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); }
.reel__visual { position: absolute; inset: 0 0 50% 0; display: grid; place-items: center; z-index: -1; opacity: 0.9; padding-top: 16%; }
.reel__visual svg { width: 58%; }
.insta-embeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.insta-embeds .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.insta-head { display: flex; align-items: center; gap: 16px; }
.insta-avatar { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34); }
.insta-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--bg-dark); }
.insta-avatar svg { width: 30px; height: 30px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; color: var(--gold-3); transition: transform 0.3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 28px 24px; color: var(--muted); }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 90px);
  background: radial-gradient(circle at 85% 20%, rgba(61, 139, 255, 0.35), transparent 45%), linear-gradient(140deg, #121a24, #0a0e13);
  color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: var(--muted-dark); margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Listas ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6cd9f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(61, 139, 255, 0.15); }
.check-list strong { display: block; }
.check-list span { color: var(--muted); font-size: 0.95rem; }
.section--dark .check-list span { color: var(--muted-dark); }

/* ---------- Ecosistemas / marcas ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eco {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.eco:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.eco__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.eco__logo { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.eco__proto { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.eco p { color: var(--muted); font-size: 0.95rem; }
.eco ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-2); }
.eco ul li::before { content: "— "; color: var(--gold); }
.eco::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--eco-c, var(--gold)); }

/* Tabla comparativa */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.95rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; }
.compare tbody th { font-weight: 700; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody tr:hover { background: var(--paper); }
.compare .yes { color: #1f8a6e; font-weight: 600; }
.compare .mid { color: var(--gold-3); font-weight: 600; }
.section--dark .table-wrap { background: rgba(255, 255, 255, 0.02); border-color: var(--line-dark); }
.section--dark .compare th, .section--dark .compare td { border-color: var(--line-dark); }
.section--dark .compare thead th { background: rgba(61, 139, 255, 0.12); color: var(--gold-2); }
.section--dark .compare tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.section--dark .compare .yes { color: var(--glow); }

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; padding: 38px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.pack h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; margin: 0 0 6px; }
.pack__for { color: var(--muted); font-size: 0.93rem; margin-bottom: 24px; }
.pack .check-list { font-size: 0.95rem; flex: 1; }
.pack--featured { background: var(--bg-dark); color: #e9edf2; border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-14px); }
.pack--featured h3 { color: #fff; }
.pack--featured .pack__for { color: var(--muted-dark); }
.pack--featured .check-list li::before { background-color: rgba(61, 139, 255, 0.2); }
.pack__badge { position: absolute; top: 22px; right: 22px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #ffffff; }

/* ---------- Mecanismos (placas de interruptor CSS) ---------- */
.plates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.plate-item { text-align: center; }
.plate-item b { display: block; margin-top: 18px; font-size: 0.95rem; }
.plate-item small { color: var(--muted); font-size: 0.83rem; }
.plate {
  --pc: #f4f2ee; --pk: #ffffff; --pl: rgba(0, 0, 0, 0.08);
  position: relative; aspect-ratio: 1; border-radius: 18%; background: var(--pc); margin: 0 auto; width: 100%; max-width: 190px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 20px 40px -18px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08);
  display: grid; place-items: center; transition: transform 0.5s var(--ease);
}
.plate:hover { transform: translateY(-6px) rotate(-1deg); }
.plate__keys { width: 62%; height: 62%; border-radius: 12%; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--pl); padding: 0; overflow: hidden; }
.plate__key { background: var(--pk); position: relative; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
.plate__key::after { content: ""; position: absolute; left: 50%; bottom: 12%; width: 12%; height: 3px; border-radius: 3px; transform: translateX(-50%); background: var(--glow); opacity: 0.85; box-shadow: 0 0 8px var(--glow); }
.plate__key.is-off::after { background: rgba(0, 0, 0, 0.18); box-shadow: none; }
.plate--single .plate__keys { grid-template-columns: 1fr; }
.plate--white { --pc: #f6f4f0; --pk: #fdfcfa; }
.plate--alu { --pc: linear-gradient(145deg, #d9dbde, #a9adb3); --pk: linear-gradient(160deg, #e7e8ea, #c3c6ca); background: linear-gradient(145deg, #dcdee1, #a5a9af); }
.plate--alu .plate__key { background: linear-gradient(160deg, #e9eaec, #c1c4c8); }
.plate--black { --pc: #1d1f22; --pk: #2a2d31; --pl: rgba(255, 255, 255, 0.06); }
.plate--black .plate__key { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.plate--wood { background: repeating-linear-gradient(100deg, #8a5a35 0 6px, #95643d 6px 9px, #7d5030 9px 14px); }
.plate--wood .plate__key { background: #f6f2ea; }
.plate--brass { background: linear-gradient(145deg, #c8d2de, #8e9aab 60%, #6b7686); }
.plate--brass .plate__key { background: linear-gradient(160deg, #e3e9f0, #a9b4c2); }

/* Malla Zigbee */
.mesh { position: relative; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 50%, rgba(52, 211, 240, 0.08), transparent 60%), var(--bg-dark-2); border: 1px solid var(--line-dark); padding: 10px; }
.mesh svg { width: 100%; height: auto; }
.mesh .link { stroke: rgba(52, 211, 240, 0.35); stroke-width: 1.5; stroke-dasharray: 5 7; animation: dash 3s linear infinite; }
.mesh .link--strong { stroke: rgba(61, 139, 255, 0.6); stroke-dasharray: none; animation: none; }
@keyframes dash { to { stroke-dashoffset: -48; } }
.mesh .node circle.halo { fill: rgba(52, 211, 240, 0.12); animation: halo 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0%, 100% { transform: scale(0.85); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 1; } }
.mesh text { fill: #cfd6de; font-size: 11px; font-family: var(--font-body); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 0.85rem; color: var(--muted-dark); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; }

/* Arquitectura KNX */
.arch { border-radius: var(--radius-lg); background: var(--bg-dark-2); border: 1px solid var(--line-dark); padding: clamp(16px, 3vw, 30px); }
.arch svg { width: 100%; height: auto; }
.arch text { font-family: var(--font-body); }
.arch .bus { stroke-dasharray: 8 6; animation: dash 2.4s linear infinite; }

/* ---------- Proyectos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); transition: all 0.3s; }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s, opacity 0.4s; display: flex; flex-direction: column; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project.is-hidden { display: none; }
.project__visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project__visual > div, .project__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project:hover .project__visual > div, .project:hover .project__visual > img { transform: scale(1.05); }
.project__cat { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.project__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.project__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem !important; font-size: 1.45rem; margin-bottom: 8px; }
.project__loc { color: var(--muted); font-size: 0.88rem; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 14px; }
.project__loc svg { width: 15px; height: 15px; color: var(--gold-3); }
.project__body p { color: var(--muted); font-size: 0.95rem; }
.project__body .tags { margin-top: auto; margin-bottom: 0; }

/* Fondos ilustrativos (en lugar de fotos) */
.art { position: absolute; inset: 0; }
.art-1 { background: radial-gradient(circle at 30% 30%, rgba(255, 207, 138, 0.55), transparent 40%), linear-gradient(135deg, #3c3127, #15110d); }
.art-2 { background: radial-gradient(circle at 75% 25%, rgba(52, 211, 240, 0.35), transparent 45%), linear-gradient(150deg, #1d2a36, #0b1118); }
.art-3 { background: radial-gradient(circle at 50% 80%, rgba(61, 139, 255, 0.5), transparent 50%), linear-gradient(160deg, #2b2f36, #121418); }
.art-4 { background: radial-gradient(circle at 20% 70%, rgba(255, 140, 90, 0.4), transparent 45%), linear-gradient(130deg, #2a1f2d, #0f0c13); }
.art-5 { background: radial-gradient(circle at 70% 60%, rgba(110, 160, 255, 0.35), transparent 50%), linear-gradient(150deg, #18223a, #0a0e17); }
.art-6 { background: radial-gradient(circle at 40% 30%, rgba(230, 205, 159, 0.6), transparent 45%), linear-gradient(140deg, #6d5a44, #2a2219); }
.art-svg { position: absolute; inset: 0; display: grid; place-items: center; }
.art-svg svg { width: 72%; height: auto; opacity: 0.95; }

/* Caso destacado */
.case { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.case__visual { position: relative; min-height: 420px; }
.case__body { padding: clamp(32px, 5vw, 60px); }
.case__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.case__kpis div { padding: 18px; border-radius: var(--radius-sm); background: var(--paper); }
.case__kpis b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--ink); }
.case__kpis small { color: var(--muted); font-size: 0.82rem; }

/* ---------- Formulario ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s var(--ease); }
a.contact-item:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-item small { display: block; color: var(--muted); font-size: 0.82rem; }
.contact-item b { font-size: 1.05rem; }
.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.97rem; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(61, 139, 255, 0.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: all 0.25s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); margin: 6px 0 22px; }
.consent input { margin-top: 4px; accent-color: var(--ink); }
.consent a { text-decoration: underline; }
.form-note { font-size: 0.83rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: #e9f7f2; color: #155c49; font-weight: 500; margin-top: 16px; }
.form-success.is-visible { display: block; }

.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zones span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark-2); font-size: 0.88rem; color: #dfe4ea; }

/* ---------- Pie ---------- */
.site-footer { background: #07090d; color: var(--muted-dark); padding: 90px 0 36px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand p { margin: 20px 0 24px; max-width: 320px; }
.footer-brand .logo { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark-2); display: grid; place-items: center; color: #dfe4ea; transition: all 0.3s; }
.socials a:hover { background: var(--gold); color: #ffffff; border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 0.85rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float__tip { position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--ink); font-size: 0.85rem; font-weight: 600; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: all 0.3s; pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; }
}

/* Utilidades */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); margin: 64px 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.feature { display: flex; gap: 18px; }
.feature .icon-box { flex: none; }
.feature h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.section--dark .feature p { color: var(--muted-dark); }

.quote-block { position: relative; padding: clamp(32px, 5vw, 60px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.quote-block blockquote { margin: 0; font-family: var(--font-body); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; }
.quote-block cite { display: block; margin-top: 24px; font-style: normal; color: var(--muted); }

.note-box { padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--gold); background: rgba(61, 139, 255, 0.07); font-size: 0.95rem; color: var(--ink-2); }
.section--dark .note-box { color: #dfe4ea; }

.legal h2 { font-size: 1.8rem; margin-top: 48px; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header-phone { display: none; }
}
@media (max-width: 1100px) {
  .nav__link { padding: 10px 10px; font-size: 0.9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plates { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 14, 19, 0.98); backdrop-filter: blur(16px); padding: 16px 24px 28px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all 0.35s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: rgba(10, 14, 19, 0.98); }
  .nav__link { padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav__link.is-active::after { display: none; }
  .header-cta .btn { display: none; }
  .nav .btn { margin-top: 18px; }

  .hero .container, .page-hero--split .container, .split, .split--wide-left, .split--wide-right, .scenes, .cta-band, .case, .contact-grid, .section-head--split { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid-3, .grid-4, .eco-grid, .projects, .packs, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .t-card { flex-basis: calc((100% - 24px) / 2); }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-embeds { grid-template-columns: repeat(2, 1fr); }
  .cta-band .btn-row { justify-content: flex-start; }
  .pack--featured { transform: none; }
  .scene-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .scene-tab { flex: 0 0 auto; }
  .scene-tab small { display: none; }
  .case__visual { min-height: 280px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .eco-grid, .projects, .packs, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .plates { grid-template-columns: repeat(2, 1fr); }
  .mock__grid { grid-template-columns: repeat(2, 1fr); }
  .mock__grid .tile--hide-sm { display: none; }
  .float-card--a { left: -6px; bottom: -22px; }
  .float-card--b { right: -6px; top: -30px; }
  .t-card { flex-basis: 88%; padding: 26px; }
  .insta-grid { gap: 10px; }
  .insta-embeds { grid-template-columns: 1fr; }
  .reel__meta b { font-size: 0.88rem; }
  .reel__play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .case__kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .case__kpis div { padding: 12px; }
  .case__kpis b { font-size: 1.4rem; }
  .stat { padding: 28px 16px; }
  .logo__text { font-size: 0.92rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .faq summary { padding: 20px; font-size: 1rem; }
  .faq .faq__body { padding: 0 20px 20px; }
}

/* Evita que los hijos de grid fuercen desbordamiento horizontal */
.hero .container > *, .page-hero--split .container > *, .split > *, .scenes > *, .cta-band > *, .case > *, .contact-grid > * { min-width: 0; }
.insta-head > div { min-width: 0; }
.insta-head h2 { overflow-wrap: anywhere; }
@media (max-width: 640px) { .insta-head h2 { font-size: 1.5rem !important; } .insta-avatar { width: 52px; height: 52px; flex: none; } }
@media (max-width: 640px) {
  .mock__grid { grid-auto-flow: dense; }
  .scene-caption { position: static; padding: 14px; background: #0d1218; }
  .float-card--b { right: auto; left: 12px; }
}
.contact-item > span:last-child { min-width: 0; }
.contact-item b { overflow-wrap: anywhere; }
.contact-item .icon-box { flex: none; }

/* ==========================================================================
   Vídeos reales
   ========================================================================== */
.vframe {
  position: relative; aspect-ratio: 9 / 16; width: 100%; max-width: 100%; border-radius: 30px; overflow: hidden;
  background: var(--bg-dark-3); border: 6px solid #1c2738; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-dark-2);
}
.vframe video, .vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vframe::after { content: ""; position: absolute; top: 10px; left: 50%; width: 34%; height: 18px; transform: translateX(-50%); border-radius: 999px; background: #0b1220; opacity: 0.85; }
.vframe--plain { border: 0; border-radius: var(--radius-lg); }
.vframe--plain::after { display: none; }

.hero-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; max-width: 520px; margin-left: auto; }
.hero-media .vframe:nth-child(2) { margin-top: 70px; }
.hero-media .float-card--a { left: -50px; bottom: 60px; }
.hero-media .float-card--b { right: -24px; top: 18px; }
.hero-media .float-card--c { left: 34%; top: -26px; animation-delay: -1.5s; }

.vcard { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-dark-3); aspect-ratio: 9 / 16; cursor: pointer; isolation: isolate; color: #fff; }
.vcard video, .vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.vcard:hover video, .vcard:hover img { transform: scale(1.04); }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 18, 32, 0.25) 0%, transparent 30%, transparent 55%, rgba(11, 18, 32, 0.9)); }
.vcard figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.vcard figcaption b { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.25; margin-bottom: 6px; }
.vcard figcaption small { color: #c6d3e3; font-size: 0.82rem; display: block; }
.vcard__tag { position: absolute; top: 14px; left: 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(11, 18, 32, 0.6); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); }
.vcard__expand { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(6px); color: #fff; transition: background 0.3s, transform 0.3s var(--ease); }
.vcard__expand svg { width: 16px; height: 16px; }
.vcard:hover .vcard__expand { background: var(--gold); border-color: var(--gold); transform: scale(1.08); }

.v-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 18px; }
.v-track::-webkit-scrollbar { display: none; }
.v-track .vcard { flex: 0 0 clamp(220px, 23%, 280px); scroll-snap-align: start; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top, 0px)) 20px 20px; background: rgba(6, 10, 18, 0.92); backdrop-filter: blur(10px); }
.lightbox[hidden] { display: none; }
.lightbox video { max-height: 86vh; max-width: min(92vw, 520px); border-radius: 20px; background: #000; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: max(18px, env(safe-area-inset-top, 0px)); right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark-2); background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 1.6rem; line-height: 1; }
.lightbox__close:hover { background: var(--gold); }
.lightbox__caption { color: #dfe7f1; text-align: center; margin-top: 14px; font-weight: 600; }

.media-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 520px; }
.media-pair > :nth-child(2) { margin-top: 56px; }
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Protocolos */
.proto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proto {
  position: relative; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark);
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; overflow: hidden;
}
.proto:hover { border-color: var(--proto-c, var(--gold)); transform: translateY(-4px); background: rgba(255, 255, 255, 0.05); }
.proto::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--proto-c, var(--gold)), transparent 70%); opacity: 0.25; }
.proto__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.proto__band { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--proto-c, var(--gold)); margin-bottom: 12px; }
.proto p { color: var(--muted-dark); font-size: 0.92rem; margin: 0 0 12px; }
.proto ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.84rem; color: #dbe5f1; }
.proto ul li::before { content: "• "; color: var(--proto-c, var(--gold)); }
.proto-bars { display: flex; gap: 3px; margin-bottom: 14px; }
.proto-bars i { width: 22px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.proto-bars i.on { background: var(--proto-c, var(--gold)); }

.eco-grid--4 { grid-template-columns: repeat(4, 1fr); }
.eco-grid--4 .eco { padding: 24px; }
.eco-grid--4 .eco__logo { font-size: 1.2rem; }

@media (max-width: 1100px) {
  .proto-grid, .eco-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-media { margin: 0 auto; }
  .media-split { grid-template-columns: 1fr; }
  .media-split > * { min-width: 0; }
  .media-pair { margin: 0 auto; }
}
@media (max-width: 640px) {
  .proto-grid, .eco-grid--4 { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .v-track .vcard { flex-basis: 62%; }
  .hero-media { gap: 14px; }
  .hero-media .float-card--a { left: -4px; bottom: 10px; }
  .hero-media .float-card--b { right: -4px; top: auto; bottom: -24px; }
  .hero-media .float-card--c { display: none; }
  .vframe { border-width: 4px; border-radius: 22px; }
  .vcard figcaption b { font-size: 0.9rem; }
}
.case__visual .vframe { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.case__visual { min-height: 560px; }
@media (max-width: 960px) { .case__visual { min-height: 520px; } }
.video-grid .project:hover { box-shadow: none; }
.media-pair { width: 100%; }
.service-card__num { padding: 5px 10px; border-radius: 999px; background: rgba(11, 18, 32, 0.6); color: #fff !important; backdrop-filter: blur(6px); top: 14px; left: 14px; }
#videos { background: var(--bg-dark-2); }
@media (max-width: 640px) {
  .hero-media .float-card--b { display: none; }
  .hero-media .float-card--a { left: 50%; transform: translateX(-50%); bottom: -20px; animation: none; white-space: nowrap; }
}

/* ==========================================================================
   v3 · Capa moderna
   ========================================================================== */

/* Logotipo original */
.logo { gap: 10px; }
.logo__icon { height: 40px; width: auto; flex: none; }
.logo__word { height: 30px; width: auto; flex: none; }
.logo-footer { display: inline-block; }
.logo-full { width: 190px; height: auto; }

/* Cabecera flotante tipo píldora */
.site-header { top: 12px; height: auto; background: none !important; box-shadow: none !important; }
.site-header .container {
  max-width: 1240px; padding: 9px 10px 9px 18px; border-radius: 999px;
  background: rgba(13, 21, 36, 0.55); border: 1px solid rgba(170, 195, 230, 0.14);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: background 0.4s, box-shadow 0.4s, max-width 0.5s var(--ease);
}
.site-header.is-scrolled .container { background: rgba(10, 17, 30, 0.86); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6); max-width: 1180px; }
.header-cta .btn { padding: 12px 20px; }
.nav__link.is-active { color: #fff; background: rgba(61, 139, 255, 0.18); }
.nav__link.is-active::after { display: none; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-3), var(--glow)); }

/* Chips en lugar de líneas en las etiquetas */
.eyebrow {
  padding: 7px 14px 7px 12px; border-radius: 999px; letter-spacing: 0.14em; font-size: 0.72rem;
  background: rgba(61, 139, 255, 0.08); border: 1px solid rgba(61, 139, 255, 0.28); color: var(--gold-3);
}
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.section-head--center .eyebrow::after { display: none; }
.section--dark .eyebrow, .dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .bento-tile--dark .eyebrow { color: var(--gold-2); background: rgba(61, 139, 255, 0.12); border-color: rgba(142, 192, 255, 0.28); }

/* Aurora + textura en los fondos oscuros */
.hero__bg::before, .page-hero .hero__bg::before {
  width: 1100px; height: 1100px; right: -320px; top: -420px; filter: blur(20px);
  background: conic-gradient(from 180deg at 50% 50%, rgba(61, 139, 255, 0.35), rgba(52, 211, 240, 0.18), rgba(124, 58, 237, 0.22), rgba(61, 139, 255, 0.35));
  border-radius: 50%; mask-image: radial-gradient(circle, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 65%);
  animation: aurora 22s linear infinite;
}
.hero__bg::after { background: radial-gradient(circle, rgba(52, 211, 240, 0.16), transparent 62%); animation: drift 16s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(120px, -80px); } }
.hero::after, .page-hero::after, .cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid-lines { opacity: 0.35; }

/* Botones con brillo */
.btn--primary { position: relative; overflow: hidden; background: linear-gradient(135deg, #5aa2ff, var(--gold) 45%, var(--gold-3)); }
.btn--primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); transition: left 0.7s var(--ease); }
.btn--primary:hover::after { left: 130%; }

/* Luz que sigue al cursor */
.card, .proto, .eco, .step, .pack, .t-card, .bento-tile, .contact-item { --mx: 50%; --my: 50%; }
.card::after, .step::after, .pack::after, .t-card::after, .bento-tile::after, .eco::after, .proto::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(61, 139, 255, 0.12), transparent 45%);
}
.card, .step, .pack, .t-card { position: relative; }
.card:hover::after, .step:hover::after, .pack:hover::after, .t-card:hover::after, .bento-tile:hover::after, .eco:hover::after, .proto:hover::after { opacity: 1; }
.section--dark .card::after, .proto::after, .bento-tile--dark::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(142, 192, 255, 0.16), transparent 45%); }

/* Radios y tarjetas más suaves */
:root { --radius: 20px; --radius-lg: 28px; }
.card, .step, .eco, .pack, .t-card { border-color: transparent; box-shadow: 0 1px 0 rgba(15, 26, 43, 0.04), 0 10px 30px -18px rgba(15, 26, 43, 0.25); }
.section--dark .card { box-shadow: none; border-color: var(--line-dark); }

/* Proceso como línea de tiempo */
.steps { gap: 18px; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 49px; height: 2px; background: linear-gradient(90deg, var(--gold-3), var(--glow)); opacity: 0.35; z-index: 0; }
.step { z-index: 1; padding-top: 26px; }
.step__n {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1rem; margin-bottom: 18px;
  color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-3)); box-shadow: 0 0 0 6px rgba(61, 139, 255, 0.12), 0 10px 20px -8px rgba(61, 139, 255, 0.8);
}
@media (max-width: 960px) { .steps::before { display: none; } }

/* Cifras con degradado */
.stat__num { background: linear-gradient(180deg, #fff 30%, #9fc4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.stat__num em { -webkit-text-fill-color: var(--glow); }

/* ---------- Hero con muro de vídeo ---------- */
.hero--wall { min-height: 100svh; padding-bottom: 60px; }
.hero--wall .container { grid-template-columns: 1fr 1.05fr; gap: 48px; }
.hero--wall h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.04em; }
.hero-protos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-protos span { font-size: 0.78rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; color: #dbe7f6; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark-2); }
.video-wall {
  position: relative; height: min(680px, 78vh); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.vw-col { display: flex; flex-direction: column; gap: 14px; animation: wall-up 38s linear infinite; }
.vw-col:nth-child(2) { animation-name: wall-down; animation-duration: 44s; }
.vw-col:nth-child(3) { animation-duration: 34s; }
.video-wall:hover .vw-col { animation-play-state: paused; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.vw-item { position: relative; flex: none; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--bg-dark-3); border: 1px solid rgba(170, 195, 230, 0.14); cursor: pointer; }
.vw-item img, .vw-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vw-item span { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 0.74rem; font-weight: 600; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(11, 18, 32, 0.6); backdrop-filter: blur(6px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-wall-wrap { position: relative; }
.hero-wall-wrap .float-card { z-index: 3; }
.hero-wall-wrap .float-card--a { left: -36px; bottom: 90px; }
.hero-wall-wrap .float-card--b { right: -18px; top: 70px; }
.float-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.6); }
.float-card .ic { background: linear-gradient(135deg, var(--gold), var(--gold-3)); color: #fff; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.bento-tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 28px; background: var(--white);
  box-shadow: 0 1px 0 rgba(15, 26, 43, 0.04), 0 14px 40px -24px rgba(15, 26, 43, 0.35); display: flex; flex-direction: column; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.bento-tile:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(15, 26, 43, 0.45); }
.bento-tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.bento-tile p { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.bento-tile--dark { background: linear-gradient(160deg, #142035, #0b1220); color: #e5edf7; }
.bento-tile--dark h3 { color: #fff; }
.bento-tile--dark p { color: var(--muted-dark); }
.bento-tile--media { color: #fff; justify-content: flex-end; min-height: 520px; }
.bento-tile--media > video, .bento-tile--media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.bento-tile--media:hover > video { transform: scale(1.04); }
.bento-tile--media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 18, 32, 0.15), rgba(11, 18, 32, 0.25) 40%, rgba(11, 18, 32, 0.92)); }
.bento-tile--media h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bento-tile--media p { color: #d5e1ef; max-width: 460px; }
.bento-tile--media .link-arrow { color: #fff; }
.bento-tile--media .tag { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: #fff; backdrop-filter: blur(6px); }
.b-a { grid-column: span 2; grid-row: span 2; }
.b-b { grid-column: span 2; }
.b-e { grid-column: span 2; }
.bento-tile .link-arrow { margin-top: auto; }
.b-b { flex-direction: row; gap: 18px; align-items: center; background: linear-gradient(140deg, #eef3f9, #dfe7f1); }
.b-b > div:first-child { flex: 1.2; display: flex; flex-direction: column; align-self: stretch; }
.b-b .plates-mini { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-b .plate { max-width: 92px; }
.mini-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.mini-dash .tile { min-height: 74px; padding: 10px; font-size: 0.72rem; }
.mini-dash .tile__icon { width: 26px; height: 26px; }
.mini-dash .tile__icon svg { width: 14px; height: 14px; }
.mini-dash .tile__name { margin-top: 6px; font-size: 0.78rem; }
.proto-cloud { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.proto-cloud span { font-size: 0.78rem; font-weight: 700; padding: 7px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.proto-cloud span:nth-child(3n+1) { background: rgba(61, 139, 255, 0.1); border-color: rgba(61, 139, 255, 0.3); color: var(--gold-3); }
.b-e .net-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.9; }
.b-e .net-bg svg { width: 100%; height: 100%; }
.big-num { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--gold-3), var(--glow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: auto 0 8px; }
.b-g { background: linear-gradient(160deg, #3d8bff, #1f5fd0); color: #fff; }
.b-g .big-num { background: none; -webkit-text-fill-color: #fff; }
.b-g p, .b-g h3 { color: #e7f0ff; }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-a, .b-b, .b-e { grid-column: span 2; }
  .b-a { grid-row: span 1; }
  .hero--wall .container { grid-template-columns: 1fr; }
  .video-wall { height: 520px; }
}
@media (max-width: 640px) {
  .logo__icon { height: 34px; }
  .logo__word { height: 22px; }
  .site-header { top: 8px; }
  .site-header .container { padding: 7px 8px 7px 14px; margin: 0 10px; width: auto; }
  .nav { top: 76px; left: 10px; right: 10px; border-radius: 22px; border: 1px solid var(--line-dark-2); }
  .bento { grid-template-columns: 1fr; }
  .b-a, .b-b, .b-e { grid-column: span 1; }
  .bento-tile--media { min-height: 460px; }
  .b-b { flex-direction: column; align-items: stretch; }
  .video-wall { height: 440px; grid-template-columns: repeat(2, 1fr); }
  .vw-col:nth-child(3) { display: none; }
  .hero-wall-wrap .float-card--a { left: 8px; bottom: 20px; }
  .hero-wall-wrap .float-card--b { display: none; }
}
.hero--wall h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); }
@media (min-width: 1101px) { .hero--wall .container { grid-template-columns: 1.08fr 1fr; } }
.bento-tile--media .eyebrow { color: #fff; background: rgba(11, 18, 32, 0.55); border-color: rgba(255, 255, 255, 0.25); backdrop-filter: blur(6px); }
@media (max-width: 640px) {
  .site-header .container { width: calc(100% - 20px); margin: 0 auto; }
}

/* ==========================================================================
   v4 · Portada cinematográfica y narrativa al hacer scroll
   ========================================================================== */
:root { --deep: #05080f; }

/* Tríptico de vídeo a pantalla completa */
.cine { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; transform: scale(calc(1.02 + var(--hp, 0) * 0.08)); transform-origin: 50% 40%; animation: cine-in 2.6s var(--ease) both; }
@keyframes cine-in { from { transform: scale(1.14); filter: brightness(0.3); } to { filter: brightness(1); } }
.cine__panel { position: relative; overflow: hidden; background: var(--bg-dark-2); }
.cine__panel + .cine__panel { border-left: 1px solid rgba(255, 255, 255, 0.06); }
.cine__panel video, .cine__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cine__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.7) 0%, rgba(5, 8, 15, 0.18) 28%, rgba(5, 8, 15, 0.35) 58%, rgba(5, 8, 15, 0.96) 100%),
    radial-gradient(ellipse 80% 70% at 18% 85%, rgba(5, 8, 15, 0.85), transparent 65%),
    linear-gradient(0deg, rgba(31, 95, 208, 0.12), rgba(31, 95, 208, 0.12));
}
.hero-cine {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--deep); color: #fff; padding: calc(var(--header-h) + 60px) 0 clamp(56px, 9vh, 110px);
}
.hero-cine > .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; }
.hero-cine__content { opacity: calc(1 - var(--hp, 0) * 1.4); transform: translateY(calc(var(--hp, 0) * -60px)); }
.hero-cine h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 5.1rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; margin-bottom: 26px; text-wrap: balance; }
.hero-cine .lead { color: #c9d6e6; max-width: 560px; margin-bottom: 34px; }
.hero-cine [data-in] { animation: rise-in 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 130ms + 500ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(34px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero-cine .eyebrow { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }

.scene-card {
  justify-self: end; width: 100%; max-width: 360px; padding: 20px 22px; border-radius: 24px;
  background: rgba(10, 16, 28, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); opacity: calc(1 - var(--hp, 0) * 1.4);
}
.scene-card__head { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: #b8c7da; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.scene-card__head time { margin-left: auto; font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; letter-spacing: 0; }
.scene-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; color: #fff; transition: opacity 0.4s; }
.scene-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.scene-card li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.45); transition: color 0.4s; }
.scene-card li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.25); transition: all 0.4s var(--ease); background: center / 12px no-repeat; }
.scene-card li.is-done { color: #fff; }
.scene-card li.is-done::before { border-color: var(--glow); background-color: rgba(52, 211, 240, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d3f0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); box-shadow: 0 0 14px rgba(52, 211, 240, 0.45); }
.scene-card__bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.scene-card__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--glow)); transition: width 0.6s var(--ease); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); opacity: calc(1 - var(--hp, 0) * 3); }
.scroll-cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(180deg, #fff, transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Cabeceras de subpágina con vídeo */
.page-hero--cine { min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; background: var(--deep); }
.page-hero--cine > .container { z-index: 2; }
.page-hero--cine .hero__bg { display: none; }
.page-hero--cine h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); letter-spacing: -0.04em; font-weight: 800; }
.page-hero--cine .lead { color: #c9d6e6; }
.page-hero--cine .stats { background: rgba(10, 16, 28, 0.45); backdrop-filter: blur(14px); border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Texto que se ilumina */
.statement { background: var(--deep); color: #fff; padding: clamp(110px, 20vh, 220px) 0; }
.statement__text { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4.3vw, 3.7rem); line-height: 1.14; letter-spacing: -0.035em; max-width: 1080px; margin: 0; }
.statement__text .w { color: rgba(255, 255, 255, 0.13); transition: color 0.35s; }
.statement__text .w.is-lit { color: #fff; }
.statement__text .w.accent.is-lit { color: var(--gold-2); }
.statement__sign { margin-top: 40px; display: flex; align-items: center; gap: 16px; color: var(--muted-dark); font-size: 0.95rem; }
.statement__sign img { height: 46px; width: auto; }

/* Un día en una casa inteligente */
.story { position: relative; background: var(--deep); color: #e7eef7; padding-bottom: 12vh; }
.story__intro { padding-top: 40px; max-width: 760px; }
.story__intro h2 { color: #fff; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.story__media { position: sticky; top: 9vh; height: 82vh; display: grid; place-items: center; }
.story__stage { position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; }
.story__frame { position: absolute; inset: 0; border-radius: 34px; overflow: hidden; opacity: 0; transform: scale(0.94) translateY(20px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1); background: var(--bg-dark-3); }
.story__frame.is-active { opacity: 1; transform: none; }
.story__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, 0.45), transparent 22%, transparent 70%, rgba(5, 8, 15, 0.75)); }
.story__hud { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #fff; }
.story__hud b { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 1.05rem; }
.story__hud > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 8, 15, 0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.16); }
.story__chips { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.story__chips span { font-size: 0.74rem; padding: 6px 10px; border-radius: 999px; background: rgba(5, 8, 15, 0.6); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; backdrop-filter: blur(8px); display: inline-flex; gap: 6px; align-items: center; }
.story__chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.story__rail { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story__rail i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: all 0.4s var(--ease); }
.story__rail i.is-active { height: 26px; border-radius: 6px; background: var(--glow); }
.story-step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.22; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transform: translateX(-10px); }
.story-step.is-active { opacity: 1; transform: none; }
.story-step__time { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, #fff 20%, var(--gold-2) 70%, var(--glow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 14px; }
.story-step h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: #fff; letter-spacing: -0.03em; margin-bottom: 14px; }
.story-step p { color: var(--muted-dark); font-size: 1.08rem; max-width: 470px; }
.story-step .tags { margin-top: 8px; }
.story-step__media { display: none; }

/* Revelados extra */
.reveal--clip { clip-path: inset(12% 6% 12% 6% round 28px); opacity: 1; transform: none; transition: clip-path 1.2s var(--ease); }
.reveal--clip.is-visible { clip-path: inset(0 0 0 0 round 0); }
.reveal--blur { filter: blur(10px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal--blur.is-visible { filter: none; }
[data-parallax] { will-change: transform; }

@media (max-width: 960px) {
  .hero-cine > .container { grid-template-columns: 1fr; }
  .scene-card { justify-self: start; max-width: 100%; }
  .cine { grid-template-columns: 1fr; }
  .cine__panel:not(:nth-child(2)) { display: none; }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .story-step { min-height: 0; opacity: 1; transform: none; padding: 36px 0; }
  .story-step__media { display: block; position: relative; aspect-ratio: 9 / 16; max-width: 340px; width: 100%; border-radius: 26px; overflow: hidden; margin-top: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
  .story-step__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 640px) {
  .hero-cine { padding-bottom: 70px; }
  .scene-card { padding: 16px; }
  .scene-card li { font-size: 0.86rem; }
  .scene-card li:nth-child(n+4) { display: none; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cine { animation: none; transform: none; }
  .hero-cine [data-in] { animation: none; }
  .statement__text .w { color: #fff; }
}

.story .tag, .statement .tag { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: #dfe8f3; }
.hero-cine em, .page-hero--cine em { white-space: nowrap; }
.page-hero--cine .cine__shade {
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.92) 0%, rgba(5, 8, 15, 0.72) 42%, rgba(5, 8, 15, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.6) 0%, transparent 30%, transparent 60%, rgba(5, 8, 15, 0.95) 100%);
}
@media (max-width: 960px) { .page-hero--cine .cine__shade { background: linear-gradient(180deg, rgba(5, 8, 15, 0.75), rgba(5, 8, 15, 0.6) 40%, rgba(5, 8, 15, 0.95)); } }

/* Formulario: campo trampa, error y verificación */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-error { display: none; padding: 16px 18px; border-radius: 12px; background: #fdecea; color: #8a1f17; font-weight: 500; margin-top: 16px; }
.form-error.is-visible { display: block; }
.cf-turnstile { margin: 0 0 18px; min-height: 65px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
