@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* ==========================================
   SYSTEM DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Brand Colors */
  --azul-marino: #042E57;
  --azul-marino-rgb: 4, 46, 87;
  --rojo: #ED0A19;
  --rojo-hover: #c40814;
  --rojo-rgb: 237, 10, 25;
  --azul-cian: #40B7DE;
  --azul-acero: #567F98;
  --gris-tecnico: #9EB1C2;
  --gris-claro: #F5F8FA;
  --gris-medio: #E1E8ED;
  --blanco: #FFFFFF;
  --oscuro-super: #021426;

  /* Typography */
  --font-headers: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions & Visual Accents */
  --transition-speed: 0.35s;
  --transition-bezier: cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(4, 46, 87, 0.08);
  --shadow-md: 0 8px 24px rgba(4, 46, 87, 0.12);
  --shadow-lg: 0 16px 48px rgba(4, 46, 87, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(86, 127, 152, 0.2);
}

/* ==========================================
   BASE & LAYOUT STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
  font-family: var(--font-body);
  background-color: var(--gris-claro);
  color: var(--azul-marino);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) var(--transition-bezier);
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--gris-claro);
}
::-webkit-scrollbar-thumb {
  background: var(--azul-acero);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--azul-marino);
}

/* ==========================================
   REUSABLE UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  color: var(--azul-marino);
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gris-tecnico) 25%, var(--azul-acero) 25%, var(--azul-acero) 50%, var(--azul-cian) 50%, var(--azul-cian) 75%, var(--rojo) 75%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--azul-acero);
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-weight: 500;
}

/* Slanted diagonal corporate lines */
.brand-diagonal-line {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, 
    var(--gris-tecnico) 0%, var(--gris-tecnico) 25%, 
    var(--azul-acero) 25%, var(--azul-acero) 50%, 
    var(--azul-cian) 50%, var(--azul-cian) 75%, 
    var(--rojo) 75%, var(--rojo) 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-headers);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-bezier);
  border: none;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-color: var(--rojo);
  color: var(--blanco);
  box-shadow: 0 4px 14px rgba(237, 10, 25, 0.3);
}

.btn-primary:hover {
  background-color: var(--rojo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 10, 25, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--azul-marino);
  border: 2px solid var(--azul-marino);
}

.btn-secondary:hover {
  background-color: var(--azul-marino);
  color: var(--blanco);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--blanco);
  color: var(--azul-marino);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-white:hover {
  background-color: var(--gris-claro);
  color: var(--azul-marino);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-speed) var(--transition-bezier);
  background-color: transparent;
}

/* Sticky Header styling via JS class */
header.scrolled {
  background-color: rgba(4, 46, 87, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

header.scrolled .nav-link {
  color: var(--gris-claro);
}

header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
  color: var(--azul-cian);
}

header.scrolled .logo-text span {
  color: var(--gris-claro);
}

header.scrolled .nav-toggle span {
  background-color: var(--blanco);
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  transition: padding var(--transition-speed);
}

header.scrolled .nav-container {
  padding: 10px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  transition: transform var(--transition-speed);
}

.logo-link:hover .logo-img {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-headers);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1;
  letter-spacing: 0.08em;
  transition: color var(--transition-speed);
}

header.scrolled .logo-title {
  color: var(--blanco);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gris-tecnico);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--rojo);
  transition: width var(--transition-speed) var(--transition-bezier);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rojo);
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--blanco);
  border-radius: 3px;
  transition: all var(--transition-speed) var(--transition-bezier);
}

/* ==========================================
   HERO SECTION
   ========================================== */
#hero {
  height: 100vh;
  min-height: 600px;
  background: radial-gradient(circle at 70% 30%, rgba(64, 183, 222, 0.15) 0%, transparent 60%),
              linear-gradient(135deg, var(--oscuro-super) 0%, var(--azul-marino) 100%);
  color: var(--blanco);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Canvas overlay for particle effect */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.hero-content {
  animation: fadeInLeft 1s var(--transition-bezier);
}

