/* =========================================================
   Air Premium — Prototipo de sitio web
   Paleta derivada del logotipo: verde #1F6446 · azul noche #2B344B
   ========================================================= */

:root {
  /* Marca */
  --green-900: #123D2B;
  --green-700: #1F6446;
  --green-600: #237552;
  --green-500: #2E8B5E;
  --green-400: #3FB67A;
  --green-300: #7DD3A8;
  --green-100: #DDF2E7;
  --green-50:  #EEF8F2;

  --navy-950: #0E1322;
  --navy-900: #141A2C;
  --navy-800: #1D2439;
  --navy-700: #2B344B;
  --navy-600: #3C4661;

  /* Neutros */
  --ink: #141A26;
  --ink-2: #394254;
  --muted: #5E6778;
  --line: #E3E7ED;
  --line-2: #EEF1F5;
  --bg: #FFFFFF;
  --bg-soft: #F5F7F9;
  --wa: #25D366;

  /* Sistema */
  --font-display: "Plus Jakarta Sans", "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;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 10px 30px -12px rgba(16, 24, 48, .18);
  --shadow-lg: 0 30px 60px -20px rgba(14, 19, 34, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-100); color: var(--green-900); }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-950); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.35em; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-sm { padding: .62em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { --b-bg: var(--green-600); box-shadow: 0 10px 24px -10px rgba(35, 117, 82, .7); }
.btn-primary:hover { --b-bg: var(--green-700); box-shadow: 0 16px 30px -12px rgba(35, 117, 82, .75); }
.btn-dark { --b-bg: var(--navy-800); }
.btn-dark:hover { --b-bg: var(--navy-950); }
.btn-light { --b-bg: #fff; --b-fg: var(--green-700); }
.btn-ghost { --b-bg: rgba(255, 255, 255, .06); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { --b-bg: rgba(255, 255, 255, .12); --b-bd: rgba(255, 255, 255, .4); }
.btn-outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn-outline:hover { --b-bd: var(--green-500); --b-fg: var(--green-700); }
.btn-wa { --b-bg: var(--wa); --b-fg: #06331A; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { --b-bg: #1EBE5A; }

.link-btn { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; color: var(--muted); font-weight: 500; margin-inline: auto; padding: 6px 10px; border-radius: 8px; }
.link-btn:hover { color: #B42318; background: #FEF3F2; }

.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); transition: background .2s; }
.icon-btn:hover { background: var(--bg-soft); }

/* ---------- Topbar ---------- */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info, .topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ic { width: 14px; height: 14px; color: var(--green-600); }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--green-700); }
.topbar-social { gap: 4px !important; margin-left: -8px; padding-left: 14px; border-left: 1px solid var(--line); }
.topbar-social a { width: 28px; height: 28px; justify-content: center; border-radius: 8px; }
.topbar-social a:hover { background: rgba(14, 19, 34, .05); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(14, 19, 34, .25); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { height: 50px; width: auto; transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
.brand-light .brand-logo { height: 56px; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a { position: relative; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.is-active { color: var(--green-700); background: var(--green-50); }
/* Menú «Adicional» (contenido fuera del requerimiento) */
.nav-more { position: relative; }
.nav-more summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .2s, background .2s; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary .ic { width: 14px; height: 14px; transition: transform .25s; }
.nav-more summary:hover, .nav-more[open] summary { color: var(--ink); background: var(--bg-soft); }
.nav-more[open] summary .ic { transform: rotate(180deg); }
.nav-more-panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 5; min-width: 250px; display: grid; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.nav-more-note { padding: 6px 14px 8px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.nav .nav-more-panel a { border-radius: 10px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.quote-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: border-color .2s, color .2s;
}
.quote-btn, .header-actions .btn { white-space: nowrap; flex: none; }
.quote-btn:hover { border-color: var(--green-500); color: var(--green-700); }
.badge {
  position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: var(--green-600); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; border: 1.5px solid var(--line); }
.menu-btn .ic { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed; inset: calc(var(--header-h) + 40px) 0 auto 0; z-index: 85;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 8px var(--gutter) 22px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav nav { display: grid; }
.mobile-nav nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; }
.mobile-nav-extra { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mobile-nav-extra span { width: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.mobile-nav-extra a { padding: 7px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .86rem; font-weight: 500; }
.mobile-nav-foot { display: grid; gap: 10px; margin-top: 18px; }
.mobile-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; font-size: .9rem; color: var(--ink-2); }

/* ---------- Tipografía de sección ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-block: 14px 16px; }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); line-height: 1.7; }
.section-head-left .btn { margin-top: 26px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #fff;
  color: var(--ink);
  padding-block: clamp(56px, 8vw, 104px) clamp(80px, 10vw, 128px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.glow-1 { width: 520px; height: 520px; left: -160px; top: 40%; background: radial-gradient(circle, rgba(63, 182, 122, .3), transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.glow-2 { width: 620px; height: 620px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(74, 98, 170, .22), transparent 70%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14, 19, 34, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 19, 34, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(63, 182, 122, .2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(63, 182, 122, 0); } }

.hero h1 { font-size: clamp(2.4rem, 4.9vw, 4.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-block: 22px 22px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green-700) 0%, var(--green-500) 55%, var(--green-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 560px; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-trust li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-trust .ic { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--green-50); color: var(--green-600); }
.hero-trust strong { display: block; font-size: .92rem; font-weight: 600; }
.hero-trust span { display: block; font-size: .8rem; color: var(--muted); }

/* Visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; justify-self: end; width: 100%; }
.hero-rings { position: absolute; inset: -10%; width: 120%; height: 120%; opacity: .75; }
.hero-rings .dg, .cta-rings .dg { fill: var(--green-400); }
.hero-rings .dn { fill: #8EA0C4; }
.ring { transform-origin: 50px 50px; transform-box: view-box; }
.hero-rings .ring-1 { animation: spin 38s linear infinite; }
.hero-rings .ring-2 { animation: spin 58s linear infinite reverse; }
.hero-rings .ring-3 { animation: spin 90s linear infinite; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-photo {
  position: absolute; inset: 11% 9% 7% 11%;
  border-radius: 200px 200px 28px 28px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14, 19, 34, .06);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 19, 34, 0) 50%, rgba(14, 19, 34, .55) 100%); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); color: var(--ink); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgba(14, 19, 34, .28);
  animation: float 7s ease-in-out infinite;
}
.fc-text strong { display: block; font-size: .88rem; font-family: var(--font-display); }
.fc-text span { display: block; font-size: .76rem; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-10px); } }
.fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex: none; }
.fc-icon-alt { background: #EEF1FA; color: var(--navy-700); }
.fc-inverter { left: 0; top: 16%; animation-delay: -2s; }
.fc-stock { right: -2%; bottom: 20%; animation-delay: -4.5s; }

.fc-thermo { left: 4%; bottom: 2%; flex-direction: column; gap: 8px; padding: 18px 18px 14px; width: 180px; }
.dial { width: 120px; height: 120px; transform: rotate(135deg); }
.dial-track, .dial-arc { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 226 302; }
.dial-track { stroke: var(--line-2); }
.dial-arc { stroke: url(#gGreen); stroke-dashoffset: 226; transition: stroke-dashoffset 1.6s var(--ease); }
.dial-center { position: absolute; top: 18px; left: 0; right: 0; height: 120px; display: grid; place-content: center; text-align: center; }
.dial-temp { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--navy-700); }
.dial-unit { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-top: 4px; }
.dial-label { display: block; font-size: .78rem; font-weight: 700; font-family: var(--font-display); color: var(--ink); margin-top: -6px; }
.fc-row { display: flex; gap: 6px; }
.chip-mini { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-weight: 600; font-size: .7rem; }
.chip-mini .ic { width: 12px; height: 12px; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(14, 19, 34, .2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--green-400); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marcas ---------- */
.brands { padding: 36px 0 34px; border-bottom: 1px solid var(--line); background: #fff; }
.brands-title { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; padding-inline: var(--gutter); }
.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); }
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: #A3ACBA; transition: color .2s; white-space: nowrap; }
.marquee-track span:hover { color: var(--navy-700); }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Líneas ---------- */
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.line-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 26px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.line-card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 182, 122, .16), transparent 70%); transition: transform .5s var(--ease);
}
.line-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.line-card:hover::before { transform: scale(1.5); }
.line-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-600), var(--green-700)); color: #fff; box-shadow: 0 12px 24px -12px rgba(31, 100, 70, .8); }
.line-icon .ic { width: 26px; height: 26px; }
.line-card:nth-child(2) .line-icon, .line-card:nth-child(4) .line-icon { background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); box-shadow: 0 12px 24px -12px rgba(29, 36, 57, .8); }
.line-card h3 { font-size: 1.25rem; margin-top: 10px; }
.line-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.line-meta { display: flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--green-700); padding-top: 14px; border-top: 1px dashed var(--line); }
.line-meta .ic { margin-left: auto; transition: transform .3s var(--ease); }
.line-card:hover .line-meta .ic { transform: translate(3px, -3px); }

