/* ==========================================================================
   TECME GLOBAL — Design tokens (source: .rules/style.md)
   ========================================================================== */
:root {
  --ocean: #1061B2;
  --navy: #274284;
  --navy-light: #33508F;
  --slate: #4C6195;
  --mist: #E8F0FC;
  --paper: #FFFFFF;
  --ink: #274284;
  --graphite: #5B6472;
  --line: #CBDCF2;
  --line-dark: #3A5490;

  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  --r: 3px;
  --container-max: 1366px;
  --gutter: 24px;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  color: var(--navy);
}

p { margin: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--ocean);
  border-color: var(--ocean);
  color: #fff;
}
.btn-primary:hover { background: #0d5299; border-color: #0d5299; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--navy);
}
.btn-light:hover { background: var(--mist); border-color: var(--mist); }

/* magnetic wrapper target (JS translates via transform, keep transition here) */
.btn-magnetic { transition: transform 0.35s var(--ease-spring), background-color 0.3s ease, border-color 0.3s ease; }

/* ==========================================================================
   Eyebrow / section titles
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ocean);
  padding: 6px 14px;
  border-radius: var(--r);
  margin-bottom: 18px;
}
.eyebrow-on-navy { background: rgba(255, 255, 255, 0.12); }

.section-title {
  font-size: clamp(28px, 4.5vw, 45px);
  font-weight: 700;
  color: var(--navy);
  max-width: 720px;
}
.section-title-on-navy { color: #fff; }

.section-text {
  margin-top: 16px;
  font-size: 17px;
  color: var(--graphite);
  max-width: 640px;
}
.section-text-on-navy {
  margin-top: 16px;
  font-size: 17px;
  color: #DCE6F8;
  max-width: 640px;
}

.section-cta { margin-top: 40px; }

/* word-reveal targets (spans injected by JS) */
.js-reveal-words .word { display: inline-block; opacity: 0; transform: translateY(20px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.header-logo img { height: 31px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li > a,
.dropdown-toggle {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  padding: 8px 0;
  position: relative;
  transition: color 0.25s ease;
}
.main-nav > ul > li > a:hover,
.dropdown-toggle:hover { color: var(--ocean); }

.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 12px 32px rgba(39, 66, 132, 0.14);
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r);
  font-size: 14px;
  color: var(--slate);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-menu li a:hover { background: var(--mist); color: var(--ocean); }

.lang-switch { position: relative; }
.lang-current {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 7px 12px;
  cursor: pointer;
}
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 8px 0 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 12px 32px rgba(39, 66, 132, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  min-width: 80px;
}
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-menu a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: var(--r);
  color: var(--slate);
}
.lang-menu a:hover { background: var(--mist); color: var(--ocean); }

.header-cta { padding: 11px 20px; font-size: 14.5px; white-space: nowrap; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - var(--header-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px var(--gutter) 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-spring);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a, .dropdown-toggle { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; display: none; margin: 0; padding-left: 12px;
  }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .lang-switch { width: 100%; }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 12px; }
  .lang-switch.is-open .lang-menu { display: block; }
  .header-cta { width: 100%; text-align: center; margin-top: 8px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  /* x:100% keeps the right edge (equipment) fully in frame; y:30% biases toward the top
     (monitor screen) so wide/short viewports crop the wheels at the bottom, not the device. */
  object-position: 100% 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 20, 46, 0.92) 0%, rgba(12, 28, 58, 0.72) 32%, rgba(16, 97, 178, 0.28) 62%, rgba(16, 97, 178, 0.1) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}
