/* ==========================================================================
   TRANSAUTO — TRANSMISIONES AUTOMÁTICAS DEL ATLÁNTICO
   Light Cinematic Automotive Engineering Stylesheet
   Studio-matched lighting palette blended with 3D transmission CAD
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Studio Light Engineering Palette (Matched to CAD video background: rgb(215, 220, 225)) */
  --bg-core: #d4d8dd;
  --bg-core-gradient: radial-gradient(ellipse at 50% 45%, #eaedf1 0%, #d8dce2 55%, #c8ced5 100%);
  --bg-surface: rgba(255, 255, 255, 0.90);
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: rgba(255, 255, 255, 0.75);

  --border-subtle: rgba(13, 32, 56, 0.08);
  --border-medium: rgba(13, 32, 56, 0.16);
  --border-accent: rgba(229, 34, 41, 0.45);

  /* Vivid Red & Navy Blue Accent System */
  --accent-red: #e52229;
  --accent-red-bright: #ef2e36;
  --accent-red-glow: rgba(229, 34, 41, 0.28);

  --accent-navy: #0d2038;
  --accent-navy-light: #16365c;
  --accent-navy-subtle: rgba(13, 32, 56, 0.08);
  --accent-navy-glow: rgba(13, 32, 56, 0.18);

  /* Backwards-compatibility aliases mapped directly to Vivid Red */
  --accent-amber: var(--accent-red);
  --accent-amber-bright: var(--accent-red-bright);
  --accent-amber-glow: var(--accent-red-glow);

  --text-primary: #0d2038;
  --text-secondary: #2d3d52;
  --text-muted: #5e6f84;
  --text-accent: var(--accent-red);

  --font-display: 'Plus Jakarta Sans', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 72px;
}

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

html {
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #d4d8dd;
  background-image: linear-gradient(180deg, #ccd2d8 0%, #d8dde2 45%, #e1e4e7 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Studio ambient backdrop without distracting grid lines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(232, 99, 20, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(220, 225, 230, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(238, 241, 244, 0.96);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  outline: none;
  gap: 0.75rem;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--accent-amber-bright);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber-glow);
  border-radius: 1px;
}

.nav-link:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--accent-navy);
  color: #fff;
  box-shadow: 0 2px 10px var(--accent-navy-glow);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 34, 41, 0.08);
  color: var(--accent-red);
  border: 1px solid var(--border-accent);
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.header-cta:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-red-glow);
}

/* ==========================================================================
   CINEMATIC SCROLL EXPERIENCE (3 PINNED STAGES)
   ========================================================================== */

.scroll-experience-container {
  position: relative;
  height: 480vh;
  width: 100%;
}

.pinned-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 10;
}

/* HUD Telemetry */
.hud-telemetry {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 30;
  text-transform: uppercase;
}

.hud-telemetry.top-left {
  top: calc(var(--header-height) + 1.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
}

.hud-telemetry.top-right {
  top: calc(var(--header-height) + 1.5rem);
  right: clamp(1rem, 3vw, 2.5rem);
  text-align: right;
}

.hud-telemetry.bottom-left {
  bottom: 2rem;
  left: clamp(1rem, 3vw, 2.5rem);
}

.hud-telemetry.bottom-right {
  bottom: 2rem;
  right: clamp(1rem, 3vw, 2.5rem);
  text-align: right;
}

.hud-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--accent-amber);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.viewport-radial-glow {
  display: none;
}

/* Centerpiece Mechanical Assembly - Blends Seamlessly with Studio Canvas */
.transmission-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(380px, 75vw, 1180px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: opacity 0.4s ease;
}

.transmission-stage-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* 3D Exploded-View Video Container: Transparent Frame With Feathered Edges */
.tx-video-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  /* Radial feathered edge: dissolves outer perimeter into 100% background transparency */
  -webkit-mask-image: radial-gradient(ellipse 90% 84% at 50% 50%, #000 65%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 84% at 50% 50%, #000 65%, transparent 100%);
}

.tx-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: transparent;
}

/* HUD Overlay on Video - Hidden so the 3D transmission floats free of any card borders */
.tx-video-hud-overlay {
  display: none;
}

/* ==========================================================================
   SCROLL STAGE CONTENT PANELS
   ========================================================================== */

.narrative-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 35;
}

.narrative-stage.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Glassmorphic negative-space container */
.stage-content-box {
  max-width: 480px;
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(13, 32, 56, 0.08);
  border-radius: 20px;
  padding: clamp(1.5rem, 2.3vw, 2.4rem);
  box-shadow: 0 20px 50px -10px rgba(13, 32, 56, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  box-sizing: border-box;
}

/* Stage 1: Hero Content */
.stage-hero {
  justify-content: flex-start;
  align-items: flex-end;
  padding-bottom: clamp(3.5rem, 8vh, 6.5rem);
}

.stage-hero .stage-content-box {
  max-width: clamp(380px, 35vw, 520px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.7vw, 2.85rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--accent-navy);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-navy) 40%, var(--accent-navy-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.96rem, 1.2vw, 1.14rem);
  color: var(--accent-navy);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

.hero-description {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px var(--accent-red-glow);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(229, 34, 41, 0.4);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-navy);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  border: 1.5px solid var(--accent-navy);
  box-shadow: 0 2px 10px rgba(13, 32, 56, 0.04);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--accent-navy);
  color: #ffffff;
  border-color: var(--accent-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 32, 56, 0.16);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--accent-navy);
  outline-offset: 3px;
}

/* Scroll indicator prompt */
.scroll-indicator-prompt {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 25;
  transition: opacity 0.3s ease;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(15, 23, 42, 0.25);
  border-radius: 12px;
  position: relative;
}

