:root {
  --bg:             #080808;
  --border:         rgba(255,255,255,0.07);
  --white:          #f5f5f5;
  --muted:          #888;
  --accent-purple:  #a56cff;
  --radius:         16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 60px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img { height: 48px; }

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  font-weight: 500; letter-spacing: 0.04em; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold); color: #000;
  padding: 8px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  letter-spacing: 0.04em; transition: background .2s;
}
.nav-cta:hover { background: var(--gold-light); }
.nav-actions-wrap { display: flex; gap: 10px; align-items: center; }

/* ── ACCESO BUTTON ─────────────────────────────── */
.nav-acceso-btn {
  background: none;
  border: 1px solid rgba(184,151,90,0.45);
  color: var(--gold);
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: inherit;
}
.nav-acceso-btn:hover {
  background: rgba(184,151,90,0.12);
  border-color: var(--gold);
}

/* ── ACCESS MODAL ───────────────────────────────── */
#access-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4,4,6,0.88);
  backdrop-filter: blur(20px);
  align-items: center; justify-content: center;
}
#access-overlay.visible { display: flex; }

.access-modal {
  background: rgba(12,12,15,0.98);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 48px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.access-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 20px; line-height: 1;
  transition: color .15s;
}
.access-modal-close:hover { color: var(--white); }

.access-back {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 13px; font-family: inherit;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 24px; padding: 0;
  transition: color .15s;
}
.access-back:hover { color: var(--white); }

.access-step { display: none; }
.access-step.active { display: block; }

.access-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.access-eyebrow--tight { margin-bottom: 12px; }
.access-title {
  font-size: 22px; font-weight: 700; color: var(--white);
  margin-bottom: 6px;
}
.access-sub {
  font-size: 14px; color: var(--muted); margin-bottom: 32px;
  line-height: 1.5;
}

/* Type selection cards */
.access-types {
  display: flex; flex-direction: column; gap: 12px;
}
.access-type-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: rgba(255,255,255,0.02);
}
.access-type-card:hover {
  border-color: rgba(184,151,90,0.5);
  background: rgba(184,151,90,0.05);
}
.access-type-card .atc-icon {
  font-size: 26px; width: 36px; text-align: center; flex-shrink: 0;
}
.access-type-card .atc-body { flex: 1; }
.access-type-card .atc-name {
  font-size: 15px; font-weight: 600; color: var(--white);
}
.access-type-card .atc-desc {
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.access-type-card .atc-arrow {
  color: var(--muted); font-size: 14px;
}
.access-type-card.disabled {
  opacity: 0.38; cursor: default; pointer-events: none;
}
.atc-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(184,151,90,0.18); color: var(--gold);
  padding: 2px 7px; border-radius: 4px; margin-left: 8px;
  vertical-align: middle;
}

/* Auth form */
.access-field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.access-field label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--muted); text-transform: uppercase;
}
.access-field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px; color: var(--white);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.access-field input:focus { border-color: rgba(184,151,90,0.6); }
.access-field input::placeholder { color: rgba(255,255,255,0.2); }

.access-submit {
  width: 100%;
  background: var(--gold); color: #000;
  border: none; border-radius: 8px;
  padding: 12px;
  font-size: 14px; font-weight: 700;
  font-family: inherit; letter-spacing: 0.04em;
  cursor: pointer; margin-top: 8px;
  transition: background .2s;
}
.access-submit:hover { background: var(--gold-light); }
.access-submit:disabled { opacity: 0.4; cursor: default; }

.access-error {
  font-size: 13px; color: #e92f31;
  margin-top: 10px; display: none;
}
.access-error.visible { display: block; }

