/* ==========================================================================
   ARM IMPRESOS Y BORDADOS — THE IDENTITY FACTORY
   Estilos CSS Premium para Producción
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN SYSTEM & VARIABLE TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg-base: #050608;          /* Negro profundo */
  --color-accent-arm: #009DFF;       /* Azul eléctrico ARM */
  --color-accent-dark: #001a33;      /* Azul oscuro */
  --color-text-primary: #ffffff;     /* Blanco */
  --color-text-secondary: #aeb4bc;   /* Gris acero */
  --color-card-bg: rgba(5, 6, 8, 0.7);
  --color-border-glass: rgba(255, 255, 255, 0.08);
  --color-shadow-tint: rgba(0, 157, 255, 0.05);
  
  /* CMYK accents for subtle decorations */
  --color-cmyk-cyan: #00ffff;
  --color-cmyk-magenta: #ff00ff;
  --color-cmyk-yellow: #ffff00;
  --color-cmyk-black: #000000;

  /* Typography */
  --font-family-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', "Courier New", Courier, monospace;

  /* Layout and Spacing */
  --max-width: 1400px;
  --navbar-height: 80px;

  /* Animations & Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   02. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: initial; /* Lenis handles smooth scrolling */
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-family-display);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100dvh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --------------------------------------------------------------------------
   03. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   04. BACKGROUND EFFECTS & NOISE
   -------------------------------------------------------------------------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.glow-backdrop {
  position: fixed;
  width: 60vw;
  height: 60vw;
  top: -10vw;
  right: -10vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 157, 255, 0.08) 0%, rgba(5, 6, 8, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   05. LIQUID GLASS PATTERN
   -------------------------------------------------------------------------- */
.glass-card,
.adn-card,
.value-item,
.essence-card,
.add-service-card,
.sector-card,
.contact-form-panel,
.modal-wrapper {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-glass);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.08), 
    0 12px 40px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-card:hover,
.adn-card:hover,
.value-item:hover,
.essence-card:hover,
.add-service-card:hover,
.sector-card:hover,
.contact-form-panel:hover,
.modal-wrapper:hover {
  border-color: rgba(0, 157, 255, 0.3);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15), 
    0 20px 50px rgba(0, 157, 255, 0.1);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   06. INTERACTIVE BUTTONS & UTILITIES
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-arm);
  color: var(--color-bg-base);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 157, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-accent-arm);
  box-shadow: 0 8px 30px rgba(0, 157, 255, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  font-weight: 500;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(1px) scale(0.98);
}

/* --------------------------------------------------------------------------
   07. NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar-container.scrolled {
  background-color: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-glass);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-arm);
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--color-text-primary);
}

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

.nav-cta {
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   08. SECTION 01: HERO
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10vw;
  overflow: hidden;
  background-color: var(--color-bg-base);
  z-index: 1;
}

.hero-canvas-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  max-width: 700px;
  position: relative;
}

.hero-headline {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero-subheadline {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-support-text {
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 10vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.6;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-arm);
  border-radius: 50%;
  animation: pulse-glow 2s infinite ease-in-out;
}

.scroll-text {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   09. SECTION 02: ADN DE MARCA
   -------------------------------------------------------------------------- */
.adn-section {
  padding: 10rem 0;
  background-color: #050608;
  position: relative;
}

.section-header-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: flex-end;
  margin-bottom: 6rem;
}

.section-headline {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-intro-text {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
}

.adn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.adn-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.card-visual-wrapper {
  height: 300px;
  background-color: rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-glass);
}

.card-canvas {
  width: 100%;
  height: 100%;
}

.interactive-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  background: rgba(0, 157, 255, 0.15);
  border: 1px solid var(--color-accent-arm);
  color: var(--color-text-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  pointer-events: none;
  animation: subtle-pulse 2s infinite ease-in-out;
}

.card-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-tag {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-arm);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.adn-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

