/* =========================================================
   CAPITAL ELECTRIC — Stylesheet
   Industrial · venezolano · mobile-first
   ========================================================= */

:root {
  --orange: #E8550A;
  --orange-light: #FF7A3D;
  --orange-glow: rgba(232, 85, 10, 0.35);
  --black: #0A0A0A;
  --black-soft: #141414;
  --black-line: #1f1f1f;
  --white: #FFFFFF;
  --gray-50: #F5F5F5;
  --gray-100: #ECECEC;
  --gray-300: #BFBFBF;
  --gray-500: #6E6E6E;
  --gray-700: #2A2A2A;
  --wa-green: #25D366;

  --f-display: "Barlow Condensed", "Oswald", "Bebas Neue", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --pad-x: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --radius-lg: 12px;
  --ticker-h: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* =========================================================
   TICKER BCV (indicador económico superior)
   ========================================================= */
.ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 40s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ticker__item:not(.ticker__item--muted)::after {
  content: "";
  position: relative;
  left: 26px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange);
}
.ticker__lbl { color: var(--gray-300); font-weight: 500; }
.ticker__val {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.ticker__cur { color: var(--orange); font-weight: 700; }
.ticker__item--muted { color: var(--gray-300); font-weight: 500; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker { justify-content: center; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: var(--ticker-h); left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px -12px rgba(0,0,0,0.15);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
}
.nav__logo-img {
  height: 44px;
  width: auto;
  flex: none;
  display: block;
  transition: height 0.25s ease;
}
@media (min-width: 880px) {
  .nav__logo-img { height: 54px; }
}
/* Encoge al hacer scroll */
.nav.is-scrolled .nav__inner { padding-block: 5px; }
.nav.is-scrolled .nav__logo-img { height: 38px; }
@media (min-width: 880px) {
  .nav.is-scrolled .nav__logo-img { height: 44px; }
}
.nav__rif {
  display: none;
  font-size: 10px;
  color: var(--gray-500);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-left: 14px;
  margin-left: 4px;
  border-left: 1px solid rgba(0,0,0,0.12);
  line-height: 1.2;
  font-weight: 600;
}
/* RIF oculto en el header: ya aparece en contacto y footer */
.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  white-space: nowrap;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--orange); }
.nav__cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav__cta:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--black);
  margin: 0 auto;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu open — top se calcula por JS (--menu-top = ticker + nav) */
.nav__links.is-open {
  display: flex;
  position: fixed;
  top: var(--menu-top, 60px); left: 0; right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 20px var(--pad-x) 32px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  max-height: calc(100vh - var(--menu-top, 60px));
  overflow-y: auto;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.15);
}
.nav__links.is-open a {
  padding: 18px 4px;
  font-size: 18px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gray-100);
  color: var(--black);
}
.nav__links.is-open .nav__cta {
  margin-top: 16px;
  justify-content: center;
  padding: 16px;
  border-bottom: none;
  font-size: 14px !important;
}

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__inner { padding-block: 11px; }
  .nav.is-scrolled .nav__inner { padding-block: 7px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  padding: 120px var(--pad-x) 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle at center, var(--orange-glow), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray-300);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,85,10,0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,85,10,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(232,85,10,0.05); }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero__title-accent {
  color: var(--orange);
  font-style: italic;
  position: relative;
  display: inline-block;
}
.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.08em;
  background: var(--orange);
  opacity: 0.3;
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--gray-300);
  max-width: 540px;
  margin: 0 0 40px;
  line-height: 1.6;
}
.hero__sub strong { color: var(--white); font-weight: 600; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 600px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__stat-num {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: 0.01em;
}
.hero__stat-num span { font-size: 0.55em; color: var(--gray-300); }
.hero__stat-lbl {
  font-size: 11px;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray-500);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scroll-down 2.4s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { top: -100%; }
  100% { top: 100%; }
}
@media (min-width: 880px) {
  .hero__scroll { display: flex; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 24px -8px rgba(232,85,10,0.6);
}
.btn--primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px -8px rgba(232,85,10,0.8);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn--xl {
  padding: 22px 40px;
  font-size: 17px;
  border-radius: 6px;
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--light { background: var(--white); color: var(--black); }
.section--dark { background: var(--black); color: var(--white); }
.section--cta {
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 50vmax; height: 50vmax;
  background: radial-gradient(circle, rgba(232,85,10,0.08), transparent 70%);
  pointer-events: none;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section__kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section__kicker span {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}
.section__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.section__title--light { color: var(--white); }
.section__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--gray-500);
  max-width: 560px;
  margin: 0;
}
.section--dark .section__lead { color: var(--gray-300); }

/* =========================================================
   NOSOTROS
   ========================================================= */
.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.nosotros__text .lead {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--black);
}
.nosotros__text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}
.nosotros__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.point {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--gray-50);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: transform 0.25s ease, background 0.25s ease;
}
.point:hover { transform: translateX(4px); background: var(--gray-100); }
.point__ico {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  background: var(--black);
  color: var(--orange);
  border-radius: var(--radius);
}
.point__ico svg { width: 24px; height: 24px; }
.point__title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 4px;
}
.point__desc { font-size: 14px; color: var(--gray-500); }