.hero-tagline {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  color: var(--azul-cian);
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 3px;
  background-color: var(--rojo);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--blanco) 60%, var(--gris-tecnico));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  font-weight: 300;
}

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

/* Hero abstract graphical elements inspired by slanted logo */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  animation: fadeInRight 1s var(--transition-bezier);
}

.hero-graphic::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(86, 127, 152, 0.3);
  border-radius: 50%;
  animation: rotateSlow 20s linear infinite;
}

.hero-graphic-core {
  width: 260px;
  height: 260px;
  background-color: rgba(4, 46, 87, 0.6);
  border: 2px solid rgba(64, 183, 222, 0.4);
  backdrop-filter: blur(10px);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%); /* Hexagon */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-large {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  animation: float 4s ease-in-out infinite;
}

/* Slanted accent bars inside hero */
.hero-slanted-bars {
  position: absolute;
  bottom: -40px;
  right: -60px;
  display: flex;
  gap: 15px;
  transform: rotate(-30deg);
  opacity: 0.6;
}

.hero-bar {
  width: 18px;
  height: 220px;
  border-radius: 9px;
}
.hero-bar:nth-child(1) { background-color: var(--gris-tecnico); height: 160px; }
.hero-bar:nth-child(2) { background-color: var(--azul-acero); height: 190px; }
.hero-bar:nth-child(3) { background-color: var(--azul-cian); height: 220px; }
.hero-bar:nth-child(4) { background-color: var(--rojo); height: 170px; }

/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-family: var(--font-headers);
  letter-spacing: 0.1em;
  transition: color var(--transition-speed);
}

.scroll-down:hover {
  color: var(--azul-cian);
}

.scroll-down-mouse {
  width: 22px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 11px;
  position: relative;
}

.scroll-down-wheel {
  width: 4px;
  height: 8px;
  background-color: currentColor;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDownIndicator 1.5s infinite;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
#productos {
  background-color: var(--blanco);
}

.products-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  background-color: var(--gris-claro);
  border: 1px solid var(--gris-medio);
  border-radius: var(--border-radius-sm);
  color: var(--azul-acero);
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-bezier);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover {
  border-color: var(--azul-marino);
  color: var(--azul-marino);
}

.filter-btn.active {
  background-color: var(--azul-marino);
  border-color: var(--azul-marino);
  color: var(--blanco);
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--gris-claro);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-speed) var(--transition-bezier);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(64, 183, 222, 0.4);
}

/* Slanted design strip inside card header */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--azul-acero);
  z-index: 10;
  transition: background var(--transition-speed);
}

.product-card:hover::before {
  background: linear-gradient(90deg, var(--gris-tecnico) 25%, var(--azul-acero) 25%, var(--azul-acero) 50%, var(--azul-cian) 50%, var(--azul-cian) 75%, var(--rojo) 75%);
}

.product-image-container {
  height: 200px;
  background: radial-gradient(circle, #ffffff 50%, var(--gris-medio) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}

.product-placeholder-svg {
  width: 70%;
  height: 70%;
  color: var(--azul-acero);
  opacity: 0.85;
  transition: transform var(--transition-speed);
}

.product-card:hover .product-placeholder-svg {
  transform: scale(1.08) rotate(2deg);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--azul-marino);
  color: var(--blanco);
  font-family: var(--font-headers);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  letter-spacing: 0.05em;
  z-index: 5;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-line {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--azul-cian);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.3rem;
  color: var(--azul-marino);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--azul-acero);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-specs-summary {
  background-color: var(--blanco);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--gris-medio);
  margin-bottom: 20px;
  font-size: 0.8rem;
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.product-spec-row:last-child {
  margin-bottom: 0;
}
.spec-label {
  font-weight: 600;
  color: var(--azul-acero);
}
.spec-val {
  color: var(--azul-marino);
  font-family: var(--font-headers);
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.8rem;
}

/* ==========================================
   APPLICATIONS SECTION
   ========================================== */
#aplicaciones {
  background-color: var(--gris-claro);
  overflow: hidden;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.app-card {
  background-color: var(--blanco);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) var(--transition-bezier);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--azul-acero);
}

