/* =============================================
   Nubi Electronivel Solar — Estilos principales
   ============================================= */

:root {
  --navy: #002147;
  --navy-mid: #0a2d5c;
  --navy-light: #1a3a5c;
  --navy-banner: #001a38;
  --blue: #0074D9;
  --cyan: #00AEEF;
  --cyan-light: #56B4D3;
  --cyan-bright: #4dc4f0;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --green: #7ed321;
  --green-status: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;

  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 31, 63, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 31, 63, 0.15);
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-mid);
  transition: color var(--transition);
}

.nav__menu a:hover {
  color: var(--cyan);
}

.nav__cta {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.4);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--full {
  width: 100%;
}

/* ---- Hero ---- */
.hero--volante {
  position: relative;
  padding: 110px 0 0;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 55%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(240, 248, 252, 0.3) 50%, rgba(255, 255, 255, 0.45) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 32px;
}

.hero__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__logo {
  height: clamp(100px, 14vw, 150px);
  width: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 16px rgba(0, 33, 71, 0.12));
}

.hero--volante h1 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #001533;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(255, 255, 255, 0.85),
    0 4px 16px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(0, 33, 71, 0.25);
}

.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: #1a3050;
  line-height: 1.65;
  font-weight: 500;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 2px 10px rgba(255, 255, 255, 0.8),
    0 1px 4px rgba(0, 33, 71, 0.2);
}

.hero__lead strong {
  color: #0066b8;
  font-weight: 700;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(255, 255, 255, 0.75),
    0 1px 4px rgba(0, 33, 71, 0.2);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.hero__actions .btn--primary {
  min-width: 160px;
  padding: 15px 32px;
}

.hero__actions .btn--outline {
  background: #ffffff;
  color: #001533;
  border: 2px solid #001533;
  font-weight: 700;
  min-width: 160px;
  padding: 15px 32px;
  box-shadow: 0 4px 16px rgba(0, 33, 71, 0.12);
}

.hero__actions .btn--outline:hover {
  background: #001533;
  color: #ffffff;
  border-color: #001533;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 33, 71, 0.2);
}

/* Sección producto con imagen de fondo */
.section--product {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}

.product-showcase {
  position: relative;
  z-index: 1;
}

.product-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.product-showcase__bg-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 92%;
  width: auto;
  max-width: 58%;
  object-fit: contain;
}

.product-showcase__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 22%, rgba(255, 255, 255, 0.45) 38%, rgba(255, 255, 255, 0.08) 52%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.3) 100%);
  z-index: 0;
}

.section--product .product-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 33, 71, 0.08);
}

.section--product .product-card--highlight {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 28px rgba(0, 174, 239, 0.15);
}

/* Características estilo volante (5 iconos) */
.volante-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 32px 0;
  width: 100%;
  border-top: 1px solid rgba(0, 33, 71, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.volante-features__item {
  text-align: center;
}

.volante-features__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.volante-features__item:hover .volante-features__icon {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 33, 71, 0.2);
}

