/* ==========================================================================
   AKIMAX SPA - DESIGN SYSTEM & STYLESHEET
   Ingeniería, Fabricación y Montaje Industrial
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --background: #fafafa;
  --foreground: #021a3a;
  --card: #ffffff;
  --card-foreground: #021a3a;
  --popover: #ffffff;
  --popover-foreground: #021a3a;
  --primary: #021a3a;
  --primary-foreground: #fcfcfc;
  --secondary: #ebf3fa;
  --secondary-foreground: #0a2445;
  --muted: #e9eff5;
  --muted-foreground: #52657a;
  --accent: #c29238;
  --accent-foreground: #00112b;
  --destructive: #e40014;
  --border: #d0d9e1;
  --input: #d0d9e1;
  --ring: #3f6496;
  --radius: 0.5rem;
  --brand-navy: #021a3a;
  --brand-gold: #c29238;
  --brand-navy-mid: #13335a;
  --brand-gold-light: #ddb870;
  
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --container-max: 80rem; /* 1280px */
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--brand-gold);
  color: #ffffff;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

ul, ol {
  list-style: none;
}

/* Typography Helpers */
.font-heading {
  font-family: var(--font-heading);
}

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

.text-muted {
  color: var(--muted-foreground);
}

.uppercase {
  text-transform: uppercase;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section-py {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .section-py {
    padding-block: 7rem;
  }
}

/* ==========================================================================
   GRID BACKGROUNDS & DECORATIONS
   ========================================================================== */
.bg-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
}