/* ---------- Catálogo ---------- */
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.catalog-head .section-head { margin-bottom: 0; }
.search {
  display: flex; align-items: center; gap: 10px; width: min(380px, 100%); flex: none;
  height: 52px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(63, 182, 122, .15); }
.search .ic { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: .95rem; min-width: 0; }


.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products-3 { grid-template-columns: repeat(3, 1fr); }
.product {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: cardIn .5s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #EEF2F6 100%);
  border-bottom: 1px solid var(--line-2);
}
.product[data-cat="refrigeracion"] .product-media { background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #EAF1F8 100%); }
.product[data-cat="repuestos"] .product-media { background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F1F0EC 100%); }
.product[data-cat="suministros"] .product-media { background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #EDF5F0 100%); }
.product-media svg { width: 80%; height: auto; margin-top: 18px; transition: transform .5s var(--ease); }
.product:hover .product-media svg { transform: scale(1.05) translateY(-3px); }
.product-media.has-photo { overflow: hidden; background: var(--line-2); }
.product-media .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-media .photo { transform: scale(1.05); }
.product-media.has-photo .product-tag, .product-media.has-photo .product-badge { z-index: 1; }
.product .flow { stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; animation-play-state: paused; }
.product:hover .flow { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.product-tag { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.product-badge { position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--green-600); color: #fff; }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 20px; flex: 1; }
.product-body h3 { font-size: 1.06rem; }
.product-range { font-size: .84rem; font-weight: 600; color: var(--green-700); }
.product-body p { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.product-specs li { font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; }
.add-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px;
  font-size: .88rem; font-weight: 600; background: var(--navy-800); color: #fff; transition: background .2s, transform .2s;
}
.add-btn:hover { background: var(--green-600); }
.add-btn.is-added { background: var(--green-50); color: var(--green-700); box-shadow: inset 0 0 0 1.5px var(--green-300); }
.wa-mini { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--line); color: #1EA952; transition: border-color .2s, background .2s; }
.wa-mini:hover { border-color: var(--wa); background: #EAFBF1; }
.products-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.products-empty a { color: var(--green-700); font-weight: 600; text-decoration: underline; }

.catalog-note {
  display: flex; align-items: center; gap: 20px; margin-top: 36px; padding: 22px 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
}
.catalog-note-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); flex: none; }
.catalog-note-icon .ic { width: 24px; height: 24px; }
.catalog-note strong { font-family: var(--font-display); font-size: 1.05rem; }
.catalog-note p { color: var(--muted); font-size: .92rem; }
.catalog-note > div { flex: 1; }

/* ---------- Calculadora ---------- */
.section-calc { overflow: hidden; isolation: isolate; }
.calc-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(40% 60% at 90% 30%, rgba(63, 182, 122, .1), transparent 70%),
  radial-gradient(40% 60% at 0% 100%, rgba(74, 98, 170, .07), transparent 70%); }
.calc { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.calc-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-block: 14px 16px; }
.calc-form { margin-top: 36px; display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 10px; }
.field label, .field .label { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field label .ic, .field .label .ic { color: var(--green-600); }
.field-top { display: flex; justify-content: space-between; align-items: center; }
.field-top output { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--green-700); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--green-500) var(--p, 10%), rgba(14, 19, 34, .1) var(--p, 10%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--green-500); box-shadow: 0 4px 14px rgba(14, 19, 34, .25); cursor: grab; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--green-500); cursor: grab; }

