/* ============================================================
   TABIQUE ROJO AGS — styles.css
   Plan: Premium | Bitplasm Studio
   ============================================================ */

:root {
  --color-primario: #1a1a1a;
  --color-secundario: #f5f5f0;
  --color-gold: #e8a020;
  --color-gold-dark: #c8880e;
  --color-red: #c0392b;
  --color-green: #25d366;
  --color-green-dark: #1da851;
  --color-texto: #1a1a1a;
  --color-texto-muted: #666;
  --color-fondo: #ffffff;
  --color-dark: #111111;
  --color-dark2: #1e1e1e;
  --font-title: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: 0.3s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-texto); background: var(--color-fondo); overflow-x: hidden; cursor: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor { position: fixed; width: 14px; height: 14px; background: var(--color-gold); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.15s ease, background 0.2s ease; mix-blend-mode: multiply; }
.cursor-ring { position: fixed; width: 38px; height: 38px; border: 2px solid var(--color-gold); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); opacity: 0.5; }
.cursor.hovered { transform: translate(-50%,-50%) scale(1.8); background: var(--color-red); }

/* ============================================================
   UTILIDADES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
section { padding: 5rem 0; }

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes pulse    { 0%,100% { transform: scale(1); }        50% { transform: scale(1.06); } }
@keyframes bounce   { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes float    { 0%,100% { transform: translateY(0); }   50% { transform: translateY(-8px); } }
@keyframes ripple-anim { to { transform: scale(2.5); opacity: 0; } }

.animate-fade-up { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all var(--transition);
  white-space: nowrap; text-align: center;
}
.btn--lg  { padding: 0.9rem 2rem; font-size: 1rem; }
.btn--sm  { padding: 0.5rem 1rem; font-size: 0.88rem; }
.btn--full { width: 100%; }
.btn--green { background: var(--color-green); color: #fff; border-color: var(--color-green); }
.btn--green:hover { background: var(--color-green-dark); border-color: var(--color-green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn--gold  { background: var(--color-gold); color: #fff; border-color: var(--color-gold); }
.btn--gold:hover  { background: var(--color-gold-dark); border-color: var(--color-gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,0.4); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--color-dark); }

/* ============================================================
   HEADER
   ============================================================ */
.header { position: sticky; top: 0; z-index: 200; background: #000000; transition: box-shadow var(--transition); }
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.65); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0; padding-bottom: 0;
  min-height: 80px;
}

/* Imagen mascota navbar */
.navbar__mascota {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.45rem; flex-shrink: 0; }
.logo__icon { font-size: 1.4rem; }
.logo__text { font-family: var(--font-cond); font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: 0.04em; }
.logo__red  { color: var(--color-red); }

/* Nav desktop */
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  color: rgba(255,255,255,0.78); padding: 0.45rem 0.8rem;
  border-radius: 6px; font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition); white-space: nowrap;
}
.nav__link:hover, .nav__link.active-link { color: #fff; background: rgba(255,255,255,0.1); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Header CTA — oculto en muy pequeño */
.header-cta { flex-shrink: 0; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: var(--font-title); font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: 0.04em; color: var(--color-primario); line-height: 1.1; }
.section-header p  { color: var(--color-texto-muted); font-size: 1rem; margin-top: 0.5rem; }
.section-header__line { width: 56px; height: 4px; background: var(--color-gold); margin: 0.9rem auto 0; border-radius: 2px; }


/* ============================================================
   HERO
   ============================================================ */
/* =========================
   HERO PREMIUM CON VIDEO
========================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #0f0f0f 0%,
      #2d1f0e 50%,
      #1a1410 100%
    );
}

/* VIDEO */

.hero__video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0.45;

  filter:
    brightness(0.75)
    contrast(1.08)
    saturate(1.08);

  z-index: 0;
}

/* OVERLAY */

.hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.30),
      rgba(0,0,0,0.55)
    ),

    radial-gradient(
      ellipse at center,
      rgba(255,170,0,0.18) 0%,
      rgba(0,0,0,0.08) 55%,
      rgba(0,0,0,0.45) 100%
    );

  z-index: 1;
}

