/* ═══════════════════════════════════════════════
   SUMINEST — Hoja de estilos principal
   Paleta: Azul oscuro #0D2642, Cyan #00C8E0, Blanco #FFFFFF
═══════════════════════════════════════════════ */

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

:root {
  --blue-dark:  #0D2642;
  --blue-mid:   #1A3A5C;
  --blue-light: #1E4D7B;
  --cyan:       #00C8E0;
  --cyan-light: #00E5FF;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.bg-light { background: var(--gray-50); }
.accent   { color: var(--cyan); }

/* ── SVG Icons ── */
.ico {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--cyan);
  stroke: currentColor;
}
.ico-sm {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--cyan);
  stroke: currentColor;
  vertical-align: middle;
  margin-right: 2px;
}
.ico-star { color: var(--cyan); }

/* Iconos dentro de prod-icon, porque-icon, serv-icon-wrap */
.prod-icon .ico,
.prod-icon .ico-star { width: 32px; height: 32px; }

.porque-icon .ico { width: 36px; height: 36px; color: var(--cyan); }

.info-icon .ico { width: 28px; height: 28px; margin-top: 3px; }

.caract-icon .ico { width: 32px; height: 32px; color: var(--cyan); }

.serv-icon-wrap .ico { width: 32px; height: 32px; color: var(--white); }

.modal-icon .ico { width: 36px; height: 36px; color: var(--cyan); }

.cinfo-icon .ico-sm { width: 22px; height: 22px; }

/* Footer contact icons inline */
.footer-contact p svg { vertical-align: middle; }

/* ── Image helpers ── */
.prod-img, .serv-img {
  width: calc(100% + 56px);
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}
.prod-img {
  margin: -32px -28px 20px;
}
.serv-img {
  margin: -36px -28px 20px;
}
.prod-img img, .serv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.prod-card:hover .prod-img img,
.serv-card:hover .serv-img img { transform: scale(1.05); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--blue-dark);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: var(--cyan-light);
  border-color: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,200,224,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Section header ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(0,200,224,.12);
  color: var(--cyan);
  border: 1px solid rgba(0,200,224,.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--gray-600);
  font-size: 17px;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,38,66,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--blue-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.mobile-link:hover { color: var(--cyan); }