.mouse-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--accent-red);
  border-radius: 2px;
  animation: scroll-wheel 1.8s infinite ease-in-out;
}

@keyframes scroll-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  75% { transform: translate(-50%, 10px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* Stage 2: Diagnóstico */
.stage-diagnostics {
  justify-content: flex-end;
}

.stage-diagnostics .stage-content-box {
  max-width: clamp(390px, 32vw, 480px);
  margin-left: auto;
  border-left: 4px solid var(--accent-red);
}

.tech-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-red);
  background: rgba(229, 34, 41, 0.08);
  border: 1px solid rgba(229, 34, 41, 0.25);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.stage-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.05vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--accent-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: normal;
}

.stage-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.tech-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tech-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-spec-item::before {
  content: '▸';
  color: var(--accent-red);
  font-weight: bold;
}

/* Stage 3: Reparación + Mantenimiento */
.stage-repair {
  justify-content: flex-start;
}

.stage-repair .stage-content-box {
  max-width: clamp(390px, 32vw, 480px);
  margin-right: auto;
  border-left: 4px solid var(--accent-navy);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 1.4rem 0;
}

.service-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-navy);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(13, 32, 56, 0.16);
  box-shadow: 0 2px 8px rgba(13, 32, 56, 0.04);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
}

.stage-statement {
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent-red);
  padding-left: 1rem;
  margin-top: 1.1rem;
  font-style: italic;
}

/* ==========================================================================
   REGULAR DOCUMENT FLOW (After Exploded Sequence)
   ========================================================================== */

.content-wrapper {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #d3d8dd 0%, #dbe0e5 35%, #e1e5ea 70%, #d8dce2 100%);
}

.section-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

/* COMPANY SECTION */
.section-company {
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.company-watermark {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 24vw, 24rem);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.company-text {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-secondary);
}

.company-text p + p {
  margin-top: 1.2rem;
}

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

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.8rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.10);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), transparent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* CONTACT SECTION */
.section-contact {
  border-top: 1px solid var(--border-subtle);
  background: transparent;
  position: relative;
}

.contact-card-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 20px 60px -15px rgba(13, 32, 56, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-card-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(229, 34, 41, 0.08);
  border: 1px solid rgba(229, 34, 41, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.contact-item-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-item-val:hover {
  color: var(--accent-red);
}

.contact-actions-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(241, 245, 249, 0.90);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: clamp(1.8rem, 3.5vw, 2.5rem);
  gap: 1.2rem;
}

.contact-cta-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.1rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.contact-cta-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

.contact-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.8rem;
  border-radius: 10px;
  border: 1px solid var(--border-medium);
  box-shadow: 0 2px 10px rgba(13, 32, 56, 0.04);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-cta-call:hover {
  background: #f8fafc;
  border-color: rgba(13, 32, 56, 0.3);
  transform: translateY(-2px);
}

.contact-cta-maps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.6rem;
  transition: var(--transition-smooth);
}

.contact-cta-maps:hover {
  color: var(--accent-red);
}

.hours-box {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hours-box strong {
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  background: #ccd1d7;
  padding: 4.5rem clamp(1.5rem, 4vw, 3.5rem) 2.5rem clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  z-index: 20;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3.5rem;
}

.footer-brand-p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 380px;
  line-height: 1.65;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

.footer-address {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   MOBILE FLOATING ACTION
   ========================================================================== */

.mobile-floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(220, 225, 230, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 990;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.mobile-floating-bar .btn-mobile-whatsapp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
}

.mobile-floating-bar .btn-mobile-call {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  border-radius: 8px;
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATION
   ========================================================================== */

@media (max-width: 1024px) {
  .company-grid,
  .contact-card-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-floating-bar {
    display: flex;
  }

  .transmission-stage {
    width: clamp(400px, 116vw, 560px);
    top: 28%;
  }

  .narrative-stage {
    padding: 0 1rem;
    align-items: flex-end;
    padding-bottom: clamp(4.8rem, 10vh, 5.5rem);
  }

  .stage-content-box {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1rem 1.15rem;
    border-radius: 12px;
  }

  .stage-title {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    line-height: 1.15;
    margin-bottom: 0.6rem;
  }

  .stage-text {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.8rem;
  }

  .stage-tech-list li {
    font-size: 0.76rem;
    margin-bottom: 0.35rem;
  }

  .stage-hero {
    align-items: flex-end;
    padding-bottom: 5.5rem;
  }

  .stage-diagnostics,
  .stage-repair {
    justify-content: center;
  }

  .company-stats {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 4.5rem;
  }

  .hud-telemetry.top-left,
  .hud-telemetry.top-right {
    top: calc(var(--header-height) + 0.25rem);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .hud-telemetry.bottom-left,
  .hud-telemetry.bottom-right {
    display: none;
  }

  .scroll-indicator-prompt {
    display: none;
  }

  .video-hud-tag.top-left {
    display: none;
  }

  .video-hud-tag.top-right {
    top: 8px;
    right: 12px;
    font-size: 0.58rem;
    padding: 2px 6px;
  }

  .hud-corner {
    width: 10px;
    height: 10px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-experience-container {
    height: auto;
  }

  .pinned-viewport {
    position: relative;
    height: auto;
    min-height: 80vh;
    padding: 6rem 1rem 3rem 1rem;
  }

  .transmission-stage {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    margin: 2rem auto;
  }

  .narrative-stage {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 3rem 1.5rem;
    height: auto;
  }

  .scroll-indicator-prompt {
    display: none;
  }
}
