/* =============================
   ICB ENVASES – LANDING PAGE
   Paleta fiel al logotipo
   ============================= */

/* ---- Variables ---- */
:root {
  /* Colores extraídos del logo */
  --carbon: #3c3c3c;
  /* gris carbón texto ICB/ENVASES */
  --carbon-dark: #222222;
  /* hover oscuro */
  --carbon-mid: #555555;
  /* subtítulos */
  --gold: #9a9877;
  /* dorado-olivo ilustraciones del logo */
  --gold-light: #b8b694;
  --gold-dark: #7a7a5a;
  --gold-pale: #f0efe8;
  /* fondo secciones alternadas */
  --gold-xpale: #f8f7f2;
  /* fondo general muy suave */

  /* Neutros */
  --white: #ffffff;
  --off-white: #fafaf7;
  --gray-light: #f2f1ec;
  --gray: #888888;
  --gray-mid: #666666;
  --border: #dddcd5;
  --border-light: #ebebE4;

  /* Oscuro para secciones dark */
  --dark-bg: #1e1e1e;
  --dark-bg2: #2a2a2a;
  --dark-border: rgba(154, 152, 119, .25);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .07);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .11);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .15);

  /* Bordes */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* Tipografía */
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --font-body: 'Inter', sans-serif;
  --font-head: 'Barlow', sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--carbon);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  width: 100%;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--gold-xpale);
}

.section-dark {
  background: var(--dark-bg);
}

/* ---- Section header ---- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray-mid);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.section-label.light {
  color: var(--gold-light);
}

.section-label.light::before {
  background: var(--gold-light);
}

/* ---- Headings ---- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--carbon-dark);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--carbon-dark);
  color: var(--white);
  border-color: var(--carbon-dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 122, 90, .3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--carbon-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(154, 152, 119, .4);
}

.btn-white {
  background: var(--white);
  color: var(--carbon-dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  transition: var(--transition);
}

.btn-nav:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .09);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 90px;
  width: auto;
  transition: var(--transition);
  /* Fondo transparente — el logo tiene fondo blanco, lo contenemos */
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.navbar.scrolled .nav-logo img {
  height: 75px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--carbon);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--gold-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.btn-nav::after {
  display: none;
}

.navbar.scrolled .nav-links a.btn-nav {
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--carbon);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  background: var(--carbon-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  width: 100%;
  max-width: 100%;
}

/* Textura sutil fondo hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(154, 152, 119, .03) 2px,
      rgba(154, 152, 119, .03) 4px);
  pointer-events: none;
}

/* Acento diagonal dorado */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(154, 152, 119, .08) 100%);
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--dark-border);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  background: rgba(154, 152, 119, .07);
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-text h1 .highlight {
  color: var(--gold-light);
  font-style: italic;
}

.hero-text p {
  color: rgba(255, 255, 255, .65);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Imagen hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-img-wrap img {
  border-radius: 2px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  filter: grayscale(15%) contrast(1.05);
}

/* Marco decorativo dorado */
.hero-img-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: -12px;
  border: 1px solid rgba(154, 152, 119, .4);
  border-radius: 2px;
  z-index: -1;
  pointer-events: none;
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: rgba(154, 152, 119, .12);
  border-radius: 2px;
  z-index: -1;
  pointer-events: none;
}

/* Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: var(--gold-pale);
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 36px clamp(16px, 2.5vw, 32px);
  border-right: 1px solid var(--border);
  transition: background var(--transition);
  min-width: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--white);
}

.stat-item i {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: .8;
}

.stat-item strong {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--carbon-dark);
  line-height: 1;
  display: block;
}

.stat-item>div span {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.5rem;
}

.stat-item p {
  font-size: .8rem;
  color: var(--gray);
  margin-top: 4px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ===========================
   NOSOTROS
   =========================== */