.hero-glow-1 { top: -160px; right: -80px; background: radial-gradient(circle, var(--ocean) 0%, transparent 70%); animation: heroGlowFloat 11s ease-in-out infinite; }
.hero-glow-2 { bottom: -200px; left: -100px; width: 560px; height: 560px; background: radial-gradient(circle, #33508F 0%, transparent 70%); opacity: 0.4; animation: heroGlowFloat 14s ease-in-out infinite reverse; }
@keyframes heroGlowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 24px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero-eyebrow { background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.25); }
.hero-title {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}
.hero-title-line {
  display: block;
  line-height: 1.1;
}
.hero-title .word-accent {
  background: linear-gradient(90deg, #fff 0%, #BFE0FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.6;
  color: #E7EEFB;
  max-width: 620px;
}
.hero-actions { margin-top: 48px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-arrow { transition: transform 0.35s var(--ease-spring); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateX(-50%);
  animation: heroScrollBounce 2.2s ease-in-out infinite;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.hero-scroll-cue:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 640px) {
  .hero { min-height: clamp(520px, 78vh, 640px); }
  .hero-content { padding-top: 64px; padding-bottom: 72px; }
  .hero-scroll-cue { display: none; }
}

@media (max-width: 640px) and (max-aspect-ratio: 3/4) {
  /* very tall/narrow phones: image becomes width-constrained, so protect the
     right edge (equipment) instead of centering, or it gets cropped out. */
  .hero-img { object-position: 100% 20%; }
}

/* ==========================================================================
   Section bands (navy / light alternation)
   ========================================================================== */
.section { padding: 88px 0; }
.section-light { background: var(--paper); }
.section-navy { background: var(--navy); }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
}

/* ==========================================================================
   Beneficios
   ========================================================================== */
.benefits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.benefits-header-copy { flex: none; max-width: 640px; }
.benefits-heartbeat {
  flex: 1 1 60%;
  max-width: 60%;
  min-width: 240px;
  height: 96px;
  align-self: center;
}

.benefits-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 32px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), border-color 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--navy-light));
  transition: width 0.5s var(--ease-spring);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -14px rgba(39, 66, 132, 0.2);
  border-color: var(--line-dark);
}
.benefit-card:hover::before { width: 100%; }
.benefit-number {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  z-index: 0;
}
.benefit-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(140deg, var(--ocean) 0%, var(--navy) 100%);
  border-radius: 5px;
  box-shadow: 0 10px 20px -8px rgba(16, 97, 178, 0.55);
  margin-bottom: 24px;
  transition: transform 0.5s var(--ease-spring);
}
.benefit-card:hover .benefit-icon { transform: scale(1.06) rotate(-2deg); }
.benefit-card h3 {
  position: relative;
  z-index: 1;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.benefit-divider {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--ocean);
  margin: 14px 0 14px;
  transition: width 0.4s var(--ease-spring);
}
.benefit-card:hover .benefit-divider { width: 48px; }
.benefit-card p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
}

@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .benefits-heartbeat { max-width: 40%; }
  .benefits-header-copy { flex: 1 1 auto; min-width: 0; }
  .benefits-header { flex-wrap: wrap; }
}
@media (max-width: 780px) {
  .benefits-heartbeat { max-width: 100%; width: 100%; min-width: 0; margin-top: 20px; height: 64px; }
}
@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ---- Bottom CTA banner + tagline ---- */
.benefits-cta-banner {
  position: relative;
  margin-top: 56px;
  background: linear-gradient(135deg, var(--mist) 0%, #F3F8FE 55%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 200px;
  isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(39, 66, 132, 0.22);
  transition: box-shadow 0.4s var(--ease-spring), transform 0.4s var(--ease-spring);
}
.benefits-cta-banner:hover {
  box-shadow: 0 40px 70px -28px rgba(39, 66, 132, 0.3);
  transform: translateY(-3px);
}
.benefits-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(16, 97, 178, 0.25) 45%, rgba(255, 255, 255, 0) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.benefits-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.benefits-cta-dots {
  position: absolute;
  left: 36px;
  bottom: 36px;
  width: 150px;
  height: 110px;
  background-image: radial-gradient(#AFCBEA 1.4px, transparent 1.6px);
  background-size: 15px 15px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(200deg, #000 25%, transparent 80%);
  mask-image: linear-gradient(200deg, #000 25%, transparent 80%);
  pointer-events: none;
  animation: cta-dots-pulse 5s ease-in-out infinite;
}
.benefits-cta-rings {
  position: absolute;
  right: -80px;
  top: 50%;
  width: 380px;
  height: 380px;
  max-width: 60%;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  animation: cta-rings-spin 90s linear infinite;
}
.benefits-cta-glow {
  position: absolute;
  right: -40px;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(191, 224, 255, 0.4) 50%, rgba(191, 224, 255, 0) 75%);
  filter: blur(2px);
  pointer-events: none;
}
@keyframes cta-rings-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}
@keyframes cta-dots-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}
.benefits-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 44px;
}
.benefits-cta-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}
.benefits-cta-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 10px 26px -10px rgba(39, 66, 132, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.benefits-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 16px;
}
.benefits-cta-copy h3 {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--navy);
}
.benefits-cta-copy p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--graphite);
}
.btn-sweep {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.3s ease;
}
.btn-sweep::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: translateX(-102%);
  transition: transform 0.45s var(--ease-spring);
}
.btn-sweep:hover {
  box-shadow: 0 14px 30px -10px rgba(39, 66, 132, 0.5);
}
.btn-sweep:hover::before { transform: translateX(0); }
.btn-sweep .btn-arrow { transition: transform 0.4s var(--ease-spring); }
.btn-sweep:hover .btn-arrow { transform: translateX(5px); }

