* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --rojo: #c91414;
  --rojo-oscuro: #8f1010;
  --grafito: #171a21;
  --grafito-2: #222733;
  --negro-suave: #0f1115;
  --texto: #1b1f2a;
  --texto-suave: #6b7280;
  --blanco: #ffffff;
  --borde: #e5e7eb;
  --verde: #25d366;
  --gris-fondo: #f7f8fa;
  --sombra: 0 18px 50px rgba(15, 23, 42, 0.14);
  --sombra-suave: 0 10px 28px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--gris-fondo);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font-family: inherit;
}

.contenedor {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header-contenido {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 13px;
}

.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-texto strong {
  color: var(--grafito);
  font-size: 1.08rem;
  font-weight: 900;
}

.logo-texto span {
  color: var(--rojo);
  font-size: 0.82rem;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
  color: #2d3340;
  font-size: 0.95rem;
}

.nav a {
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--rojo);
}

.nav-destacado {
  background: var(--rojo);
  color: white !important;
  padding: 10px 17px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(201, 20, 20, 0.22);
}

.nav-destacado:hover {
  background: var(--rojo-oscuro);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--rojo);
  color: white;
  font-size: 1.4rem;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}

/* BOTONES */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.96rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-principal {
  background: var(--rojo);
  color: white;
  box-shadow: 0 14px 28px rgba(201, 20, 20, 0.24);
}

.btn-principal:hover {
  background: var(--rojo-oscuro);
}

.btn-whatsapp {
  background: var(--verde);
  color: white;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

/* HERO */

.bobinas-main {
  overflow: hidden;
}

.hero-bobinas {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  color: white;
  background:
    radial-gradient(circle at 10% 12%, rgba(201, 20, 20, 0.38), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.09), transparent 26%),
    linear-gradient(135deg, var(--negro-suave), var(--grafito-2));
}

.hero-bobinas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.hero-bobinas-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.etiqueta,
.subtitulo {
  display: inline-block;
  color: #ff5b5b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.hero-bobinas h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 5.2vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-bobinas p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-bobinas-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: white;
  box-shadow: var(--sombra);
  min-height: 430px;
}

.hero-bobinas-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.hero-bobinas-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  color: var(--grafito);
}

.hero-bobinas-card strong {
  display: block;
  color: var(--texto-suave);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hero-bobinas-card span {
  display: block;
  color: var(--rojo);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

/* INFO */

.info-bobinas {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding-bottom: 42px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-grid article {
  background: white;
  border: 1px solid var(--borde);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--sombra);
}

.info-grid article strong {
  width: fit-content;
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--rojo);
  color: white;
  font-weight: 900;
  margin-bottom: 18px;
}

.info-grid article h2 {
  color: var(--grafito);
  font-size: 1.15rem;
  line-height: 1.18;
  margin-bottom: 8px;
}

.info-grid article p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* COTIZADOR */

.cotizador-section {
  padding: 36px 0 82px;
}

.cotizador-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 24px;
  align-items: start;
}

.cotizador-panel,
.resultado-panel {
  background: white;
  border: 1px solid var(--borde);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--sombra-suave);
}

.cotizador-panel h2,
.resultado-panel h2 {
  color: var(--grafito);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.form-bobinas {
  display: grid;
  gap: 20px;
}

.campo {
  display: grid;
  gap: 8px;
}

.campo label {
  font-weight: 900;
  color: var(--grafito);
}

.campo input,
.campo select {
  width: 100%;
  border: 1px solid var(--borde);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  color: var(--grafito);
  background: #fafafa;
  font-size: 1rem;
  font-weight: 700;
}

.campo input:focus,
.campo select:focus {
  border-color: rgba(201, 20, 20, 0.38);
  box-shadow: 0 0 0 4px rgba(201, 20, 20, 0.12);
}

.campo small {
  color: var(--texto-suave);
  font-size: 0.88rem;
}

.opciones-extra {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.check-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--borde);
  border-radius: 20px;
  background: #fafafa;
  cursor: pointer;
}

.check-card input {
  margin-top: 4px;
  accent-color: var(--rojo);
}

.check-card strong {
  display: block;
  color: var(--grafito);
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.check-card small {
  color: var(--texto-suave);
  font-size: 0.9rem;
}

/* RESULTADO */

.resultado-panel {
  position: sticky;
  top: 104px;
}

.resumen-lista {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.resumen-lista div,
.precio-secundario {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--borde);
}

.resumen-lista span,
.precio-secundario span {
  color: var(--texto-suave);
  font-weight: 700;
}

.resumen-lista strong,
.precio-secundario strong {
  color: var(--grafito);
  font-weight: 900;
  text-align: right;
}

.precio-box {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: 22px;
  background: #f7f8fa;
  margin-bottom: 12px;
}

.precio-box span {
  color: var(--texto-suave);
  font-weight: 800;
}

.precio-box strong {
  color: var(--grafito);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900;
}

.precio-total {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, var(--rojo-oscuro), var(--rojo));
  margin-top: 16px;
}

.precio-total span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.precio-total strong {
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 900;
}

.aviso-cotizacion {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #fff8e1;
  border: 1px solid #ffe4a3;
  color: #6b4f00;
  font-size: 0.94rem;
  font-weight: 700;
}

.aviso-cotizacion.especial {
  background: #fff1f1;
  border-color: #ffc9c9;
  color: #7f1d1d;
}

.btn-whatsapp-final {
  width: 100%;
  margin-top: 18px;
}

/* ACLARACIÓN */

.aclaracion-bobinas {
  padding: 0 0 82px;
}

.aclaracion-box {
  background:
    radial-gradient(circle at top right, rgba(201, 20, 20, 0.12), transparent 30%),
    white;
  border: 1px solid var(--borde);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--sombra-suave);
}

.aclaracion-box h2 {
  color: var(--grafito);
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.aclaracion-box p {
  color: var(--texto-suave);
  max-width: 900px;
}

/* FOOTER */

#footer-placeholder {
  background: var(--negro-suave);
}

.footer {
  background: var(--negro-suave);
  color: white;
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 38px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 900;
  font-size: 1.1rem;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 520px;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 10px;
  transition: 0.2s ease;
}

.footer a:hover {
  color: #ff4b4b;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
}

.footer-copy p {
  max-width: none;
  font-size: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 1040px) {
  .hero-bobinas-grid,
  .cotizador-grid {
    grid-template-columns: 1fr;
  }

  .resultado-panel {
    position: static;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 6%;
    background: white;
    border-bottom: 1px solid var(--borde);
    box-shadow: var(--sombra-suave);
  }

  .nav.activo {
    display: flex;
  }

  .nav-destacado {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .hero-bobinas {
    padding: 70px 0 66px;
  }

  .hero-bobinas h1 {
    font-size: 2.35rem;
  }

  .hero-botones {
    flex-direction: column;
  }

  .hero-botones .btn {
    width: 100%;
  }

  .hero-bobinas-card {
    min-height: 330px;
    border-radius: 26px;
  }

  .hero-bobinas-card img {
    height: 330px;
  }

  .cotizador-panel,
  .resultado-panel,
  .aclaracion-box {
    padding: 24px;
    border-radius: 26px;
  }

  .precio-total strong {
    font-size: 1.8rem;
  }
}

@media (max-width: 620px) {
  .logo-texto span {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .info-bobinas {
    margin-top: -24px;
  }

  .info-grid article {
    padding: 22px;
    border-radius: 22px;
  }
}