/* ADN Card 2 Visual: DTF */
.dtf-tshirt-scene {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tshirt-silhouette {
  width: 130px;
  height: 150px;
  background: radial-gradient(circle, #1a1a24 0%, #0d0d12 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: polygon(28% 0%, 72% 0%, 82% 12%, 100% 24%, 88% 46%, 78% 38%, 78% 100%, 22% 100%, 22% 38%, 12% 46%, 0% 24%, 18% 12%);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
}

.dtf-film-layer {
  position: absolute;
  width: 110px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(255, 0, 255, 0.15) 100%);
  border: 1px dashed var(--color-accent-arm);
  backdrop-filter: blur(2px);
  transform: translateY(-80px) rotate(-10deg);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dtf-film-layer::after {
  content: 'DTF FILM';
  font-family: var(--font-family-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.adn-card:hover .dtf-film-layer {
  transform: translateY(0) rotate(0);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
  border-style: solid;
  box-shadow: 0 0 20px rgba(0, 157, 255, 0.4);
}

.heat-wave-effect {
  position: absolute;
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ff00ff, #00ffff, transparent);
  opacity: 0;
  transform: scaleX(0);
  bottom: 45%;
}

.adn-card:hover .heat-wave-effect {
  animation: heat-pass 1.5s infinite linear;
}

/* ADN Card 3 Visual: Stationery Assembly */
.stationery-assembly {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stationery-item {
  position: absolute;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.card-mock {
  width: 120px;
  height: 70px;
  transform: translate(-30px, 20px) rotate(-8deg);
  background: linear-gradient(135deg, #111 0%, #1c1c1f 100%);
  z-index: 3;
}

.folder-mock {
  width: 160px;
  height: 110px;
  transform: translate(10px, -20px) rotate(5deg);
  background: linear-gradient(135deg, #151821 0%, #090a0f 100%);
  border-left: 4px solid var(--color-accent-arm);
  z-index: 1;
}

.envelope-mock {
  width: 140px;
  height: 80px;
  transform: translate(-10px, 0px) rotate(-2deg);
  background: #0d0f12;
  z-index: 2;
}

.adn-card:hover .card-mock {
  transform: translate(-20px, 15px) rotate(0deg);
  border-color: var(--color-accent-arm);
}

.adn-card:hover .folder-mock {
  transform: translate(25px, -15px) rotate(0deg);
  box-shadow: 0 10px 30px rgba(0, 157, 255, 0.15);
}

/* ADN Card 4 Visual: Ink Deposit */
.ink-deposit-scene {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.paper-texture {
  width: 70%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  position: absolute;
  bottom: 25%;
}

.ink-nozzle {
  width: 40px;
  height: 25px;
  background: linear-gradient(180deg, #333, #111);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  position: absolute;
  top: 25%;
  transform: translateX(-40px);
  transition: transform 2s infinite alternate ease-in-out;
}

.adn-card:hover .ink-nozzle {
  animation: nozzle-move 1.5s infinite alternate ease-in-out;
}

.ink-droplets-container {
  width: 100%;
  height: 40%;
  position: relative;
}

/* --------------------------------------------------------------------------
   10. SECTION 03: PROPÓSITO
   -------------------------------------------------------------------------- */
.purpose-section {
  padding: 10rem 0;
  background-color: #00040a;
  border-top: 1px solid var(--color-border-glass);
}

.purpose-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.section-desc {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  max-width: 600px;
}

.pillars-list {
  list-style: none;
}

.pillar-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border-glass);
}

.pillar-item:last-child {
  border-bottom: 1px solid var(--color-border-glass);
}

.pillar-num {
  font-family: var(--font-family-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-arm);
}

.pillar-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.pillar-info p {
  font-size: 0.95rem;
}

.purpose-visual {
  background: radial-gradient(circle, #0e121d 0%, #050608 100%);
  border: 1px solid var(--color-border-glass);
  border-radius: 16px;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.factory-blueprint-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Blueprint styling */
.blueprint-office {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(0, 157, 255, 0.2);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.blueprint-office.initial-state {
  background-color: rgba(255, 255, 255, 0.01);
  filter: grayscale(100%);
  opacity: 0.4;
}

.blueprint-office.transformed-state {
  background-color: rgba(0, 157, 255, 0.05);
  border: 1px dashed var(--color-accent-arm);
  filter: none;
  opacity: 1;
}

.office-element {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.desk {
  width: 50px;
  height: 30px;
  top: 50%;
  left: 20%;
}

.worker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 52%;
  left: 24%;
}

.signage {
  width: 60px;
  height: 8px;
  top: 20%;
  right: 15%;
  background: rgba(255, 255, 255, 0.05);
}

.transformed-state .desk, 
.transformed-state .worker, 
.transformed-state .signage {
  border-color: var(--color-accent-arm);
  background: rgba(0, 157, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 157, 255, 0.3);
}

.transformed-state .signage {
  background: var(--color-accent-arm);
}

.blueprint-transformer-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--color-accent-arm), transparent);
  box-shadow: 0 0 12px var(--color-accent-arm);
  transform: translateX(-5px);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. SECTION 04: QUIÉNES SOMOS
   -------------------------------------------------------------------------- */
.about-us-section {
  padding: 10rem 0;
  background-color: #050608;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  margin-bottom: 6rem;
}

.about-card {
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.about-card-visual {
  height: 280px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-glass);
}

.about-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-card:hover .about-visual-img {
  transform: scale(1.05);
}

.about-visual-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 6, 8, 0.9) 100%);
  pointer-events: none;
}

.about-card-content {
  padding: 2.5rem;
  flex-grow: 1;
}

.about-card-tag {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-accent-arm);
  margin-bottom: 1rem;
  display: block;
}

.about-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.text-highlight {
  color: var(--color-accent-arm);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11b. SECCIÓN NUESTROS VALORES (REDISEÑADA)
   -------------------------------------------------------------------------- */
.valores-redesigned-container {
  margin-top: 8rem;
  padding: 80px 0 110px 0;
  border-top: 1px solid var(--color-border-glass);
  background-color: #050608;
}

.valores-title-wrapper {
  text-align: center;
  margin-bottom: 5rem;
}

.valores-redesigned-title {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  font-family: var(--font-family-display);
  font-weight: 800;
  text-transform: uppercase;
}

.valores-title-line {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent-arm);
  margin: 0 auto;
  box-shadow: 0 0 8px var(--color-accent-arm);
}

.valores-redesigned-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.valor-redesigned-item {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  opacity: 1; /* Visible por defecto */
  transform: translateY(0); /* Visible por defecto */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Divisores verticales finos en desktop */
.valor-redesigned-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: linear-gradient(180deg, transparent, rgba(0, 157, 255, 0.15), transparent);
  transition: background 0.3s ease;
}

.valor-icon-wrapper {
  height: 80px;
  width: 80px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-arm);
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.valor-svg-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 2px rgba(0, 157, 255, 0.2));
  transition: filter 0.3s ease;
}

.valor-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent-arm);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: var(--font-family-display);
  transition: text-shadow 0.3s ease;
}

.valor-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e0e0e0;
  max-width: 180px;
  margin: 0;
}