@media (min-width: 880px) {
  .nosotros__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
  }
}

/* =========================================================
   CATEGORÍAS
   ========================================================= */
.cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--black-line);
  border: 1px solid var(--black-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cats { grid-template-columns: repeat(3, 1fr); } }

.cat {
  position: relative;
  padding: 40px 32px 32px;
  background: var(--black-soft);
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.cat:hover {
  background: #181818;
}
.cat:hover .cat__ico {
  color: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}
.cat:hover .cat__num { opacity: 0.7; }
.cat:hover .cat__link { gap: 12px; color: var(--orange-light); }

.cat__ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  transition: all 0.3s ease;
}
.cat__ico svg { width: 28px; height: 28px; }
.cat__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  font-weight: 700;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.cat__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--white);
}
.cat__desc {
  margin: 0;
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.6;
  flex: 1;
}
.cat__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.25s ease, color 0.25s ease;
  margin-top: auto;
}

/* =========================================================
   POR QUÉ ELEGIRNOS
   ========================================================= */
.why {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.why__item {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--black);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: border-top-color 0.3s ease, transform 0.3s ease;
}
.why__item:hover {
  border-top-color: var(--orange);
  transform: translateY(-4px);
}
.why__num {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.why__ico {
  width: 48px; height: 48px;
  color: var(--orange);
  margin-bottom: 20px;
}
.why__ico svg { width: 100%; height: 100%; }
.why__title {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  line-height: 1.05;
  text-transform: uppercase;
}
.why__desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   CONTACTO
   ========================================================= */
.cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: stretch;
  position: relative;
}
@media (min-width: 880px) {
  .cta { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
}

.cta__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.cta__title-accent { color: var(--orange); font-style: italic; }
.cta__sub {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--gray-500);
  margin: 0 0 36px;
  line-height: 1.6;
}

.cta__info {
  list-style: none;
  padding: 32px;
  margin: 0;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 20px;
}
.cta__info li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--black-line);
}
.cta__info li:last-child { border-bottom: none; padding-bottom: 0; }
.cta__info-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.cta__info a {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
  word-break: break-word;
}
.cta__info a:hover { color: var(--orange-light); }
.cta__info span:not(.cta__info-lbl) {
  font-size: 16px;
  color: var(--gray-300);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
  border-top: 1px solid var(--black-line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 880px) {
  .footer__inner {
    grid-template-columns: 1.4fr 1fr auto;
    gap: 48px;
    align-items: center;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__logo-img {
  height: 140px;
  width: auto;
  display: block;
}
.footer__tag {
  font-size: 12px;
  color: var(--gray-300);
  letter-spacing: 0.02em;
}
.footer__rif {
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__nav a {
  font-size: 13px;
  color: var(--gray-300);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.footer__nav a:hover { color: var(--orange); }
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--black-line);
  border-radius: var(--radius);
  color: var(--gray-300);
  transition: all 0.2s ease;
}
.footer__social a:hover {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
}
.footer__copy {
  grid-column: 1 / -1;
  padding-top: 32px;
  margin-top: 0;
  border-top: 1px solid var(--black-line);
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  text-align: center;
}
@media (min-width: 880px) {
  .footer__copy { text-align: left; }
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px -8px rgba(37, 211, 102, 0.8), 0 6px 16px rgba(0,0,0,0.25);
}
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--wa-green);
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-float__txt {
  display: none;
}
@media (min-width: 640px) {
  .wa-float { bottom: 28px; right: 28px; }
  .wa-float__txt { display: inline; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
/* Hidden state only when JS is running (html.js added by script.js);
   without JS all content stays visible. */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* no reveal animation on mobile */
@media (max-width: 879px) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow .dot { animation: none; }
  .wa-float__pulse { animation: none; }
  .hero__scroll-line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   SELECTION
   ========================================================= */
::selection { background: var(--orange); color: var(--white); }

/* =========================================================
   UBICACIÓN
   ========================================================= */
.ubicacion__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.ubicacion__photo { margin: 0; }
.ubicacion__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.ubicacion__map {
  position: relative;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray-100, #f2f2f2);
}
.ubicacion__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
.ubicacion__cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
}
@media (min-width: 880px) {
  .ubicacion__grid { grid-template-columns: 3fr 2fr; align-items: stretch; }
}

/* =========================================================
   FRANJA INSTAGRAM
   ========================================================= */
.ig-band {
  position: relative;
  padding: clamp(40px, 6vw, 64px) 0;
  background: linear-gradient(100deg, #7024C4 0%, #C21975 42%, #E8550A 78%, #F58529 100%);
  color: var(--white);
  overflow: hidden;
}
.ig-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.18), transparent 55%);
  pointer-events: none;
}
.ig-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.ig-band__handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: background 0.2s ease;
}
.ig-band__handle:hover { background: rgba(255,255,255,0.14); }
.ig-band__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 18px 0 0;
}
.ig-band__accent { font-style: italic; }
.ig-band__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin: 14px 0 0;
  line-height: 1.55;
}
.ig-band__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.28);
}
.ig-band__stat { display: flex; flex-direction: column; gap: 4px; }
.ig-band__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: 0.01em;
}
.ig-band__lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
}
.ig-band__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--white);
  color: #C21975;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 28px -8px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: stretch;
  justify-content: center;
}
.ig-band__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -8px rgba(0,0,0,0.45);
}
@media (min-width: 880px) {
  .ig-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
  .ig-band__cta { align-self: center; flex: none; }
}

