/* =========================================================
   Air Premium — Vista B: experiencia inmersiva e interactiva
   Todo el estilo vive bajo #viewB (prefijo b-) salvo el selector de vistas.
   ========================================================= */

/* ---------- Conmutación de vistas ---------- */
html[data-view="b"] #viewA,
html:not([data-view="b"]) #viewB { display: none; }
html[data-view="b"] body { background: #fff; }

.view-switch {
  position: fixed; left: 20px; bottom: 20px; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(11, 15, 27, .82); color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
  font-family: var(--font-body); font-size: .82rem;
}
.view-switch-label { font-weight: 600; color: rgba(255, 255, 255, .6); letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }
.view-switch-opts { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 3px; }
.view-switch-opts button { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-weight: 600; color: rgba(255, 255, 255, .7); transition: color .3s; white-space: nowrap; }
.view-switch-opts button[aria-pressed="true"] { color: #06331A; }
.view-switch-opts button:hover:not([aria-pressed="true"]) { color: #fff; }
.view-switch-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px;
  background: linear-gradient(135deg, #7DD3A8, #3FB67A); box-shadow: 0 6px 16px -6px rgba(63, 182, 122, .8);
  transition: transform .45s cubic-bezier(.3, 1.3, .4, 1);
}
html[data-view="b"] .view-switch-thumb { transform: translateX(100%); }
@media (max-width: 560px) {
  .view-switch { left: 12px; bottom: 16px; padding: 4px 4px 4px 12px; gap: 6px; }
  .view-switch-opts button { padding: 7px 10px; font-size: .76rem; }
}
@media (max-width: 380px) { .view-switch-label { display: none; } .view-switch { padding-left: 4px; } }

/* ---------- Tokens ---------- */
#viewB {
  --b-bg: #FFFFFF;
  --b-bg-2: #F5F7F9;
  --b-card: #F7F9FB;
  --b-card-2: #EEF2F6;
  --b-line: #E3E7ED;
  --b-line-2: #D5DAE2;
  --b-text: #0E1322;
  --b-muted: #5E6778;
  --b-green: #3FB67A;
  --b-green-d: #237552;
  --b-mint: #7DD3A8;
  --b-accent: #1F6446;   /* verde legible sobre blanco (textos e íconos) */
  --b-cyan: #5CC8FF;
  --b-cyan-d: #0A78B5;
  --b-warm: #FF8A4C;
  --b-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --b-ease: cubic-bezier(.2, .7, .2, 1);
  --b-spring: cubic-bezier(.3, 1.35, .45, 1);
  --b-wrap: 1280px;
  --amb: 125 211 168;

  position: relative;
  background: var(--b-bg);
  color: var(--b-text);
  overflow-x: clip;
}
#viewB h1, #viewB h2, #viewB h3, #viewB h4 { color: inherit; }
#viewB ::selection { background: rgba(125, 211, 168, .35); color: var(--b-text); }
#viewB :focus-visible { outline: 2px solid var(--b-accent); outline-offset: 3px; }

.b-wrap { width: 100%; max-width: var(--b-wrap); margin-inline: auto; padding-inline: var(--gutter); }
.b-section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }

.b-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--b-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--b-accent);
}
.b-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.b-h2 { font-family: var(--b-display); font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; text-wrap: balance; }
.b-sub { color: var(--b-muted); font-size: 1.06rem; max-width: 56ch; margin-top: 18px; }
.b-head { margin-bottom: clamp(36px, 5vw, 60px); }
.b-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.b-head-split .b-sub { margin-top: 0; max-width: 40ch; }

/* ---------- Botones ---------- */
.b-btn {
  --bb: var(--b-card-2); --bf: var(--b-text); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 14px; background: var(--bb); color: var(--bf); border: 1px solid var(--bd);
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .3s var(--b-ease), box-shadow .3s var(--b-ease), background-color .2s, border-color .2s, color .2s;
}
.b-btn:hover { transform: translateY(-2px); }
.b-btn:active { transform: translateY(0) scale(.98); }
.b-btn .ic { width: 1.1em; height: 1.1em; transition: transform .3s var(--b-ease); }
.b-btn:hover .ic:last-child:not(:first-child) { transform: translateX(3px); }
.b-btn-sm { padding: .6em 1.05em; font-size: .86rem; border-radius: 12px; }
.b-btn-lg { padding: 1.02em 1.6em; font-size: 1rem; border-radius: 16px; }
.b-btn-block { width: 100%; }
.b-btn-primary { --bf: #fff; --bb: linear-gradient(135deg, #46C084, #237552); background: linear-gradient(135deg, #46C084, #237552); box-shadow: 0 14px 34px -14px rgba(63, 182, 122, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.b-btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--b-ease); }
.b-btn-primary:hover::after { transform: translateX(100%); }
.b-btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(63, 182, 122, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.b-btn-glass { --bb: rgba(255, 255, 255, .7); --bd: var(--b-line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.b-btn-glass:hover { --bb: #fff; --bd: var(--b-green); --bf: var(--b-accent); }
.b-btn-wa { --bb: #25D366; --bf: #06331A; }
.b-btn-light { --bb: #fff; --bf: #0E1322; }
.b-btn-dark { --bb: #0E1322; --bf: #fff; box-shadow: 0 14px 30px -16px rgba(14, 19, 34, .8); }
.b-btn-dark:hover { --bb: #1D2439; }
.b-btn-dark.is-added { --bb: #E3F5EB; --bf: #1F6446; box-shadow: none; }
.b-btn-outline { --bb: transparent; --bf: #0E1322; --bd: #D5DAE2; }
.b-btn-outline:hover { --bd: #3FB67A; --bf: #1F6446; }

.b-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--b-card-2); border: 1px solid var(--b-line); color: var(--b-text); transition: background .2s, transform .2s var(--b-spring), border-color .2s; }
.b-round:hover { background: #E3E8EE; border-color: var(--b-line-2); }
.b-round:active { transform: scale(.9); }
.b-round-light { background: #fff; color: #0E1322; border-color: #E1E5EB; box-shadow: 0 6px 16px -8px rgba(14, 19, 34, .3); }
.b-round-light:hover { background: #fff; border-color: #3FB67A; color: #1F6446; }
.b-link { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 600; font-size: .9rem; color: var(--b-accent); padding: 6px; }
.b-link:hover { color: #123D2B; }

/* ---------- Header flotante ---------- */
.b-header { position: fixed; inset: 0 0 auto 0; z-index: 90; pointer-events: none; }
.b-header-bar {
  pointer-events: auto; display: flex; align-items: center; gap: 18px;
  width: min(1240px, calc(100% - 24px)); height: 62px; margin: 12px auto 0; padding: 0 8px 0 18px;
  border-radius: 20px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(14, 19, 34, .08);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -30px rgba(14, 19, 34, .35);
  transition: transform .5s var(--b-ease), background-color .3s;
}
.b-header.is-scrolled .b-header-bar { background: rgba(255, 255, 255, .9); }
.b-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.b-brand-logo { height: 44px; width: auto; transition: transform .5s var(--b-ease); }
.b-brand:hover .b-brand-logo { transform: scale(1.03); }

.b-nav { position: relative; display: flex; align-items: center; margin-inline: auto; }
.b-nav a { position: relative; z-index: 1; padding: 9px 14px; font-size: .9rem; font-weight: 500; color: var(--b-muted); transition: color .25s; white-space: nowrap; }
.b-nav a:hover, .b-nav a.is-active { color: var(--b-text); }
.b-nav-pill {
  position: absolute; top: 50%; left: 0; height: 36px; width: 0; transform: translate(var(--x, 0), -50%);
  border-radius: 11px; background: rgba(14, 19, 34, .05); border: 1px solid rgba(14, 19, 34, .06); opacity: 0;
  transition: transform .45s var(--b-spring), width .45s var(--b-spring), opacity .25s;
}
.b-nav-pill.is-on { opacity: 1; }

.b-header-actions { display: flex; align-items: center; gap: 8px; }
.b-quote { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--b-text); background: rgba(14, 19, 34, .04); border: 1px solid var(--b-line); transition: background .2s; }
.b-quote:hover { background: rgba(14, 19, 34, .08); }
.b-quote-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--b-green); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.b-quote-count.bump { animation: bump .45s var(--b-ease); }

.b-menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; align-content: center; gap: 6px; background: rgba(14, 19, 34, .04); border: 1px solid var(--b-line); }
.b-menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--b-text); transition: transform .35s var(--b-ease); }
.b-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.b-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.b-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; }
.b-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--b-cyan), var(--b-mint), var(--b-warm)); }

.b-menu {
  position: fixed; inset: 0; z-index: 88; padding: 100px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--b-ease), visibility .35s; overflow-y: auto;
}
.b-menu.is-open { opacity: 1; visibility: visible; }
.b-menu nav { display: grid; }
.b-menu nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--b-line);
  font-family: var(--b-display); font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 600; letter-spacing: -.03em;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--b-ease), transform .5s var(--b-ease), color .2s;
}
.b-menu nav a small { font-size: .8rem; color: var(--b-accent); font-family: var(--font-body); letter-spacing: .05em; }
.b-menu.is-open nav a { opacity: 1; transform: none; }
.b-menu.is-open nav a:nth-child(2) { transition-delay: .04s; } .b-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.b-menu.is-open nav a:nth-child(4) { transition-delay: .12s; } .b-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.b-menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.b-menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 56px; }

