/* ═══════════════════════════════════════════════
   AC&M CONSULTING · SHARED STYLES
   Global CSS compartido entre todas las páginas
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   TOKENS & VARIABLES
═══════════════════════════════════════════════ */
:root {
  --o:   #E63E00;
  --od:  #C03200;
  --ol:  #FF5A1F;
  --obg: #FFF2EC;
  --k:   #0E0E0E;
  --k2:  #1A1A1A;
  --g:   #6B6B6B;
  --g2:  #A0A0A0;
  --r:   #E8E8E8;
  --w:   #FFFFFF;
  --off: #F7F6F4;
  --green: #4ADE80;
  --amber: #F59E0B;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}
html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
}
body {
  font-family: 'Barlow', sans-serif;
  background: var(--w);
  color: var(--k);
  overflow-x: hidden;
}

@media (pointer: fine) {
  body.has-custom-cursor {
    cursor: none;
  }

  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor label,
  body.has-custom-cursor .btn {
    cursor: none;
  }
}

/* Cursor personalizado optimizado */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--o), var(--ol));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(230,62,0,0.5);
}

.cursor {
  position: fixed;
  display: none;
  width: 10px; height: 10px;
  background: var(--o);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.08s, width 0.25s, height 0.25s, background 0.25s;
  mix-blend-mode: multiply;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  display: none;
  width: 36px; height: 36px;
  border: 1.5px solid var(--o);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.12s ease-out, width 0.25s, height 0.25s, opacity 0.25s;
  opacity: 0.5;
  will-change: transform, width, height;
}

.cursor.hover { width: 20px; height: 20px; background: var(--o); }
.cursor-ring.hover { width: 56px; height: 56px; opacity: 0.2; }

.cursor.on-dark {
  background: #fff;
  mix-blend-mode: normal;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.45), 0 0 12px rgba(255,255,255,0.45);
}

.cursor-ring.on-dark {
  border-color: #fff;
  opacity: 0.7;
}

@media (pointer: fine) {
  body.has-custom-cursor .cursor,
  body.has-custom-cursor .cursor-ring {
    display: block;
  }
}

/* Mobile: desactivar cursor personalizado */
@media (max-width: 768px) {
  body { cursor: auto; }
  a,
  button,
  input,
  textarea,
  select,
  label,
  .btn { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.93;
}

h1 { font-size: clamp(3.2rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; }
h4 { font-size: 1rem; letter-spacing: 0.02em; }

.outline-dark  { -webkit-text-stroke: 2px var(--k);  color: transparent; }
.outline-white { -webkit-text-stroke: 2px var(--w);  color: transparent; }
.outline-orange{ -webkit-text-stroke: 2px var(--o);  color: transparent; }
.text-orange   { color: var(--o); }
.text-white    { color: var(--w); }

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--o);
  margin-bottom: 22px;
}

.tag::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--o);
  flex-shrink: 0;
}

.lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--g);
  max-width: 520px;
}

.lead-white { color: rgba(255,255,255,0.5); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 15px 30px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.22s;
  text-decoration: none;
}

.btn:focus {
  outline: 2px solid var(--o);
  outline-offset: 2px;
}

.btn-primary { background: var(--o); color: var(--w); }
.btn-primary:hover { background: var(--od); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,62,0,0.3); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--k); border: 2px solid var(--k); }
.btn-outline:hover { background: var(--k); color: var(--w); }

.btn-outline-white { background: transparent; color: rgba(255,255,255,0.8); border: 2px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { border-color: var(--w); color: var(--w); }

.hero-inline-link {
  color: #fff !important;
  text-decoration: underline;
}

.location-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn-white { background: var(--w); color: var(--o); }
.btn-white:hover { background: var(--off); transform: translateY(-2px); }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
}

.live-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-g 2s infinite;
}

