/* ═══════════════════════════════════════════════════════════
   RUTH · MARKET (LEGAL A ESCALA) - v1.0
   Estilos exclusivos para la página de negocios/market.
   Los tokens base y fuentes se cargan por separado.
═══════════════════════════════════════════════════════════ */

/* Variables locales (fallback) */
:root {
  --bg: #0C0E0F; --bg-rgb: 12,14,15;
  --bg-2: #17191C; --bg-3: #22262A;
  --footer-bg: #07080A;
  --gold: #FFEDA8; --gold-bright: #FFF6D9;
  --gold-rgb: 255,237,168; --gold-ink: var(--gold-bright);
  --text-1: #FFFFFF; --text-1-rgb: 255,255,255;
  --text-2: rgba(255,255,255,.80); --text-3: rgba(255,255,255,.56);
  --dark-text: #0C0E0F;
  --border: rgba(255,255,255,.09); --border-strong: rgba(255,255,255,.16);
  
  --cat-empresa: #B3D4FF; --cat-empresa-rgb: 179,212,255;
  --cat-persona: #FF5C5C; --cat-persona-rgb: 255,92,92;
  --cat-abogado: #A9F5C8; --cat-abogado-rgb: 169,245,200;
  --cat-notaria: #CFC0FF; --cat-notaria-rgb: 207,192,255;
  
  --f-display: 'Abril Fatface', serif;
  --f-body: 'Brother 1816', sans-serif;
  --ambient-rgb: 255,237,168;
}

:root[data-theme="light"] {
  --bg: #FFFFFF; --bg-rgb: 255,255,255;
  --bg-2: #F7F5EF; --bg-3: #EFEBE1;
  --footer-bg: #EFEAE0;
  --gold-ink: #8A6B1F;
  --text-1: #14171A; --text-1-rgb: 20,23,26;
  --text-2: rgba(20,23,26,.80); --text-3: rgba(20,23,26,.58);
  --border: rgba(20,23,26,.10); --border-strong: rgba(20,23,26,.18);
  
  --cat-empresa: #2E6FD9; --cat-empresa-rgb: 46,111,217;
  --cat-persona: #D62F2F; --cat-persona-rgb: 214,47,47;
  --cat-abogado: #178C4E; --cat-abogado-rgb: 23,140,78;
  --cat-notaria: #6B46E8; --cat-notaria-rgb: 107,70,232;
  
  --gold-border: #B8860B;
  --ambient-rgb: 138,107,31;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; min-width: 320px; background: var(--bg); color: var(--text-1);
  font-family: var(--f-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
::selection { background: var(--gold); color: var(--dark-text); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; margin: 0; }
p { margin: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

section, footer { position: relative; overflow: hidden; }
.ambient-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; user-select: none; touch-action: none; opacity: .55; }
section > .wrap, footer > .wrap { position: relative; z-index: 2; }

/* Header / Nav */
header.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(var(--bg-rgb),.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
nav.main-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.nav-logo { display: block; height: 47px; flex-shrink: 0; z-index: 1002; }
.nav-logo img { height: 100%; width: auto; }
.logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 30px; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-2); transition: .2s; }
.nav-links a:hover { color: var(--text-1); }
.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; margin-left: auto; }

.nav-signin {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--text-1); padding: 9px 16px 9px 10px; border-radius: 100px;
  border: 1px solid rgba(var(--gold-rgb),.35); background: rgba(var(--gold-rgb),.08);
  white-space: nowrap; transition: .2s;
}
.nav-signin:hover { border-color: var(--gold-ink); background: rgba(var(--gold-rgb),.16); }
.nav-signin .avatar { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); flex-shrink: 0; }
.nav-signin .avatar i { color: var(--dark-text); font-size: 12px; }
:root[data-theme="light"] .nav-signin { border-color: var(--gold-border); background: rgba(184,134,11,.10); }
:root[data-theme="light"] .nav-signin:hover { background: rgba(184,134,11,.16); }
:root[data-theme="light"] .nav-signin .avatar { border: 1.5px solid var(--gold-border); }