/* Success / portal screen */
.access-portal-tools {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 8px;
}
.portal-tool-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255,255,255,0.02);
  transition: border-color .2s, background .2s;
}
.portal-tool-link:hover {
  border-color: rgba(184,151,90,0.5);
  background: rgba(184,151,90,0.05);
}
.portal-tool-link .ptl-icon { font-size: 22px; }
.portal-tool-link .ptl-body { flex: 1; }
.portal-tool-link .ptl-name {
  font-size: 14px; font-weight: 600; color: var(--white);
}
.portal-tool-link .ptl-desc {
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.ptl-name-copiloto { color: #6c8eff; }
.ptl-name-dimo     { color: var(--dimo-red); }
.ptl-name-wicar    { color: var(--wicar-orange); }
.ptl-chevron       { color: var(--muted); font-size: 14px; }
.portal-soon {
  font-size: 13px; color: var(--muted);
  text-align: center; padding: 20px 0;
  line-height: 1.6;
}

/* Pasos específicos del modal */
.client-section-divider { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--m-border); }
.forgot-wrap { text-align: center; margin-top: 14px; }
.link-btn-muted {
  background: none; border: none; cursor: pointer; color: var(--muted);
  font-size: 12px; font-family: inherit; text-decoration: underline; padding: 0;
}
.forgot-success-msg { font-size: 13px; color: var(--green); margin-top: 14px; line-height: 1.6; }
.is-hidden.is-hidden { display: none; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(108,142,255,0.08) 0%,
    rgba(165,108,255,0.06) 40%,
    transparent 70%);
  pointer-events: none;
}

/* ── WORD ROTATOR ────────────────────────────────── */
.hero-word-rotate {
  display: inline-block;
  position: relative;
  min-width: 260px;
}
.hero-word-rotate--wide { min-width: 300px; }
.hero-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  position: absolute; left: 50%; transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}
.hero-word.active {
  opacity: 1;
  position: relative; left: auto; transform: none;
}
.hero-word.exit {
  opacity: 0;
  transform: translateY(-12px);
}

.hero-logo {
  width: 420px; margin-bottom: 32px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 40px rgba(108,142,255,0.25));
}

.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; position: relative; z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.1vw, 65px);
  font-weight: 700; line-height: 1.1;
  color: var(--white);
  max-width: 860px;
  position: relative; z-index: 1;
  margin-bottom: 28px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px; color: var(--muted); max-width: 600px;
  position: relative; z-index: 1; margin-bottom: 48px;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}

.btn-primary {
  background: var(--gold); color: #000;
  padding: 14px 32px; border-radius: 10px;
  font-weight: 700; font-size: 14px;
  text-decoration: none; letter-spacing: 0.04em;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary--lg { font-size: 15px; padding: 16px 40px; }

.btn-outline {
  border: 1px solid var(--border); color: var(--muted);
  padding: 14px 32px; border-radius: 10px;
  font-weight: 500; font-size: 14px;
  text-decoration: none; letter-spacing: 0.04em;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }

/* ── PRESENCE ────────────────────────────────────── */
.presence {
  display: flex; justify-content: center; gap: 0;
  padding: 24px 0 60px;
  border-top: 1px solid var(--border);
  margin: 0 60px;
}

.presence-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.presence-item:last-child { border-right: none; }

.presence-flag { font-size: 24px; }
.presence-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.presence-item--client { opacity: 0.6; }
.presence-item--client .presence-label { color: #666; }
.presence-client-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(184,151,90,0.35);
  border-radius: 4px; padding: 2px 6px; margin-left: 4px;
}

/* ── SECTION WRAPPER ─────────────────────────────── */
section {
  padding: 48px 60px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.section-tag--center { justify-content: center; display: block; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px; color: var(--muted); max-width: 560px;
  margin-bottom: 60px;
}
.section-sub--intro1 { max-width: 680px; }
.section-sub--intro2 { max-width: 680px; margin-top: -32px; margin-bottom: 48px; }
.section-sub--flush { margin-bottom: 0; }

.product-section-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; margin-bottom: 48px;
}

/* ── COPILOTO HERO CARD ───────────────────────────── */
.product-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
}
.product-hero-card--gap20 { margin-bottom: 20px; }
.product-hero-card--flush { margin-bottom: 0; }