/* PARTICULAS */

.hero__particles {
  position: absolute;
  inset: 0;

  overflow: hidden;
  pointer-events: none;

  z-index: 1;
}

/* CONTENIDO */

.hero__content {
  position: relative;
  z-index: 2;

  text-align: center;
  width: 100%;

  padding: 6rem 1.25rem 4rem;
}

/* BADGE */

.hero__badge {
  display: inline-block;

  background: linear-gradient(
    135deg,
    #ffb300,
    #ff8800
  );

  color: #fff;

  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 800;

  letter-spacing: 0.12em;

  padding: 0.4rem 1.15rem;

  border-radius: 999px;

  margin-bottom: 1.5rem;

  box-shadow:
    0 0 25px rgba(255,170,0,0.35);

  animation: pulse 2.5s ease-in-out infinite;
}

/* TITULO */

.hero__title {
  font-family: var(--font-title);

  font-size: clamp(2.8rem, 9vw, 6.5rem);

  line-height: 0.92;

  color: #fff;

  letter-spacing: 0.03em;

  margin-bottom: 1.25rem;

  text-shadow:
    0 3px 12px rgba(0,0,0,0.4);
}

/* TEXTO NARANJA */

.hero__title--gold {
  display: block;

  background: linear-gradient(
    135deg,
    #ffcc00,
    #ff8800
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(
    0 0 10px rgba(255,170,0,0.35)
  );
}

/* SUBTITULO */

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.12rem);

  color: rgba(255,255,255,0.82);

  max-width: 620px;

  margin: 0 auto 2rem;

  line-height: 1.75;

  text-shadow:
    0 2px 10px rgba(0,0,0,0.4);
}

/* BOTONES */

.hero__ctas {
  display: flex;

  gap: 1rem;

  justify-content: center;

  flex-wrap: wrap;

  margin-bottom: 1.8rem;
}

/* TRUST */

.hero__trust {
  display: flex;

  gap: 1rem;

  justify-content: center;

  flex-wrap: wrap;
}

.hero__trust span {
  color: rgba(255,255,255,0.72);

  font-size: 0.9rem;

  text-shadow:
    0 2px 8px rgba(0,0,0,0.35);
}

/* SCROLL */

.hero__scroll {
  position: absolute;

  bottom: 1.5rem;
  left: 50%;

  transform: translateX(-50%);

  animation: bounce 2s ease-in-out infinite;

  z-index: 2;
}

.hero__scroll span {
  display: block;

  width: 2px;
  height: 38px;

  background:
    linear-gradient(
      to bottom,
      #ffae00,
      transparent
    );

  margin: 0 auto;
}

/* PARTICULAS */

.particle {
  position: absolute;

  border-radius: 50%;

  background: #ffae00;

  opacity: 0.18;

  animation: float linear infinite;
}


/* ============================================================
   VENTAJAS
   ============================================================ */
.ventajas { background: var(--color-secundario); padding: 3.5rem 0; }
.ventajas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.ventaja-card {
  background: #fff; border-radius: var(--radius-lg); padding: 1.75rem 1.25rem;
  text-align: center; border: 1px solid #e8e8e0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ventaja-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ventaja-card__icon { font-size: 2.2rem; margin-bottom: 0.85rem; display: block; }
.ventaja-card h3 { font-family: var(--font-cond); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.45rem; }
.ventaja-card p  { color: var(--color-texto-muted); font-size: 0.88rem; line-height: 1.6; }

/* ============================================================
   MATERIALES
   ============================================================ */
.materiales { background: var(--color-dark); }
.materiales .section-header h2 { color: #fff; }
.materiales .section-header p  { color: rgba(255,255,255,0.6); }
.materiales__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.mat-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius); padding: 1.25rem 0.75rem; text-align: center;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
}
.mat-item:hover { background: rgba(232,160,32,0.15); border-color: var(--color-gold); transform: translateY(-4px); }
.mat-item img   { width: 70px; height: 70px; object-fit: contain; display: block; }
.mat-item__icon { font-size: 1.8rem; margin-bottom: 0.6rem; display: block; }
.mat-item span  { color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 500; line-height: 1.3; display: block; }