.theme-toggle {
  position: relative; width: 52px; height: 28px; border-radius: 100px;
  border: 1px solid var(--border-strong); background: var(--bg-3); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 0 6px; flex-shrink: 0; transition: .2s;
}
.theme-toggle:hover { border-color: var(--gold-ink); }
.theme-toggle i { font-size: 13px; position: relative; z-index: 1; transition: .2s; }
.theme-toggle .tt-sun { color: var(--text-3); }
.theme-toggle .tt-moon { color: var(--gold-ink); }
.theme-toggle .tt-thumb { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.theme-toggle.is-light .tt-thumb { transform: translateX(24px); }
.theme-toggle.is-light .tt-sun { color: var(--gold-ink); }
.theme-toggle.is-light .tt-moon { color: var(--text-3); }

.btn-primary {
  background: var(--gold); color: var(--dark-text); padding: 15px 28px; border-radius: 12px;
  border: 1.5px solid transparent; font-weight: 700; font-size: 14.5px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: .2s; cursor: pointer; text-align: center;
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-primary i { font-size: 18px; }
:root[data-theme="light"] .btn-primary { border-color: var(--gold-border); box-shadow: 0 10px 24px -14px rgba(184,134,11,.5); }

.mobile-menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--bg-3); color: var(--text-1);
  cursor: pointer; align-items: center; justify-content: center; font-size: 21px;
  transition: .2s; z-index: 1002;
}
.mobile-menu-btn:hover { border-color: var(--gold-ink); }

.mobile-menu {
  display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
  background: rgba(var(--bg-rgb),.98); border-bottom: 1px solid var(--border);
  padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.mobile-menu-inner { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 12px; color: var(--text-2); font-size: 15px; font-weight: 600; transition: .2s; }
.mobile-menu a:hover { background: var(--bg-3); color: var(--text-1); }
.mobile-menu .mobile-contact { margin-top: 8px; background: var(--gold); color: var(--dark-text); justify-content: center; }
.mobile-menu .mobile-contact:hover { background: var(--gold-bright); color: var(--dark-text); }
.mobile-menu.open { display: block; }

/* Hero */
.hero-c { position: relative; width: 100%; max-width: 1220px; margin: 24px auto 0; padding: 0 20px; }
.hero-c-frame {
  position: relative; width: 100%; border-radius: 32px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 480px; justify-content: center; padding: 90px 40px 60px;
  --text-1: #fff; --text-2: rgba(255,255,255,.85); --hero-em: var(--gold);
}
:root[data-theme="light"] .hero-c-frame {
  --text-1: var(--dark-text); --text-2: rgba(20,23,26,.85); --hero-em: var(--gold-ink);
}
.hero-c-bg { position: absolute; inset: 0; z-index: 0; }
.hero-c-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-c-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,10,12,.55) 0%, rgba(8,10,12,.82) 65%, rgba(8,10,12,.95) 100%),
              linear-gradient(90deg, rgba(8,10,12,.55) 0%, transparent 30%, transparent 70%, rgba(8,10,12,.55) 100%);
}
:root[data-theme="light"] .hero-c-bg::after {
  background: linear-gradient(180deg, rgba(255,255,255,.44) 0%, rgba(255,255,255,.76) 65%, rgba(255,255,255,.90) 100%),
              linear-gradient(90deg, rgba(255,255,255,.44) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.44) 100%);
}
.hero-c-inner { position: relative; z-index: 2; width: 100%; max-width: 850px; }
.hero-c-inner h1 { font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0 0 22px; color: var(--text-1); }
.hero-c-inner h1 em { font-style: italic; font-weight: 500; color: var(--hero-em); }
:root[data-theme="light"] .hero-c-inner h1 em { color: var(--text-1); background: linear-gradient(180deg, transparent 65%, var(--gold) 65%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.hero-video-wrapper {
  position: relative; width: 100%; max-width: 800px; margin: 0 auto;
  border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7);
  border: 1px solid rgba(255, 255, 255, 0.15); background: #000; z-index: 2; cursor: pointer;
}
:root[data-theme="light"] .hero-video-wrapper { border-color: rgba(20, 23, 26, 0.15); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2); }
.hero-video-wrapper video { display: block; width: 100%; height: auto; max-height: 55vh; object-fit: cover; outline: none; }