.app-img-container {
  height: 180px;
  background-color: var(--azul-marino);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.app-img-svg {
  width: 50%;
  height: 50%;
  color: rgba(255, 255, 255, 0.25);
  transition: all var(--transition-speed);
}

.app-card:hover .app-img-svg {
  color: var(--azul-cian);
  transform: scale(1.1);
}

.app-icon-overlay {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--rojo);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--blanco);
  box-shadow: var(--shadow-sm);
}

.app-content {
  padding: 40px 24px 24px 24px;
}

.app-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--azul-marino);
}

.app-desc {
  font-size: 0.9rem;
  color: var(--azul-acero);
}

/* ==========================================
   SUPPORT SECTION
   ========================================== */
#soporte {
  background-color: var(--blanco);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.support-info {
  padding-right: 20px;
}

.support-card-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.support-subcard {
  display: flex;
  gap: 16px;
  background-color: var(--gris-claro);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--azul-acero);
  transition: border-color var(--transition-speed);
}

.support-subcard:hover {
  border-left-color: var(--rojo);
}

.support-subcard-icon {
  color: var(--azul-cian);
  flex-shrink: 0;
}

.support-subcard-content h4 {
  font-size: 1rem;
  color: var(--azul-marino);
  margin-bottom: 6px;
}

.support-subcard-content p {
  font-size: 0.85rem;
  color: var(--azul-acero);
  margin-bottom: 10px;
}

.support-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--azul-marino);
  text-transform: uppercase;
}
.support-download-btn:hover {
  color: var(--rojo);
}

.support-form-container {
  background-color: var(--gris-claro);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.support-form-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, var(--gris-medio) 50%);
  border-radius: 0 var(--border-radius-lg) 0 0;
  pointer-events: none;
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--azul-marino);
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--azul-acero);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azul-acero);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--azul-marino);
  background-color: var(--blanco);
  border: 1px solid var(--gris-medio);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-speed) var(--transition-bezier);
}

.form-control:focus {
  outline: none;
  border-color: var(--azul-cian);
  box-shadow: 0 0 0 3px rgba(64, 183, 222, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================
   ABOUT US SECTION (ACERCA DE)
   ========================================== */
#acerca {
  background: linear-gradient(180deg, var(--oscuro-super) 0%, var(--azul-marino) 100%);
  color: var(--blanco);
}

#acerca .section-title {
  color: var(--blanco);
}

#acerca .section-subtitle {
  color: var(--gris-tecnico);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-content h3 {
  font-size: 1.5rem;
  color: var(--azul-cian);
  margin-bottom: 16px;
}

.about-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  font-weight: 300;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 12px;
}

.value-icon {
  color: var(--rojo);
  flex-shrink: 0;
}

.value-text h4 {
  font-size: 0.95rem;
  color: var(--blanco);
  margin-bottom: 4px;
}

.value-text p {
  font-size: 0.8rem;
  color: var(--gris-tecnico);
}

.about-mexico-badge {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(86, 127, 152, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(5px);
}

.about-mexico-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #006847 33%, #FFFFFF 33%, #FFFFFF 66%, #CE1126 66%); /* Colors of Mexico flag */
  opacity: 0.8;
}

.mexico-badge-icon {
  color: var(--azul-cian);
  margin-bottom: 20px;
  animation: float 5s ease-in-out infinite;
}

.mexico-badge-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--blanco);
}

.mexico-badge-desc {
  font-size: 0.9rem;
  color: var(--gris-tecnico);
  margin-bottom: 24px;
}