.volante-features__icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.volante-features__item p {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

/* Banner CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-banner) 0%, var(--navy) 100%);
  padding: 28px 0;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.cta-banner__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-banner__icon svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.cta-banner p {
  color: var(--white);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ---- Sections ---- */
.section {
  padding: 96px 0;
}

.section--dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.section--alt {
  background: var(--gray-50);
}

.section--funcionamiento {
  background: var(--white);
}

.section__header--funcionamiento .section__label {
  color: var(--cyan);
}

.section__header--funcionamiento h2 {
  color: var(--navy);
}

.section__header--funcionamiento p {
  color: var(--navy-mid);
}

.funcionamiento-img-wrap {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.funcionamiento-img {
  width: 100%;
  height: auto;
  display: block;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__header.section__header--product {
  text-align: left;
  max-width: 400px;
  margin: 0 0 40px;
}

.section__header--light .section__label,
.section__header--light h2,
.section__header--light p {
  color: var(--white);
}

.section__header--light h2 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.section__header--light p {
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section__header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* ---- Product grid ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-grid.product-grid--stacked {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0;
  grid-template-columns: unset;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card--highlight {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), var(--shadow);
}

.product-card__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 174, 239, 0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.product-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.product-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.product-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ---- Flow ---- */
.flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.flow__step {
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
}

.flow__icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 174, 239, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.flow__icon svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.flow__step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow__step p {
  font-size: 0.82rem;
  opacity: 0.7;
  line-height: 1.5;
}

.flow__arrow {
  font-size: 1.5rem;
  color: var(--cyan);
  opacity: 0.5;
  align-self: center;
  padding-top: 12px;
}

/* ---- System diagram ---- */
.system-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tank {
  width: 100px;
  height: 120px;
  border: 3px solid rgba(0, 174, 239, 0.4);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.2);
}

.tank__water {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--level, 50%);
  background: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 100%);
  transition: height 2s ease;
}

.tank__water--low {
  background: linear-gradient(180deg, var(--orange) 0%, #d97706 100%);
}

.tank__label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 10px;
  opacity: 0.85;
}

.tank__sensor {
  display: block;
  text-align: center;
  font-size: 0.65rem;
  opacity: 0.55;
  margin-top: 2px;
}

.pipe-line {
  width: 60px;
  height: 4px;
  background: var(--cyan);
  opacity: 0.5;
  border-radius: 2px;
}

.pipe-line--vertical {
  width: 4px;
  height: 40px;
  margin: 0 auto;
}

.pump-icon {
  text-align: center;
  margin-top: 8px;
}

.pump-icon svg {
  width: 28px;
  height: 28px;
  color: var(--cyan);
  margin: 0 auto;
}

.pump-icon span {
  display: block;
  font-size: 0.65rem;
  opacity: 0.6;
  margin-top: 4px;
}

.controller-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  width: 140px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.controller-box__logo {
  height: 24px;
  width: auto;
  margin: 0 auto 8px;
}

.gauge-demo {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

.gauge-demo__svg {
  width: 100%;
  height: 100%;
}

.gauge-demo__ring {
  transition: stroke-dashoffset 2s ease, stroke 0.5s ease;
}

.gauge-demo__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-demo__percent {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.gauge-demo__unit {
  font-size: 0.55rem;
  color: var(--gray-400);
  text-transform: uppercase;
}

.gauge-demo__cm {
  font-size: 0.6rem;
  color: var(--cyan);
  font-weight: 600;
}

.controller-box__status {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.controller-box__status--ok {
  color: var(--green);
}

.system-diagram__label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 10px;
  opacity: 0.85;
}

/* ---- Features grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card__icon--blue { background: rgba(0, 116, 217, 0.1); color: var(--blue); }
.feature-card__icon--cyan { background: rgba(0, 174, 239, 0.1); color: var(--cyan); }
.feature-card__icon--navy { background: rgba(0, 31, 63, 0.08); color: var(--navy); }
.feature-card__icon--green { background: rgba(34, 197, 94, 0.1); color: var(--green); }
.feature-card__icon--orange { background: rgba(245, 158, 11, 0.1); color: var(--orange); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ---- Config cards ---- */
.configuracion-img-wrap {
  max-width: 1100px;
  margin: 0 auto 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.configuracion-img {
  width: 100%;
  height: auto;
  display: block;
}

.config-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.config-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.config-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.config-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 174, 239, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.config-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.config-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.config-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ---- Telegram ---- */
.telegram-section {
  background: linear-gradient(135deg, #e8f4fc 0%, var(--gray-50) 100%);
}

.telegram-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.telegram-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.telegram-text > p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.telegram-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.telegram-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.telegram-chat {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  margin: 0 auto;
}

.telegram-chat__header {
  background: #0088cc;
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.telegram-chat__online {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

.telegram-chat__messages {
  padding: 16px;
  background: #e8ecf0;
  min-height: 280px;
}

.telegram-msg {
  background: var(--white);
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  max-width: 95%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.telegram-msg p {
  font-size: 0.82rem;
  color: var(--gray-800);
  line-height: 1.45;
}

.telegram-msg span {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.telegram-msg--notice {
  background: #fff8e6;
  border-left: 3px solid var(--orange);
}

.telegram-msg--notice p {
  font-weight: 600;
  color: #92400e;
}

.telegram-msg--status {
  padding: 12px 14px;
}

.telegram-msg__title {
  font-size: 0.84rem !important;
  font-weight: 700;
  color: var(--navy) !important;
  margin-bottom: 8px;
}

.telegram-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.telegram-status-list li {
  font-size: 0.76rem;
  color: var(--gray-800);
  line-height: 1.55;
  margin-bottom: 2px;
}

.telegram-status-list li span {
  display: inline;
  font-weight: 600;
  color: var(--navy-mid);
  text-align: left;
  font-size: 0.76rem;
  margin-top: 0;
}

.telegram-msg--system {
  background: #dcf8c6;
  border-radius: 12px 0 12px 12px;
  margin-left: auto;
}

.telegram-msg--alert {
  background: #fff3cd;
  border-left: 3px solid var(--orange);
}

.telegram-chat__keyboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 14px;
  background: #e8ecf0;
  border-top: 1px solid var(--gray-200);
}

.telegram-chat__keyboard-row {
  display: flex;
  gap: 6px;
}

.telegram-chat__key {
  flex: 1;
  padding: 9px 8px;
  border: none;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: default;
  background: rgba(255, 255, 255, 0.95);
  color: #0088cc;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-family: var(--font);
}

.telegram-chat__actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.telegram-chat__actions button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: default;
  background: var(--cyan);
  color: var(--white);
}

.telegram-chat__btn-off {
  background: var(--gray-200) !important;
  color: var(--gray-600) !important;
}

/* ---- Specs ---- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.specs-table {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs-table h3 {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
}

.specs-table table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 12px 20px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
}

.specs-table td:first-child {
  color: var(--gray-600);
  width: 45%;
}

.specs-table td:last-child {
  color: var(--navy);
  font-weight: 500;
}

/* ---- Install ---- */
.section__header--install .section__label,
.section__header--install h2 {
  color: var(--green);
}

.section__header--install h2 {
  text-shadow: none;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.install-step {
  text-align: center;
  padding: 24px 16px;
}

.install-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--cyan);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}

.install-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.install-step p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info__logo {
  height: 56px;
  width: auto;
  margin-bottom: 24px;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--blue);
}

.contact-link svg {
  width: 20px;
  height: 20px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.contact-address svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}

.contact-form__alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.45;
}

.contact-form__alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
}

.contact-form__alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.contact-form__note {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 12px;
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  background: var(--navy-banner);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
  overflow: hidden;
}

.footer__water {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 174, 239, 0.15) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%2300AEEF' fill-opacity='0.08' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E") bottom center / cover no-repeat;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer__logo {
  height: 44px;
  width: auto;
  opacity: 0.95;
}

.footer__tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cyan-light);
  max-width: 480px;
}