/* =========================================================
   CALCULADORA DE CALIBRE
   ========================================================= */
.cable {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 880px) {
  .cable { grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
}
.cable__form {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cable__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) {
  .cable__grid { grid-template-columns: 1fr 1fr; }
}
.cable__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cable__field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.cable__control {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}
select.cable__control { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236E6E6E' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.cable__control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 85, 10, 0.15);
}
.cable__load { display: flex; gap: 8px; }
.cable__load .cable__control { flex: 1; }
.cable__unit {
  display: inline-flex;
  flex: none;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.cable__unit button {
  padding: 0 14px;
  border: none;
  background: transparent;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cable__unit button.is-active { background: var(--orange); color: var(--white); }
.cable__hint { font-size: 12px; color: var(--gray-500); margin: 0; line-height: 1.5; }
.cable__btn { margin-top: 4px; justify-content: center; }
.cable__error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

.cable__result {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cable__result[hidden] { display: none; }
.cable__gauge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--black-line);
}
.cable__gauge-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.cable__gauge-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 0.01em;
}
.cable__gauge-mm { font-size: 14px; color: var(--gray-300); }
.cable__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cable__facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--gray-300);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--black-line);
}
.cable__facts li:last-child { border-bottom: none; padding-bottom: 0; }
.cable__facts b { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cable__cta { justify-content: center; margin-top: 4px; }
.cable__note { font-size: 12px; color: var(--gray-500); line-height: 1.6; margin: 0; }
.cable__note strong { color: var(--gray-300); }

/* =========================================================
   TASA BCV
   ========================================================= */
.tasa__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 880px) {
  .tasa__grid { grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: stretch; }
}

.tasa__rate {
  background: var(--black-soft);
  border: 1px solid var(--black-line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.tasa__rate-lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.tasa__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.tasa__num span {
  font-size: 0.28em;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.06em;
  margin-left: 10px;
}
.tasa__meta {
  font-size: 14px;
  color: var(--gray-300);
}
.tasa__meta.is-error { color: var(--orange-light); }
.tasa__note {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 440px;
}

.tasa__calc {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tasa__calc-title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tasa__field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.tasa__input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tasa__input-wrap:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 85, 10, 0.15);
}
.tasa__prefix {
  flex: none;
  padding: 0 0 0 16px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-500);
}
.tasa__input-wrap input {
  width: 100%;
  padding: 16px 16px 16px 10px;
  border: 0;
  background: transparent;
  font-family: var(--f-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  font-variant-numeric: tabular-nums;
  outline: none;
  min-width: 0;
}
.tasa__input-wrap input::placeholder { color: var(--gray-300); font-weight: 400; }
.tasa__swap {
  display: flex;
  justify-content: center;
  color: var(--gray-300);
  margin: -6px 0;
}
.tasa__cta { margin-top: 8px; justify-content: center; }
.tasa__calc[data-disabled="true"] .tasa__input-wrap { opacity: 0.5; pointer-events: none; }