.benefits-cta-btn { margin-left: 10px; }
.benefits-cta-trust {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
}
.benefits-cta-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.benefits-cta-trust svg { flex: none; }
.benefits-cta-trust span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--slate);
}
.benefits-tagline {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--graphite);
}

@media (max-width: 780px) {
  .benefits-cta-banner { grid-template-columns: 1fr; min-height: 0; }
  .benefits-cta-content { padding: 36px 28px; }
  .benefits-cta-text { flex-direction: column; align-items: flex-start; gap: 16px; }
  .benefits-cta-copy { margin-left: 0; }
  .benefits-cta-btn { margin-left: 0; }
  .benefits-cta-rings { width: 220px; height: 220px; right: -60px; }
  .benefits-cta-glow { width: 160px; height: 160px; right: -30px; }
  .benefits-cta-dots { display: none; }
  .benefits-cta-trust { gap: 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .benefits-cta-rings, .benefits-cta-dots, .benefits-cta-badge-dot { animation: none; }
}

/* ==========================================================================
   Distribuidores
   ========================================================================== */
.distribuidores-section { position: relative; overflow: hidden; padding: 110px 0; }

.distribuidores-map {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 54%;
  min-width: 500px;
  aspect-ratio: 1774 / 887;
  z-index: 0;
  pointer-events: none;
  perspective: 1600px;
}
.distribuidores-map-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-14deg) rotateZ(1deg);
  filter: drop-shadow(-30px 40px 50px rgba(0, 0, 0, 0.35));
}
.distribuidores-orbit {
  position: absolute;
  right: -18%;
  top: 50%;
  width: 90%;
  height: auto;
  transform: translateY(-50%) translateZ(-40px);
}
.distribuidores-worldmap-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  filter: saturate(0.7) brightness(1.05);
}
.distribuidores-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(14px);
}
.net-arcs path {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.net-node {
  opacity: 0;
}
.net-glow { fill: #fff; opacity: 0.55; }
.net-core { fill: #fff; }
.net-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.2;
}
.net-pulse {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  opacity: 0.8;
  transform-origin: center;
  transform-box: fill-box;
  animation: net-pulse-ring 3s ease-out infinite;
}
@keyframes net-pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.6); opacity: 0; }
}

.distribuidores-fade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to right, var(--navy) 0%, var(--navy) 34%, rgba(39, 66, 132, 0.75) 52%, rgba(39, 66, 132, 0) 78%);
}

.distribuidores-inner {
  position: relative;
  z-index: 1;
}
.distribuidores-content { max-width: 560px; text-align: left; padding-left: 8px; }
.distribuidores-pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}
.distribuidores-btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.distribuidores-btn .btn-arrow { transition: transform 0.35s var(--ease-spring); }
.distribuidores-btn:hover .btn-arrow { transform: translateX(5px); }