.equipment-badge-plate {
  background-color: var(--oscuro-super);
  border: 1.5px solid var(--azul-acero);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  width: 100%;
  max-width: 280px;
  font-family: var(--font-headers);
  font-size: 0.75rem;
  color: var(--gris-tecnico);
  text-align: left;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  position: relative;
}

.equipment-badge-plate::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #888;
  border-radius: 50%;
  top: 6px;
  right: 6px;
  box-shadow: -262px 0 #888, 0 102px #888, -262px 102px #888; /* Simulated rivets */
}

.plate-header {
  font-size: 0.95rem;
  color: var(--blanco);
  font-weight: 800;
  border-bottom: 1px dashed var(--azul-acero);
  padding-bottom: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.plate-header-brand {
  color: var(--azul-cian);
}

.plate-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.plate-row:last-child {
  margin-bottom: 0;
}

.plate-accent-text {
  color: var(--rojo);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
#contacto {
  background-color: var(--blanco);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(4, 46, 87, 0.05);
  border-radius: var(--border-radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--azul-marino);
  flex-shrink: 0;
  transition: all var(--transition-speed);
}

.contact-method:hover .contact-icon {
  background-color: var(--azul-marino);
  color: var(--blanco);
}

.contact-method-info h4 {
  font-size: 0.95rem;
  color: var(--azul-marino);
  margin-bottom: 4px;
}

.contact-method-info p {
  font-size: 0.85rem;
  color: var(--azul-acero);
}

.contact-map-sim {
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 240px;
  position: relative;
  background-color: #e5e9f0;
}

/* Simulated vector blueprint style map */
.contact-map-bg {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--azul-acero) 1px, transparent 1px),
    linear-gradient(rgba(86, 127, 152, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 127, 152, 0.08) 1px, transparent 1px);
  background-size: 16px 16px, 40px 40px, 40px 40px;
  position: relative;
}

.map-street {
  position: absolute;
  background-color: var(--gris-tecnico);
  opacity: 0.4;
}
.map-street-h { width: 100%; height: 18px; top: 40%; }
.map-street-v { height: 100%; width: 22px; left: 60%; }

.map-pin {
  position: absolute;
  top: 40%;
  left: 60%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.map-pin-pulse {
  width: 14px;
  height: 14px;
  background-color: var(--rojo);
  border: 2px solid var(--blanco);
  border-radius: 50%;
  position: absolute;
  top: 0;
  animation: pulse 1.8s infinite ease-in-out;
}

.map-pin-pop {
  background-color: var(--azul-marino);
  color: var(--blanco);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-headers);
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 18px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--azul-acero);
}

.map-location-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  color: var(--azul-marino);
  border: 1px solid var(--gris-medio);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background-color: var(--oscuro-super);
  color: var(--gris-tecnico);
  padding: 60px 0 20px 0;
  border-top: 1px solid rgba(86, 127, 152, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr 0.6fr 0.8fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 38px;
  width: 38px;
}

.footer-logo-text {
  font-family: var(--font-headers);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blanco);
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(86, 127, 152, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gris-tecnico);
  transition: all var(--transition-speed);
}

.social-icon:hover {
  background-color: var(--azul-cian);
  color: var(--oscuro-super);
  transform: translateY(-2px);
  border-color: var(--azul-cian);
}

.footer-col h3 {
  font-size: 0.95rem;
  color: var(--blanco);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--rojo);
}

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

.footer-link {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--blanco);
  padding-left: 4px;
}

