/* ═══════════════════════════════════════════════════════════════
   CTP – Comercializadora de Termoplásticos Potosina
   Estilos principales — Rediseño 2025
═══════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  /* Dark palette */
  --ink:          #07091C;
  --navy:         #0E1628;
  --navy-mid:     #162038;
  --navy-card:    #1C2A45;

  /* Accent – amber/gold */
  --gold:         #D98B18;
  --gold-light:   #F5B84A;
  --gold-glow:    rgba(217,139,24,.14);
  --border-gold:  rgba(217,139,24,.28);

  /* Secondary accent */
  --electric:     #22D3EE;

  /* Light palette */
  --white:        #FFFFFF;
  --cream:        #F7F4EE;
  --cream-dark:   #EDE9E1;
  --gray-100:     #F0ECE6;
  --gray-200:     #DDD8CF;
  --gray-400:     #9C9690;
  --gray-600:     #6B665F;
  --gray-800:     #2E2B26;

  /* Text */
  --text:         #1C1A17;
  --text-muted:   #6B665F;
  --text-on-dark: rgba(255,255,255,.92);
  --text-dim:     rgba(255,255,255,.52);

  /* Functional */
  --green-wa:     #25D366;
  --border:       rgba(255,255,255,.09);

  /* Radii */
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  /* Shadows */
  --shadow-sm:    0 2px 10px rgba(7,9,28,.10);
  --shadow:       0 4px 24px rgba(7,9,28,.16);
  --shadow-lg:    0 10px 50px rgba(7,9,28,.22);
  --shadow-gold:  0 4px 24px rgba(217,139,24,.28);

  --transition:   .25s ease;
  --header-h:     72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  font-weight: 400;
}
.section-header {
  margin-bottom: 48px;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-eyebrow {
  justify-content: center;
}
.section-header.centered .section-desc {
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(217,139,24,.40);
}
.btn--ghost {
  background: rgba(255,255,255,.09);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.btn--whatsapp svg { width: 22px; height: 22px; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  background: transparent;
}
.header--scrolled {
  background: rgba(14,22,40,.96);
  box-shadow: 0 1px 0 var(--border), 0 4px 28px rgba(7,9,28,.35);
  backdrop-filter: blur(18px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo {
  height: 44px;
  width: auto;
  transition: var(--transition);
}
.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header__brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.header__brand-sub {
  font-family: 'Barlow', sans-serif;
  font-size: .68rem;
  color: rgba(255,255,255,.48);
  font-weight: 500;
  letter-spacing: .04em;
  transition: color var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  transition: var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--white);
  transition: var(--transition);
  margin-left: 10px;
  box-shadow: var(--shadow-gold);
}
.nav__cta svg { width: 15px; height: 15px; }
.nav__cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217,139,24,.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════
   HERO — Split layout
════════════════════════════════ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero {
  height: 100vh;
  min-height: 640px;
  max-height: 980px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54% 46%;
  background: var(--ink);
}

/* ── Left panel ── */
.hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 52px 0 max(40px, calc((100vw - 1180px) / 2 + 24px));
  /* Subtle diagonal-stripe texture */
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 36px,
    rgba(255,255,255,.013) 36px,
    rgba(255,255,255,.013) 37px
  );
  z-index: 2;
}

/* Vertical gold divider line on right edge of panel */
.hero__panel::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold) 30%,
    var(--gold) 70%,
    transparent
  );
  z-index: 3;
}

.hero__panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  max-width: 520px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp .7s ease .15s forwards;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 5.8vw, 6.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: .92;
  letter-spacing: .03em;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp .7s ease .35s forwards;
}
.hero__title--accent {
  color: var(--gold);
  display: block;
}

.hero__subtitle {
  color: rgba(255,255,255,.60);
  font-size: .98rem;
  line-height: 1.8;
  margin-bottom: 44px;
  font-weight: 400;
  opacity: 0;
  animation: heroFadeUp .7s ease .55s forwards;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .7s ease .75s forwards;
}

/* ── Stats bar ── */
.hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 28px 0;
  opacity: 0;
  animation: heroFadeIn .8s ease 1.1s forwards;
}
.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child  { border-right: none; }
.hero__stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: .04em;
}
.hero__stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.42);
  letter-spacing: .02em;
  line-height: 1.45;
  font-family: 'Barlow', sans-serif;
}

/* ── Right visual panel ── */
.hero__visual {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: heroFadeIn .9s ease .05s forwards;
}

/* Angled divider: dark wedge on the left edge of the photo panel */
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 10% 0, 0 100%);
  z-index: 3;
  pointer-events: none;
}

.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__slide.active { opacity: 1; }

.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7,9,28,.45) 0%,
    rgba(7,9,28,.08) 60%,
    transparent 100%
  );
  z-index: 1;
}