@media (max-width: 1100px) {
  .distribuidores-map { width: 52%; min-width: 460px; right: -10%; opacity: 0.6; }
}
@media (max-width: 780px) {
  .distribuidores-section {
    padding: 72px 0;
    display: flex;
    flex-direction: column;
  }
  .distribuidores-inner { order: 1; }
  .distribuidores-map {
    order: 2;
    position: relative;
    inset: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    opacity: 1;
    margin-top: 36px;
    perspective: 900px;
  }
  .distribuidores-map-inner { transform: rotateX(6deg) rotateY(-8deg) rotateZ(0.5deg); }
  .distribuidores-fade { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .net-pulse { animation: none; }
  .net-node { opacity: 1; }
  .net-arcs path { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Formulario
   ========================================================================== */
.formulario-section { position: relative; overflow: hidden; }
.formulario-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.formulario-dots {
  position: absolute;
  left: -20px;
  top: 10%;
  width: 170px;
  height: 220px;
  background-image: radial-gradient(var(--line-dark) 1.4px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.25;
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 72%);
  mask-image: radial-gradient(circle, #000 25%, transparent 72%);
}
.formulario-glow {
  position: absolute;
  right: -160px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 97, 178, 0.1) 0%, rgba(16, 97, 178, 0) 70%);
}

.form-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.form-copy .section-title { margin-top: -8px; }
.form-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; }

.form-steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-steps li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 32px;
}
.form-steps li:last-child { padding-bottom: 0; }
.form-steps li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 40px;
  bottom: 4px;
  width: 1.5px;
  background: var(--line);
}
.form-step-num {
  flex: none;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ocean);
  z-index: 1;
}
.form-step-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.form-step-text p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--graphite);
}

.form-highlights {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-highlights li { display: flex; align-items: center; gap: 12px; }
.form-highlight-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: var(--mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-highlights span:last-child { font-size: 14.5px; color: var(--graphite); }

.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 34px;
  box-shadow: 0 30px 60px -30px rgba(39, 66, 132, 0.18);
}
.form-panel iframe { min-height: 688px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; gap: 20px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.form-field input,
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 5px;
  padding: 12px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(16, 97, 178, 0.15);
}
.form-field select { cursor: pointer; appearance: none; padding-right: 36px; width: 100%; }

.form-input-icon { position: relative; }
.form-input-icon svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.form-input-icon input { padding-left: 40px; }

.form-select { position: relative; }
.form-select::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.6px solid var(--slate);
  border-bottom: 1.6px solid var(--slate);
  transform: rotate(45deg);
  pointer-events: none;
}

.form-field-conditional { animation: form-field-in 0.35s ease; }
@keyframes form-field-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--graphite);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--ocean);
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--line);
  background: var(--paper);
  position: relative;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--ocean);
  border-color: var(--ocean);
}
.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.form-consent a { color: var(--ocean); text-decoration: underline; }

.form-submit { align-self: flex-start; margin-top: 4px; }

@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.link-inline {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ocean);
  text-decoration: underline;
  cursor: pointer;
}
.link-inline-footer { color: inherit; text-decoration: none; font-size: inherit; }
.link-inline-footer:hover { color: var(--mist); text-decoration: underline; }

@media (max-width: 860px) {
  .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .form-copy { position: static; padding-top: 0; }
  .form-steps { margin-top: 28px; }
  .form-panel { min-height: 620px; }
  .form-panel iframe { min-height: 588px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #DCE6F8;
  padding-top: 64px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 28px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  border: 1px solid var(--line-dark);
  color: #DCE6F8;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover { background: var(--ocean); border-color: var(--ocean); color: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a, .footer-col ul button { font-size: 14.5px; color: #C7D5EF; transition: color 0.2s ease; }
.footer-col ul a:hover, .footer-col ul button:hover { color: #fff; }

.footer-offices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-dark);
}
.office h5 { color: #fff; font-size: 14px; margin-bottom: 8px; }
.office p { font-size: 13px; color: #A9BEE0; line-height: 1.5; }

.footer-bottom { padding: 24px 0; font-size: 13px; color: #A9BEE0; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-offices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-offices { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Modal — Política de Privacidad
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 30, 56, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }

.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: var(--r);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
}
.modal-dialog h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-right: 30px;
}
.modal-body h3 { font-size: 15px; color: var(--navy); margin: 22px 0 8px; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { font-size: 14px; line-height: 1.65; color: var(--graphite); }
.modal-updated { margin-top: 24px; font-size: 12.5px; color: var(--slate); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  border: none;
  border-radius: var(--r);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.modal-close:hover { background: var(--line); }