.product-hero-header {
  padding: 48px 48px 40px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.product-hero-header--noborder { border-bottom: none; }

.product-hero-logo img {
  height: 36px; filter: invert(1);
}

.product-hero-info { max-width: 580px; }

.product-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 16px;
}
.badge-blue { background: rgba(108,142,255,0.15); color: var(--accent-blue); border: 1px solid rgba(108,142,255,0.25); }
.badge-teal { background: rgba(62,207,207,0.12); color: var(--accent-teal); border: 1px solid rgba(62,207,207,0.2); }
.badge-dimo { background: rgba(233,47,49,0.12); color: var(--dimo-red); border: 1px solid rgba(233,47,49,0.25); }
.badge-wicar { background: rgba(251,95,0,0.12); color: var(--wicar-orange); border: 1px solid rgba(251,95,0,0.25); }
.badge-gold { background: rgba(184,151,90,0.15); color: var(--gold-light); border: 1px solid rgba(184,151,90,0.25); }

.product-hero-info h3 {
  font-size: 22px; font-weight: 600; margin-bottom: 10px;
}
.product-hero-info p {
  font-size: 15px; color: var(--muted); line-height: 1.7;
}

.product-hero-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap; margin-top: 8px;
  transition: gap .2s;
}
.product-hero-link:hover { gap: 12px; }
.product-hero-link--top { white-space: nowrap; margin-top: 8px; flex-shrink: 0; }
.product-hero-link svg { width: 16px; height: 16px; }
.text-dimo  { color: var(--dimo-red); }
.text-wicar { color: var(--wicar-orange); }

/* ── MODULES GRID ────────────────────────────────── */
.modules-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border);
}
.modules-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
.modules-grid--3col { grid-template-columns: repeat(3, 1fr); }

.module-card {
  background: var(--bg-card2);
  padding: 36px 40px;
  position: relative; overflow: hidden;
  transition: background .2s;
}
.module-card:hover { background: #1c1c1c; }

.module-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px;
}
.icon-blue { background: rgba(108,142,255,0.12); }
.icon-teal { background: rgba(62,207,207,0.12); }
.icon-purple { background: rgba(165,108,255,0.12); }
.icon-gold { background: rgba(184,151,90,0.12); }

.module-card h4 {
  font-size: 16px; font-weight: 600; margin-bottom: 10px;
}
.module-card p {
  font-size: 14px; color: var(--muted); line-height: 1.65;
  margin-bottom: 20px;
}

.module-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.module-tags--mt { margin-top: 16px; }
.module-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.05); color: var(--muted);
  border: 1px solid var(--border);
}

/* ── OTHER PRODUCTS ──────────────────────────────── */
.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.products-grid--2col-gap20 { grid-template-columns: repeat(2,1fr); margin-bottom: 20px; }
.products-grid--3col-gap20 { grid-template-columns: repeat(3,1fr); margin-bottom: 20px; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .2s;
  text-decoration: none; color: inherit;
}
.product-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

.product-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 24px;
}

.product-card h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 12px;
}
.product-card p {
  font-size: 15px; color: var(--muted); line-height: 1.7; flex: 1;
}

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
}

.product-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--gold);
  text-decoration: none; transition: gap .2s;
}
.product-card-link:hover { gap: 10px; }

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 0 60px;
}

/* ── INTERNAL TOOLS ──────────────────────────────── */
.tools-card {
  background: linear-gradient(135deg, #111 0%, #161616 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}

.tools-card-info h3 {
  font-size: 26px; font-weight: 700; margin-bottom: 12px;
}
.tools-card-info p {
  font-size: 15px; color: var(--muted); max-width: 480px;
}

.tool-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 14px; color: var(--muted);
  text-decoration: none; transition: border-color .2s, color .2s;
}
.tool-pill:hover { border-color: var(--gold); color: var(--gold); }
.tool-pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ecf6e; box-shadow: 0 0 6px #3ecf6e;
}