.footer-info-item {
  font-size: 0.8rem;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-info-item:last-child {
  margin-bottom: 0;
}
.footer-info-icon {
  color: var(--azul-cian);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(86, 127, 152, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.75rem;
}

/* ==========================================
   INTERACTIVE PRODUCT MODAL
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 20, 38, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-bezier);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background-color: var(--blanco);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-speed) var(--transition-bezier);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--gris-claro);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--azul-marino);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-speed);
}

.modal-close:hover {
  background-color: var(--rojo);
  color: var(--blanco);
  transform: rotate(90deg);
}

.modal-header-gradient {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--gris-tecnico) 25%, var(--azul-acero) 25%, var(--azul-acero) 50%, var(--azul-cian) 50%, var(--azul-cian) 75%, var(--rojo) 75%);
}

.modal-body {
  padding: 40px;
}

.modal-prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.modal-img-container {
  background: radial-gradient(circle, #ffffff 50%, var(--gris-claro) 100%);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gris-medio);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 260px;
}

.modal-img-svg {
  width: 75%;
  height: 75%;
  color: var(--azul-marino);
}

.modal-prod-info {
  display: flex;
  flex-direction: column;
}

.modal-prod-badge {
  background-color: var(--azul-acero);
  color: var(--blanco);
  align-self: flex-start;
  font-family: var(--font-headers);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
}

.modal-prod-title {
  font-size: 1.8rem;
  color: var(--azul-marino);
  margin-bottom: 12px;
}

.modal-prod-desc {
  font-size: 0.95rem;
  color: var(--azul-acero);
  margin-bottom: 20px;
}

.modal-prod-code-box {
  background-color: var(--gris-claro);
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--azul-cian);
  font-family: var(--font-headers);
  font-size: 0.85rem;
  color: var(--azul-marino);
}

.modal-prod-code-box strong {
  color: var(--rojo);
}

.modal-section-title {
  font-size: 1.1rem;
  margin: 30px 0 15px 0;
  border-bottom: 1px solid var(--gris-medio);
  padding-bottom: 8px;
  color: var(--azul-marino);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 0.85rem;
}

.specs-table th {
  background-color: var(--azul-marino);
  color: var(--blanco);
  font-family: var(--font-headers);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
}

.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gris-medio);
  color: var(--azul-marino);
}

.specs-table tr:nth-child(even) {
  background-color: var(--gris-claro);
}

.modal-inquiry-box {
  background-color: var(--gris-claro);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

/* ==========================================
   ALERTS / NOTIFICATIONS
   ========================================== */
.alert-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--azul-marino);
  color: var(--blanco);
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-speed) var(--transition-bezier);
  border-left: 4px solid var(--azul-cian);
}

.alert-toast.active {
  transform: translateY(0);
  opacity: 1;
}

.alert-toast.success {
  border-left-color: #006847; /* Green */
}

.alert-toast-icon {
  color: var(--azul-cian);
  flex-shrink: 0;
}

.alert-toast.success .alert-toast-icon {
  color: #008855;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(237, 10, 25, 0.4); }
  70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 12px rgba(237, 10, 25, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(237, 10, 25, 0); }
}

@keyframes scrollDownIndicator {
  0% { transform: translate(-50%, 0); opacity: 0.1; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
  100% { transform: translate(-50%, 16px); opacity: 0.1; }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }

  /* Hamburger Menu implementation */
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Nav menu overlay on mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--azul-marino);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-speed) var(--transition-bezier);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--blanco);
    font-size: 1.1rem;
    display: block;
    width: 100%;
    text-align: center;
  }

  header.scrolled .nav-link {
    color: var(--blanco);
  }

  header.scrolled .nav-toggle span {
    background-color: var(--blanco);
  }
  
  /* Active states for hamburger menu */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .hero-tagline {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .hero-graphic {
    height: 300px;
    margin-top: 20px;
  }
  
  .hero-graphic::before {
    width: 240px;
    height: 240px;
  }
  
  .hero-graphic-core {
    width: 190px;
    height: 190px;
  }
  
  .hero-logo-large {
    width: 100px;
    height: 100px;
  }

  .apps-grid,
  .support-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .support-info, .about-content {
    padding-right: 0;
  }
  
  .about-mexico-badge {
    padding: 24px;
  }
  
  .modal-prod-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .modal-img-container {
    height: 180px;
  }
  
  .modal-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modal-box {
    max-height: 95vh;
  }
}