/* Vertical carousel dots on right side of photo panel */
.hero__dots {
  position: absolute;
  bottom: 36px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 4;
}
.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.30);
  transition: background var(--transition), height var(--transition);
  cursor: pointer;
  border: none;
}
.hero__dot.active {
  background: var(--gold);
  height: 24px;
  border-radius: 3px;
}

/* ════════════════════════════════
   ABOUT (Quiénes somos)
════════════════════════════════ */
.about {
  padding: 96px 0;
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Gold vertical accent bar */
.about__text {
  position: relative;
  padding-left: 26px;
}
.about__text::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), rgba(217,139,24,.0));
  border-radius: 2px;
}
.about__text h2 { margin-bottom: 20px; }
.about__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about__text strong { color: var(--text); }

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 28px 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}
.mv-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.mv-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mv-card__icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.mv-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mv-card p { color: var(--text-muted); font-size: .93rem; }

/* ════════════════════════════════
   WHY US
════════════════════════════════ */
.why {
  padding: 88px 0;
  background: var(--navy);
}
.why .section-eyebrow {
  color: var(--gold-light);
}
.why .section-eyebrow::before {
  background: var(--gold-light);
}
.why .section-title {
  color: var(--text-on-dark);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.why-card:hover {
  background: rgba(217,139,24,.06);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
.why-card:hover::after { transform: scaleX(1); }
.why-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(217,139,24,.12);
  border: 1px solid rgba(217,139,24,.20);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-card__icon svg { width: 24px; height: 24px; stroke: var(--gold-light); }
.why-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.why-card p { color: var(--text-dim); font-size: .9rem; line-height: 1.65; }

/* ════════════════════════════════
   PRODUCTOS
════════════════════════════════ */
.productos {
  padding: 96px 0;
  background: var(--cream);
}

/* Tabs */
.tabs { margin-top: 0; }
.tabs__nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.tabs__btn {
  flex: 1;
  min-width: 100px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.tabs__btn:hover { color: var(--navy); background: var(--gray-100); }
.tabs__btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tabs__panel { display: none; }
.tabs__panel.active { display: block; animation: fadeIn .3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.tab-intro {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-style: italic;
}

/* Product cards grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.prod-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}
.prod-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-100);
  flex-shrink: 0;
}
.prod-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prod-card__tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.prod-card__body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.prod-card__body p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}
.prod-card__specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
  margin-top: auto;
}
.prod-card__specs li strong { color: var(--text); }

/* Subtabs (conexiones) */
.subtabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.subtabs__btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}
.subtabs__btn:hover { border-color: var(--gold); color: var(--gold); }
.subtabs__btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.subtabs__panel { display: none; }
.subtabs__panel.active { display: block; animation: fadeIn .3s ease; }

/* Conexiones header */
.conex-header {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.conex-header__info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.conex-header__info p { color: var(--text-muted); font-size: .93rem; margin-bottom: 14px; }
.conex-brands {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.conex-brands span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.conex-brands img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
}
.conex-header__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

/* Tabla de conexiones */
.conex-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.conex-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.conex-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}
.conex-table tbody tr:nth-child(even) { background: var(--gray-100); }
.conex-table tbody tr:hover { background: var(--gold-glow); }
.conex-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text);
}
.conex-table tbody tr:last-child td { border-bottom: none; }
.conex-table__note {
  font-size: .8rem;
  color: var(--text-muted);
  font-style: italic;
  background: var(--gold-glow) !important;
}

/* Válvulas grid */
.valv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 24px;
}
.valv-group {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.valv-group h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
  padding: 14px 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tab-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}

/* Cementos grid */
.cem-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cem-brand-block {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cem-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--navy);
}
.cem-brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: 6px;
  padding: 4px 8px;
}
.cem-brand-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
}
.cem-card {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  transition: var(--transition);
}
.cem-card:hover { background: var(--gold-glow); }
.cem-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--gray-100);
}
.cem-card strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cem-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.cem-card p { font-size: .78rem; color: var(--text-muted); }

/* Equipos de bombeo */
.bomb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.bomb-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.bomb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  border-radius: 4px 0 0 4px;
}
.bomb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-gold); }
.bomb-card__icon {
  width: 52px;
  height: 52px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.bomb-card__icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.bomb-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.bomb-card p { color: var(--text-muted); font-size: .88rem; margin-bottom: 14px; }
.bomb-card ul { display: flex; flex-direction: column; gap: 4px; }
.bomb-card li {
  font-size: .82rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px dashed var(--gray-200);
}
.bomb-card li:last-child { border-bottom: none; }
.bomb-brand {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Otros grid */
.otros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.otro-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.otro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-gold); }
.otro-card__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}
.otro-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.otro-card__icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.otro-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.otro-card p { color: var(--text-muted); font-size: .88rem; margin-bottom: 14px; }