/* Hover Effects */
.valor-redesigned-item:hover .valor-icon-wrapper {
  transform: scale(1.05);
  color: #FFFFFF;
}

.valor-redesigned-item:hover .valor-svg-icon {
  filter: drop-shadow(0 0 10px var(--color-accent-arm)) brightness(1.2);
}

.valor-redesigned-item:hover .valor-name {
  text-shadow: 0 0 8px rgba(0, 157, 255, 0.6);
}

.valor-redesigned-item:hover::after {
  background: linear-gradient(180deg, transparent, var(--color-accent-arm), transparent);
}

/* --------------------------------------------------------------------------
   12. SECTION 05: VALORES
   -------------------------------------------------------------------------- */
.values-section {
  padding: 10rem 0;
  background-color: #00040a;
}

.section-center-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-center-header .section-headline {
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  padding: 3rem 2.5rem;
  min-height: 320px;
}

.value-visual {
  height: 80px;
  width: 80px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 157, 255, 0.04);
  border: 1px solid rgba(0, 157, 255, 0.15);
  border-radius: 12px;
  color: var(--color-accent-arm);
  transition: var(--transition-smooth);
}

.value-item:hover .value-visual {
  background: rgba(0, 157, 255, 0.12);
  border-color: var(--color-accent-arm);
  box-shadow: 0 0 20px rgba(0, 157, 255, 0.3);
  color: #FFFFFF;
}

.value-svg {
  width: 38px;
  height: 38px;
  transition: var(--transition-smooth);
}

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

/* SVG Keyframe Animations */
.svg-glow-pulse {
  animation: svg-pulse 2s infinite ease-in-out;
}
.svg-hand-rotate {
  transform-origin: 12px 12px;
  animation: clock-turn 8s infinite linear;
}
.svg-gear-rotate {
  transform-origin: 12px 12px;
  animation: clock-turn 12s infinite linear;
}
.svg-shield-glow {
  animation: svg-shield 2s infinite alternate ease-in-out;
}
.svg-shake-anim {
  animation: svg-shake 3s infinite ease-in-out;
}
.svg-headset-wave {
  animation: svg-wave 2s infinite alternate ease-in-out;
}