.select { position: relative; }
.select select {
  -webkit-appearance: none; appearance: none; width: 100%; height: 52px; padding: 0 44px 0 16px; border-radius: 14px;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-size: .93rem; cursor: pointer;
  transition: border-color .2s;
}
.select select:focus { outline: none; border-color: var(--green-400); }
.select select option { color: var(--ink); }
.select .ic { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

.stepper { display: flex; align-items: center; height: 52px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); overflow: hidden; }
.stepper button { width: 52px; height: 100%; display: grid; place-items: center; color: var(--ink); transition: background .2s; }
.stepper button:hover { background: var(--bg-soft); }
.stepper input { flex: 1; min-width: 0; height: 100%; text-align: center; background: transparent; border: 0; color: var(--ink); font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); }
.segmented button { height: 40px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .25s var(--ease); }
.segmented button.is-active { background: var(--green-600); color: #fff; box-shadow: 0 6px 16px -8px rgba(35, 117, 82, .7); }

.calc-result {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 32px; border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 14px;
}
.calc-result-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--green-700); }
.calc-btu { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); }
.calc-btu span { font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.calc-btu small { font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.calc-meter { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.calc-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green-500), var(--green-300)); transition: width .8s var(--ease); }
.calc-specs { margin: 8px 0 8px; display: grid; }
.calc-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.calc-specs dt { color: var(--muted); font-size: .9rem; }
.calc-specs dd { margin: 0; font-weight: 700; text-align: right; font-size: .95rem; }
.calc-disclaimer { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--line-2); letter-spacing: -.04em; transition: color .35s; }
.service:hover .service-num { color: var(--green-100); }
.service-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); margin-bottom: 22px; transition: background .35s, color .35s; }
.service:hover .service-icon { background: var(--green-600); color: #fff; }
.service-icon .ic { width: 24px; height: 24px; }
.service h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .94rem; }
.services-grid-4 { grid-template-columns: repeat(4, 1fr); }
.services-grid-4 .service { padding: 30px 24px; }