.mobile-menu .btn { margin-top: 8px; align-self: flex-start; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, #0A3255 100%);
  padding: 140px 0 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0,200,224,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(0,200,224,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* ── Carrusel de fondo ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: .18; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero-dot.active {
  background: var(--cyan);
  transform: scale(1.3);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-block;
  background: rgba(0,200,224,.15);
  color: var(--cyan);
  border: 1px solid rgba(0,200,224,.4);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-text p {
  color: rgba(255,255,255,.75);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

.hero-img { display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-big { width: 260px; height: auto; }

.hero-card-img {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.hero-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #0D2642;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.hero-logo-card {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,200,224,.3));
}
.hero-photo {
  width: 100%; height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
.hero-card-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(13,38,66,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 8px 14px;
}
.hero-card-badge img { height: 32px; width: auto; }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ══════════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════════ */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: center;
}
.nosotros-img-wrap { position: relative; }
.nosotros-img-box {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.nosotros-img-box img { width: 220px; }
.nosotros-img-real { padding: 0; }
.nosotros-img-real img {
  width: 100%; height: 360px;
  object-fit: cover;
  display: block;
}
.nosotros-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--cyan);
  color: var(--blue-dark);
  border-radius: var(--radius);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.nosotros-badge strong { display: block; font-size: 28px; font-weight: 800; line-height: 1; }
.nosotros-badge span   { font-size: 13px; font-weight: 600; }

.nosotros-info { display: flex; flex-direction: column; gap: 28px; }
.info-block {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.info-block:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 16px rgba(0,200,224,.1);
}
.info-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.info-block h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.info-block p { color: var(--gray-600); font-size: 15px; }

/* ══════════════════════════════════════════════
   PRODUCTOS
══════════════════════════════════════════════ */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.prod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.prod-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0,200,224,.15);
  transform: translateY(-4px);
}
.prod-card:hover::before { transform: scaleX(1); }
.prod-card.featured {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-color: var(--cyan);
  position: relative;
}
.prod-card.featured::after {
  content: '★ Producto estrella';
  position: absolute;
  top: 16px; right: 16px;
  background: var(--cyan);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.prod-card.featured h3,
.prod-card.featured p { color: var(--white); }
.prod-card.featured p  { color: rgba(255,255,255,.75); }
.prod-card.featured .prod-link { color: var(--cyan); }
.prod-card.featured .prod-tags span {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.2);
}

.prod-icon { font-size: 36px; margin-bottom: 16px; }
.prod-card h3 { font-size: 18px; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
.prod-card p  { color: var(--gray-600); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.prod-link {
  color: var(--cyan);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}
.prod-link:hover { letter-spacing: .5px; }

/* Categorías */
.cat-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
}
.cat-title:first-of-type { margin-top: 0; }
.cat-icon { font-size: 24px; }
.cat-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-dark);
}

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

.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.prod-tags span {
  background: rgba(0,200,224,.1);
  color: var(--blue-dark);
  border: 1px solid rgba(0,200,224,.25);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.productos-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.productos-cta p { color: rgba(255,255,255,.85); font-size: 17px; font-weight: 500; }

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

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.serv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  overflow: hidden;
}
.serv-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0,200,224,.12);
  transform: translateY(-4px);
}
.serv-icon-wrap {
  font-size: 40px;
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.serv-card h3 {
  font-size: 20px; font-weight: 700;
  color: var(--blue-dark);
}
.serv-card > p { color: var(--gray-600); font-size: 15px; line-height: 1.6; }

.serv-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.serv-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gray-600);
}
.serv-list li::before {
  content: '→';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* Banner catálogo */
.catalogo-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.catalogo-info {
  display: flex; align-items: center; gap: 20px;
}
.catalogo-icon {
  font-size: 48px;
  flex-shrink: 0;
}
.catalogo-info h3 {
  font-size: 20px; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
}
.catalogo-info p {
  color: rgba(255,255,255,.75);
  font-size: 14px; line-height: 1.5;
  max-width: 480px;
}

/* ══════════════════════════════════════════════
   POR QUÉ NOSOTROS
══════════════════════════════════════════════ */
.porque { background: var(--blue-dark); }
.porque .section-header .section-tag { background: rgba(0,200,224,.15); }
.porque .section-header h2 { color: var(--white); }
.porque .section-header p  { color: rgba(255,255,255,.65); }

.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.porque-item {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  transition: var(--transition);
}
.porque-item:hover {
  border-color: var(--cyan);
  background: rgba(0,200,224,.06);
  transform: translateY(-4px);
}
.porque-icon { font-size: 40px; margin-bottom: 16px; }
.porque-item h4 { color: var(--white); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.porque-item p  { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; }

/* ══════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════ */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 28px; }
.cinfo-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cinfo-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,200,224,.1);
  border-radius: 10px;
  flex-shrink: 0;
}
.cinfo-item h4 { font-size: 15px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.cinfo-item p  { color: var(--gray-600); font-size: 14px; line-height: 1.5; }

.contacto-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,200,224,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--gray-400); margin-top: 12px; text-align: center; }

.whatsapp-link {
  color: #25D366;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}
.whatsapp-link:hover { color: #1da851; text-decoration: underline; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; filter: brightness(1.1); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 240px; }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 5px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--cyan); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ══════════════════════════════════════════════
   FRANJA CARACTERÍSTICAS
══════════════════════════════════════════════ */
.caracteristicas {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  padding: 40px 0;
}
.caract-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.caract-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background var(--transition);
}
.caract-item:last-child { border-right: none; }
.caract-item:hover { background: rgba(255,255,255,.05); }
.caract-icon { font-size: 32px; flex-shrink: 0; }
.caract-item h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 3px; line-height: 1.3; }
.caract-item p  { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.4; }

/* ── Botón flotante cotización ── */
.fab-cotizar {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  background: var(--cyan);
  color: var(--blue-dark);
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,200,224,.4);
  transition: transform .25s, box-shadow .25s;
}
.fab-cotizar:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0,200,224,.5);
}