.bg-grid-dark {
  background-image: 
    linear-gradient(to right, rgba(2, 26, 58, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 26, 58, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
  position: absolute;
  inset: 0;
  transform: translate(-120%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 5;
}

.group:hover .shine::after,
.shine:hover::after {
  transform: translate(120%);
}

.link-underline {
  background-image: linear-gradient(var(--brand-gold), var(--brand-gold));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.link-underline:hover {
  background-size: 100% 2px;
  color: var(--accent);
}

/* ==========================================================================
   ANIMATIONS & REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  filter: blur(6px);
  will-change: opacity, transform, filter;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

@keyframes kenburns {
  0% {
    transform: scale(1.08) translate(0);
  }
  100% {
    transform: scale(1.16) translate(-1.5%, -1.5%);
  }
}

.animate-kenburns {
  animation: 18s ease-out infinite alternate kenburns;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-rise {
  animation: 0.8s cubic-bezier(0.22, 1, 0.36, 1) both rise;
}

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

.animate-float {
  animation: 4.5s ease-in-out infinite float-y;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  75% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
  }
}

.animate-scroll-dot {
  animation: 1.8s ease-in-out infinite scroll-dot;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(2, 26, 58, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.625rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.9;
}

.logo-img {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img {
    height: 5.25rem;
  }
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--foreground);
  padding-bottom: 0.25rem;
}

/* Primary CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) * 0.8);
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(194, 146, 56, 0.35);
  background-color: #cb9b3f;
}

.btn-cta-lg {
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) * 0.8);
  border: 1px solid rgba(252, 252, 252, 0.3);
  background-color: rgba(252, 252, 252, 0.05);
  color: var(--primary-foreground);
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary-hero:hover {
  background-color: rgba(252, 252, 252, 0.15);
  border-color: rgba(252, 252, 252, 0.5);
}

.btn-menu-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--foreground);
  cursor: pointer;
  border-radius: var(--radius);
}

@media (min-width: 1024px) {
  .btn-menu-mobile {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 5rem;
  inset-inline: 0;
  background: rgba(250, 250, 250, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1rem 2rem;
  box-shadow: 0 10px 25px -5px rgba(2, 26, 58, 0.1);
  z-index: 49;
}

.mobile-menu.is-open {
  display: block;
  animation: rise 0.3s ease forwards;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(208, 217, 225, 0.4);
}

/* ==========================================================================
   HERO SECTION (#inicio)
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--primary);
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: -10;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary) 0%, rgba(2, 26, 58, 0.85) 50%, rgba(2, 26, 58, 0.4) 100%);
  z-index: -5;
}

.hero-overlay-grid {
  position: absolute;
  inset: 0;
  color: rgba(252, 252, 252, 0.4);
  mask-image: linear-gradient(to top, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 70%);
  z-index: -4;
}

.hero-content {
  position: relative;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding-bottom: 7rem;
  }
}

.hero-badge {
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(252, 252, 252, 0.2);
  background-color: rgba(252, 252, 252, 0.05);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pulse-dot-wrapper {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.pulse-dot-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--accent);
  opacity: 0.7;
}

.pulse-dot-center {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--accent);
}

.hero-title {
  max-width: 56rem;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--primary-foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-desc {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(252, 252, 252, 0.85);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

@media (min-width: 768px) {
  .scroll-indicator {
    display: block;
  }
}

.scroll-mouse {
  display: flex;
  height: 2.25rem;
  width: 1.25rem;
  align-items: flex-start;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(252, 252, 252, 0.4);
  padding: 0.375rem;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background-color: var(--primary-foreground);
}

/* ==========================================================================
   SECTION: QUIÉNES SOMOS (#nosotros)
   ========================================================================== */
.section-tag {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.section-tag-line {
  display: inline-block;
  height: 1px;
  width: 2rem;
  background-color: var(--accent);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

.about-grid-top {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid-top {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* Stats Counter Grid */
.stats-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--border);
  background-color: var(--border);
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  background-color: var(--card);
  padding: 1.5rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .stat-card {
    padding: 2rem;
  }
}

.stat-card:hover {
  background-color: rgba(235, 243, 250, 0.6);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-card:hover .stat-number {
  color: var(--accent);
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* Mission & Vision Cards */
.mv-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mv-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--border);
  background-color: rgba(235, 243, 250, 0.5);
  padding: 2rem;
  transition: all 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 26, 58, 0.3);
  box-shadow: 0 20px 25px -5px rgba(2, 26, 58, 0.05);
}

.mv-card.vision:hover {
  border-color: rgba(194, 146, 56, 0.4);
  box-shadow: 0 20px 25px -5px rgba(194, 146, 56, 0.05);
}

.mv-card-accent-bar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  transform-origin: left;
  transform: scaleX(0);
  background-color: var(--primary);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mv-card.vision .mv-card-accent-bar {
  background-color: var(--accent);
}

.mv-card:hover .mv-card-accent-bar {
  transform: scaleX(1);
}

.mv-icon-box {
  margin-bottom: 1rem;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: var(--primary-foreground);
  transition: transform 0.3s ease;
}

.mv-card.vision .mv-icon-box {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.mv-card:hover .mv-icon-box {
  transform: scale(1.1);
}

.mv-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.mv-desc {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ==========================================================================
   SECTION: LÍNEAS DE PRODUCTOS (#lineas)
   ========================================================================== */
.section-lineas {
  background-color: rgba(235, 243, 250, 0.4);
}

.lineas-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 768px) {
  .lineas-container {
    gap: 6rem;
  }
}

.linea-item {
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .linea-item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
  }
}

.linea-image-wrapper {
  position: relative;
}

.linea-watermark {
  pointer-events: none;
  position: absolute;
  top: -2.5rem;
  right: 0.5rem;
  z-index: 0;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(2, 26, 58, 0.05);
}

@media (min-width: 768px) {
  .linea-watermark {
    font-size: 8rem;
  }
}

.linea-image-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.8);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.linea-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0, 0, 0.2, 1);
}

.linea-image-card:hover .linea-img {
  transform: scale(1.05);
}

.linea-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 26, 58, 0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.linea-image-card:hover .linea-img-gradient {
  opacity: 1;
}

.linea-pill {
  position: absolute;
  top: -1rem;
  left: 1rem;
  z-index: 10;
  border-radius: calc(var(--radius) * 0.8);
  background-color: var(--primary);
  padding: 0.375rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.linea-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .linea-content h3 {
    font-size: 1.875rem;
  }
}

.linea-lead {
  margin-top: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.linea-spec-box {
  margin-top: 1.5rem;
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.linea-spec-box:hover {
  box-shadow: 0 10px 25px -5px rgba(2, 26, 58, 0.06);
}

.linea-spec-title {
  font-weight: 600;
  color: var(--foreground);
}

.linea-spec-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.linea-specs-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .linea-specs-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.spec-item svg {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.spec-item:hover svg {
  transform: scale(1.25);
}

.linea-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--primary);
  transition: color 0.2s ease;
}

.linea-link:hover {
  color: var(--accent);
}

.linea-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.linea-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION: NUESTROS PRODUCTOS (#productos)
   ========================================================================== */
.products-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--border);
  background-color: var(--border);
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--card);
  padding: 1.5rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.product-item:hover {
  background-color: rgba(235, 243, 250, 0.6);
}

.product-icon-wrap {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) * 0.8);
  background-color: var(--secondary);
  color: var(--primary);
  transition: all 0.3s ease;
}

.product-item:hover .product-icon-wrap {
  transform: rotate(6deg);
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.product-name {
  padding-top: 0.375rem;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.375;
  color: var(--foreground);
}

.product-arrow {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  opacity: 0;
  transform: translate(4px, -4px);
  transition: all 0.3s ease;
}

.product-item:hover .product-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   SECTION: PROCESO EN 3 PASOS (#proceso)
   ========================================================================== */
.section-proceso {
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.proceso-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid rgba(252, 252, 252, 0.15);
  background-color: rgba(252, 252, 252, 0.15);
}

@media (min-width: 768px) {
  .proceso-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.proceso-card {
  position: relative;
  background-color: var(--primary);
  padding: 2rem;
  transition: background-color 0.3s ease;
}

.proceso-card:hover {
  background-color: rgba(252, 252, 252, 0.05);
}

.proceso-accent-bottom {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  transform-origin: left;
  transform: scaleX(0);
  background-color: var(--accent);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.proceso-card:hover .proceso-accent-bottom {
  transform: scaleX(1);
}

.proceso-step-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.proceso-card:hover .proceso-step-num {
  transform: translateY(-4px);
}

.proceso-title {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.proceso-desc {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: rgba(252, 252, 252, 0.8);
}

.proceso-objective {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.625;
  color: var(--accent);
}

/* ==========================================================================
   SECTION: IMPLEMENTACIÓN Y SEGURIDAD
   ========================================================================== */
.telecom-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .telecom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
  }
}

.telecom-icon-box {
  margin-bottom: 1.25rem;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* ==========================================================================
   SECTION: CONTACTO & FORMULARIO (#contacto & #formulario)
   ========================================================================== */
.contacto-footer-wrap {
  background-color: rgba(235, 243, 250, 0.4);
}

.cta-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 2.2);
  background-color: var(--primary);
  padding: 3rem 1.5rem;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .cta-banner-card {
    padding: 4rem 3.5rem;
  }
}

.cta-banner-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  z-index: 2;
}

@media (min-width: 1024px) {
  .cta-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cta-contact-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cta-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cta-contact-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.cta-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cta-contact-item svg {
  margin-top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.cta-contact-item:hover svg {
  transform: scale(1.1);
}

.cta-contact-label {
  font-size: 0.875rem;
  color: rgba(252, 252, 252, 0.6);
}

.cta-contact-val {
  font-weight: 500;
  color: #ffffff;
}

/* Contact Form Grid Section */
.form-section-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .form-section-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.form-contact-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.form-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-contact-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) * 0.8);
  background-color: rgba(194, 146, 56, 0.1);
  color: var(--accent);
  transition: all 0.3s ease;
}

.form-contact-item:hover .form-contact-icon {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Form Styles */
.form-card {
  border-radius: calc(var(--radius) * 1.8);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .form-card {
    padding: 2rem;
  }
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-row-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border-radius: calc(var(--radius) * 0.8);
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 146, 56, 0.2);
}

.form-textarea {
  resize: none;
}

.form-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Success Toast / Notification */
.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: calc(var(--radius) * 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background-color: #e6f7eb;
  color: #0d6832;
  border: 1px solid #a3e0b7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-top-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-logo-wrap {
  display: inline-flex;
  border-radius: calc(var(--radius) * 1.4);
  background-color: transparent;
  padding: 0;
}

.footer-desc {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(252, 252, 252, 0.7);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.footer-links-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(252, 252, 252, 0.7);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(252, 252, 252, 0.7);
}

.footer-contact-item svg {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--accent);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(252, 252, 252, 0.1);
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: rgba(252, 252, 252, 0.6);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

/* ==========================================================================
   FLOATING QUICK ACTION (WHATSAPP / CONTACT)
   ========================================================================== */
.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-contact-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.55);
}

.floating-contact-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 640px) {
  .floating-contact-btn span {
    display: none;
  }
  .floating-contact-btn {
    padding: 0.875rem;
    border-radius: 50%;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