/* Productos CTA */
.productos__cta {
  margin-top: 48px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 2px dashed var(--gray-200);
}
.productos__cta p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
}
.productos__cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════
   MARCAS
════════════════════════════════ */
.marcas {
  padding: 96px 0;
  background: var(--navy);
}
.marcas .section-eyebrow {
  color: var(--gold-light);
}
.marcas .section-eyebrow::before {
  background: var(--gold-light);
}
.marcas .section-title {
  color: var(--text-on-dark);
}
.marcas .section-desc {
  color: var(--text-dim);
}
.marcas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.marca-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.marca-card:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.marca-card img {
  height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(60%) brightness(1.4);
  transition: filter var(--transition);
}
.marca-card:hover img { filter: grayscale(0%) brightness(1); }
.marca-card span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ════════════════════════════════
   CONTACTO
════════════════════════════════ */
.contacto {
  padding: 96px 0;
  background: var(--ink);
}
.contacto .section-eyebrow {
  color: var(--gold-light);
}
.contacto .section-eyebrow::before {
  background: var(--gold-light);
}
.contacto .section-title { color: var(--text-on-dark); }
.contacto .section-desc { color: var(--text-dim); }

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 20px; height: 20px; stroke: var(--gold-light); }
.contact-item__icon--green {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.2);
}
.contact-item__icon--green svg { stroke: none; fill: var(--green-wa); }
.contact-item strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  line-height: 1.7;
}
.contact-item a:hover { color: var(--gold-light); }

.contacto__map {
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: #040610;
  padding-top: 52px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer__logo {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}
.footer__company {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer__address {
  color: rgba(255,255,255,.4);
  font-size: .82rem;
  line-height: 1.6;
}
.footer__links, .footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a, .footer__contact a {
  color: rgba(255,255,255,.42);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-light); }

.footer__bottom {
  padding: 18px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p {
  color: rgba(255,255,255,.28);
  font-size: .78rem;
}
.footer__bottom strong { color: var(--gold-light); font-weight: 600; }

/* ════════════════════════════════
   WHATSAPP FLOTANTE
════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: waFloat 3s ease-in-out infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: white; }
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
  animation: none;
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ════════════════════════════════
   REVEAL (scroll animations)
════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .valv-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  /* Hero: collapse to full-bleed on mobile */
  .hero {
    grid-template-columns: 1fr;
    position: relative;
  }
  .hero__panel {
    padding: calc(var(--header-h) + 44px) 24px 0;
    position: relative;
    z-index: 2;
    background-image: none;
  }
  .hero__panel::after { display: none; }
  .hero__panel-inner { max-width: 100%; padding-top: 0; }
  .hero__visual {
    position: absolute;
    inset: 0;
    clip-path: none;
    z-index: 0;
    opacity: 1;
    animation: none;
  }
  .hero__visual::before { display: none; }
  .hero__visual-overlay {
    background: linear-gradient(
      to bottom,
      rgba(7,9,28,.88) 0%,
      rgba(7,9,28,.72) 55%,
      rgba(7,9,28,.88) 100%
    );
  }
  .hero__stats { padding: 24px 0; }
  .hero__stat-num { font-size: 1.7rem; }
  .hero__dots {
    flex-direction: row;
    bottom: 28px;
    right: 50%;
    transform: translateX(50%);
  }
  .hero__dot.active { height: 6px; width: 24px; }

  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    transform: translateY(-100vh);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 999;
  }
  .nav.open { transform: translateY(0); }
  .nav__link {
    color: rgba(255,255,255,.78);
    padding: 12px 16px;
    font-size: 1rem;
  }
  .nav__cta { margin-left: 0; justify-content: center; margin-top: 8px; }

  .about__text { padding-left: 16px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .why__grid { grid-template-columns: 1fr; }
  .contacto__grid { grid-template-columns: 1fr; }
  .contacto__map { height: 280px; }

  .conex-header { grid-template-columns: 1fr; }
  .conex-header__img { display: none; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom .container { flex-direction: column; gap: 4px; text-align: center; }
}

@media (max-width: 600px) {
  .hero__title { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .hero__stats { gap: 0; }
  .hero__stat { padding-right: 16px; }

  .tabs__nav { flex-direction: column; }
  .tabs__btn { text-align: left; }

  .prod-grid { grid-template-columns: 1fr; }
  .bomb-grid { grid-template-columns: 1fr; }
  .otros-grid { grid-template-columns: 1fr; }
  .marcas__grid { grid-template-columns: repeat(2, 1fr); }

  .cem-cards { grid-template-columns: 1fr; }

  .productos__cta-btns { flex-direction: column; align-items: stretch; }
  .productos__cta-btns .btn { justify-content: center; }

  .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
}