/* ── STATS ───────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  margin-top: 80px;
}

.stat-item {
  background: var(--bg-card);
  padding: 40px;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--muted); }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

footer img { height: 56px; }

footer p { font-size: 13px; color: var(--muted); }

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

/* ── CLOSING CTA ─────────────────────────────────── */
.closing-wrap { background: #080808; border-top: 1px solid var(--border); }
.closing-section { text-align: center; padding: 120px 60px; max-width: 900px; margin: 0 auto; }
.closing-title {
  font-family: 'Playfair Display', serif; font-size: clamp(31px,4.25vw,54px);
  font-weight: 700; line-height: 1.25; color: var(--white); margin-bottom: 28px;
}
.closing-sub {
  font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 48px; line-height: 1.7;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  .presence { margin: 0 24px; flex-wrap: wrap; gap: 16px; }
  .presence-item { border-right: none; padding: 0 20px; }
  .modules-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-hero-header { flex-direction: column; }
  .stats-row { grid-template-columns: 1fr; }
  .tools-card { flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; }
  .divider { margin: 0 24px; }
}


/* ── SECTION WRAPPERS (full-bleed bg) ───────────── */
.section-bg {
  width: 100%;
}
.section-bg-copiloto { background: #07080f; }
.section-bg-dimo     { background: #060d0c; }
.section-bg-wicar    { background: #0a0900; }

/* ── PRODUCT BANNERS (logo grande full-width) ───── */
.product-banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 20px;
  position: relative;
  overflow: hidden;
}
.product-banner--center { justify-content: center; text-align: center; }
.product-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.section-bg-copiloto .product-banner { background: radial-gradient(ellipse at 50% 40%, rgba(108,142,255,0.14) 0%, transparent 65%); }
.section-bg-dimo     .product-banner { background: radial-gradient(ellipse at 50% 40%, rgba(233,47,49,0.13) 0%, transparent 65%); }
.section-bg-wicar    .product-banner { background: radial-gradient(ellipse at 50% 40%, rgba(251,95,0,0.13) 0%, transparent 65%); }

.product-banner-logo {
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.product-banner-logo--center { display: block; margin: 0 auto; }
.section-bg-copiloto .product-banner-logo { height: 520px; max-width: 900px; }
.section-bg-dimo     .product-banner-logo { height: 300px; width: 640px; object-fit: contain; object-position: center; }
.section-bg-wicar    .product-banner-logo { height: 280px; max-width: 640px; transform: rotate(90deg); }

/* ── COLOR ACCENT POR SECCIÓN ────────────────────── */
.section-bg-copiloto .section-tag { color: var(--accent-blue); }
.section-bg-dimo     .section-tag { color: #e92f31; }
.section-bg-wicar    .section-tag { color: #fb5f00; }

.section-bg-copiloto .product-hero-card,
.section-bg-copiloto .module-card { background: #0d1020; }
.section-bg-copiloto .product-hero-card { border-color: rgba(108,142,255,0.15); }

.section-bg-dimo .product-hero-card,
.section-bg-dimo .module-card { background: #150808; }
.section-bg-dimo .product-hero-card { border-color: rgba(233,47,49,0.18); }

.section-bg-wicar .product-hero-card,
.section-bg-wicar .module-card { background: #140900; }
.section-bg-wicar .product-hero-card { border-color: rgba(251,95,0,0.2); }

/* ── INTRO / PROPUESTA DE VALOR ──────────────────── */
.value-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
.diff-card {
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
}
.diff-card--others {
  background: rgba(255,255,255,0.02);
}
.diff-card--us {
  background: linear-gradient(135deg, rgba(108,142,255,0.06) 0%, rgba(62,207,207,0.04) 100%);
  border-color: rgba(108,142,255,0.2);
}
.diff-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 18px;
}
.diff-card--others .diff-label { color: var(--muted); }
.diff-card--us .diff-label { color: var(--accent-blue); }
.diff-text {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  font-style: italic;
}
.pillar-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
}
.pillar-list li {
  font-size: 15px; color: var(--white); display: flex; align-items: center; gap: 12px;
}
.pillar-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-teal); flex-shrink: 0;
}

.verticals-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
.vertical-card {
  border-radius: 20px;
  padding: 44px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.vertical-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.vertical-fleets { background: rgba(108,142,255,0.04); }
.vertical-fleets::before { background: linear-gradient(90deg, var(--accent-blue), transparent); }
.vertical-cars { background: rgba(184,151,90,0.04); }
.vertical-cars::before { background: linear-gradient(90deg, var(--gold), transparent); }
.vertical-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 14px; display: block;
}
.vertical-fleets .vertical-label { color: var(--accent-blue); }
.vertical-cars .vertical-label { color: var(--gold); }
.vertical-card h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 10px;
}
.vertical-card > p {
  font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 28px;
}
.vertical-products {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.vertical-products span {
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--white);
}

/* ── COPILOTO INTRO ──────────────────────────────── */
.copiloto-partners {
  background: rgba(108,142,255,0.06);
  border: 1px solid rgba(108,142,255,0.18);
  border-radius: 16px;
  padding: 32px 40px;
  margin-bottom: 48px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
}

.section-pillar-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-blue);
  margin-bottom: 32px; display: block;
}

.copiloto-cta {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.copiloto-cta p {
  font-size: 16px; color: var(--muted);
}
.copiloto-cta a.cta-link {
  color: var(--accent-blue); text-decoration: none; font-weight: 600;
  transition: color .2s;
}
.copiloto-cta a.cta-link:hover { color: var(--white); }

/* ── PILLAR CARDS ────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
  cursor: default;
}
.pillar-card:hover {
  transform: translateY(-6px);
}
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 20px 20px 0 0;
}
.pillar-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--pillar-glow) 0%, transparent 65%);
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
}
.pillar-card:hover::after { opacity: 1; }

.pillar-card--efficiency { --pillar-glow: rgba(108,142,255,0.08); border-color: rgba(108,142,255,0.15); }
.pillar-card--efficiency::before { background: linear-gradient(90deg, var(--accent-blue), transparent); }
.pillar-card--efficiency:hover { border-color: rgba(108,142,255,0.35); }

.pillar-card--availability { --pillar-glow: rgba(62,207,207,0.08); border-color: rgba(62,207,207,0.15); }
.pillar-card--availability::before { background: linear-gradient(90deg, var(--accent-teal), transparent); }
.pillar-card--availability:hover { border-color: rgba(62,207,207,0.35); }

.pillar-card--security { --pillar-glow: rgba(184,151,90,0.08); border-color: rgba(184,151,90,0.15); }
.pillar-card--security::before { background: linear-gradient(90deg, var(--gold), transparent); }
.pillar-card--security:hover { border-color: rgba(184,151,90,0.35); }

.pillar-icon {
  font-size: 40px; margin-bottom: 24px; display: block;
  position: relative; z-index: 1;
}
.pillar-number {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 14px; display: block;
  position: relative; z-index: 1;
}
.pillar-card--efficiency .pillar-number { color: var(--accent-blue); }
.pillar-card--availability .pillar-number { color: var(--accent-teal); }
.pillar-card--security .pillar-number { color: var(--gold-light); }

.pillar-card h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 14px;
  color: var(--white); position: relative; z-index: 1;
}
.pillar-card p {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  position: relative; z-index: 1;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ═══ MATERIAL LOGIN — reskin del modal de acceso (scopeado a #access-overlay) ═══ */
/* Solo afecta al modal de login; la landing dorada de abajo queda intacta.       */
#access-overlay {
  --m-bg:       #F3F4F7;
  --m-surface:  #ffffff;
  --m-border:   #E5E6EE;
  --m-text:     #1C1D26;
  --m-muted:    #6B6E7E;
  --m-faint:    #A0A2B0;
  --m-primary:  #6F64FF;
  --m-primary-d:#5A50E0;
  --m-primary-l:#EEEDFF;
  --m-teal:     #00A88F;
  background: var(--m-bg);
  backdrop-filter: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
#access-overlay .access-modal {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 20px;
  max-width: 440px;
  padding: 40px;
  color: var(--m-text);
  box-shadow: 0 12px 40px rgba(28,29,38,0.12);
}
#access-overlay .access-modal-close       { color: var(--m-faint); }
#access-overlay .access-modal-close:hover  { color: var(--m-text); }
#access-overlay .access-back               { color: var(--m-muted); }
#access-overlay .access-back:hover         { color: var(--m-primary); }

#access-overlay .access-eyebrow { color: var(--m-teal); }
#access-overlay .access-title   { color: var(--m-text); }
#access-overlay .access-sub     { color: var(--m-muted); }

/* Botón primario: Continuar con Microsoft / Ingresar / Guardar / Enviar */
#access-overlay .access-submit {
  background: var(--m-primary); color: #fff;
  border-radius: 10px; padding: 13px;
  box-shadow: 0 2px 8px rgba(111,100,255,0.30);
  transition: background .2s, box-shadow .2s, transform .15s;
}
#access-overlay .access-submit:hover {
  background: var(--m-primary-d);
  box-shadow: 0 6px 18px rgba(111,100,255,0.38);
  transform: translateY(-1px);
}
#access-overlay .access-submit:disabled { opacity: .5; box-shadow: none; transform: none; }
#access-overlay .access-submit--ms {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none;
}
#access-overlay .access-submit--ms svg { flex-shrink: 0; }