@keyframes svg-pulse {
  0%, 100% { stroke-width: 1.5px; opacity: 0.6; }
  50% { stroke-width: 3px; opacity: 1; filter: drop-shadow(0 0 4px var(--color-accent-arm)); }
}
@keyframes svg-shield {
  0% { filter: drop-shadow(0 0 0px transparent); }
  100% { filter: drop-shadow(0 0 6px var(--color-accent-arm)); }
}
@keyframes svg-shake {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px) rotate(-2deg); }
}
@keyframes svg-wave {
  0% { transform: scale(0.98); }
  100% { transform: scale(1.03); }
}
  border-radius: 4px;
  position: relative;
  top: 10px;
  box-shadow: 0 5px 15px rgba(0, 157, 255, 0.2);
}

.sample-swatch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   13. SECTION 06: SERVICIOS
   -------------------------------------------------------------------------- */
.services-section {
  padding: 10rem 0;
  background-color: #050608;
}

.services-header {
  margin-bottom: 8rem;
}

.services-header .section-headline {
  max-width: 900px;
  margin-bottom: 2rem;
}

.services-header .section-subheadline {
  max-width: 700px;
  font-size: 1.30rem;
}

.services-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-bottom: 8rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.service-block.inverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-block.inverse .service-info {
  grid-column: 2;
}

.service-block.inverse .service-media {
  grid-column: 1;
  grid-row: 1;
}

.service-number {
  font-family: var(--font-family-mono);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0, 157, 255, 0.15);
  display: block;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.service-info h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.15;
}

.service-desc {
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.service-specs {
  margin-bottom: 3.5rem;
}

.service-specs h4 {
  font-family: var(--font-family-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-accent-arm);
  margin-bottom: 1.5rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
}

.specs-grid li {
  font-size: 1rem;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.specs-grid li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-arm);
  border-radius: 50%;
}

.service-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16/9;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-media:hover .service-img {
  transform: scale(1.05);
}

.media-overlay-glow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* Additional Services Grid */
.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 10rem;
}

.add-service-card {
  padding: 3rem 2rem;
}

.add-service-icon {
  font-family: var(--font-family-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-accent-arm);
  display: block;
  margin-bottom: 1.5rem;
}

.add-service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.add-service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.add-service-link {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent-arm);
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 1px solid var(--color-accent-arm);
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   14. SECTION 07: SECTORES QUE ATENDEMOS
   -------------------------------------------------------------------------- */
.sectors-section {
  padding: 10rem 0;
  background-color: #00040a;
  border-top: 1px solid var(--color-border-glass);
}

.sectors-section .section-desc {
  text-align: center;
  margin: 1.5rem auto 5rem;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.sector-card {
  min-height: 180px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sector-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 8, 0.9) 100%);
  z-index: 1;
}

.sector-content {
  position: relative;
  z-index: 2;
}

.sector-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
}

.sector-card p {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.sector-card:hover {
  background: #0e121d;
  border-color: var(--color-accent-arm);
}

.sector-card:hover p {
  opacity: 1;
  height: auto;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   15. SECTION 08: PROCESO DE CONTRATACIÓN
   -------------------------------------------------------------------------- */
.process-section {
  padding: 10rem 0;
  background-color: #050608;
}

.process-interactive-track {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 6rem;
  position: relative;
}

.process-interactive-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 35px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent-arm), var(--color-border-glass) 90%);
  z-index: 1;
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-marker {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-bg-base);
  border: 1px solid var(--color-accent-arm);
  box-shadow: 0 0 20px rgba(0, 157, 255, 0.2);
  color: var(--color-accent-arm);
  font-family: var(--font-family-mono);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.process-step:hover .step-marker {
  background-color: var(--color-accent-arm);
  color: var(--color-bg-base);
  box-shadow: 0 0 30px rgba(0, 157, 255, 0.6);
  transform: scale(1.05);
}

