/* ═══════════════════════════════════════════════════════
   BRIMAX PRODUCTOS QUÍMICOS — Hoja de estilos principal
   ═══════════════════════════════════════════════════════ */

:root {
  --naranja:     #FC6012;
  --naranja-osc: #CA4D0E;
  --naranja-cla: #FFEFE7;
  --blanco:      #FFFFFF;
  --gris-claro:  #F5F5F5;
  --gris-medio:  #E0E0E0;
  --gris-texto:  #555555;
  --negro:       #1A1A1A;
  --sombra:      0 4px 20px rgba(0,0,0,0.10);
  --radio:       8px;
  --trans:       0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--negro); background: var(--blanco); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utilidades ─────────────────────────────────────────── */
.contenedor  { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn-naranja { display: inline-block; background: var(--naranja); color: var(--blanco);
               padding: 12px 28px; border-radius: var(--radio); font-weight: 700;
               font-size: 0.95rem; border: none; cursor: pointer;
               transition: background var(--trans), transform var(--trans); }
.btn-naranja:hover { background: var(--naranja-osc); transform: translateY(-2px); }
.btn-borde   { display: inline-block; border: 2px solid var(--naranja); color: var(--naranja);
               padding: 10px 26px; border-radius: var(--radio); font-weight: 700;
               font-size: 0.95rem; cursor: pointer;
               transition: all var(--trans); }
.btn-borde:hover { background: var(--naranja); color: var(--blanco); }
.seccion-titulo { font-size: 2rem; font-weight: 800; color: var(--negro); margin-bottom: 8px; }
.seccion-subtitulo { color: var(--gris-texto); margin-bottom: 48px; font-size: 1.05rem; }
.linea-naranja { display: inline-block; width: 48px; height: 4px;
                 background: var(--naranja); border-radius: 2px; margin-bottom: 16px; }

/* ══════════════════════════════════════════════ HEADER ══ */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--blanco);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-top {
  background: var(--naranja);
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--blanco);
}
.header-top .contenedor {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
}
.header-top a { color: var(--blanco); opacity: 0.9; }
.header-top a:hover { opacity: 1; }
.header-top-contacto { display: flex; gap: 20px; }
.header-top-contacto span { display: flex; align-items: center; gap: 5px; }

.header-main .contenedor {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 38px; width: auto; display: block; }
.logo-icon {
  width: 48px; height: 48px; background: var(--naranja);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900; color: var(--blanco); letter-spacing: -1px;
}
.logo-texto { line-height: 1.1; }
.logo-nombre { font-size: 1.4rem; font-weight: 900; color: var(--naranja); letter-spacing: -0.5px; }
.logo-slogan { font-size: 0.72rem; color: var(--gris-texto); text-transform: uppercase; letter-spacing: 1px; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 8px 14px; border-radius: 6px; font-size: 0.88rem; font-weight: 600;
  color: var(--negro); transition: all var(--trans);
}
nav a:hover, nav a.activo { background: var(--naranja-cla); color: var(--naranja); }

.header-acciones { display: flex; gap: 10px; align-items: center; }
.btn-carro {
  position: relative; background: var(--gris-claro); border: 1.5px solid var(--gris-medio);
  border-radius: var(--radio); width: 40px; height: 40px; font-size: 1.15rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
}
.btn-carro:hover { border-color: var(--naranja); background: var(--naranja-cla); }
.carro-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--naranja); color: white; font-size: 0.68rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 10px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.btn-wsp {
  display: flex; align-items: center; gap: 6px; background: #25D366;
  color: white; padding: 9px 16px; border-radius: var(--radio);
  font-size: 0.85rem; font-weight: 700; transition: background var(--trans);
}
.btn-wsp:hover { background: #1da851; }

/* hamburger */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--negro); border-radius: 2px; transition: var(--trans); }