/* Campos de formulario (login Connect, cambio de clave, recuperar) */
#access-overlay .access-field label { color: var(--m-muted); }
#access-overlay .access-field input {
  background: var(--m-bg);
  border: 1px solid var(--m-border);
  border-radius: 10px;
  color: var(--m-text);
}
#access-overlay .access-field input:focus {
  border-color: var(--m-primary);
  box-shadow: 0 0 0 3px var(--m-primary-l);
}
#access-overlay .access-field input::placeholder { color: var(--m-faint); }

/* Tarjetas seleccionables (tipo de acceso, herramientas, cliente) */
#access-overlay .access-type-card,
#access-overlay .portal-tool-link {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 12px;
}
#access-overlay .access-type-card:hover,
#access-overlay .portal-tool-link:hover {
  border-color: var(--m-primary);
  background: var(--m-primary-l);
  box-shadow: 0 4px 14px rgba(111,100,255,0.10);
}
#access-overlay .atc-name, #access-overlay .ptl-name { color: var(--m-text); }
#access-overlay .atc-desc, #access-overlay .ptl-desc { color: var(--m-muted); }
#access-overlay .atc-arrow { color: var(--m-faint); }
#access-overlay .atc-badge {
  background: var(--m-primary-l); color: var(--m-primary-d);
}