/* ── Redes sociales footer ── */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: transform .25s, opacity .25s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { transform: translateY(-3px); opacity: .85; }
.social-btn.linkedin  { background: #0077b5; }
.social-btn.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.facebook  { background: #1877f2; }

/* Responsive franja */
@media (max-width: 1024px) {
  .caract-grid { grid-template-columns: repeat(3, 1fr); }
  .caract-item:nth-child(3) { border-right: none; }
}
@media (max-width: 600px) {
  .caract-grid { grid-template-columns: repeat(2, 1fr); }
  .caract-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .fab-cotizar span { display: none; }
  .fab-cotizar { padding: 14px; border-radius: 50%; }
}

/* ══════════════════════════════════════════════
   MODAL FICHA TÉCNICA
══════════════════════════════════════════════ */
.prod-card { cursor: pointer; }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  animation: modalIn .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn {
  from { transform: scale(.92) translateY(20px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gray-100);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-800); }

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-icon { font-size: 36px; flex-shrink: 0; }
.modal-header h2 { font-size: 22px; font-weight: 800; color: var(--blue-dark); margin-bottom: 4px; }
.modal-tag {
  display: inline-block;
  background: rgba(0,200,224,.12);
  color: var(--cyan);
  border: 1px solid rgba(0,200,224,.3);
  font-size: 12px; font-weight: 600;
  padding: 2px 12px; border-radius: 20px;
}

.modal-desc {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.modal-specs { margin-bottom: 20px; }
.modal-specs h4 {
  font-size: 14px; font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.modal-specs table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.modal-specs th {
  background: var(--blue-dark); color: var(--white);
  padding: 8px 12px; text-align: left; font-weight: 600;
}
.modal-specs td {
  padding: 8px 12px; border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}
.modal-specs tr:nth-child(even) td { background: var(--gray-50); }

.modal-features {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.modal-features span {
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: 13px; font-weight: 500;
  padding: 5px 12px; border-radius: 20px;
}

/* ══════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--cyan);
  box-shadow: var(--shadow-lg);
  font-size: 15px;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: .4s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .productos-grid,
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .porque-grid               { grid-template-columns: repeat(2, 1fr); }
  .servicios-grid            { grid-template-columns: repeat(2, 1fr); }
  .footer-inner              { grid-template-columns: 1fr 1fr; }
}

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

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { display: none; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 16px; }

  .nosotros-grid  { grid-template-columns: 1fr; }
  .nosotros-badge { bottom: -16px; right: 16px; }

  .productos-grid,
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .porque-grid    { grid-template-columns: 1fr 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .catalogo-banner { flex-direction: column; text-align: center; }
  .catalogo-info  { flex-direction: column; text-align: center; }

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

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

  .toast { right: 16px; bottom: 16px; left: 16px; }
}

@media (max-width: 480px) {
  .porque-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 28px; }
}

/* ══════════════════════════════════════════════
   ANIMACIONES 3D Y EFECTOS VISUALES
══════════════════════════════════════════════ */

/* ── Cursor personalizado (lámina/teja) ── */
* { cursor: none !important; }
.cursor-dot {
  width: 30px; height: 30px;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform .1s ease, opacity .2s ease;
}
.cursor-dot svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 6px rgba(0,200,224,.7));
}
.cursor-ring {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform .08s ease, width .2s ease, height .2s ease, opacity .2s ease;
  opacity: .7;
}
.cursor-ring.hover {
  width: 12px; height: 12px;
  opacity: 1;
  background: var(--cyan-light);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Canvas partículas ── */
#particleCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Typed text cursor ── */
.typed-text {
  position: relative;
}
.typed-text::after {
  content: '|';
  position: absolute;
  right: -8px;
  animation: blink .7s infinite;
  color: var(--cyan);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── 3D Tilt en tarjetas ── */
.prod-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.prod-card .card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,200,224,.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 10;
}
.prod-card:hover .card-shine { opacity: 1; }

/* ── Glassmorphism en hero-card ── */
.hero-card-logo {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
}

/* ── Líneas decorativas animadas ── */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
  margin: 0;
  opacity: .4;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Gradiente mejorado en secciones oscuras ── */
.productos { background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%); }
.porque    {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0a1f38 40%, var(--blue-mid) 100%);
  position: relative;
  overflow: hidden;
}
.porque::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,224,.08) 0%, transparent 70%);
  pointer-events: none;
}
.porque::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,224,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Glow en botones ── */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: -2px; left: -100%;
  width: 60%;
  height: calc(100% + 4px);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3s infinite;
}
@keyframes btn-shine {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ── Animación flotante en hero-card ── */
.hero-card-logo {
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── Glow en stat-num ── */
.stat-num {
  text-shadow: 0 0 20px rgba(0,200,224,.4);
}

/* ── Hover 3D en porque-item ── */
.porque-item {
  transition: transform .3s ease, box-shadow .3s ease;
}
.porque-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