.nosotros.section {
  background: var(--white);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.nosotros-img {
  position: relative;
}

.img-frame {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.img-frame img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  filter: grayscale(10%);
  transition: transform .6s ease;
  display: block;
}

.img-frame:hover img {
  transform: scale(1.03);
}

/* Línea decorativa */
.img-frame::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  z-index: 1;
}

.badge-float {
  position: absolute;
  bottom: -20px;
  right: 24px;
  background: var(--carbon-dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  z-index: 2;
}

.badge-float i {
  color: var(--gold);
}

.nosotros-text h2 {
  margin-bottom: 20px;
}

.nosotros-text p {
  color: var(--gray-mid);
  margin-bottom: 16px;
  font-size: .97rem;
  line-height: 1.75;
}

.check-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--carbon-mid);
}

.check-list li i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: .9rem;
}

/* ===========================
   PRODUCTOS
   =========================== */
.productos.section {
  background: var(--gold-xpale);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.producto-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.producto-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.producto-card:hover::after {
  transform: scaleX(1);
}

.producto-img {
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--gray-light);
}

.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Cambiado de cover a contain para que no se recorte */
  padding: 20px;
  /* Un poco de respiro alrededor de la imagen */
  background-color: var(--white);
  /* Fondo blanco para las imágenes si es necesario */
  transition: transform .5s ease;
  filter: grayscale(5%);
}

.producto-card:hover .producto-img img {
  transform: scale(1.07);
}

.producto-info {
  padding: 22px;
}

.producto-info h3 {
  font-size: .98rem;
  margin-bottom: 8px;
  color: var(--carbon-dark);
}

.producto-info p {
  font-size: .83rem;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.55;
}

.producto-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* ===========================
   SERVICIOS
   =========================== */
.servicios.section {
  background: var(--white);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  width: 100%;
}

.servicio-card {
  background: var(--white);
  padding: 44px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height var(--transition);
}

.servicio-card:hover {
  background: var(--gold-xpale);
}

.servicio-card:hover::before {
  height: 100%;
}

.servicio-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
  background: var(--gold);
  border-color: var(--gold);
}

.servicio-icon i {
  font-size: 1.4rem;
  color: var(--gold);
  transition: color var(--transition);
}

.servicio-card:hover .servicio-icon i {
  color: var(--white);
}

.servicio-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--carbon-dark);
}

.servicio-card p {
  font-size: .86rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ===========================
   INDUSTRIAS
   =========================== */
.industrias.section {
  background: var(--dark-bg);
}

.industrias .section-header h2 {
  color: var(--white);
}

.industrias .section-header p {
  color: rgba(255, 255, 255, .5);
}

.industrias-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  width: 100%;
  overflow: hidden;
}

.industria-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 16px;
  background: var(--dark-bg);
  transition: var(--transition);
  cursor: default;
  text-align: center;
}

.industria-item:hover {
  background: var(--dark-bg2);
}

.industria-item i {
  font-size: 1.8rem;
  color: var(--gold);
  opacity: .85;
}

.industria-item span {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ===========================
   CATÁLOGO CTA
   =========================== */
.catalogo.section {
  background: var(--carbon-dark);
  position: relative;
  overflow: hidden;
}

/* Cuadrícula decorativa */
.catalogo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 152, 119, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 152, 119, .06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.catalogo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.catalogo-text .section-label {
  margin-bottom: 16px;
  display: block;
}

.catalogo-text h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.catalogo-text p {
  color: rgba(255, 255, 255, .6);
  margin-bottom: 36px;
  font-size: 1rem;
  line-height: 1.75;
}

.capacidades {
  display: flex;
  align-items: stretch;
  background: rgba(154, 152, 119, .08);
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  margin-bottom: 36px;
  overflow: hidden;
}

.cap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px 8px;
  border-right: 1px solid var(--dark-border);
  min-width: 0;
}

.cap-item:last-child {
  border-right: none;
}

.cap-item strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
}