/* Enlace "¿Olvidaste tu contraseña?" */
#access-overlay #btn-forgot        { color: var(--m-muted); }
#access-overlay #btn-forgot:hover  { color: var(--m-primary); }

/* Botón secundario (Acceso a clientes) */
#access-overlay .access-secondary {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--m-surface);
  color: var(--m-primary-d);
  border: 1px solid var(--m-border);
  border-radius: 10px;
  padding: 13px;
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
#access-overlay .access-secondary:hover {
  border-color: var(--m-primary);
  background: var(--m-primary-l);
  box-shadow: 0 4px 14px rgba(111,100,255,0.10);
  transform: translateY(-1px);
}

/* Landing de clientes — tarjetas de país (banderas) */
#access-overlay .client-flags { display: flex; flex-direction: column; gap: 12px; }
#access-overlay .client-flag-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
#access-overlay a.client-flag-card:hover {
  border-color: var(--m-primary);
  background: var(--m-primary-l);
  box-shadow: 0 4px 14px rgba(111,100,255,0.10);
  transform: translateY(-1px);
}
#access-overlay .cf-flag  { font-size: 30px; line-height: 1; flex-shrink: 0; }
#access-overlay .cf-name  { flex: 1; font-size: 15px; font-weight: 700; color: var(--m-text); }
#access-overlay .cf-arrow { font-size: 13px; font-weight: 700; color: var(--m-primary-d); white-space: nowrap; }
/* Estado apagado (próximamente) */
#access-overlay .client-flag-card.disabled {
  opacity: .6; cursor: default; pointer-events: none; background: var(--m-bg);
}
#access-overlay .client-flag-card.disabled .cf-flag { filter: grayscale(1); opacity: .7; }
#access-overlay .client-flag-card.disabled .cf-name { color: var(--m-muted); }
#access-overlay .cf-soon {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--m-muted); background: var(--m-border);
  padding: 4px 10px; border-radius: 100px; white-space: nowrap;
}