@keyframes pulse-g {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

@supports (content-visibility: auto) {
  section:not(.hero):not(.page-hero):not(.renta-hero),
  .holded-req,
  .stats-strip,
  footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   NAVBAR — GLOBAL
═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--r);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 44px;
  max-height: 44px;
  max-width: 180px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo-mark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--o);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-logo-divider {
  width: 1px; height: 22px;
  background: var(--r);
}

.nav-logo-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--g2);
  line-height: 1.3;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--g);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--o); }
.nav-back::before { content: '←'; font-size: 14px; }

.nav-links {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
  list-style: none;
}


.nav-links a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--k);
}


.nav-links a:focus {
  outline: 2px solid var(--o);
  border-radius: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--o);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-links a:hover { color: var(--k); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.nav-cta {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 22px;
  background: var(--o);
  color: var(--w);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.nav-cta:hover { background: var(--od); transform: translateY(-1px); }
.nav-cta:focus { outline: 2px solid var(--k); outline-offset: 2px; }

.nav-client-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 33px;
  font-family: 'Barlow', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 7px 10px;
  color: var(--g);
  border: 1px solid var(--r);
  border-radius: 2px;
  background: rgba(255,255,255,0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-client-link:hover {
  color: var(--o);
  border-color: rgba(230,62,0,0.28);
  background: rgba(255,255,255,0.94);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(230,62,0,0.12);
}

.nav-client-link:focus {
  outline: 2px solid var(--o);
  outline-offset: 2px;
}

.nav-client-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--o);
  flex-shrink: 0;
}

.nav-client-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.nav-client-text {
  display: inline-block;
}

@media (max-width: 1280px) {
  .nav-client-text { display: none; }
  .nav-client-link {
    min-width: 33px;
    padding: 7px;
  }
}

/* Hamburger menu */
.nav-hamburger { 
  display: none; 
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 10130;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--k);
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer { 
  display: none;
  position: fixed;
  inset: 0;
  background: var(--k);
  z-index: 10120;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.mobile-drawer.open { 
  display: flex;
  transform: translateX(0); 
}

.mobile-drawer-logo { 
  height: 40px; 
  width: auto; 
  margin-bottom: 48px; 
}

.mobile-drawer-links { 
  display: flex; 
  flex-direction: column; 
  gap: 0; 
  margin-bottom: 48px; 
}

.mobile-drawer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  line-height: 1.1;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.mobile-drawer-links a:hover { 
  color: var(--o); 
  padding-left: 10px; 
}

.mobile-drawer-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 28px;
  background: var(--o);
  color: var(--w);
  border-radius: 2px;
  text-decoration: none;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}

.mobile-drawer-contact {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

.mobile-drawer-contact a { 
  color: rgba(255,255,255,0.35); 
  text-decoration: none; 
}

/* ═══════════════════════════════════════════════
   FOOTER — GLOBAL
═══════════════════════════════════════════════ */
.footer {
  background: var(--k);
  padding: 72px 5% 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}

.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--o);
  margin-bottom: 14px;
}

.footer-brand-desc { 
  font-size: 13px; 
  color: rgba(255,255,255,0.3); 
  line-height: 1.7; 
  max-width: 240px; 
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  margin-bottom: 18px;
}

.footer-links { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.footer-link {
  font-size: 13px;
  color: #fff !important;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--o); }
.footer-link:focus { outline: 2px solid var(--o); border-radius: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
}

.footer-legal { display: flex; gap: 20px; }
.footer-link {
  font-size: 13px;
  color: var(--w);
  text-decoration: none;
  transition: color 0.2s;
}
  min-height: 33px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--g);
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--r);
  border-radius: 2px;
  padding: 7px 10px;
  white-space: nowrap;
}

.holded-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  background: rgba(192,192,192,0.08);
  border: 1px solid rgba(192,192,192,0.2);
  border-radius: 2px;
  padding: 6px 12px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--w);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 0.5rem 0;
}
  max-width: 160px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-cert-wrap {
  margin-top: 16px;
}