/* ============================================================
   CATÁLOGO
   ============================================================ */
.catalogo { background: var(--color-fondo); }
.filtros { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.25rem; }
.filtro-btn {
  background: #f0f0ea; color: #555; border: none; border-radius: 20px;
  padding: 0.45rem 1.1rem; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.filtro-btn:hover, .filtro-btn.active { background: var(--color-gold); color: #fff; }
.catalogo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; justify-content: center; align-items: stretch; }

.prod-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #eee; transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card__img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; position: relative;
}
.prod-card__img--ladrillo { background: linear-gradient(135deg,#c0392b18,#c0392b38); }
.prod-card__img--block    { background: linear-gradient(135deg,#78909c18,#78909c38); }
.prod-card__img--block15  { background: linear-gradient(135deg,#607d8b18,#607d8b38); }
.prod-card__img--block20  { background: linear-gradient(135deg,#4a626d18,#4a626d38); }
.prod-card__img--tabicon  { background: linear-gradient(135deg,#6d6d6d15,#6d6d6d35); }
.prod-card__img--cemento  { background: linear-gradient(135deg,#e8d5a018,#e8d5a048); }
.prod-card__img--yeso     { background: linear-gradient(135deg,#f5f0e018,#f5f0e055); }
.prod-card__img--arena    { background: linear-gradient(135deg,#d4a57418,#d4a57448); }
.prod-card__img--grava    { background: linear-gradient(135deg,#78787818,#78787848); }
.prod-card__img--tezontle { background: linear-gradient(135deg,#c0392b12,#e67e2228); }
.prod-card__img--varilla  { background: linear-gradient(135deg,#5d5d5d18,#5d5d5d48); }
.prod-card__img--armex    { background: linear-gradient(135deg,#4a4a4a18,#4a4a4a48); }
.prod-card__img--mortero  { background: linear-gradient(135deg,#c8a06018,#c8a06048); }
.prod-card__img--bovedilla{ background: linear-gradient(135deg,#87ceeb18,#87ceeb48); }
.prod-card__img--cuna     { background: linear-gradient(135deg,#b0876018,#b0876048); }
.prod-card__cat {
  position: absolute; top: 0.65rem; left: 0.65rem;
  background: var(--color-dark); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem; border-radius: 4px;
}
.prod-card__body { 
  padding: 1.1rem; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.prod-card__body h3 { font-family: var(--font-cond); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.prod-card__body p  { color: var(--color-texto-muted); font-size: 0.85rem; line-height: 1.55; margin-bottom: 0.9rem; flex-grow: 1; }
.prod-card__body .btn { margin-top: auto; }

/* ============================================================
   CALCULADORAS
   ============================================================ */
.calculadoras { background: var(--color-dark); }
.calculadoras .section-header h2 { color: #fff; }
.calculadoras .section-header p  { color: rgba(255,255,255,0.6); }

.calc-tabs { display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.calc-tab {
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 24px;
  padding: 0.55rem 1.15rem; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.calc-tab:hover  { background: rgba(232,160,32,0.18); border-color: var(--color-gold); color: var(--color-gold); }
.calc-tab.active { background: var(--color-gold); border-color: var(--color-gold); color: #fff; }

.calc-panel { display: none; }
.calc-panel.active { display: block; }

.calc-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  max-width: 680px; margin: 0 auto;
}
.calc-card__header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.calc-emoji { font-size: 2.2rem; flex-shrink: 0; }
.calc-card__header h3 { font-family: var(--font-cond); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.calc-card__header p  { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.calc-field { display: flex; flex-direction: column; gap: 0.35rem; }
.calc-field label { color: rgba(255,255,255,0.65); font-size: 0.84rem; font-weight: 500; }
.calc-field input,
.calc-field select {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; border-radius: 8px; padding: 0.65rem 0.85rem;
  transition: border-color var(--transition); width: 100%;
}
.calc-field input::placeholder { color: rgba(255,255,255,0.28); }
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--color-gold); }
.calc-field select option { background: #222; color: #fff; }

.calc-result { margin-top: 1.25rem; }
.calc-result__box { background: rgba(232,160,32,0.1); border: 1px solid rgba(232,160,32,0.3); border-radius: var(--radius); padding: 1.25rem; }
.calc-result__box h4 { color: var(--color-gold); font-family: var(--font-cond); font-size: 1rem; margin-bottom: 0.85rem; }
.calc-result__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0.65rem; margin-bottom: 0.85rem; }
.calc-result__item  { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 0.65rem; text-align: center; }
.calc-result__num   { font-family: var(--font-title); font-size: 1.8rem; color: var(--color-gold); display: block; }
.calc-result__label { color: rgba(255,255,255,0.6); font-size: 0.76rem; margin-top: 0.15rem; display: block; }
.calc-result__note  { color: rgba(255,255,255,0.45); font-size: 0.8rem; line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.7rem; }
.calc-result__wp    { margin-top: 0.75rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
}

/* VIDEO DE FONDO */
.faq__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.40;
  filter: brightness(0.7) contrast(1.08) saturate(1.05);
  z-index: 0;
}

/* OVERLAY */
.faq__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
    radial-gradient(ellipse at center, rgba(255,170,0,0.12) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

.faq .section-header h2 { color: #fff; }
.faq .section-header p  { color: rgba(255,255,255,0.72); }
.faq .section-header__line { background: var(--color-gold); }

.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.45rem; }
.faq__item { background: rgba(255,255,255,0.10); backdrop-filter: blur(10px); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.15); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 1.1rem 1.25rem; font-size: 0.95rem;
  font-weight: 600; color: rgba(255,255,255,0.9); cursor: pointer; text-align: left;
  transition: color var(--transition); gap: 1rem;
}
.faq__q:hover { color: var(--color-gold); }
.faq__q span  { transition: transform var(--transition); font-size: 0.8rem; color: var(--color-gold); flex-shrink: 0; }
.faq__item.open .faq__q span { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq__item.open .faq__a { max-height: 300px; }
.faq__a p { padding: 0 1.25rem 1.1rem; color: rgba(255,255,255,0.68); line-height: 1.7; font-size: 0.9rem; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios { background: var(--color-fondo); }
.testimonios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testi-card { background: var(--color-secundario); border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid #e8e8e0; transition: transform var(--transition), box-shadow var(--transition); }
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testi-card__stars { color: var(--color-gold); font-size: 1.1rem; margin-bottom: 0.9rem; letter-spacing: 2px; }
.testi-card p { color: var(--color-texto); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testi-card__autor { display: flex; align-items: center; gap: 0.7rem; }
.testi-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--color-gold); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.testi-card__autor strong { display: block; font-weight: 700; font-size: 0.88rem; }
.testi-card__autor span   { color: var(--color-texto-muted); font-size: 0.8rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, #1a1a1a, #2d1f0e); padding: 4rem 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-banner__inner h2 { font-family: var(--font-title); font-size: clamp(1.8rem, 4vw, 2.4rem); color: #fff; letter-spacing: 0.04em; }
.cta-banner__inner p  { color: rgba(255,255,255,0.6); margin-top: 0.35rem; font-size: 0.95rem; }
.cta-banner__btns     { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contacto-form { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid #e8e8e0; margin-bottom: 1.25rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; }
.form-field input,
.form-field textarea {
  width: 100%; border: 1.5px solid #ddd; border-radius: 8px;
  padding: 0.7rem 0.9rem; font-size: 0.92rem; transition: border-color var(--transition); background: #fafaf8;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-gold); background: #fff; }
.form-field textarea { resize: vertical; }
.contacto__info { background: #fff; border-radius: var(--radius-lg); padding: 1.25rem; border: 1px solid #e8e8e0; }
.contacto__info-row { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.8rem 0; border-bottom: 1px solid #f0f0ea; }
.contacto__info-row:last-child { border-bottom: none; }
.contacto__info-row > span:first-child { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contacto__info-row strong { display: block; font-weight: 700; font-size: 0.88rem; }
.contacto__info-row a, .contacto__info-row span { color: var(--color-texto-muted); font-size: 0.85rem; }
.contacto__info-row a:hover { color: var(--color-green); }
.contacto__mapa { display: flex; flex-direction: column; gap: 1.25rem; }
.zonas { background: #fff; border-radius: var(--radius); padding: 1.1rem; border: 1px solid #e8e8e0; }
.zonas p { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.65rem; }
.zonas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.zonas__grid span { font-size: 0.8rem; color: var(--color-texto-muted); padding: 0.28rem 0; border-bottom: 1px solid #f0f0ea; }

/* =========================
   CONTACTO PREMIUM VIDEO
========================= */

.contacto {
  position: relative;

  overflow: hidden;

  padding: 7rem 0;

  background:
    linear-gradient(
      135deg,
      #0f0f0f 0%,
      #2d1f0e 50%,
      #1a1410 100%
    );
}

/* VIDEO */

.contacto__video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0.45;

  filter:
    brightness(0.72)
    contrast(1.08)
    saturate(1.05);

  z-index: 0;
}

/* OVERLAY */

.contacto__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.65)
    ),

    radial-gradient(
      ellipse at center,
      rgba(255,170,0,0.12) 0%,
      rgba(0,0,0,0.12) 60%,
      rgba(0,0,0,0.55) 100%
    );

  z-index: 1;
}

/* CONTENIDO */

.contacto .container {
  position: relative;
  z-index: 2;
}

/* HEADER */

.contacto .section-header h2 {
  color: rgba(255,255,255,0.88);

  text-shadow:
    0 2px 10px rgba(255,255,255,0.08);
}

.contacto .section-header p {
  color: rgba(255,255,255,0.82);
}

/* GRID */

.contacto__grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 2.5rem;

  align-items: start;
}

/* FORMULARIO */

.contacto-form {
  background: rgba(255,255,255,0.92);

  backdrop-filter: blur(10px);

  border-radius: 22px;

  padding: 1.9rem;

  border: 1px solid rgba(255,255,255,0.15);

  margin-bottom: 1.25rem;

  box-shadow:
    0 10px 35px rgba(0,0,0,0.25);
}

/* CAMPOS */

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;

  font-weight: 700;

  font-size: 0.9rem;

  margin-bottom: 0.4rem;

  color: #111;
}

.form-field input,
.form-field textarea {
  width: 100%;

  border: 1.5px solid rgba(0,0,0,0.12);

  border-radius: 12px;

  padding: 0.82rem 1rem;

  font-size: 0.95rem;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;

  background: rgba(255,255,255,0.88);

  color: #111;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;

  border-color: #ffae00;

  background: #fff;

  box-shadow:
    0 0 0 4px rgba(255,174,0,0.12);
}

.form-field textarea {
  resize: vertical;
}

/* INFO */

.contacto__info {
  background: rgba(255,255,255,0.92);

  backdrop-filter: blur(10px);

  border-radius: 22px;

  padding: 1.3rem;

  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 10px 35px rgba(0,0,0,0.22);
}

.contacto__info-row {
  display: flex;

  align-items: flex-start;

  gap: 0.9rem;

  padding: 0.9rem 0;

  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contacto__info-row:last-child {
  border-bottom: none;
}

.contacto__info-row > span:first-child {
  font-size: 1.3rem;

  flex-shrink: 0;

  margin-top: 2px;
}

.contacto__info-row strong {
  display: block;

  font-weight: 800;

  font-size: 0.92rem;

  color: #111;
}

.contacto__info-row a,
.contacto__info-row span {
  color: rgba(0,0,0,0.68);

  font-size: 0.88rem;
}

.contacto__info-row a:hover {
  color: #ff8c00;
}

/* MAPA */

.contacto__mapa {
  display: flex;

  flex-direction: column;

  gap: 1.25rem;
}

.contacto__mapa iframe {
  box-shadow:
    0 12px 35px rgba(0,0,0,0.28);
}

/* ZONAS */

.zonas {
  background: rgba(255,255,255,0.92);

  backdrop-filter: blur(10px);

  border-radius: 22px;

  padding: 1.2rem;

  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 10px 35px rgba(0,0,0,0.22);
}

.zonas p {
  font-size: 0.92rem;

  font-weight: 800;

  margin-bottom: 0.85rem;

  color: #111;
}

.zonas__grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0.45rem;
}

.zonas__grid span {
  font-size: 0.84rem;

  color: rgba(0,0,0,0.7);

  padding: 0.42rem 0;

  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* RESPONSIVE */

@media (max-width: 900px) {

  .contacto__grid {
    grid-template-columns: 1fr;
  }

}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-dark); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand p { margin-top: 0.9rem; font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer__social { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 1.25rem; }
.social-btn { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: #fff; transition: all var(--transition); border: 1px solid rgba(255,255,255,0.1); }
.social-btn:hover { transform: translateX(4px); }
.social-btn--fb:hover { background: #4267B2; border-color: #4267B2; }
.social-btn--ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366); border-color: #e6683c; }
.social-btn--yt:hover { background: #FF0000; border-color: #FF0000; }
.social-btn--tk:hover { background: #111; border-color: rgba(255,255,255,0.25); }
.footer__col h4 { color: #fff; font-family: var(--font-cond); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer__col ul li { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer__col ul li a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--color-gold); }
.footer__bottom { text-align: center; padding: 1.25rem 0; }
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer__bottom strong { color: rgba(255,255,255,0.45); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 58px; height: 58px; background: var(--color-green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 500; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: float 3s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wp-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.7); animation: none; }
.wp-float::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,0.4); animation: pulse 2s ease-in-out infinite; }

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .ventajas__grid     { grid-template-columns: repeat(2, 1fr); }
  .mat-item img        { width: 65px; height: 65px; }
  .catalogo__grid     { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .testimonios__grid  { grid-template-columns: repeat(2, 1fr); }
  .footer__grid       { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — TABLETAS ESPECÍFICO (769px - 1024px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .prod-card__body {
    padding: 1rem;
  }
  .prod-card__body h3 {
    font-size: 1rem;
  }
  .prod-card__body p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }
  .prod-card__body .btn {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    width: 100%;
    text-align: center;
  }
  .prod-card__img {
    height: 160px;
  }
  .prod-card__img img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
  }
}

/* ============================================================
   RESPONSIVE — 768px (tablet / móvil grande)
   ============================================================ */
@media (max-width: 768px) {
  /* Cursor off */
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }

  /* Secciones */
  section { padding: 3rem 0; }

  /* Header */
  .header__inner { position: relative; flex-wrap: nowrap; }
  .hamburger  { display: flex; }
  .header-cta { display: none; }
  .navbar__mascota { height: 60px; }

  /* Nav mobile — drawer */
  .nav {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #000000; padding: 0.75rem 1rem 1rem;
    gap: 0.15rem; box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 199;
  }
  .nav.open { display: flex; }
  .nav__link { padding: 0.8rem 1rem; font-size: 1rem; border-radius: 6px; }

  /* Hero */
  .hero__content  { padding: 5rem 1.25rem 3.5rem; }
  .hero__ctas     { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__trust    { flex-direction: column; align-items: center; gap: 0.4rem; }

  /* Grids */
  .ventajas__grid    { grid-template-columns: 1fr 1fr; }
  .mat-item img       { width: 56px; height: 56px; }
  .catalogo__grid    { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .testimonios__grid { grid-template-columns: 1fr; }
  .contacto__grid    { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr 1fr; gap: 1.75rem; }

  /* Botones de catálogo en tabletas */
  .prod-card__body .btn {
    font-size: 0.82rem;
    padding: 0.65rem 0.8rem;
    white-space: nowrap;
  }

  /* Calculadoras */
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-card   { padding: 1.5rem 1.1rem; }
  .calc-tabs   { gap: 0.35rem; }
  .calc-tab    { padding: 0.5rem 0.9rem; font-size: 0.82rem; }

  /* CTA Banner */
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__btns  { flex-direction: column; width: 100%; }
  .cta-banner__btns .btn { width: 100%; }

  /* Redes sociales en footer: horizontal */
  .footer__social { flex-direction: row; flex-wrap: wrap; }
  .social-btn span { display: none; }
  .social-btn { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
}

/* ============================================================
   RESPONSIVE — 480px (móvil pequeño)
   ============================================================ */
@media (max-width: 480px) {
  /* Flash bar más compacta */
  .flash-bar { font-size: 0.76rem; padding: 0.5rem 0.75rem; }
  .flash-bar span:first-child,
  .flash-bar span:last-child { display: none; }

  /* Grids a 1 columna */
  .ventajas__grid   { grid-template-columns: 1fr; }
  .mat-item          { padding: 0.85rem 0.5rem; }
  .mat-item img      { width: 48px; height: 48px; }
  .mat-item span     { font-size: 0.72rem; }
  /* Patio: 4 columnas × 4 filas en móvil */
  .materiales__grid  { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .catalogo__grid   { grid-template-columns: 1fr; align-items: stretch; }
  .footer__grid     { grid-template-columns: 1fr; }

  /* Sección header */
  .section-header { margin-bottom: 2rem; }

  /* Calculadoras tabs en 2 cols */
  .calc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .calc-tab  { text-align: center; padding: 0.6rem 0.5rem; font-size: 0.8rem; border-radius: 10px; }

  /* Contacto form */
  .contacto-form { padding: 1.25rem; }

  /* Footer 1 col completo */
  .footer__social { gap: 0.5rem; }

  /* Botón WA flotante más pequeño */
  .wp-float { width: 52px; height: 52px; bottom: 1.1rem; right: 1.1rem; }
  .wp-float svg { width: 26px; height: 26px; }

  /* Botón "Consultar Disponibilidad" en patio de materiales */
  .materiales .btn--lg {
    white-space: normal;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — 360px (móvil muy pequeño)
   ============================================================ */
@media (max-width: 360px) {
  .container { padding: 0 0.9rem; }
  .hero__content { padding: 4.5rem 0.9rem 3rem; }
  .btn--lg { padding: 0.8rem 1.25rem; font-size: 0.92rem; }
  .logo__text { font-size: 1rem; }
  .calc-tabs { grid-template-columns: 1fr; }
  .calc-tab  { border-radius: 8px; }
}

/* =========================
   SOCIAL ICONS PREMIUM
========================= */

.hero-social {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 1rem;

  margin-top: 2rem;
}

/* BOTONES */

.hero-social__btn {
  width: 48px;
  height: 48px;

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.14);

  backdrop-filter: blur(8px);

  color: #fff;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.22);
}

/* ICONOS */

.hero-social__btn svg {
  width: 18px;
  height: 18px;
}

/* HOVER */

.hero-social__btn:hover {
  transform:
    translateY(-4px)
    scale(1.08);

  background: linear-gradient(
    135deg,
    #ffb300,
    #ff8800
  );

  border-color: #ffae00;

  color: #111;

  box-shadow:
    0 0 24px rgba(255,174,0,0.45);
}

/* Catálogo CTA centrado */
.catalogo__cta {
  margin-top: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Banner imagen completa */
.banner-img-wrap {
  width: 100%;
  line-height: 0;
}
.banner-img--cropped {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}

/* Banner solo visible en móvil */
.banner-img-wrap--mobile-only {
  display: none;
}
@media (max-width: 768px) {
  .banner-img-wrap--mobile-only {
    display: block;
  }
}

/* VIDEO DUAL — ESCRITORIO Y MÓVIL */

/* Por defecto: mostrar desktop, ocultar móvil */
.hero__video--desktop { display: block; }
.hero__video--mobile  { display: none; }

/* En móvil: ocultar desktop, mostrar móvil */
@media (max-width: 768px) {
  .hero__video--desktop { display: none; }
  .hero__video--mobile  {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.45;
    filter: brightness(0.75) contrast(1.08) saturate(1.08);
    z-index: 0;
    /* Aceleración por GPU para mayor fluidez */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}