.step-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.step-info p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.step-meta {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--color-accent-arm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-visual {
  height: 180px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-glass);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Micro-visual simulations for Process steps */
.visual-terminal {
  padding: 1rem;
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.terminal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.terminal-dot.green { background-color: #00ff66; }
.terminal-dot.yellow { background-color: #ffcc00; }
.terminal-dot.red { background-color: #ff3333; }

.terminal-loader {
  margin-top: 2rem;
  animation: pulse-glow 1.5s infinite;
}

.visual-mockup-check {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-frame {
  width: 120px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
}

.approval-stamp {
  position: absolute;
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid #00ff66;
  color: #00ff66;
  padding: 0.2rem 0.5rem;
  transform: rotate(-15deg);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.visual-package {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-box {
  width: 90px;
  height: 70px;
  background-color: #12141a;
  border: 1px solid var(--color-accent-arm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.box-brand {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--color-accent-arm);
}

.visual-transit {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-line {
  width: 70%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
}

.transit-marker {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-arm);
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: 0;
  box-shadow: 0 0 10px var(--color-accent-arm);
  animation: transit-move 3s infinite linear;
}

/* --------------------------------------------------------------------------
   16. SECTION 09: PROPUESTA DE VALOR
   -------------------------------------------------------------------------- */
.value-proposal-section {
  padding: 10rem 0;
  background-color: #00040a;
  border-top: 1px solid var(--color-border-glass);
}

.proposal-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

.product-layout-scene {
  height: 400px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border-glass);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.layout-shirt {
  width: 100px;
  height: 120px;
  background: radial-gradient(circle, #1a1a24 0%, #0d0d12 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: polygon(28% 0%, 72% 0%, 82% 12%, 100% 24%, 88% 46%, 78% 38%, 78% 100%, 22% 100%, 22% 38%, 12% 46%, 0% 24%, 18% 12%);
  position: absolute;
  top: 20%;
  left: 20%;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  transform: rotate(-10deg);
}

.layout-stationery {
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #151821 0%, #090a0f 100%);
  border-left: 4px solid var(--color-accent-arm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 40%;
  right: 15%;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transform: rotate(5deg);
}

.proposal-footer-phrase {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--color-border-glass);
}

.tag-accent {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--color-accent-arm);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}

.cierre-headline {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1.1;
}

/* --------------------------------------------------------------------------
   17. SECTION 10: CTA CINEMATOGRÁFICO
   -------------------------------------------------------------------------- */
.cinematic-cta-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg-base);
}

.cta-scene-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#cta-canvas {
  width: 100%;
  height: 100%;
}

.cta-overlay-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.cta-top-phrase {
  font-family: var(--font-family-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-accent-arm);
  display: block;
  margin-bottom: 1.5rem;
}

.cta-headline {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.cta-subheadline {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
}

.btn-large {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

/* --------------------------------------------------------------------------
   18. SECTION 11: CONTACTO & FORMULARIO
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 10rem 0;
  background-color: #00040a;
  border-top: 1px solid var(--color-border-glass);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: flex-start;
}

.contact-subtitle {
  font-size: 1.35rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.contact-desc {
  font-size: 1.05rem;
  margin-bottom: 4rem;
  max-width: 500px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-link-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-label {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
}

.link-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  border-bottom: 2px solid transparent;
  align-self: flex-start;
}

.link-value:hover {
  color: var(--color-accent-arm);
  border-color: var(--color-accent-arm);
}

.contact-form-panel {
  padding: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-glass);
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--color-accent-arm);
  background-color: rgba(0, 157, 255, 0.03);
  box-shadow: 0 0 10px rgba(0, 157, 255, 0.15);
}

.form-group select option {
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
}

.error-msg {
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  color: #ff3333;
  margin-top: 0.25rem;
  min-height: 14px;
}

.form-submit-btn {
  width: 100%;
  padding: 1.1rem;
}

.form-status-msg {
  font-family: var(--font-family-mono);
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
}

.form-status-msg.success {
  color: #00ff66;
}

.form-status-msg.error {
  color: #ff3333;
}

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.footer-container {
  background-color: var(--color-bg-base);
  padding: 8rem 0 4rem;
  border-top: 1px solid var(--color-border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-logo {
  height: 45px;
  width: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.footer-slogan {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links-column h4, 
.footer-info-column h4 {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--color-accent-arm);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.footer-links-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-column a {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.footer-links-column a:hover {
  color: var(--color-text-primary);
  padding-left: 5px;
}

.footer-info-column p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-info-column a {
  color: var(--color-text-primary);
  border-bottom: 1px solid transparent;
}

.footer-info-column a:hover {
  color: var(--color-accent-arm);
  border-color: var(--color-accent-arm);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border-glass);
}

.footer-bottom p {
  font-size: 0.85rem;
}

.legal-link {
  color: var(--color-text-secondary);
  border-bottom: 1px solid transparent;
}

.legal-link:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

/* Privacy Modal Styling */
.privacy-modal {
  border: none;
  background: transparent;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.privacy-modal[open] {
  display: flex;
  background-color: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(8px);
}

.modal-wrapper {
  width: 90%;
  max-width: 650px;
  padding: 3.5rem;
}

.privacy-modal h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text-primary);
}

.modal-body {
  margin-bottom: 3rem;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 1rem;
}

.modal-body p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Custom Scrollbar for Modal and Textarea */
.modal-body::-webkit-scrollbar, 
textarea::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb, 
textarea::-webkit-scrollbar-thumb {
  background-color: var(--color-border-glass);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover, 
textarea::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-accent-arm);
}

/* --------------------------------------------------------------------------
   20. KEYFRAMES ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes pinpoint {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(150px, 40px) scale(0.8); }
}

@keyframes clock-turn {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes heat-pass {
  0% { transform: scaleX(0); opacity: 0; bottom: 45%; }
  30% { transform: scaleX(1); opacity: 0.8; }
  100% { transform: scaleX(1); opacity: 0; bottom: 70%; }
}

@keyframes nozzle-move {
  0% { transform: translateX(-40px); }
  100% { transform: translateX(40px); }
}

@keyframes belt-move {
  0% { left: -50px; }
  100% { left: calc(100% + 50px); }
}

@keyframes transit-move {
  0% { left: 0%; }
  100% { left: 100%; }
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE MEDIA QUERIES (Mobile First Override)
   -------------------------------------------------------------------------- */

/* Desktop / Large Viewports (max-width: 1400px constraints) */
@media (max-width: 1440px) {
  .hero-section {
    padding-left: 6vw;
  }
  .hero-scroll-indicator {
    left: 6vw;
  }
}

/* Medium Tablets & Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .adn-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .adn-card {
    min-height: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .valores-redesigned-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 3rem;
  }
  .valor-redesigned-item::after {
    display: none;
  }
  .valor-redesigned-item {
    border-bottom: 1px solid rgba(0, 157, 255, 0.08);
    padding: 2rem 1rem;
  }
  .valor-redesigned-item:nth-last-child(-n+3) {
    border-bottom: none;
  }

  .purpose-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .essence-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .service-block, 
  .service-block.inverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-block.inverse .service-info {
    grid-column: 1;
  }

  .additional-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

  .process-step {
    grid-template-columns: 70px 1fr;
    gap: 2rem;
  }

  .process-step .step-visual {
    grid-column: 2;
    height: 140px;
  }

  .proposal-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .navbar-container {
    background-color: rgba(5, 6, 8, 0.95);
    border-bottom: 1px solid var(--color-border-glass);
  }

  .menu-toggle {
    display: flex;
  }

  .valores-redesigned-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .valor-redesigned-item {
    border-bottom: 1px solid rgba(0, 157, 255, 0.08);
    padding: 1.5rem 1rem;
  }
  .valor-redesigned-item::after {
    display: none;
  }
  .valor-redesigned-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .valor-icon-wrapper {
    height: 60px;
    width: 60px;
    margin-bottom: 1rem;
  }
  .valor-svg-icon {
    width: 38px;
    height: 38px;
  }
  .valor-name {
    font-size: 1rem;
  }
  .valor-desc {
    font-size: 0.85rem;
  }

  .nav-links {
    position: fixed;
    top: var(--navbar-height);
    left: -100%;
    width: 100%;
    height: calc(100dvh - var(--navbar-height));
    background-color: var(--color-bg-base);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-item {
    font-size: 1.5rem;
  }

  .nav-cta {
    display: none; /* In mobile menu, we'll keep toggle visible */
  }

  .hero-section {
    padding-left: 2rem;
    padding-right: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.8rem;
  }

  .hero-subheadline {
    font-size: 1.15rem;
  }

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

  .hero-ctas .btn-primary, 
  .hero-ctas .btn-secondary {
    width: 100%;
  }

  .hero-scroll-indicator {
    display: none; /* Hide in mobile viewports to prevent overlap */
  }

  .section-header-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-headline {
    font-size: 2.5rem;
  }

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

  .additional-services-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-panel {
    padding: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .modal-wrapper {
    padding: 2rem 1.5rem;
  }
}

/* Small Viewports (max-width: 480px) */
@media (max-width: 480px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .valores-redesigned-list {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }
  .valor-redesigned-item {
    border-bottom: 1px solid rgba(0, 157, 255, 0.08);
  }
  .valor-redesigned-item:last-child {
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   22. ACCESIBILITY & REDUCED MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, 
  *::before, 
  *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .noise-overlay {
    display: none;
  }
  
  .service-img {
    transition: none !important;
  }

  .service-media:hover .service-img {
    transform: none !important;
  }
}