.footer-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  background: rgba(192,192,192,0.07);
  border: 1px solid rgba(192,192,192,0.15);
  border-radius: 2px;
  padding: 6px 12px;
}

.footer-cert-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C0C0C0;
  flex-shrink: 0;
  display: inline-block;
}

/* ═══════════════════════════════════════════════
   SKIP TO CONTENT (Accesibilidad)
═══════════════════════════════════════════════ */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--o);
  color: var(--w);
  padding: 8px;
  border-radius: 2px;
  z-index: 9999;
  font-weight: 700;
}

.skip-to-content:focus {
  top: 0;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET 1100px
═══════════════════════════════════════════════ */
@media (max-width: 1440px) {
  .nav { padding: 0 2.75%; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.06em; }
  .nav-links a[href$="#caso"],
  .nav-links a[href$="#proceso"] { display: none; }
  .nav-actions { gap: 5px; }
  .nav-client-link { padding: 7px 8px; font-size: 8px; }
  .nav-cta { padding: 10px 14px; }
}

@media (max-width: 1280px) {
  .nav { padding: 0 2.25%; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 10px; }
  .nav-links a[href$="#contacto"] { display: none; }
  .nav-actions { gap: 4px; }
  .nav-client-link { padding: 7px 7px; font-size: 8px; }
  .nav-cta { padding: 10px 12px; }
}

@media (max-width: 1100px) {
  .nav { padding: 0 4%; }
}

@media (max-width: 980px) {
  .nav {
    height: 68px;
    padding: 0 20px;
  }

  .nav-logo-img { height: 34px; }
  .nav-links { display: none; }
  .nav-actions { gap: 0; }
  .nav-cta { display: none; }
  .nav-client-link { display: none; }
  .nav-hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE 768px
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── NAVBAR ── */
  .nav { 
    height: 68px; 
    padding: 0 20px; 
  }
  
  .nav-logo-img { height: 34px; }
  .nav-links { display: none; }
  .nav-actions { gap: 0; }
  .nav-cta { display: none; }
  .nav-client-link { display: none; }
  .nav-hamburger { display: flex; }

  /* ── FOOTER ── */
  .footer { 
    padding: 56px 20px 28px; 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px; 
    padding-bottom: 32px; 
  }
  
  .footer-bottom { 
    flex-direction: column; 
    gap: 12px; 
    text-align: center; 
  }
  
  .footer-legal { 
    justify-content: center; 
  }
}

/* ═══════════════════════════════════════════════
   FORMULARIO
═══════════════════════════════════════════════ */
.form-section {
  background: var(--off);
  padding: 112px 5%;
  border-top: 1px solid var(--r);
}

.form-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.form-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.form-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--g);
}

.form-trust-icon {
  width: 20px; height: 20px;
  background: var(--o);
  color: var(--w);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.form-right {
  background: var(--w);
  border: 1px solid var(--r);
  border-radius: 3px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.contact-form { 
  display: flex; 
  flex-direction: column; 
  gap: 18px; 
}

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 14px; 
}

.form-group { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--g);
}

.form-input {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: var(--k);
  background: var(--off);
  border: 1px solid var(--r);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--o);
  box-shadow: 0 0 0 3px rgba(230,62,0,0.08);
  background: var(--w);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.form-select { 
  cursor: pointer; 
  appearance: none; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); 
  background-repeat: no-repeat; 
  background-position: right 14px center; 
  padding-right: 36px; 
}

.form-textarea { 
  resize: vertical; 
  min-height: 100px; 
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 14px;
  margin-top: 4px;
}

.form-legal {
  font-size: 11px;
  color: var(--g2);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 32px 20px;
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 3px;
}

.form-success-icon {
  width: 48px; height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--w);
  margin: 0 auto 14px;
}

.form-success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--k);
  margin-bottom: 8px;
}

.form-success p { 
  font-size: 14px; 
  color: var(--g); 
  line-height: 1.6; 
}