.video-sound-btn {
  position: absolute; bottom: 16px; right: 16px; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  backdrop-filter: blur(4px); transition: all 0.2s; font-size: 20px;
}
.video-sound-btn:hover { background: rgba(0, 0, 0, 0.8); transform: scale(1.1); }

/* Secciones */
section { padding: 120px 0; }
.section-head { width: 100%; max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.4rem,2.6vw,2rem); line-height: 1.22; }
.section-head h2 em { font-style: italic; color: var(--gold-ink); padding-bottom: 4px; border-bottom: 2px solid var(--gold); }
:root[data-theme="light"] .section-head h2 em { font-weight: 500; color: var(--dark-text); border-bottom: none; background: linear-gradient(180deg, transparent 62%, var(--gold) 62%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.section-head p { font-size: 15.5px; color: var(--text-2); margin-top: 16px; }

/* Impacto */
#impacto { padding: 64px 0 56px; }
.how-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
.how-timeline::before { content: ""; position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border-strong); z-index: 0; }
.how-tl-step { position: relative; z-index: 1; text-align: center; padding: 0 18px; }
.how-tl-step .hs-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(var(--step-color-rgb), 0.15); border: 2px solid var(--step-color);
  margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px -5px rgba(var(--step-color-rgb), 0.4); transition: transform .3s;
}
.how-tl-step:hover .hs-icon { transform: scale(1.1); }
.how-tl-step .hs-icon i { font-size: 20px; color: var(--step-color); }
.how-tl-step h4 {
  font-size: 2.2rem; font-weight: 600; font-family: var(--f-display);
  color: var(--step-color); line-height: 1.1; margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(var(--step-color-rgb), 0.3);
}
.how-tl-step p { font-size: 14px; color: var(--text-2); line-height: 1.6; font-weight: 500; }

.how-tl-step:nth-child(1) { --step-color: var(--cat-empresa); --step-color-rgb: var(--cat-empresa-rgb); }
.how-tl-step:nth-child(2) { --step-color: var(--cat-abogado); --step-color-rgb: var(--cat-abogado-rgb); }
.how-tl-step:nth-child(3) { --step-color: var(--cat-notaria); --step-color-rgb: var(--cat-notaria-rgb); }
.how-tl-step:nth-child(4) { --step-color: var(--cat-persona); --step-color-rgb: var(--cat-persona-rgb); }