/* ══════════════════════════════════════════════ HERO ═══ */
#hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
  color: var(--blanco); padding: 90px 0 80px; overflow: hidden; position: relative;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 70% 50%, rgba(232,119,34,0.15) 0%, transparent 60%),
    rgba(10,15,30,0.55);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; align-items: center;
}
.hero-conoce-mas {
  position: absolute; top: 367px; right: 0; transform: translateY(-50%);
  backdrop-filter: blur(4px);
}
.hero-badge {
  display: inline-block; background: rgba(232,119,34,0.2); color: var(--naranja);
  border: 1px solid rgba(232,119,34,0.4); border-radius: 20px;
  padding: 5px 14px; font-size: 0.82rem; font-weight: 700; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-titulo { font-size: 3rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-titulo span { color: var(--naranja); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.78); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-botones { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; }
.stat-num { font-size: 1.6rem; font-weight: 900; color: var(--naranja); }
.stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

/* ══════════════════════════════════════════════ MINERÍA SUSTENTABLE ══ */
#mineria {
  background: linear-gradient(120deg, var(--naranja) 0%, var(--naranja-osc) 100%);
  color: var(--blanco); padding: 40px 0;
}
.mineria-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.mineria-icono {
  font-size: 2.6rem; flex-shrink: 0;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.mineria-texto { flex: 1; min-width: 240px; }
.mineria-texto h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.mineria-texto p  { font-size: 0.95rem; line-height: 1.6; opacity: 0.92; max-width: 640px; }

/* ══════════════════════════════════════════════ SECTORES ══ */
#sectores { padding: 40px 0 80px; background: var(--blanco); }
#sectores .cabecera { text-align: center; }
.sectores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  justify-content: center;
  gap: 8px 20px;
}
.sector-card {
  max-width: 300px; margin: 0 auto; width: 100%;
  padding: 12px 0; text-align: center; cursor: pointer;
  transition: box-shadow var(--trans);
}
.sector-card.entrando {
  opacity: 0; transform: scale(0.55);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sector-card.visible {
  opacity: 1; transform: scale(1);
}
.sector-card.visible:hover, .sector-card.visible.activo {
  transform: scale(1) translateY(-3px);
}
.sector-card .icono { font-size: 2.2rem; margin-bottom: 12px; }
.sector-foto-wrap { position: relative; margin: 0 0 22px; }
.sector-card .sector-foto {
  width: 100%; aspect-ratio: 4 / 3; max-height: 300px;
  object-fit: cover; border-radius: 20px;
  display: block; transition: box-shadow var(--trans);
}
.sector-icono-box {
  background: var(--naranja-cla);
  display: flex; align-items: center; justify-content: center;
}
.sector-icono-box .icono { font-size: 3.2rem; margin-bottom: 0; }
.sector-card:hover .sector-foto, .sector-card.activo .sector-foto {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.sector-badge {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  background: var(--naranja); color: white; font-weight: 700; font-size: 0.85rem;
  padding: 9px 22px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18); transition: transform var(--trans);
}
.sector-card p  { font-size: 0.75rem; color: var(--gris-texto); margin-top: 4px; }
.sector-card:hover .sector-badge, .sector-card.activo .sector-badge { transform: translateX(-50%) translateY(-2px); }

/* ══════════════════════════════════════════════ PRODUCTOS ══ */
#productos { padding: 16px 0 80px; background: var(--gris-claro); }
#productos .cabecera { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; flex-wrap: wrap; gap: 12px; }
#productos .seccion-subtitulo { margin-bottom: 0; }
.buscador-productos {
  position: relative; max-width: 480px; margin: 0 0 16px;
  display: flex; align-items: center;
}
.buscador-icono {
  position: absolute; left: 16px; font-size: 0.95rem; opacity: 0.55; pointer-events: none;
}
.buscador-productos input {
  width: 100%; padding: 12px 40px; border: 1.5px solid var(--gris-medio); border-radius: 24px;
  font-size: 0.9rem; font-family: inherit; background: var(--blanco);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.buscador-productos input:focus {
  outline: none; border-color: var(--naranja); box-shadow: 0 0 0 3px rgba(232,119,34,0.12);
}
.buscador-limpiar {
  position: absolute; right: 12px; background: var(--gris-claro); border: none;
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
  font-size: 0.7rem; color: var(--gris-texto); display: flex; align-items: center; justify-content: center;
}
.buscador-limpiar:hover { background: var(--naranja); color: white; }
.buscador-sectores { margin: 0 auto 32px; }
.buscador-sin-resultados {
  text-align: center; color: var(--gris-texto); padding: 48px 20px; font-size: 0.92rem;
}
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.prod-card {
  background: var(--blanco); border-radius: 20px;
  overflow: hidden; box-shadow: var(--sombra);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,0.14); }
.prod-img {
  height: 240px; background: var(--naranja-cla);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative;
}
.prod-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--naranja); color: white;
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; text-transform: uppercase;
}
.prod-zoom-btn {
  position: absolute; bottom: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.9); color: var(--negro); cursor: zoom-in;
  font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); transition: all var(--trans);
  opacity: 0; transform: translateY(4px);
}
.prod-img:hover .prod-zoom-btn,
.prod-img:focus-within .prod-zoom-btn,
.prod-zoom-btn:focus {
  opacity: 1; transform: translateY(0);
}
.prod-zoom-btn:hover { background: var(--naranja); color: white; }
.prod-info { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.prod-categoria { font-size: 0.72rem; color: var(--naranja); font-weight: 700;
                  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.prod-nombre { font-size: 1rem; font-weight: 700; color: var(--negro); margin-bottom: 6px; }
.prod-desc   { font-size: 0.82rem; color: var(--gris-texto); line-height: 1.5; margin-bottom: 14px; }
.prod-formato-select {
  width: 100%; padding: 8px 10px; margin-bottom: 12px;
  border: 1.5px solid var(--gris-medio); border-radius: 7px;
  font-size: 0.82rem; font-family: inherit; color: var(--negro); background: var(--blanco);
  cursor: pointer;
}
.prod-formato-select:focus { outline: none; border-color: var(--naranja); }
.prod-formato-unico {
  font-size: 0.78rem; color: var(--gris-texto); font-weight: 600; margin-bottom: 12px;
}
.prod-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.prod-precio { font-size: 1.1rem; font-weight: 800; color: var(--naranja); }
.prod-precio small { font-size: 0.72rem; font-weight: 400; color: var(--gris-texto); display: block; }
.precio-antes { font-size: 0.8rem; font-weight: 400; color: #AAA; text-decoration: line-through; margin-right: 4px; }
.prod-stock {
  display: inline-block; font-size: 0.72rem; font-weight: 700; margin-bottom: 10px;
  color: #107C10;
}
.prod-stock.bajo-stock { color: #C97A00; }
.prod-stock.sin-stock  { color: #C42B1C; }
.btn-prod:disabled {
  background: var(--gris-medio); color: #888; cursor: not-allowed;
}
.btn-prod:disabled:hover { background: var(--gris-medio); }
.prod-botones { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-prod { background: var(--naranja); color: white; border: none; padding: 8px 14px;
            border-radius: 6px; font-size: 0.8rem; font-weight: 700; cursor: pointer;
            white-space: nowrap; transition: background var(--trans); }
.btn-prod:hover { background: var(--naranja-osc); }
.btn-prod-ghost { background: transparent; color: var(--naranja); border: 1.5px solid var(--naranja);
            padding: 7px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; cursor: pointer;
            white-space: nowrap; transition: all var(--trans); }
.btn-prod-ghost:hover { background: var(--naranja); color: white; }

/* ══════════════════════════════════════════════ CARRO DE COMPRAS ══ */
.carro-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none; transition: opacity var(--trans); z-index: 1998;
}
.carro-overlay.abierto { opacity: 1; pointer-events: auto; }

.carro-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: 440px; max-width: 92vw;
  background: var(--blanco); z-index: 1999; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.3s ease;
  box-shadow: -6px 0 30px rgba(0,0,0,0.18);
}
.carro-panel.abierto { transform: translateX(0); }

.carro-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--gris-medio);
  position: sticky; top: 0; z-index: 2; background: var(--blanco);
}
.carro-header h3 { font-size: 1.05rem; font-weight: 800; }
.carro-cerrar {
  background: var(--gris-claro); border: none; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 0.95rem; color: var(--gris-texto); transition: all var(--trans);
}
.carro-cerrar:hover { background: var(--naranja); color: white; }

.carro-items { padding: 12px 16px; }
.carro-vacio { text-align: center; color: #999; padding: 60px 20px; font-size: 2.4rem; }
.carro-vacio p { font-size: 0.9rem; margin-top: 10px; }

.carro-item {
  display: flex; flex-wrap: wrap; gap: 10px 12px; padding: 14px 4px; border-bottom: 1px solid #EEE;
}
.carro-item-thumb {
  width: 72px; height: 72px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  overflow: hidden;
}
.carro-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.carro-item-info { flex: 1 1 calc(100% - 84px); min-width: 0; }
.carro-item-nombre { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.carro-item-formato { font-size: 0.75rem; color: var(--naranja); font-weight: 600; margin-bottom: 2px; }
.carro-item-precio { font-size: 0.78rem; color: var(--gris-texto); margin-bottom: 6px; }
.carro-item-qty { display: flex; align-items: center; gap: 8px; }
.carro-item-qty button {
  width: 24px; height: 24px; border-radius: 5px; border: 1px solid var(--gris-medio);
  background: var(--blanco); cursor: pointer; font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.carro-item-qty button:hover { border-color: var(--naranja); color: var(--naranja); }
.carro-item-qty span { font-size: 0.85rem; font-weight: 700; min-width: 16px; text-align: center; }
.carro-item-aviso { font-size: 0.7rem; color: #C42B1C; font-weight: 700; margin-top: 4px; }
.carro-item-right {
  flex: 1 1 100%; display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; padding-left: 84px;
}
.carro-item-total { font-size: 0.9rem; font-weight: 800; color: var(--naranja); }
.carro-item-quitar { background: none; border: none; color: #BBB; cursor: pointer; font-size: 0.9rem; padding: 2px; }
.carro-item-quitar:hover { color: #C42B1C; }

.carro-footer { padding: 16px 20px 20px; border-top: 1px solid var(--gris-medio); }
.carro-entrega-info {
  font-size: 0.74rem; color: var(--gris-texto); background: var(--gris-claro);
  border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; display: none;
}
.carro-entrega-otras { display: block; margin-top: 4px; color: #888; }
.carro-flete-excede { font-size: 0.78rem; color: #C42B1C; font-weight: 600; margin-bottom: 4px; }
.carro-subtotal { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; margin-bottom: 4px; }
.carro-subtotal strong { font-size: 1rem; color: var(--negro); }
.carro-total-final { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--gris-medio); font-size: 1rem; }
.carro-total-final strong { font-size: 1.25rem; color: var(--naranja); }
.carro-nota { font-size: 0.72rem; color: #999; margin-bottom: 14px; }
.carro-datos-cliente { margin-bottom: 10px; }
.carro-datos-cliente .agenda-input { margin-bottom: 8px; padding: 9px 12px; font-size: 0.85rem; }
.carro-documento { margin-bottom: 12px; }
.carro-doc-opciones { display: flex; gap: 16px; margin-bottom: 8px; }
.doc-opcion { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--negro); cursor: pointer; }
.carro-datos-factura .agenda-input { margin-bottom: 8px; padding: 9px 12px; font-size: 0.85rem; }
.carro-doc-nota { font-size: 0.7rem; color: #999; }
.carro-transf-datos {
  font-size: 0.8rem; line-height: 1.6; color: var(--negro); background: var(--naranja-cla);
  border: 1px solid rgba(232,119,34,0.3); border-radius: 8px; padding: 10px 12px; margin-top: 4px;
}
.carro-despacho { margin-bottom: 12px; }
.carro-despacho .agenda-input { margin-bottom: 8px; padding: 9px 12px; font-size: 0.85rem; }
.agenda-input-importante { border-color: var(--naranja); background: var(--naranja-cla); }
.carro-btn-pagar { width: 100%; padding: 13px; font-size: 0.92rem; background: #25D366; }
.carro-btn-pagar:hover { background: #1da851; }
.carro-btn-pagar:disabled { background: var(--gris-medio); color: #888; cursor: not-allowed; }
.carro-suspendido {
  background: #FFF0EE; border: 1px solid #F3C6C0; color: #C42B1C;
  border-radius: 8px; padding: 10px 12px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 10px; text-align: center;
}

/* ══════════════════════════════════════════════ MODAL FOTO PRODUCTO ══ */
.foto-modal {
  position: fixed; top: 50%; left: 50%; z-index: 2000;
  width: min(400px, 92vw); max-height: 90vh; overflow-y: auto;
  background: var(--blanco); border-radius: 12px;
  transform: translate(-50%, -50%) scale(0.94); opacity: 0; pointer-events: none;
  transition: all 0.25s ease; box-shadow: 0 10px 50px rgba(0,0,0,0.4);
}
.foto-modal.abierto { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.foto-modal-img-wrap { position: relative; }
.foto-modal img { width: 100%; max-height: 45vh; object-fit: contain; display: block; background: #F0F4F8; }
.foto-modal-zoom-btn {
  position: absolute; bottom: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.9); color: var(--negro); cursor: zoom-in;
  font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); transition: all var(--trans);
}
.foto-modal-zoom-btn:hover { background: var(--naranja); color: white; }

.zoom-imagen-overlay {
  position: fixed; inset: 0; z-index: 2100; background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
.zoom-imagen-overlay.abierto { opacity: 1; pointer-events: auto; }
.zoom-imagen-overlay img {
  max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 8px;
}
.zoom-imagen-cerrar {
  position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none; color: white; font-size: 1.1rem; cursor: pointer;
  transition: all var(--trans);
}
.zoom-imagen-cerrar:hover { background: var(--naranja); }
.foto-modal-body { padding: 16px 20px 20px; }
.foto-modal-nombre { font-size: 1.02rem; font-weight: 800; color: var(--negro); margin-bottom: 10px; }
.foto-modal-body .prod-formato-select { width: 100%; margin-bottom: 10px; }
.foto-modal-precio { font-size: 1.15rem; font-weight: 800; color: var(--naranja); margin-bottom: 10px; }
.foto-modal-precio small { font-size: 0.7rem; font-weight: 600; color: var(--gris-texto); margin-left: 4px; }
.foto-modal-qty {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.foto-modal-qty button {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--gris-medio);
  background: var(--blanco); cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.foto-modal-qty button:hover { border-color: var(--naranja); color: var(--naranja); }
.foto-modal-qty span { font-size: 1rem; font-weight: 700; min-width: 20px; text-align: center; }
.foto-modal-agregar { width: 100%; }

/* ══════════════════════════════════════════════ MODAL VIDEO ══ */
.video-modal {
  position: fixed; top: 50%; left: 50%; z-index: 2000;
  width: min(720px, 92vw); background: #000; border-radius: 12px; overflow: hidden;
  transform: translate(-50%, -50%) scale(0.94); opacity: 0; pointer-events: none;
  transition: all 0.25s ease; box-shadow: 0 10px 50px rgba(0,0,0,0.4);
}
.video-modal.abierto { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.video-modal video { width: 100%; max-height: 80vh; display: block; }
.video-modal-cerrar { position: absolute; top: 8px; right: 8px; z-index: 1; }

/* ══════════════════════════════════════════════ MODAL AGENDAR ASESORÍA ══ */
.agenda-modal {
  position: fixed; top: 50%; left: 50%; z-index: 2000;
  width: min(460px, 92vw); max-height: 86vh; overflow-y: auto;
  background: var(--blanco); border-radius: 14px;
  transform: translate(-50%, -50%) scale(0.94); opacity: 0; pointer-events: none;
  transition: all 0.25s ease; box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}
.agenda-modal.abierto { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.agenda-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--gris-medio);
  position: sticky; top: 0; background: var(--blanco); z-index: 1;
}
.agenda-modal-header h3 { font-size: 1.02rem; font-weight: 800; color: var(--negro); }
.agenda-modal-body { padding: 18px 20px 22px; }
.agenda-paso { margin-bottom: 18px; }
.agenda-label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--negro); margin-bottom: 10px; }
.agenda-dias { display: flex; gap: 8px; flex-wrap: wrap; }
.dia-btn {
  padding: 10px 14px; border: 1.5px solid var(--gris-medio); border-radius: 10px;
  background: white; cursor: pointer; text-align: center; min-width: 64px;
  font-family: inherit; transition: all var(--trans);
}
.dia-btn:hover, .dia-btn.sel { border-color: var(--naranja); background: var(--naranja-cla); }
.dia-btn .dia-nombre { font-size: 0.68rem; font-weight: 700; color: var(--gris-texto); text-transform: uppercase; }
.dia-btn .dia-num { font-size: 1.05rem; font-weight: 800; color: var(--negro); }
.dia-btn.sel .dia-num, .dia-btn.sel .dia-nombre { color: var(--naranja); }
.agenda-horas { display: flex; gap: 8px; flex-wrap: wrap; }
.hora-btn {
  padding: 9px 14px; border: 1.5px solid var(--gris-medio); border-radius: 8px;
  background: white; font-size: 0.85rem; font-weight: 700; color: var(--negro);
  cursor: pointer; font-family: inherit; transition: all var(--trans);
}
.hora-btn:hover, .hora-btn.sel { border-color: var(--naranja); background: var(--naranja-cla); color: var(--naranja); }
.hora-btn:disabled { background: var(--gris-claro); color: #BBB; border-color: var(--gris-medio); cursor: not-allowed; text-decoration: line-through; }
.agenda-input {
  width: 100%; padding: 10px 13px; margin-bottom: 10px; border: 1.5px solid var(--gris-medio);
  border-radius: 8px; font-size: 0.9rem; font-family: inherit;
}
.agenda-input:focus { outline: none; border-color: var(--naranja); }
.agenda-resumen {
  background: var(--naranja-cla); border-radius: 8px; padding: 10px 12px;
  font-size: 0.82rem; color: var(--negro); margin-bottom: 12px; font-weight: 600;
}
.agenda-btn-confirmar { width: 100%; padding: 12px; }
.agenda-nota { font-size: 0.72rem; color: #999; text-align: center; }

/* ══════════════════════════════════════════════ DOCS DE PRODUCTO ══ */
.prod-docs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.prod-doc-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.74rem; font-weight: 700; color: var(--naranja);
  background: none; border: none; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.prod-doc-link:hover { color: var(--naranja-osc); }

/* ══════════════════════════════════════════════ NOSOTROS ══ */
#nosotros { padding: 80px 0; background: var(--blanco); }
.nosotros-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.nosotros-visual {
  background: linear-gradient(135deg, var(--naranja) 0%, var(--naranja-osc) 100%);
  border-radius: 20px; padding: 50px 40px; color: white; position: relative; overflow: hidden;
}
.nosotros-visual::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 160px; height: 160px; background: rgba(255,255,255,0.08); border-radius: 50%;
}
.nosotros-visual::after {
  content: ''; position: absolute; bottom: -50px; left: -20px;
  width: 200px; height: 200px; background: rgba(255,255,255,0.05); border-radius: 50%;
}
.nosotros-visual h3 { font-size: 2rem; font-weight: 900; margin-bottom: 16px; position: relative; z-index:1; }
.nosotros-visual p  { font-size: 0.95rem; line-height: 1.7; opacity: 0.9; position: relative; z-index:1; }
.nosotros-numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; position: relative; z-index:1; }
.num-box { background: rgba(255,255,255,0.12); border-radius: 10px; padding: 16px; text-align: center; }
.num-box .cifra { font-size: 1.8rem; font-weight: 900; }
.num-box .etiq  { font-size: 0.75rem; opacity: 0.8; margin-top: 4px; }

.nosotros-texto h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.nosotros-texto p  { color: var(--gris-texto); line-height: 1.7; margin-bottom: 24px; }
.valores-lista { display: flex; flex-direction: column; gap: 14px; }
.valor-item { display: flex; gap: 14px; align-items: flex-start; }
.valor-icono {
  width: 44px; height: 44px; border-radius: 10px; background: var(--naranja-cla);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.valor-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.valor-item p  { font-size: 0.85rem; color: var(--gris-texto); }

/* ══════════════════════════════════════════════ CERTIFICACIONES ══ */
#certificaciones { padding: 60px 0; background: var(--naranja); color: white; }
#certificaciones .contenedor { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
#certificaciones h3 { font-size: 1.3rem; font-weight: 800; white-space: nowrap; }
.cert-items { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.cert-item { background: rgba(255,255,255,0.15); border-radius: 10px;
             padding: 14px 22px; font-size: 0.88rem; font-weight: 700;
             display: flex; align-items: center; gap: 8px; }

/* ══════════════════════════════════════════════ CONTACTO ══ */
#contacto { padding: 80px 0; background: var(--gris-claro); }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contacto-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.contacto-info p  { color: var(--gris-texto); line-height: 1.7; margin-bottom: 30px; }
.info-items { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icono {
  width: 44px; height: 44px; border-radius: 10px; background: var(--naranja);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  color: white; flex-shrink: 0;
}
.info-item h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 3px; }
.info-item p  { font-size: 0.88rem; color: var(--gris-texto); }
.info-item a  { color: var(--naranja); font-weight: 600; }

.form-contacto { background: var(--blanco); border-radius: 16px; padding: 36px; box-shadow: var(--sombra); }
.form-contacto h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.form-grupo { margin-bottom: 18px; }
.form-grupo label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--negro); }
.form-grupo input,
.form-grupo select,
.form-grupo textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gris-medio);
  border-radius: 8px; font-size: 0.9rem; font-family: inherit;
  transition: border-color var(--trans), box-shadow var(--trans);
  background: var(--blanco);
}
.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
  outline: none; border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(232,119,34,0.12);
}
.form-grupo textarea { resize: vertical; min-height: 110px; }
.form-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-contacto .btn-naranja { width: 100%; padding: 14px; font-size: 1rem; }
.form-ok { display: none; text-align: center; padding: 20px; color: #107C10; font-weight: 700; }
.contacto-mapa {
  position: relative; margin-top: 40px; border-radius: 16px; overflow: hidden; box-shadow: var(--sombra);
}
.contacto-mapa iframe { display: block; }
.btn-como-llegar {
  position: absolute; bottom: 16px; left: 16px;
  font-size: 0.85rem; padding: 10px 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* ══════════════════════════════════════════════ FOOTER ══ */
#footer { background: var(--negro); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-marca .logo-nombre { color: var(--naranja); font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; }
.footer-marca .logo-slogan { color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-bottom: 16px; }
.footer-marca p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.badge-aniversario {
  display: inline-block; margin-top: 14px; background: rgba(232,119,34,0.18);
  color: var(--naranja); border: 1px solid rgba(232,119,34,0.4); border-radius: 20px;
  padding: 5px 14px; font-size: 0.78rem; font-weight: 700;
}
.footer-col h4 { color: var(--blanco); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px;
                 padding-bottom: 8px; border-bottom: 2px solid var(--naranja); display: inline-block; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6);
                      transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--naranja); }
.footer-contacto p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 8px; }
.footer-contacto strong { color: var(--blanco); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px;
}
.footer-bottom span { color: var(--naranja); font-weight: 700; }

/* WhatsApp flotante */
.wsp-flotante {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform var(--trans), box-shadow var(--trans);
  text-decoration: none;
}
.wsp-flotante:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }

/* ══════════════════════════════════════════════ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .hero-inner         { grid-template-columns: 1fr; text-align: center; }
  .hero-stats         { justify-content: center; }
  .nosotros-inner     { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-conoce-mas { position: static; transform: none; display: inline-block; margin-top: 20px; }
  nav { display: none; flex-direction: column; position: absolute; top: 100%;
        left: 0; right: 0; background: white; padding: 12px; box-shadow: var(--sombra); }
  nav.abierto { display: flex; }
  .menu-toggle { display: flex; }
  .header-main .contenedor { position: relative; }
  .hero-titulo        { font-size: 2rem; }
  #hero               { padding: 60px 0; }
  .mineria-inner      { text-align: center; justify-content: center; }
  .contacto-inner     { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; }
  .nosotros-numeros   { grid-template-columns: 1fr 1fr; }
  .form-fila          { grid-template-columns: 1fr; }
  .seccion-titulo     { font-size: 1.5rem; }
  .hero-botones       { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .header-top-contacto { display: none; }
  .logo-slogan         { display: none; }
  .hero-stats          { gap: 20px; }
  .header-acciones     { gap: 6px; }
  .header-acciones .btn-naranja { display: none; }
  .btn-wsp             { padding: 9px 12px; font-size: 0.8rem; }
}
@media (max-width: 340px) {
  .btn-wsp span { display: none; }
  .btn-wsp             { padding: 9px 10px; }
}