.feature {
  margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.feature-media { position: relative; min-height: 420px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media figcaption { position: absolute; left: 22px; bottom: 22px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--green-700); font-weight: 700; font-size: .85rem; }
.feature-body { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.feature-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.feature-body p { color: var(--muted); }
.checklist { display: grid; gap: 12px; margin-block: 4px 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.checklist .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green-700); margin-top: 1px; stroke-width: 3; }

/* SG-SST */
.feature-sst { margin-top: 0; }
.feature-sst .feature-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.sst-score { position: absolute; left: 22px; bottom: 22px; z-index: 1; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 44px); padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); }
.sst-score strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--green-700); white-space: nowrap; }
.sst-score span { max-width: 22ch; font-size: .85rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.sst-norms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.sst-norms li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-size: .85rem; font-weight: 600; }

/* ---------- Separador del contenido adicional ---------- */
.extra-divider { padding-top: clamp(56px, 7vw, 88px); }
.extra-divider .container { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding-top: 26px; border-top: 1px dashed var(--line); }
.extra-divider p { color: var(--muted); font-size: .92rem; }

/* ---------- Sectores (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--navy-900); }
.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 4; }
.tile-wide .tile-body { right: auto; max-width: 560px; }
.tile-cta { position: absolute; right: 22px; bottom: 22px; }
.tile-wide::after { background: linear-gradient(90deg, rgba(14, 19, 34, .9) 0%, rgba(14, 19, 34, .55) 55%, rgba(14, 19, 34, .25) 100%); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 19, 34, .05) 20%, rgba(14, 19, 34, .88) 100%); transition: background .4s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgba(31, 100, 70, .15) 0%, rgba(14, 19, 34, .92) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.tile-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); margin-bottom: 12px; }
.tile h3 { color: #fff; font-size: 1.2rem; }
.tile-lg h3 { font-size: 1.7rem; }
.tile p { font-size: .88rem; color: rgba(255, 255, 255, .75); margin-top: 4px; max-width: 420px; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.about-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 140px; height: 140px; border-radius: 28px; background-image: radial-gradient(var(--green-400) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .45; z-index: -1; }
.about-badge {
  position: absolute; right: -22px; bottom: 36px; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.about-badge img { height: 52px; width: auto; flex: none; }
.about-badge strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-700); }
.about-badge span { display: block; font-size: .82rem; color: var(--muted); }
.about-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-block: 14px 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 36px; }
.value { display: flex; gap: 14px; }
.value-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); flex: none; }
.value h4 { font-size: 1.02rem; margin-bottom: 4px; }
.value p { font-size: .9rem; color: var(--muted); }

.stats { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--green-700), var(--green-900)); color: #fff; overflow: hidden; position: relative; }
.stats::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.stat { padding: 36px 30px; display: grid; gap: 6px; position: relative; z-index: 1; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1; }
.stat-label { font-size: .9rem; color: rgba(255, 255, 255, .75); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--green-300) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  position: relative; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--green-700);
  background: #fff; border: 2px solid var(--green-100); box-shadow: 0 0 0 8px var(--bg-soft);
  transition: all .35s var(--ease);
}
.step:hover .step-num { background: var(--green-600); color: #fff; border-color: var(--green-600); transform: scale(1.06); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--green-300); box-shadow: 0 16px 36px -24px rgba(31, 100, 70, .45); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-2); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--green-600); color: #fff; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.faq details p a { color: var(--green-700); font-weight: 600; text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(72px, 10vw, 120px); }
.cta-inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--green-600) 0%, var(--green-800, #1A5A3E) 55%, var(--navy-800) 130%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-inner p { color: rgba(255, 255, 255, .8); margin-top: 8px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-rings { position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; z-index: -1; opacity: .16; }
.cta-rings .dn { fill: #fff; }
.cta-rings .dg { fill: #fff; }
.cta-rings .ring-1 { animation: spin 40s linear infinite; }
.cta-rings .ring-2 { animation: spin 60s linear infinite reverse; }
.cta-rings .ring-3 { animation: spin 80s linear infinite; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact > *, .about > *, .calc > *, .faq-wrap > *, .hero-inner > * { min-width: 0; }
.contact-list strong { overflow-wrap: anywhere; }
.contact-list { display: grid; gap: 4px; margin-bottom: 24px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.contact-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); flex: none; }
.contact-list div > span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-list strong { font-weight: 600; font-size: .98rem; }
.contact-list a:hover strong { color: var(--green-700); }
.contact-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.contact-social-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-right: 6px; }
.social-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); transition: border-color .2s, transform .2s; }
.social-pill:hover { transform: translateY(-2px); border-color: var(--green-500); }
.social-pill .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; color: #fff; }
.social-fb .ic { background: #1877F2; }
.social-ig .ic { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social-pill span { font-size: .84rem; color: var(--muted); line-height: 1.25; }
.social-pill strong { display: block; font-size: .88rem; color: var(--ink); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

.contact-form {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.contact-form h3 { font-size: 1.5rem; }
.form-sub { color: var(--muted); margin-top: -10px; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.input { position: relative; }
.input input, .input textarea {
  width: 100%; height: 56px; padding: 22px 16px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.input textarea { height: auto; min-height: 110px; resize: vertical; padding-top: 26px; line-height: 1.5; }
.input label { position: absolute; left: 17px; top: 18px; font-size: .93rem; color: var(--muted); pointer-events: none; transition: all .18s var(--ease); }
.input input:focus, .input textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(63, 182, 122, .14); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label { top: 8px; font-size: .72rem; font-weight: 600; color: var(--green-700); }
.input.is-invalid input { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.input-sm textarea { min-height: 72px; }

.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-size: .88rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 500; transition: all .2s; }
.topics label:hover span { border-color: var(--navy-700); }
.topics input:checked + span { background: var(--green-50); border-color: var(--green-500); color: var(--green-700); font-weight: 600; }
.topics input:focus-visible + span { outline: 3px solid var(--green-400); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green-600); flex: none; }
.consent.is-invalid span { color: #C4282E; }
.form-alt { text-align: center; font-size: .86rem; color: var(--muted); }
.form-alt a { color: var(--green-700); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); color: var(--muted); padding-top: clamp(56px, 8vw, 88px); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 22px; max-width: 340px; line-height: 1.7; }
.footer h4 { font-size: 1rem; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--green-700); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: var(--green-600); margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); font-size: .82rem; }
.proto-tag { display: inline-flex; align-items: center; gap: 8px; }
.proto-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); }

/* ---------- Drawer de cotización ---------- */
.overlay { position: fixed; inset: 0; z-index: 110; background: rgba(11, 15, 27, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column; box-shadow: -30px 0 60px -20px rgba(14, 19, 34, .35);
  transform: translateX(105%); transition: transform .4s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.35rem; }
.drawer-head p { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.quote-list { display: grid; }
.quote-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); animation: cardIn .35s var(--ease) both; }
.quote-thumb { width: 64px; height: 56px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; }
.quote-thumb svg { width: 90%; }
.quote-thumb .photo { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.quote-info strong { display: block; font-size: .93rem; font-family: var(--font-display); line-height: 1.3; }
.quote-info span { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 2px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); }
.qty button:hover { border-color: var(--green-500); color: var(--green-700); }
.qty button .ic { width: 14px; height: 14px; }
.qty output { min-width: 30px; text-align: center; font-weight: 700; font-size: .9rem; }
.remove-btn { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); align-self: start; }
.remove-btn:hover { background: #FEF3F2; color: #B42318; }
.remove-btn .ic { width: 16px; height: 16px; }
.quote-empty { text-align: center; padding: 56px 12px; display: grid; justify-items: center; gap: 8px; }
.quote-empty-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); margin-bottom: 8px; }
.quote-empty-icon .ic { width: 32px; height: 32px; }
.quote-empty strong { font-family: var(--font-display); font-size: 1.1rem; }
.quote-empty p { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: #FBFCFD; }
.drawer-foot[hidden] { display: none; }

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

/* ---------- Redes sociales flotantes (vista A) ---------- */
.social-float { position: fixed; right: 29px; bottom: 96px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.social-float a {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 22px -8px rgba(16, 24, 48, .45); transition: transform .25s var(--ease);
}
.social-float a:hover { transform: scale(1.1); }
.social-float .ic { width: 22px; height: 22px; }
.social-float-fb { background: #1877F2; }
.social-float-ig { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social-float-tip { position: absolute; right: 58px; white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: .84rem; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: all .25s var(--ease); pointer-events: none; }
.social-float a:hover .social-float-tip, .social-float a:focus-visible .social-float-tip { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 130; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: var(--navy-900); color: #fff; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg);
  transition: all .35s var(--ease); max-width: calc(100% - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { color: var(--green-400); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .quote-btn-label { display: none; }
  .quote-btn { width: 44px; padding: 0; justify-content: center; }
}

@media (max-width: 1090px) {
  .header-actions .hide-md { display: none; }
}

@media (max-width: 1180px) {
  .nav a { padding: 8px 10px; font-size: .88rem; }
  .nav-more summary { padding: 8px 10px; font-size: .88rem; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1020px) {
  .nav, .hide-md { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 520px; margin-top: 12px; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 300px; }
  .feature-media::after { background: linear-gradient(180deg, rgba(14, 19, 34, 0) 50%, rgba(14, 19, 34, .85)); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .tile-wide { grid-column: span 2; }
  .tile-cta { position: static; margin: 0 0 22px 22px; }
  .tile-wide { display: flex; flex-direction: column; justify-content: flex-end; }
  .tile-wide .tile-body { position: relative; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .about-badge { right: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
  .contact { grid-template-columns: 1fr; }
  .contact-form { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-head { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
}

@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .hero-trust { grid-template-columns: 1fr; }
  .hero-trust li { flex-direction: row; align-items: center; }
  .topbar-info span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-body { padding: 16px; }
  .product-body p { display: none; }
  .product-specs li:nth-child(n+3) { display: none; }
  .catalog-note { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .brand-logo { height: 40px; }
  .hero { padding-top: 40px; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: 16px; }
  .hero-visual { aspect-ratio: 1 / 1.12; }
  .fc-thermo { width: 150px; padding: 14px 14px 12px; }
  .dial { width: 96px; height: 96px; }
  .dial-center { top: 14px; height: 96px; }
  .dial-temp { font-size: 1.7rem; }
  .fc-inverter { top: 6%; left: -2%; }
  .fc-stock { right: -2%; bottom: 26%; }
  .float-card { padding: 10px 12px 10px 10px; gap: 10px; }
  .fc-text strong { font-size: .8rem; }
  .fc-text span { font-size: .7rem; }
  .fc-icon { width: 34px; height: 34px; }
  .scroll-cue { display: none; }
  .lines-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; gap: 12px; }
  .product { display: grid; grid-template-columns: 116px 1fr; border-radius: 18px; }
  .product-media { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line-2); padding: 8px; }
  .product-media svg { width: 100%; margin-top: 10px; }
  .product-tag { display: none; }
  .product-badge { top: 8px; left: 8px; right: auto; font-size: .6rem; padding: 3px 7px; }
  .product-body { padding: 14px 14px 14px 16px; gap: 3px; }
  .product-body h3 { font-size: .98rem; }
  .product-range { font-size: .78rem; }
  .product-specs { display: none; }
  .product-foot { padding-top: 10px; }
  .add-btn { height: 38px; font-size: .8rem; border-radius: 10px; }
  .wa-mini { width: 38px; height: 38px; border-radius: 10px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(240px, auto); }
  .tile-lg, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-wide { grid-row: span 1; min-height: 300px; }
  .tile-lg h3 { font-size: 1.3rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .social-float { right: 22px; bottom: 84px; gap: 8px; }
  .social-float a { width: 42px; height: 42px; }
  .social-float .ic { width: 20px; height: 20px; }
  .about-badge { right: 12px; bottom: 16px; padding: 12px 16px 12px 12px; }
  .about-badge img { height: 40px; }
  .calc-result { padding: 24px; }
}

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