/* Cómo funciona (Hover + WhatsApp) */
#como-funciona { padding: 0 0 64px; }
.step-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  position: relative; background: #0C0E0F; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; padding: 30px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s cubic-bezier(.2,.8,.2,1);
  min-height: 380px; text-align: center; isolation: isolate;
}
.step-card-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 1; filter: grayscale(100%); z-index: -2; transition: .5s cubic-bezier(.2,.8,.2,1);
}
.step-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,14,15,0) 0%, rgba(12,14,15,.25) 40%, rgba(12,14,15,.92) 75%, #0C0E0F 100%);
  z-index: -1;
}
.step-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(var(--card-color-rgb), 0.15) 0%, rgba(var(--card-color-rgb), 0.4) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.step-card-content {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; width: 100%; margin-top: auto; margin-bottom: auto;
}
.step-center-badge { display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.step-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: rgba(var(--card-color-rgb), .16); border: 1px solid rgba(var(--card-color-rgb), .55);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .3s, background .3s;
}
.step-icon i { font-size: 27px; color: var(--card-color); }
.step-num { font-family: var(--f-display); font-size: 2.2rem; color: var(--card-color); font-weight: 600; line-height: 1; }
.step-title { font-family: var(--f-body); font-size: 19px; font-weight: 700; color: #FFFFFF; margin: 0; transition: color .3s; }
.step-desc {
  font-family: var(--f-body); font-size: 14px; color: rgba(255,255,255,.88);
  line-height: 1.5; margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  transition: all .4s cubic-bezier(.2,.8,.2,1);
}
.step-card:hover {
  border: 2px solid var(--card-color); transform: translateY(-6px);
  box-shadow: 0 18px 36px -10px rgba(var(--card-color-rgb), 0.35);
}
.step-card:hover::before { opacity: 1; }
.step-card:hover .step-card-bg { transform: scale(1.08); filter: grayscale(20%); }
.step-card:hover .step-icon { transform: translateY(-4px); background: rgba(var(--card-color-rgb), .3); }
.step-card:hover .step-title { color: var(--card-color); margin-bottom: 10px; }
.step-card:hover .step-desc { max-height: 160px; opacity: 1; margin-top: 8px; }

.step-card:nth-child(1) { --card-color: var(--cat-empresa); --card-color-rgb: var(--cat-empresa-rgb); }
.step-card:nth-child(2) { --card-color: var(--cat-abogado); --card-color-rgb: var(--cat-abogado-rgb); }
.step-card:nth-child(3) { --card-color: var(--cat-notaria); --card-color-rgb: var(--cat-notaria-rgb); }
.step-card:nth-child(4) { --card-color: var(--cat-persona); --card-color-rgb: var(--cat-persona-rgb); }
.step-card.is-clicking { transform: scale(.97); }

/* Testimonios */
#testimonios { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 90px, var(--bg-2) 100%); overflow: hidden; }
.logo-carousel { position: relative; width: 100%; overflow: hidden; margin-top: 40px; }
.logo-track { display: flex; align-items: center; gap: 60px; animation: scrollLogos 20s linear infinite; width: max-content; }
.logo-track:hover { animation-play-state: paused; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.logo-item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 20px; transition: .3s; }
.logo-item img { height: 100%; width: auto; object-fit: contain; opacity: .7; transition: .3s; }
.logo-item:hover img { opacity: 1; transform: scale(1.1); }
:root[data-theme="light"] .logo-item img { opacity: .8; }

/* Contacto / Planes */
.cta-final { background: var(--bg-2); padding: 100px 0; }
.cta-v1-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--gold-rgb),.12); border: 1px solid rgba(var(--gold-rgb),.35); color: var(--gold-ink); font-size: 12.5px; font-weight: 700; padding: 8px 16px 8px 12px; border-radius: 100px; margin-bottom: 24px; }
.price-head { text-align: center; width: 100%; max-width: 600px; margin: 0 auto 48px; }
.price-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 0 0 16px; }
.price-head p { font-size: 16px; color: var(--text-2); max-width: 480px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card { position: relative; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.price-card.featured { border: 1.5px solid var(--gold); background: var(--bg-3); box-shadow: 0 40px 80px -40px rgba(var(--gold-rgb),.55); }
.price-badge { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--gold); color: var(--dark-text); font-size: 11.5px; font-weight: 800; padding: 7px 18px; border-radius: 100px; white-space: nowrap; }
.price-photo { position: relative; height: 176px; flex-shrink: 0; }
.price-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.price-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,12,.05) 0%, rgba(8,10,12,.35) 55%, var(--bg-2) 100%); }
.price-card.featured .price-photo::after { background: linear-gradient(180deg, rgba(8,10,12,.05) 0%, rgba(8,10,12,.35) 55%, var(--bg-3) 100%); }
.price-body { padding: 8px 34px 34px; display: flex; flex-direction: column; flex: 1; }
.price-kicker { font-size: 12.5px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.price-card.featured .price-kicker { color: var(--gold-ink); }
.price-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; margin: 0 0 10px; }
.price-tagline { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.price-features { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-1); }
.price-features li i { color: var(--gold-ink); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.price-card .btn-price { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 20px; border-radius: 12px; font-weight: 800; font-size: 14.5px; cursor: pointer; border: 1.5px solid var(--border-strong); background: var(--bg-3); color: var(--text-1); transition: .2s; text-align: center; }
.price-card .btn-price:hover { border-color: var(--gold-ink); }
.price-card.featured .btn-price { background: var(--gold); color: var(--dark-text); border-color: transparent; }
.price-card.featured .btn-price:hover { background: var(--gold-bright); }

/* Footer y WhatsApp flotante */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 1200; width: 68px; height: 68px;
  border-radius: 50%; display: block; background-color: #FFEDA8;
  background-image: url('../../../assets/img/logos/Chatbot.png');
  background-repeat: no-repeat; background-position: center center; background-size: 110% 110%;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 0 0 3px rgba(255,237,168,.10), 0 0 12px 3px rgba(255,237,168,.20), 0 0 22px 8px rgba(255,237,168,.10), 0 10px 22px -8px rgba(0,0,0,.55);
}
.wa-float::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: radial-gradient(circle, rgba(255,237,168,.20) 0%, rgba(255,237,168,.10) 45%, rgba(255,237,168,0) 72%); filter: blur(7px); z-index: -1; pointer-events: none; animation: waPulse 3.2s ease-in-out infinite; }
.wa-float img { display: none; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 0 0 4px rgba(255,237,168,.16), 0 0 16px 5px rgba(255,237,168,.30), 0 0 30px 12px rgba(255,237,168,.16), 0 14px 28px -8px rgba(0,0,0,.65); }
@keyframes waPulse { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }

footer { background: linear-gradient(180deg, var(--bg-2) 0%, var(--footer-bg) 90px, var(--footer-bg) 100%); padding: 70px 0 28px; }
footer::before { content: ""; position: absolute; top: -140px; right: -120px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb),.09), transparent 70%); pointer-events: none; }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer-logo { display: block; height: 57px; margin-bottom: 14px; }
.footer-logo img { height: 100%; width: auto; }
.footer-top p { font-size: 13.5px; color: var(--text-3); line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; transition: .2s; color: var(--text-2); }
.footer-social a:hover { border-color: var(--gold-ink); background: rgba(var(--gold-rgb),.1); }
.footer-social a.fb { border-color: rgba(24,119,242,.4); }
.footer-social a.fb i { color: #1877F2; }
.footer-social a.fb:hover { border-color: #1877F2; background: rgba(24,119,242,.14); }
.footer-social a.wa { border-color: rgba(37,211,102,.4); }
.footer-social a.wa i { color: #25D366; }
.footer-social a.wa:hover { border-color: #25D366; background: rgba(37,211,102,.14); }
.footer-col h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 12px; transition: .2s; }
.footer-col a:hover { color: var(--gold-ink); }
.footer-tagline-col { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.footer-tagline { text-align: right; }
.footer-tagline .l1 { font-size: 14px; color: var(--text-1); }
.footer-tagline .l2 { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 1.5rem; color: var(--text-1); line-height: 1.3; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); transition: .2s; }
.footer-contact a:hover { color: var(--gold-ink); }
.footer-contact i { font-size: 14px; color: var(--text-3); }
.footer-bottom { position: relative; z-index: 1; padding-top: 32px; }
.footer-copy { font-size: 12.5px; color: var(--text-3); }

/* Responsive */
@media (max-width:1100px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .nav-links { gap: 20px; }
  .nav-right { gap: 10px; }
  .nav-right > .btn-primary { padding: 11px 18px !important; }
  .step-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .step-card { min-height: 340px; }
  .logo-track { gap: 40px; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
}

@media (max-width:900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-right > .btn-primary { display: none; }
  
  .hero-c { margin-top: 16px; padding: 0 16px; }
  .hero-c-frame { border-radius: 24px; min-height: 400px; padding: 70px 24px 40px; }
  .hero-video-wrapper { margin-top: 24px; border-radius: 16px; }
  .hero-video-wrapper video { max-height: 45vh; }
  
  .how-timeline { grid-template-columns: repeat(2,1fr); row-gap: 42px; }
  .how-timeline::before { display: none; }
  
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-tagline-col { grid-column: 1 / -1; align-items: flex-start; }
  .footer-tagline { text-align: left; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width:700px) {
  section { padding: 80px 0; }
  .wrap { padding-left: 22px; padding-right: 22px; }
  nav.main-nav { min-height: 68px; }
  .nav-logo { height: 40px; }
  .nav-signin { display: none; }
  .theme-toggle { width: 48px; height: 27px; }
  
  .hero-c { margin-top: 12px; padding: 0 12px; }
  .hero-c-frame { min-height: 300px; border-radius: 20px; padding: 60px 16px 30px; }
  .hero-video-wrapper { margin-top: 20px; border-radius: 12px; }
  .hero-video-wrapper video { max-height: 30vh; }

  #impacto { padding: 56px 0 50px; }
  .section-head { margin-bottom: 38px; }
  .how-timeline { grid-template-columns: 1fr 1fr; gap: 38px 12px; margin-top: 30px; }
  .how-tl-step { padding: 0 8px; }
  .how-tl-step .hs-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .how-tl-step h4 { font-size: 1.65rem; }
  .how-tl-step p { font-size: 12.5px; }

  .step-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-card { min-height: 330px; border-radius: 18px; padding: 28px 20px; }
  .step-icon { width: 54px; height: 54px; }
  .step-title { font-size: 18px; }
  
  .logo-track { gap: 30px; animation-duration: 15s; }
  .logo-item { height: 60px; padding: 0 15px; }

  .cta-final { padding: 70px 0; }
  .price-head { margin-bottom: 34px; }
  .price-grid { grid-template-columns: 1fr; gap: 18px; }
  .price-card.featured { order: -1; }
  .price-photo { height: 160px; }
  .price-body { padding: 8px 24px 26px; }

  .wa-float { right: 18px; bottom: 18px; width: 62px; height: 62px; }
  footer { padding: 56px 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; }
  .footer-tagline-col { grid-column: auto; align-items: flex-start; }
  .footer-tagline { text-align: left; }
  .footer-contact { align-items: flex-start; }
  .footer-logo { height: 50px; }
  .footer-top p { max-width: 100%; font-size: 13px; }
  .footer-copy { font-size: 11.5px; }
}

@media (max-width:480px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  nav.main-nav { gap: 10px; }
  .nav-logo { height: 36px; }
  .nav-right { gap: 8px; }
  .theme-toggle { width: 45px; height: 26px; padding: 0 5px; }
  .theme-toggle .tt-thumb { width: 20px; height: 20px; }
  .theme-toggle.is-light .tt-thumb { transform: translateX(19px); }
  .mobile-menu-btn { width: 40px; height: 40px; font-size: 19px; }
  
  .hero-c { padding: 0 8px; }
  .hero-c-frame { min-height: 260px; border-radius: 18px; padding: 50px 14px 24px; }
  .hero-video-wrapper { margin-top: 16px; border-radius: 10px; }
  .hero-video-wrapper video { max-height: 25vh; }

  .how-timeline { gap: 30px 12px; }
  .how-tl-step { padding: 0 6px; }
  .section-head { margin-bottom: 32px; }
  
  .step-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step-card { min-height: 300px; padding: 24px 14px; }
  .step-center-badge { gap: 10px; flex-direction: column; }
  .step-icon { width: 50px; height: 50px; border-radius: 12px; }
  .step-num { font-size: 1.65rem; }
  .step-title { font-size: 16px; }
  .step-desc { font-size: 12.5px; }

  .logo-track { gap: 20px; animation-duration: 12s; }
  .logo-item { height: 50px; padding: 0 10px; }
  .price-head h2 { font-size: 2rem; }
  .price-body { padding: 8px 20px 22px; }
  .price-photo { height: 145px; }
  .footer-social a { width: 34px; height: 34px; }
}

@media (max-width:360px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .hero-c { padding: 0 5px; }
  .hero-c-frame { min-height: 240px; padding: 40px 10px 20px; }
  .hero-video-wrapper video { max-height: 22vh; }
  .nav-logo { height: 32px; }
  .theme-toggle, .mobile-menu-btn { transform: scale(.92); transform-origin: center right; }
  .price-body { padding: 8px 17px 20px; }
  .how-timeline { gap: 24px 8px; }
  .how-tl-step h4 { font-size: 1.4rem; }
  .how-tl-step p { font-size: 11px; }
  .step-cards { gap: 10px; }
  .step-card { min-height: 280px; padding: 20px 10px; }
  .step-icon { width: 44px; height: 44px; }
  .step-icon i { font-size: 20px; }
  .step-num { font-size: 1.4rem; }
  .step-title { font-size: 14px; }
  .wa-float { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .logo-track { animation: none; }
}