/* ---------- Hero ---------- */
.b-hero { position: relative; min-height: 100svh; padding: 128px 0 90px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.b-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(900px 600px at 80% 20%, rgba(125, 211, 168, .12), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9FB 100%);
}
.b-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(14, 19, 34, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 19, 34, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
}
.b-air { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.b-hero-ambient {
  position: absolute; z-index: -2; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%); border-radius: 50%;
  background-color: rgb(var(--amb)); opacity: .2; filter: blur(140px);
  transition: background-color .8s var(--b-ease);
}
.b-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.b-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--b-line-2); background: #fff; font-size: .82rem; color: #394254;
}
.b-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--amb)); transition: background-color .6s; }
.b-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgb(var(--amb)); animation: bPing 2s infinite; }
@keyframes bPing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.b-display { font-family: var(--b-display); font-size: clamp(2.7rem, 6vw, 5.2rem); font-weight: 600; line-height: .98; letter-spacing: -.045em; }
.b-grad {
  background: linear-gradient(100deg, var(--b-accent) 0%, #2E8B5E 55%, rgb(var(--amb)) 130%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.b-lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--b-muted); max-width: 52ch; margin-top: 24px; }
.b-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.b-hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 48px 0 0; padding-top: 26px; border-top: 1px solid var(--b-line); }
.b-hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.b-hero-stats dt { font-size: .8rem; color: var(--b-muted); }
.b-hero-stats dd { margin: 0; font-family: var(--b-display); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }

/* Termostato */
.b-thermo { justify-self: end; width: 100%; max-width: 460px; }
.b-thermo-card {
  position: relative; padding: 22px 22px 20px; border-radius: 32px;
  background: #fff;
  border: 1px solid var(--b-line);
  box-shadow: 0 40px 80px -40px rgba(14, 19, 34, .3);
}
.b-thermo-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgb(var(--amb) / .6), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.b-thermo-top { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.b-thermo-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.b-thermo-title .ic { color: color-mix(in srgb, rgb(var(--amb)) 60%, #0E1322); transition: color .6s; }
.b-thermo-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--b-muted); animation: bNudge 2.6s var(--b-ease) infinite; }
.b-thermo-hint.is-gone { opacity: 0; transition: opacity .4s; animation: none; }
@keyframes bNudge { 0%, 60%, 100% { transform: none; } 70% { transform: translateX(-4px) rotate(-6deg); } 85% { transform: translateX(3px); } }

.b-dial { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 6px auto 0; border-radius: 50%; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.b-dial:active { cursor: grabbing; }
.b-dial:focus-visible { outline-offset: -8px; }
.b-dial svg { width: 100%; height: 100%; overflow: visible; }
.b-dial-track { fill: none; stroke: rgba(14, 19, 34, .07); stroke-width: 16; stroke-linecap: round; }
.b-dial-arc { fill: none; stroke: url(#bDialGrad); stroke-width: 16; stroke-linecap: round; filter: drop-shadow(0 0 10px rgb(var(--amb) / .55)); }
.b-dial-ticks line { stroke: rgba(14, 19, 34, .14); stroke-width: 1.4; stroke-linecap: round; transition: stroke .3s; }
.b-dial-ticks line.is-major { stroke-width: 2; stroke: rgba(14, 19, 34, .28); }
.b-dial-ticks line.on { stroke: rgb(var(--amb)); }
.b-dial-ticks text { fill: rgba(14, 19, 34, .42); font-size: 10px; font-family: var(--b-display); font-weight: 600; text-anchor: middle; dominant-baseline: middle; }
.b-dial-knob circle:first-child { fill: #fff; filter: drop-shadow(0 3px 8px rgba(14, 19, 34, .35)); }
.b-dial-knob-dot { fill: rgb(var(--amb)); transition: fill .4s; }
.b-dial-center { position: absolute; inset: 22%; border-radius: 50%; display: grid; place-content: center; text-align: center; pointer-events: none;
  background: radial-gradient(circle at 50% 35%, rgba(14, 19, 34, .035), rgba(14, 19, 34, 0) 70%); }
.b-dial-mode { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, rgb(var(--amb)) 60%, #0E1322); font-weight: 600; transition: color .5s; }
.b-dial-temp { font-family: var(--b-display); font-size: clamp(3.4rem, 7vw, 4.4rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.b-dial-temp sup { font-size: .32em; vertical-align: top; position: relative; top: .5em; margin-left: 2px; letter-spacing: 0; color: var(--b-muted); }
.b-dial-temp span { display: inline-block; }
.b-dial-temp span.tick { animation: bTick .35s var(--b-ease); }
@keyframes bTick { 0% { transform: translateY(var(--dy, 8px)); opacity: .2; } 100% { transform: none; opacity: 1; } }
.b-dial-feel { font-size: .82rem; color: var(--b-muted); }

.b-dial-steps { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.b-modes { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--b-card); border: 1px solid var(--b-line); }
.b-modes button { display: grid; justify-items: center; gap: 2px; padding: 7px 10px; border-radius: 12px; font-size: .7rem; font-weight: 600; color: var(--b-muted); transition: background .25s, color .25s; }
.b-modes button .ic { width: 18px; height: 18px; }
.b-modes button:hover { color: var(--b-text); }
.b-modes button.is-active { background: rgb(var(--amb) / .16); color: var(--b-text); box-shadow: inset 0 0 0 1px rgb(var(--amb) / .45); }
.b-modes button.is-active .ic { color: color-mix(in srgb, rgb(var(--amb)) 60%, #0E1322); }

.b-readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.b-readouts > div { padding: 12px; border-radius: 16px; background: var(--b-card); border: 1px solid var(--b-line); display: grid; gap: 2px; }
.b-readouts span { font-size: .7rem; color: var(--b-muted); }
.b-readouts strong { font-size: .92rem; font-family: var(--b-display); font-weight: 600; }
.b-readouts i { display: flex; align-items: flex-end; gap: 3px; height: 14px; margin-top: 6px; }
.b-fanbars b { width: 5px; border-radius: 2px; background: rgba(14, 19, 34, .1); transition: background .3s; }
.b-fanbars b:nth-child(1) { height: 5px; } .b-fanbars b:nth-child(2) { height: 8px; } .b-fanbars b:nth-child(3) { height: 11px; } .b-fanbars b:nth-child(4) { height: 14px; }
.b-fanbars b.on { background: rgb(var(--amb)); }
.b-powerbar { align-items: center !important; height: 6px !important; margin-top: 10px !important; border-radius: 99px; background: rgba(14, 19, 34, .07); overflow: hidden; }
.b-powerbar b { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--b-mint), var(--b-warm)); transition: width .6s var(--b-ease); }
.b-humdots b { width: 6px; height: 6px; border-radius: 50%; background: rgba(14, 19, 34, .1); align-self: center; transition: background .3s; }
.b-humdots b.on { background: var(--b-cyan); }
.b-thermo-tip { margin-top: 14px; font-size: .78rem; color: var(--b-muted); text-align: center; min-height: 1.3em; }

.b-scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--b-muted); }
.b-scroll-cue span { width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid rgba(14, 19, 34, .22); position: relative; }
.b-scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--b-green); transform: translateX(-50%); animation: bScroll 1.8s infinite; }
@keyframes bScroll { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Marcas ---------- */
.b-brands { padding: 34px 0; border-block: 1px solid var(--b-line); overflow: hidden; display: grid; gap: 6px; }
.b-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.b-marquee-track { display: flex; width: max-content; animation: bMarquee 48s linear infinite; }
.b-marquee-track span { padding: 0 28px; font-family: var(--b-display); font-weight: 600; font-size: clamp(1.8rem, 4.2vw, 3.2rem); letter-spacing: -.03em; color: rgba(14, 19, 34, .2); white-space: nowrap; transition: color .3s; }
.b-marquee-track span:hover { color: var(--b-text); }
.b-marquee-rev .b-marquee-track { animation-direction: reverse; animation-duration: 60s; }
.b-marquee-rev .b-marquee-track span { color: transparent; -webkit-text-stroke: 1px rgba(14, 19, 34, .22); font-size: clamp(1.4rem, 3vw, 2.2rem); }
.b-brands:hover .b-marquee-track { animation-play-state: paused; }
@keyframes bMarquee { to { transform: translateX(-50%); } }

/* ---------- Líneas ---------- */
.b-lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.b-line {
  position: relative; display: flex; flex-direction: column; text-align: left; padding: 22px; min-height: 380px; border-radius: 26px;
  background: var(--b-card); border: 1px solid var(--b-line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--b-ease), border-color .3s;
}
.b-line::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 168, .16), transparent 60%); }
a.b-line { color: inherit; text-decoration: none; }
.b-line:hover { transform: translateY(-6px); border-color: rgba(63, 182, 122, .45); }
.b-line:hover::before { opacity: 1; }
.b-line-illus { display: block; height: 150px; margin: 6px -6px 22px; border-radius: 18px; background: radial-gradient(circle at 50% 70%, #fff, transparent 70%); transition: transform .6s var(--b-ease); }
.b-line-illus svg { width: 100%; height: 100%; }
.b-line:hover .b-line-illus { transform: translateY(-6px) scale(1.04); }
.b-line-num { position: absolute; top: 20px; right: 22px; font-family: var(--b-display); font-size: .8rem; color: var(--b-muted); }
.b-line h3 { font-family: var(--b-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }
.b-line p { color: var(--b-muted); font-size: .92rem; margin-top: 8px; }
.b-line-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--b-accent); font-weight: 600; }
.b-line-foot .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(63, 182, 122, .12); transition: transform .4s var(--b-spring), background .3s; }
.b-line:hover .b-line-foot .ic { transform: rotate(45deg); background: var(--b-green); color: #fff; }

/* ---------- Showroom (estudio claro) ---------- */
.b-studio { margin: 0 clamp(0px, 1vw, 14px); border-radius: clamp(24px, 3vw, 44px); background: linear-gradient(180deg, #F4F6F9, #E9EDF2); color: #0E1322; }
.b-studio .b-eyebrow { color: #1F6446; }
.b-search { display: flex; align-items: center; gap: 10px; width: min(380px, 100%); height: 52px; padding: 0 12px 0 16px; border-radius: 16px; background: #fff; border: 1px solid #DDE2E9; box-shadow: 0 10px 30px -20px rgba(14, 19, 34, .4); transition: border-color .2s, box-shadow .2s; }
.b-search:focus-within { border-color: #3FB67A; box-shadow: 0 0 0 4px rgba(63, 182, 122, .15); }
.b-search .ic { color: #5E6778; }
.b-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; }
.b-search kbd { font: 600 .72rem var(--font-body); padding: 3px 7px; border-radius: 6px; border: 1px solid #DDE2E9; color: #5E6778; }
.b-search-dark { background: #fff; border-color: var(--b-line-2); box-shadow: none; margin-top: 28px; }
.b-search-dark .ic { color: var(--b-muted); }
.b-search-dark input::placeholder { color: var(--b-muted); }

.b-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.b-cats button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid #DDE2E9; font-weight: 600; font-size: .88rem; color: #394254; transition: all .25s var(--b-ease); }
.b-cats button:hover { border-color: #3FB67A; color: #1F6446; }
.b-cats button.is-active { background: #0E1322; border-color: #0E1322; color: #fff; }
.b-cats .count { font-size: .72rem; padding: 1px 7px; border-radius: 99px; background: rgba(14, 19, 34, .07); }
.b-cats button.is-active .count { background: rgba(255, 255, 255, .16); }

.b-stage { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(18px, 2.4vw, 28px); border-radius: 32px; background: #fff; box-shadow: 0 40px 80px -50px rgba(14, 19, 34, .45); border: 1px solid #E3E7ED; }
.b-stage-visual { position: relative; aspect-ratio: 4 / 3.1; border-radius: 24px; overflow: hidden; perspective: 900px;
  background: radial-gradient(120% 90% at 50% 20%, #FFFFFF 0%, #EEF1F5 60%, #E2E7EE 100%); }
.b-stage-platform { position: absolute; left: 50%; bottom: 13%; width: 70%; height: 16%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14, 19, 34, .16), transparent); }
.b-stage-illus { position: absolute; inset: 6% 8% 14%; display: grid; place-items: center; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--b-ease); transform-style: preserve-3d; }
.b-stage-illus svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 30px rgba(14, 19, 34, .16)); }
.b-stage-illus.is-in { animation: bStageIn .6s var(--b-ease) both; }
/* Equipos con foto: la imagen ocupa todo el escenario (sin plataforma ni inclinación 3D) */
.b-stage-visual.has-photo { background: #E9EDF2; }
.b-stage-visual.has-photo .b-stage-platform { display: none; }
.b-stage-visual.has-photo .b-stage-illus { inset: 0; transform: none; }
.b-stage-visual.has-photo .b-stage-illus::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 19, 34, .25) 0%, rgba(14, 19, 34, 0) 28%, rgba(14, 19, 34, 0) 62%, rgba(14, 19, 34, .6) 100%); }
.b-stage-illus .photo { width: 100%; height: 100%; object-fit: cover; }
.b-stage-visual.has-photo .b-stage-badge { background: #fff; color: #0E1322; }
.b-stage-visual.has-photo .b-stage-count { color: #fff; }
@keyframes bStageIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 60px)) scale(.94); } to { opacity: 1; transform: none; } }
.b-stage-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: #0E1322; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.b-stage-nav { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.b-stage-count { font-family: var(--b-display); font-weight: 600; font-size: .9rem; color: #394254; font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.b-stage-info { padding: 6px 8px; }
.b-stage-info > * { animation: bInfoIn .5s var(--b-ease) both; }
.b-stage-info.is-swap > * { animation: none; }
.b-stage-info > :nth-child(2) { animation-delay: .04s; } .b-stage-info > :nth-child(3) { animation-delay: .08s; }
.b-stage-info > :nth-child(4) { animation-delay: .12s; } .b-stage-info > :nth-child(5) { animation-delay: .16s; } .b-stage-info > :nth-child(6) { animation-delay: .2s; }
@keyframes bInfoIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.b-stage-cat { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1F6446; }
.b-stage-info h3 { font-family: var(--b-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-top: 10px; }
.b-stage-range { display: inline-block; margin-top: 10px; font-weight: 600; color: #394254; }
.b-stage-info p { color: #5E6778; margin-top: 14px; }
.b-stage-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.b-stage-specs li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: #F2F4F7; font-size: .84rem; font-weight: 500; color: #394254; }
.b-stage-specs li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3FB67A; }
.b-stage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.b-rail-wrap { margin-top: 18px; }
.b-rail { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #C3CCD8 transparent; cursor: grab; }
.b-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.b-rail.is-dragging * { pointer-events: none; }
.b-thumb { flex: none; width: 148px; scroll-snap-align: start; padding: 10px; border-radius: 18px; background: #fff; border: 1.5px solid #E3E7ED; text-align: left; transition: border-color .25s, transform .3s var(--b-ease), box-shadow .3s; animation: bInfoIn .4s var(--b-ease) both; }
.b-thumb:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(14, 19, 34, .5); }
.b-thumb[aria-selected="true"] { border-color: #0E1322; box-shadow: 0 0 0 3px rgba(14, 19, 34, .08); }
.b-thumb-media { display: block; height: 76px; border-radius: 12px; background: #F2F4F7; padding: 4px; position: relative; }
.b-thumb-media svg { width: 100%; height: 100%; }
.b-thumb-media.has-photo { padding: 0; overflow: hidden; }
.b-thumb-media .photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-thumb strong { display: block; margin-top: 8px; font-size: .8rem; line-height: 1.25; font-weight: 600; color: #141A26; }
.b-thumb small { display: block; font-size: .7rem; color: #5E6778; margin-top: 2px; }
.b-thumb .b-in { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; background: #3FB67A; color: #fff; display: grid; place-items: center; }
.b-thumb .b-in .ic { width: 11px; height: 11px; stroke-width: 3; }
.b-rail-empty { padding: 26px; text-align: center; color: #5E6778; border-radius: 18px; border: 1.5px dashed #C3CCD8; }
.b-rail-empty a { color: #1F6446; font-weight: 600; text-decoration: underline; }

/* ---------- Controles compartidos ---------- */
.b-ctrl { display: grid; gap: 10px; }
.b-ctrl + .b-ctrl { margin-top: 24px; }
.b-ctrl-top { display: flex; justify-content: space-between; align-items: baseline; }
.b-ctrl-top output { font-family: var(--b-display); font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.b-ctrl-label { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: #394254; }
.b-ctrl-label i { font-style: normal; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(63, 182, 122, .12); color: var(--b-accent); font-size: .72rem; }
.b-ctrl-note { font-size: .78rem; color: var(--b-muted); }
.b-ctrl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.b-ctrl-row > div { display: grid; gap: 10px; }

.b-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b-chips button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--b-line); font-size: .86rem; font-weight: 500; color: #394254; transition: all .25s var(--b-ease); }
.b-chips button .ic { width: 16px; height: 16px; color: var(--b-muted); transition: color .25s; }
.b-chips button:hover { border-color: var(--b-green); color: var(--b-text); }
.b-chips button.is-active { background: rgba(63, 182, 122, .12); border-color: rgba(63, 182, 122, .55); color: var(--b-accent); }
.b-chips button.is-active .ic { color: var(--b-green); }
.b-chips-sm button { padding: 7px 12px; font-size: .82rem; }

.b-range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.b-range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--b-green) 0 var(--p), rgba(14, 19, 34, .1) var(--p)); }
.b-range::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(14, 19, 34, .1); }
.b-range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--b-green); }
.b-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 5px solid var(--b-green); box-shadow: 0 0 0 6px rgba(63, 182, 122, .18); transition: transform .2s var(--b-spring); }
.b-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--b-green); box-shadow: 0 0 0 6px rgba(63, 182, 122, .18); }
.b-range:active::-webkit-slider-thumb { transform: scale(1.2); }

.b-stepper { display: flex; align-items: center; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--b-line); padding: 4px; }
.b-stepper button { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--b-text); transition: background .2s; }
.b-stepper button:hover { background: rgba(14, 19, 34, .06); }
.b-stepper input { flex: 1; min-width: 0; text-align: center; background: none; border: 0; outline: none; font-family: var(--b-display); font-weight: 600; font-size: 1.1rem; -moz-appearance: textfield; }
.b-stepper input::-webkit-outer-spin-button, .b-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.b-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--b-line); }
.b-seg button { position: relative; z-index: 1; padding: 10px; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--b-muted); transition: color .25s; }
.b-seg button.is-active { color: #06331A; }
.b-seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 10px; background: linear-gradient(135deg, #FFD08A, #FF8A4C); transform: translateX(calc(var(--i, 1) * 100%)); transition: transform .4s var(--b-spring); box-shadow: 0 8px 20px -10px rgba(255, 138, 76, .9); }

/* ---------- Configurador ---------- */
.b-config { background: radial-gradient(900px 500px at 10% 0%, rgba(63, 182, 122, .08), transparent 70%); }
.b-config-grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 20px; align-items: start; }
.b-config-controls { padding: 26px; border-radius: 28px; background: var(--b-card); border: 1px solid var(--b-line); }
.b-config-out { display: grid; grid-template-columns: 1fr 320px; gap: 20px; position: sticky; top: 96px; }
.b-plan-card { padding: 20px; border-radius: 28px; background: linear-gradient(180deg, rgba(92, 200, 255, .07), var(--b-card)); border: 1px solid var(--b-line); display: flex; flex-direction: column; }
.b-plan-head { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; font-weight: 600; }
.b-plan-head span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.b-plan-head .ic { color: var(--b-accent); }
.b-plan-dims { font-family: var(--b-display); padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--b-line); font-variant-numeric: tabular-nums; }
.b-plan { width: 100%; flex: 1; min-height: 260px; margin: 10px 0; }
.b-plan .room-floor { fill: url(#bGrid); }
.b-plan .room-bg { fill: rgba(125, 211, 168, .04); }
.b-plan .room-wall { fill: none; stroke: var(--b-green); stroke-width: 3; stroke-linejoin: round; }
.b-plan .room-person { fill: #2B344B; }
.b-plan .room-person-ring { fill: none; stroke: rgba(43, 52, 75, .25); }
.b-plan .room-device { fill: var(--b-cyan); }
.b-plan .room-window { fill: #FFB870; }
.b-plan .room-ac { fill: #fff; stroke: #8C99AB; stroke-width: 1; }
.b-plan .room-ac-led { fill: var(--b-green); }
.b-plan .room-flow { fill: none; stroke: var(--b-cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 9; animation: bFlow 1.2s linear infinite; opacity: .8; }
.b-plan .room-label { fill: var(--b-muted); font: 600 10px var(--font-body); }
@keyframes bFlow { to { stroke-dashoffset: -24; } }
.b-plan-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .74rem; color: var(--b-muted); }
.b-plan-legend span { display: inline-flex; align-items: center; gap: 6px; }
.b-plan-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-person { background: #2B344B; border-radius: 50% !important; }
.lg-device { background: var(--b-cyan); }
.lg-sun { background: #FFB870; }
.lg-ac { background: #fff; outline: 2px solid var(--b-green); outline-offset: -2px; }

.b-result { padding: 22px; border-radius: 28px; background: #fff; border: 1px solid rgba(63, 182, 122, .3); box-shadow: 0 40px 80px -50px rgba(14, 19, 34, .35); display: flex; flex-direction: column; }
.b-gauge { position: relative; }
.b-gauge svg { width: 100%; }
.b-gauge-track { fill: none; stroke: rgba(14, 19, 34, .07); stroke-width: 14; stroke-linecap: round; }
.b-gauge-arc { fill: none; stroke: url(#bGaugeGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .8s var(--b-ease); }
.b-gauge-needle { transform-box: view-box; transform-origin: 110px 112px; transform: rotate(-90deg); transition: transform .8s var(--b-spring); }
.b-gauge-needle path { stroke: var(--b-text); stroke-width: 3; stroke-linecap: round; }
.b-gauge-needle circle { fill: var(--b-text); }
.b-gauge-val { text-align: center; margin-top: -2px; }
.b-gauge-val span { font-family: var(--b-display); font-size: 2.3rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.b-gauge-val small { margin-left: 6px; color: var(--b-muted); font-weight: 600; }
.b-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 12px; }
.b-sizes span { padding: 6px 0; border-radius: 8px; text-align: center; font-size: .7rem; font-weight: 600; color: var(--b-muted); background: var(--b-card-2); border: 1px solid transparent; transition: all .3s var(--b-ease); font-variant-numeric: tabular-nums; }
.b-sizes span.is-on { color: #06331A; background: var(--b-mint); transform: scale(1.06); }
.b-sizes span.is-under { color: rgba(149, 160, 180, .45); }
.b-rec { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; margin-top: 16px; padding: 12px; border-radius: 18px; background: var(--b-card); border: 1px solid var(--b-line); }
.b-rec-illus { height: 64px; border-radius: 12px; background: #fff; border: 1px solid var(--b-line); padding: 4px; }
.b-rec-illus svg { width: 100%; height: 100%; }
.b-rec span { font-size: .7rem; color: var(--b-muted); text-transform: uppercase; letter-spacing: .08em; }
.b-rec strong { display: block; font-family: var(--b-display); font-size: 1.15rem; font-weight: 600; }
.b-rec em { display: block; font-style: normal; font-size: .82rem; color: var(--b-accent); }
.b-rec small { display: block; font-size: .74rem; color: var(--b-muted); }
.b-result-actions { display: grid; gap: 8px; margin-top: 16px; }
.b-disclaimer { font-size: .72rem; color: var(--b-muted); margin-top: 12px; line-height: 1.5; }

/* ---------- Ahorro ---------- */
.b-savings { background: linear-gradient(180deg, transparent, rgba(92, 200, 255, .04) 50%, transparent); }
.b-savings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.b-savings-copy .b-sub { margin-bottom: 34px; }
.b-savings-out { padding: clamp(22px, 3vw, 34px); border-radius: 32px; background: var(--b-card); border: 1px solid var(--b-line); }
.b-bars { display: grid; gap: 22px; }
.b-bar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.b-bar-top span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.b-bar-top span .ic { color: var(--b-accent); }
.b-bar-top strong { font-family: var(--b-display); font-size: 1.4rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.b-bar-track { height: 18px; border-radius: 8px; background: rgba(14, 19, 34, .06); overflow: hidden; }
.b-bar-track span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .9s var(--b-ease); }
.b-bar-conv .b-bar-track span { background: repeating-linear-gradient(135deg, #FF8A4C 0 10px, #F57A3A 10px 20px); }
.b-bar-inv .b-bar-track span { background: repeating-linear-gradient(135deg, #7DD3A8 0 10px, #5CC395 10px 20px); }
.b-bar small { display: block; margin-top: 6px; font-size: .78rem; color: var(--b-muted); font-variant-numeric: tabular-nums; }
.b-save-big { margin: 30px 0 22px; padding: 22px; border-radius: 22px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(63, 182, 122, .22), rgba(63, 182, 122, .04)); border: 1px solid rgba(125, 211, 168, .25); }
.b-save-big span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--b-accent); font-weight: 600; }
.b-save-big strong { display: block; font-family: var(--b-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin: 6px 0; font-variant-numeric: tabular-nums; }
.b-save-big em { font-style: normal; font-size: .88rem; color: var(--b-muted); }
.b-save-big em b { color: var(--b-text); }

/* ---------- Servicios: scroll horizontal ---------- */
.b-svc {
  position: relative; min-height: 400px; padding: 28px; border-radius: 28px; display: flex; flex-direction: column;
  background: linear-gradient(170deg, #fff, var(--b-card)); border: 1px solid var(--b-line); overflow: hidden;
  transition: border-color .3s, transform .5s var(--b-ease);
}
.b-svc:hover { border-color: rgba(63, 182, 122, .45); transform: translateY(-6px); }
.b-svc-num { position: absolute; right: 18px; top: 4px; font-family: var(--b-display); font-size: 7rem; font-weight: 700; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(14, 19, 34, .1); transition: -webkit-text-stroke-color .3s; }
.b-svc:hover .b-svc-num { -webkit-text-stroke-color: rgba(63, 182, 122, .5); }
.b-svc-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(63, 182, 122, .12); color: var(--b-accent); }
.b-svc-icon .ic { width: 26px; height: 26px; }
.b-svc h3 { font-family: var(--b-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.025em; margin-top: auto; padding-top: 60px; }
.b-svc p { color: var(--b-muted); margin-top: 10px; font-size: .95rem; }
.b-svc ul { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; margin-top: 18px; min-height: 62px; }
.b-svc li { padding: 5px 10px; border-radius: 8px; font-size: .76rem; font-weight: 500; background: var(--b-card-2); color: #394254; }
.b-svc-hl { background: linear-gradient(170deg, rgba(92, 200, 255, .16), rgba(92, 200, 255, .02)); border-color: rgba(92, 200, 255, .3); }
.b-svc-hl .b-svc-icon { background: rgba(92, 200, 255, .16); color: var(--b-cyan-d); }

/* ---------- Enfriamiento de agua ---------- */
.b-water { --b-water-cold: #5CC8FF; }
.b-water-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.b-water-info { margin: 30px 0; padding: 20px 22px; border-radius: 22px; background: var(--b-card); border: 1px solid var(--b-line); border-left: 3px solid var(--b-cyan); min-height: 150px; }
.b-water-info.is-in > * { animation: bInfoIn .45s var(--b-ease) both; }
.b-water-step { font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--b-cyan-d); }
.b-water-info h3 { font-family: var(--b-display); font-size: 1.3rem; font-weight: 600; margin-top: 6px; }
.b-water-info p { color: var(--b-muted); font-size: .94rem; margin-top: 6px; }
.b-water-copy .b-ctrl { margin-bottom: 28px; }
.b-water-diagram { position: relative; padding: 14px; border-radius: 32px; background: radial-gradient(120% 100% at 60% 30%, rgba(92, 200, 255, .08), transparent 60%), var(--b-card); border: 1px solid var(--b-line); }
.b-water-diagram svg { width: 100%; display: block; }
.b-pipe { fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.b-pipe-bg { stroke: rgba(14, 19, 34, .07); }
.b-pipe-hot, .b-pipe-cold { stroke-width: 4; stroke-dasharray: 2 14; animation: bFlow 1s linear infinite; }
.b-pipe-hot { stroke: var(--b-warm); }
.b-pipe-cold { stroke: var(--b-water-cold); }
.b-svg-label { fill: var(--b-muted); font: 700 11px var(--font-body); letter-spacing: .12em; }
.b-svg-hot { fill: var(--b-warm); }
.b-svg-cold { fill: var(--b-water-cold); }
.b-svg-temp { fill: var(--b-text); font: 600 22px var(--b-display); }
.b-svg-display { fill: #46C084; font: 700 18px var(--b-display); }
.b-fan-blades { transform-box: fill-box; transform-origin: center; animation: bSpin 1.6s linear infinite; }
@keyframes bSpin { to { transform: rotate(360deg); } }
.b-wave { animation: bWave 3s ease-in-out infinite; }
@keyframes bWave { 50% { transform: translateY(3px); } }
.b-tank-water { transition: fill .5s; }
.b-hot {
  position: absolute; left: var(--x); top: var(--y); width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; background: var(--b-text);
  box-shadow: 0 8px 20px -6px rgba(14, 19, 34, .45); transition: transform .3s var(--b-spring), background .25s;
}
.b-hot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--b-text); opacity: .3; animation: bPing 2.2s infinite; }
.b-hot:hover { transform: scale(1.12); }
.b-hot.is-active { background: var(--b-cyan); color: #05080F; transform: scale(1.15); }
.b-hot.is-active::before { border-color: var(--b-cyan); }

/* ---------- Sectores: paneles ---------- */
.b-panels { display: flex; gap: 10px; height: clamp(460px, 56vw, 560px); }
.b-panel { position: relative; flex: 1; min-width: 0; border-radius: 26px; overflow: hidden; cursor: pointer; color: #fff; transition: flex .7s var(--b-ease); isolation: isolate; outline-offset: 3px; }
.b-panel.is-open { flex: 5; cursor: default; }
.b-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.2s var(--b-ease), filter .6s; filter: saturate(.6) brightness(.7); }
.b-panel.is-open img { transform: scale(1); filter: none; }
.b-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 8, 15, .1) 30%, rgba(5, 8, 15, .92)); }
.b-panel-tab { position: absolute; inset: auto 0 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: opacity .3s; }
.b-panel-tab .ic { width: 22px; height: 22px; color: var(--b-mint); }
.b-panel-tab b { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--b-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.b-panel.is-open .b-panel-tab { opacity: 0; pointer-events: none; }
.b-panel-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 34px); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .6s var(--b-ease); pointer-events: none; }
.b-panel.is-open .b-panel-body { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.b-panel-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.b-panel-body h3 { font-family: var(--b-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; margin-top: 16px; }
.b-panel-body p { color: rgba(237, 241, 247, .82); margin-top: 8px; max-width: 44ch; }
.b-panel-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: .88rem; color: #fff; transition: background .2s; }
.b-panel-link:hover { background: var(--b-green); }

/* ---------- Nosotros ---------- */
.b-manifesto { font-family: var(--b-display); font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.22; letter-spacing: -.03em; max-width: 30ch; margin-top: 6px; }
.b-manifesto .w { color: rgba(14, 19, 34, .14); transition: color .4s; }
.b-manifesto .w.on { color: var(--b-text); }
.b-manifesto .w.hl.on { color: var(--b-accent); }
.b-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.b-value { padding: 22px; border-radius: 22px; background: var(--b-card); border: 1px solid var(--b-line); }
.b-value .ic { width: 26px; height: 26px; color: var(--b-accent); }
.b-value h4 { font-family: var(--b-display); font-size: 1.08rem; font-weight: 600; margin-top: 18px; }
.b-value p { color: var(--b-muted); font-size: .88rem; margin-top: 6px; }
.b-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border-radius: 26px; overflow: hidden; background: linear-gradient(120deg, #1F6446, #123D2B); color: #fff; }
.b-stats > div { padding: 30px 26px; display: grid; gap: 4px; }
.b-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.b-stats strong { font-family: var(--b-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.b-stats > div > span { font-size: .86rem; color: rgba(255, 255, 255, .72); }

/* ---------- Proceso ---------- */
.b-timeline { position: relative; display: grid; gap: 28px; max-width: 980px; margin-inline: auto; }
.b-tl-line { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; transform: translateX(-50%); background: rgba(14, 19, 34, .08); border-radius: 2px; }
.b-tl-line span { display: block; width: 100%; height: 100%; transform-origin: 50% 0; transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, var(--b-cyan), var(--b-mint)); border-radius: inherit; }
.b-tl-step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.b-tl-dot { grid-column: 2; justify-self: center; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--b-display); font-weight: 600; background: #fff; border: 2px solid var(--b-line-2); color: var(--b-muted); transition: all .5s var(--b-spring); z-index: 1; }
.b-tl-card { grid-column: 3; padding: 22px 24px; border-radius: 22px; background: var(--b-card); border: 1px solid var(--b-line); opacity: .35; transform: translateX(20px); transition: opacity .6s var(--b-ease), transform .6s var(--b-ease), border-color .4s; }
.b-tl-step:nth-child(odd) .b-tl-card { grid-column: 1; grid-row: 1; transform: translateX(-20px); text-align: right; }
.b-tl-card h3 { font-family: var(--b-display); font-size: 1.25rem; font-weight: 600; }
.b-tl-card p { color: var(--b-muted); font-size: .94rem; margin-top: 6px; }
.b-tl-step.is-on .b-tl-dot { background: var(--b-green); border-color: var(--b-mint); color: #fff; transform: scale(1.1); box-shadow: 0 0 0 8px rgba(63, 182, 122, .14); }
.b-tl-step.is-on .b-tl-card { opacity: 1; transform: none; border-color: rgba(63, 182, 122, .35); }

/* ---------- FAQ ---------- */
.b-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.b-faq-grid .b-head { position: sticky; top: 110px; }
.b-acc { display: grid; gap: 10px; }
.b-acc-item { border-radius: 20px; background: var(--b-card); border: 1px solid var(--b-line); transition: border-color .3s, background .3s; }
.b-acc-item.is-open { border-color: rgba(63, 182, 122, .35); background: rgba(63, 182, 122, .05); }
.b-acc-item > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--b-display); font-weight: 600; font-size: 1.06rem; }
.b-acc-item > button i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(14, 19, 34, .06); transition: transform .4s var(--b-spring), background .3s; }
.b-acc-item > button i::before, .b-acc-item > button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--b-text); transition: transform .3s, background .3s; }
.b-acc-item > button i::after { transform: rotate(90deg); }
.b-acc-item.is-open > button i { transform: rotate(180deg); background: var(--b-green); }
.b-acc-item.is-open > button i::before, .b-acc-item.is-open > button i::after { background: #fff; }
.b-acc-item.is-open > button i::after { transform: rotate(0deg); }
.b-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--b-ease); }
.b-acc-item.is-open .b-acc-panel { grid-template-rows: 1fr; }
.b-acc-panel > div { overflow: hidden; }
.b-acc-panel p { padding: 0 22px 20px; color: var(--b-muted); }
.b-acc-panel a { color: var(--b-accent); text-decoration: underline; }
.b-acc mark { background: rgba(125, 211, 168, .4); color: var(--b-text); border-radius: 4px; padding: 0 2px; }
.b-acc-empty { padding: 22px; color: var(--b-muted); text-align: center; border: 1px dashed var(--b-line-2); border-radius: 20px; }
.b-acc-empty a { color: var(--b-accent); font-weight: 600; }

/* ---------- Contacto + chat ---------- */
.b-contact { background: radial-gradient(900px 500px at 90% 100%, rgba(63, 182, 122, .1), transparent 70%); }
.b-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.b-contact-info .b-head { margin-bottom: 24px; }
.b-open { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; background: #fff; border: 1px solid var(--b-line); }
.b-open i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--b-muted); }
.b-open.is-open i { background: #46C084; }
.b-open.is-open i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #46C084; animation: bPing 2s infinite; }
.b-contact-list { display: grid; margin-top: 22px; border-top: 1px solid var(--b-line); }
.b-contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--b-line); }
.b-contact-list > li > .ic { width: 42px; height: 42px; padding: 11px; border-radius: 13px; background: rgba(63, 182, 122, .12); color: var(--b-accent); flex: none; }
.b-contact-list > li > .ic.ic-fill { fill: var(--b-accent); }
.b-contact-list div { flex: 1; min-width: 0; }
.b-contact-list span { display: block; font-size: .76rem; color: var(--b-muted); }
.b-contact-list strong { font-weight: 600; font-size: .96rem; }
.b-contact-list a:hover strong { color: var(--b-accent); }
.b-mini-link { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 12px; border-radius: 10px; font-size: .8rem; font-weight: 600; background: var(--b-card-2); transition: background .2s; }
.b-mini-link:hover { background: #E3E8EE; }
.b-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.b-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--b-line-2); font-size: .88rem; font-weight: 600; transition: background .2s, border-color .2s; }
.b-socials a:hover { background: rgba(63, 182, 122, .08); border-color: var(--b-green); }

.b-chat { display: flex; flex-direction: column; height: 620px; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--b-line-2); box-shadow: 0 50px 100px -50px rgba(14, 19, 34, .35); }
.b-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--b-line); background: var(--b-card); }
.b-chat-avatar { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--b-line); flex: none; }
.b-chat-avatar img { width: 34px; height: auto; }
.b-chat-head div { flex: 1; min-width: 0; }
.b-chat-head strong { display: block; font-size: .96rem; }
.b-chat-head div span { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--b-muted); }
.b-chat-head div span i { width: 7px; height: 7px; border-radius: 50%; background: #46C084; }
.b-chat-reset { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--b-muted); transition: background .2s, color .2s; }
.b-chat-reset:hover { background: rgba(14, 19, 34, .06); color: var(--b-text); }
.b-chat-log { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(14, 19, 34, .15) transparent; }
.b-msg { max-width: 84%; padding: 11px 15px; border-radius: 18px; font-size: .93rem; line-height: 1.45; animation: bMsg .35s var(--b-ease) both; white-space: pre-line; }
.b-msg-bot { align-self: flex-start; background: #EEF2F6; border-bottom-left-radius: 6px; }
.b-msg-me { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #3FB67A, #237552); border-bottom-right-radius: 6px; }
@keyframes bMsg { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.b-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 18px; border-bottom-left-radius: 6px; background: #EEF2F6; }
.b-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--b-muted); animation: bDots 1s infinite; }
.b-typing i:nth-child(2) { animation-delay: .15s; } .b-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bDots { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.b-summary { align-self: stretch; padding: 16px; border-radius: 18px; background: rgba(63, 182, 122, .08); border: 1px solid rgba(125, 211, 168, .3); animation: bMsg .35s var(--b-ease) both; font-size: .88rem; }
.b-summary h4 { font-family: var(--b-display); font-size: 1rem; margin-bottom: 8px; }
.b-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.b-summary dt { color: var(--b-muted); }
.b-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.b-chat-compose { padding: 14px; border-top: 1px solid var(--b-line); background: var(--b-card); display: grid; gap: 10px; min-height: 76px; align-content: center; }
.b-replies { display: flex; flex-wrap: wrap; gap: 8px; }
.b-replies button { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(63, 182, 122, .45); color: var(--b-accent); font-size: .86rem; font-weight: 600; transition: all .2s; animation: bMsg .3s var(--b-ease) both; }
.b-replies button:hover { background: var(--b-green); border-color: var(--b-green); color: #fff; }
.b-replies button.is-ghost { border-color: var(--b-line-2); color: var(--b-muted); }
.b-compose-row { display: flex; gap: 8px; }
.b-compose-row input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; background: #fff; border: 1px solid var(--b-line-2); outline: none; transition: border-color .2s; }
.b-compose-row input:focus { border-color: var(--b-green); }
.b-compose-row input.is-invalid { border-color: #F97066; animation: bShake .35s; }
@keyframes bShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.b-compose-row button { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--b-green); color: #fff; flex: none; transition: background .2s; }
.b-compose-row button:hover { background: var(--b-green-d); }
.b-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--b-muted); cursor: pointer; }
.b-consent input { margin-top: 2px; accent-color: var(--b-green); width: 16px; height: 16px; flex: none; }
.b-consent.is-invalid { color: #F97066; }

/* ---------- Footer ---------- */
.b-footer { position: relative; padding-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--b-line); overflow: hidden; }
.b-footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--b-line); }
.b-footer-cta h2 { font-family: var(--b-display); font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; max-width: 14ch; }
.b-footer-cta > div { display: flex; flex-wrap: wrap; gap: 10px; }
.b-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 20px; }
.b-footer-logo { display: block; height: 58px; width: auto; }
.b-footer-grid p { color: var(--b-muted); font-size: .9rem; margin-top: 16px; max-width: 36ch; }
.b-footer-grid h4 { font-family: var(--b-display); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted); margin-bottom: 14px; }
.b-footer-grid ul { display: grid; gap: 8px; }
.b-footer-grid a { font-size: .92rem; color: #394254; transition: color .2s; }
.b-footer-grid a:hover { color: var(--b-accent); }
.b-footer-word {
  font-family: var(--b-display); font-weight: 700; font-size: clamp(3.6rem, 16.5vw, 15.5rem); line-height: .8; letter-spacing: -.06em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(14, 19, 34, .08), rgba(14, 19, 34, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 10px 0 -0.08em; user-select: none;
}
.b-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 90px; border-top: 1px solid var(--b-line); font-size: .8rem; color: var(--b-muted); }

/* ---------- Estructura por líneas de negocio ---------- */
.b-hero-solo { grid-template-columns: minmax(0, 900px); }
.b-hero-lines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.b-hero-lines a {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--b-line); font-weight: 600; font-size: .95rem; color: var(--b-text);
  transition: background .25s, border-color .25s, transform .3s var(--b-ease);
}
.b-hero-lines a:hover { background: rgba(63, 182, 122, .08); border-color: rgba(63, 182, 122, .45); transform: translateY(-2px); }
.b-hero-lines b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(63, 182, 122, .12); color: var(--b-accent); font-family: var(--b-display); font-size: .78rem; }

.b-line-tag { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgba(31, 100, 70, .1); color: var(--b-accent); font-size: .74rem; letter-spacing: .04em; }

.b-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.b-sec-cta { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 22px 26px; border-radius: 24px; background: var(--b-card); border: 1px solid var(--b-line); }
.b-sec-cta > div { flex: 1; }
.b-sec-cta strong { font-family: var(--b-display); font-size: 1.1rem; font-weight: 600; }
.b-sec-cta p { color: var(--b-muted); font-size: .92rem; margin-top: 4px; }
.b-sec-cta-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none; background: rgba(63, 182, 122, .12); color: var(--b-accent); }
.b-sec-cta-icon .ic { width: 24px; height: 24px; }
.b-sec-cta-light { background: #fff; border-color: rgba(14, 19, 34, .08); color: #0E1322; }
.b-sec-cta-light p { color: #5B6475; }
.b-sec-cta-light .b-sec-cta-icon { background: rgba(31, 100, 70, .1); color: #1F6446; }

.b-studio-alt { background: linear-gradient(180deg, #EEF3F0, #E2EAE5); }
.b-studio + .b-studio { margin-top: clamp(12px, 1.5vw, 20px); }

/* ---------- Contenido adicional (fuera del requerimiento) ---------- */
.b-extra-divider { padding-top: clamp(64px, 8vw, 104px); }
.b-extra-divider .b-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding-top: 28px; border-top: 1px dashed rgba(14, 19, 34, .18); }
.b-extra-divider p { color: var(--b-muted); font-size: .9rem; }
.b-clima-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.b-clima .b-head { margin-bottom: 0; }
.b-marcas-title { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted); margin-bottom: 14px; }

/* Menú «Adicional» */
.b-more { position: relative; z-index: 2; }
.b-more summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; font-size: .9rem; font-weight: 500; color: var(--b-muted); cursor: pointer; white-space: nowrap; transition: color .25s; }
.b-more summary::-webkit-details-marker { display: none; }
.b-more summary .ic { width: 14px; height: 14px; transition: transform .25s; }
.b-more summary:hover, .b-more[open] summary { color: var(--b-text); }
.b-more[open] summary .ic { transform: rotate(180deg); }
.b-more-panel { position: absolute; right: 0; top: calc(100% + 14px); min-width: 250px; display: grid; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--b-line); box-shadow: 0 24px 60px -20px rgba(14, 19, 34, .3); }
.b-more-note { padding: 6px 10px 8px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--b-accent); }
.b-nav .b-more-panel a { padding: 9px 10px; border-radius: 10px; font-size: .88rem; }
.b-nav .b-more-panel a:hover { background: rgba(14, 19, 34, .05); }
.b-menu-extra { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.b-menu-extra span { width: 100%; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--b-accent); }
.b-menu-extra a { padding: 7px 12px; border-radius: 999px; background: var(--b-card-2); border: 1px solid var(--b-line); font-size: .85rem; color: #394254; }

/* ---------- Responsive ---------- */
/* SG-SST */
.b-sst-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.b-sst-media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(14, 19, 34, .35); }
.b-sst-media img { width: 100%; height: 100%; object-fit: cover; }
.b-sst-score { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); }
.b-sst-score strong { font-family: var(--b-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--b-accent); white-space: nowrap; }
.b-sst-score > span { font-size: .92rem; font-weight: 500; line-height: 1.35; color: var(--b-text); }
.b-sst-lead { margin-top: 14px; font-weight: 600; color: var(--b-accent); }
.b-sst-body .b-sub { margin-top: 16px; }
.b-sst-norms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.b-sst-norms li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--b-line); background: var(--b-card); font-size: .88rem; font-weight: 500; }
.b-sst-norms .ic { color: var(--b-accent); }

@media (max-width: 1240px) {
  .b-nav a { padding: 9px 10px; font-size: .86rem; }
  .b-config-out { grid-template-columns: 1fr; position: static; }
  .b-result { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .b-result .b-gauge, .b-result .b-sizes { grid-column: 1; }
  .b-result .b-rec, .b-result .b-result-actions, .b-result .b-disclaimer { grid-column: 2; }
  .b-result .b-rec { grid-row: 1; margin-top: 0; }
  .b-result .b-result-actions { grid-row: 2 / span 2; align-content: start; }
  .b-result .b-disclaimer { grid-row: 4; }
}
@media (max-width: 1080px) {
  .b-nav { display: none; }
  .b-menu-btn { display: grid; }
  .b-header-actions { margin-left: auto; }
  .b-hero-grid { grid-template-columns: 1fr; }
  .b-thermo { justify-self: center; }
  .b-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-clima-grid { grid-template-columns: 1fr; }
  .b-lines { grid-template-columns: repeat(2, 1fr); }
  .b-line { min-height: 340px; }
  .b-stage { grid-template-columns: 1fr; }
  .b-config-grid { grid-template-columns: 1fr; }
  .b-savings-grid, .b-water-grid, .b-faq-grid, .b-contact-grid { grid-template-columns: 1fr; }
  .b-faq-grid .b-head { position: static; }
  .b-values { grid-template-columns: repeat(2, 1fr); }
  .b-sst-grid { grid-template-columns: 1fr; }
  .b-sst-media { aspect-ratio: 4 / 3; }
  .b-footer-grid { grid-template-columns: 1fr 1fr; }
  .b-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .b-hide-md { display: none; }
  .b-hero { padding-top: 108px; }
  .b-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .b-hero-stats dd { font-size: 1.5rem; }
  .b-hero-stats dt { font-size: .72rem; }
  .b-scroll-cue { display: none; }
  .b-result { display: flex; }
  .b-panels { flex-direction: column; height: auto; }
  .b-panel { flex: none; height: 76px; transition: height .6s var(--b-ease); }
  .b-panel.is-open { height: 380px; }
  .b-panel-tab { inset: 0 auto 0 22px; flex-direction: row; }
  .b-panel-tab b { writing-mode: horizontal-tb; transform: none; }
  .b-stats { grid-template-columns: 1fr 1fr; }
  .b-stats > div:nth-child(3) { border-left: 0; }
  .b-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .b-tl-line { left: 23px; transform: none; }
  .b-tl-step { grid-template-columns: 46px 1fr; gap: 16px; }
  .b-tl-dot { grid-column: 1; }
  .b-tl-card, .b-tl-step:nth-child(odd) .b-tl-card { grid-column: 2; grid-row: 1; text-align: left; transform: translateY(12px); }
  .b-svc { min-height: 0; }
  .b-svc h3 { padding-top: 40px; }
  .b-chat { height: 580px; }
}
@media (max-width: 560px) {
  .b-header-bar { height: 58px; padding-left: 14px; border-radius: 18px; }
  .b-brand-logo { height: 34px; }
  .b-ctas .b-btn { width: 100%; }
  .b-thermo-card { padding: 18px 14px 16px; border-radius: 26px; }
  .b-modes button { padding: 6px 7px; }
  .b-modes button span { font-size: .64rem; }
  .b-round { width: 40px; height: 40px; }
  .b-readouts > div { padding: 10px; }
  .b-lines { grid-template-columns: 1fr; }
  .b-svc-grid { grid-template-columns: 1fr; }
  .b-sec-cta { flex-direction: column; align-items: flex-start; }
  .b-hero-lines a { font-size: .88rem; }
  .b-line { min-height: 0; }
  .b-stage-visual { aspect-ratio: 1 / .95; }
  .b-stage-illus { inset: 6% 6% 24%; }
  .b-stage-actions { flex-direction: column; }
  .b-stage-actions .b-btn { width: 100%; }
  .b-gauge { max-width: 260px; margin-inline: auto; width: 100%; }
  .b-config-controls { padding: 20px; }
  .b-values { grid-template-columns: 1fr; }
  .b-ctrl-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .b-contact-list li { flex-wrap: wrap; }
  .b-mini-link { margin-left: 58px; }
  .b-menu-foot { grid-template-columns: 1fr; }
  .b-footer-cta .b-btn { width: 100%; }
  .b-footer-bottom { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .b-marquee-track { animation: none; }
}