.cap-item span {
  font-size: .68rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.cap-divider {
  display: none;
}

.catalogo-img img {
  border-radius: 2px;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  border: 1px solid rgba(154, 152, 119, .2);
}

/* ===========================
   CONTACTO
   =========================== */
.contacto.section {
  background: var(--gold-xpale);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  width: 100%;
}

.contacto-form-wrap {
  background: var(--white);
  border-radius: 2px;
  padding: clamp(24px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  min-width: 0;
}

.contacto-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--carbon);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--carbon);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(154, 152, 119, .15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-feedback {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  display: none;
}

.form-feedback.success {
  background: #f0f7ee;
  color: #2d5a27;
  border: 1px solid #c3ddbf;
  display: block;
}

.form-feedback.error {
  background: #fdf2f2;
  color: #7b2424;
  border: 1px solid #f0c8c8;
  display: block;
}

/* Info de contacto */
.info-card {
  background: var(--white);
  border-radius: 2px;
  padding: 36px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  border-top: 4px solid var(--gold);
}

.info-card h3 {
  margin-bottom: 28px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--carbon-dark);
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-item i {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-item strong {
  display: block;
  font-size: .77rem;
  color: var(--carbon);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}

.info-item p {
  font-size: .88rem;
  color: var(--gray-mid);
}

.info-item a {
  color: var(--gray-mid);
  transition: color var(--transition);
}

.info-item a:hover {
  color: var(--gold-dark);
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: var(--gold-xpale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: .88rem;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.social-links a:hover {
  background: var(--carbon-dark);
  color: var(--white);
  border-color: var(--carbon-dark);
  transform: translateY(-2px);
}

.whatsapp-cta {
  background: var(--carbon-dark);
  border-radius: 2px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid #25D366;
}

.whatsapp-cta>i {
  font-size: 2rem;
  color: #25D366;
  flex-shrink: 0;
}

.whatsapp-cta div {
  flex: 1;
}

.whatsapp-cta strong {
  display: block;
  color: var(--white);
  font-size: .9rem;
}

.whatsapp-cta p {
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, .7);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  width: 100%;
}

.footer-brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
  opacity: .7;
  background: transparent;
  padding: 0;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .4);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: .78rem;
  margin-bottom: 20px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .9;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: .86rem;
  color: rgba(255, 255, 255, .4);
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: var(--gold-light);
}

.footer-contact p {
  font-size: .86rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--gold);
  opacity: .8;
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .25);
}

/* ===========================
   WHATSAPP FLOTANTE + BACK TOP
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: var(--white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
  z-index: 900;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .4);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--gold-dark);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industrias-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 48px 32px;
    box-shadow: -4px 0 40px rgba(0, 0, 0, .15);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--carbon) !important;
    padding: 18px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .nav-links a.btn-nav {
    margin-top: 20px;
    text-align: center;
    background: var(--gold);
    color: var(--white) !important;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-ctas {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nosotros-img {
    order: -1;
  }

  .badge-float {
    bottom: -12px;
    right: 0;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industrias-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .catalogo-inner {
    grid-template-columns: 1fr;
  }

  .catalogo-img {
    display: none;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .stat-item {
    padding: 24px 16px;
    gap: 12px;
  }

  .stat-item strong {
    font-size: 1.7rem;
  }

  .productos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

  .industrias-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacto-form-wrap {
    padding: 24px 18px;
  }

  .contacto-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
  }

  .capacidades {
    flex-wrap: wrap;
  }

  .nav-logo img {
    height: 42px;
  }

  .badge-float {
    position: static;
    margin-top: 16px;
  }

  .industria-item {
    padding: 24px 10px;
  }

  .industria-item i {
    font-size: 1.5rem;
  }
}

@media (max-width: 420px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }

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

  .industrias-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header {
    margin-bottom: 40px;
  }

  .servicio-card {
    padding: 32px 20px;
  }

  .hero-badge {
    font-size: .65rem;
    letter-spacing: .1em;
  }
}