.footer__address {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  line-height: 1.5;
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer__links {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.footer__links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--cyan);
}

/* ---- WhatsApp flotante ---- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .volante-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .config-cards,
  .telegram-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .config-cards {
    gap: 20px;
  }

  .product-grid:not(.product-grid--stacked),
  .features-grid,
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section--product {
    min-height: 560px;
  }

  .product-showcase__bg-img {
    height: 75%;
    max-width: 50%;
    top: auto;
    bottom: 0;
    transform: none;
  }

  .install-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-diagram {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .system-diagram__pipe,
  .flow__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero--volante {
    padding: 88px 0 0;
    min-height: 75vh;
  }

  .hero__logo {
    height: 90px;
  }

  .hero__actions .btn--primary,
  .hero__actions .btn--outline {
    width: 100%;
    max-width: 280px;
  }

  .volante-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cta-banner__inner {
    flex-direction: column;
    gap: 12px;
  }

  .config-cards,
  .product-grid:not(.product-grid--stacked),
  .features-grid,
  .specs-grid,
  .install-steps {
    grid-template-columns: 1fr;
  }

  .section--product {
    min-height: auto;
    padding-bottom: 72px;
  }

  .product-showcase__bg-img {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
    height: auto;
    width: 100%;
    max-width: 100%;
    opacity: 0.35;
  }

  .product-showcase__overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(255, 255, 255, 0.75) 100%);
  }

  .section__header.section__header--product {
    max-width: 100%;
    text-align: left;
    margin: 0 0 28px;
  }

  .product-grid--stacked {
    max-width: none;
  }

  .flow {
    flex-direction: column;
    align-items: center;
  }

  .flow__step {
    max-width: 100%;
  }

  .section {
    padding: 64px 0;
  }
}