.form-success a { 
  color: var(--o); 
  text-decoration: none; 
  font-weight: 700; 
}

@media (max-width: 768px) {
  .form-section { 
    padding: 72px 20px; 
  }
  
  .form-inner { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  
  .form-right { 
    padding: 28px 22px; 
  }
  
  .form-row { 
    grid-template-columns: 1fr; 
    gap: 14px; 
  }
}

/* ═══════════════════════════════════════════════
   FOCUS VISIBLE (Accesibilidad)
═══════════════════════════════════════════════ */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--o);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════
   PÁGINAS LEGALES
═══════════════════════════════════════════════ */

/* ── Hero legal ── */
.legal-hero {
  background: var(--k);
  padding: 104px 5% 64px;
  position: relative;
  overflow: hidden;
}
.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--o), var(--ol));
}
.legal-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-55deg, transparent 40px, rgba(230,62,0,0.03) 40px, rgba(230,62,0,0.03) 41px);
}
.legal-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--o);
  background: rgba(230,62,0,0.12);
  border: 1px solid rgba(230,62,0,0.25);
  border-radius: 4px;
  padding: 5px 10px;
  margin-bottom: 20px;
}
.legal-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--w);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.legal-hero h1 span {
  color: var(--o);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  position: relative;
  z-index: 1;
}
.legal-meta-item {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.legal-meta-item strong {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* ── Contenido legal ── */
.legal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 5% 96px;
}

/* ── Tabla de contenidos ── */
.legal-toc {
  background: var(--off);
  border: 1px solid var(--r);
  border-left: 3px solid var(--o);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 56px;
}
.legal-toc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g2);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: decimal;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc a {
  font-size: 14px;
  color: var(--g);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-toc a:hover { color: var(--o); }

/* ── Secciones ── */
.legal-section {
  padding-top: 48px;
  border-top: 1px solid var(--r);
  margin-bottom: 0;
  position: relative;
}
.legal-section:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal-section-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--o);
  margin-bottom: 10px;
}
.legal-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--k);
  margin-bottom: 18px;
  line-height: 1.1;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--g);
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

/* ── Lista de secciones ── */
.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
  padding-left: 0;
}
.legal-section ul li {
  display: block;
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--g);
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
.legal-section ul li::before {
  content: '→';
  color: var(--o);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 2px;
}

/* ── Caja destacada ── */
.legal-highlight {
  background: var(--obg);
  border-left: 3px solid var(--o);
  border-radius: 0 6px 6px 0;
  padding: 20px 22px;
  margin-top: 18px;
}
.legal-highlight p {
  font-size: 14px;
  margin-bottom: 8px;
}
.legal-highlight p:last-child { margin-bottom: 0; }
.legal-highlight strong { color: var(--k); }

.legal-external-link {
  color: var(--o);
  text-decoration: none;
  font-weight: 700;
}

.legal-external-link:hover {
  text-decoration: underline;
}

/* ── Tabla de cookies ── */
.legal-table-wrap { overflow-x: auto; margin: 18px 0; }
.legal-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.legal-table th {
  background: var(--k);
  color: var(--w);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--r);
  color: var(--g);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: var(--off); }

/* ── Footer legal ── */
.legal-footer {
  background: var(--k);
  padding: 40px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 3px solid var(--o);
}
.legal-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.legal-footer-links {
  display: flex;
  gap: 20px;
}
.legal-footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-footer-links a:hover { color: var(--o); }

/* ── Responsive legal ── */
@media (max-width: 768px) {
  .legal-hero { padding: 56px 20px 48px; }
  .legal-content { padding: 40px 20px 64px; }
  .legal-toc { padding: 20px; }
  .legal-hero h1 { font-size: 2.4rem; }
  .legal-footer { flex-direction: column; text-align: center; padding: 32px 20px; }
  .legal-footer-links { justify-content: center; }
  .legal-section h2 { font-size: 1.35rem; }
}
