/* ═══ Nexo CRM Landing — Premium Dark Nav + Light Body ═══ */
:root {
  --primary: #5b3cc4;
  --primary-light: #7c5ce7;
  --primary-dark: #4a2db0;
  --gold: #FFD230;
  --gold-dark: #e6b800;
  --bg: #f7f7fb;
  --bg-white: #ffffff;
  --bg-alt: #eeeef5;
  --text: #1a1a2e;
  --text-light: #4a4a68;
  --text-muted: #8888a0;
  --border: rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --shadow-xl: 0 30px 80px rgba(0,0,0,.15);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text-light); line-height: 1.65; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; line-height: 1.15; color: var(--text); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; background: var(--primary); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px;
  border-radius: 100px; border: none; cursor: pointer;
  transition: all .3s var(--ease); letter-spacing: .2px;
  overflow: visible;
}
.btn-primary svg { flex-shrink: 0; width: 16px; height: 16px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(91,60,196,.3); background: var(--primary-light); }
.btn-primary--sm { padding: 12px 26px; font-size: 13px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  border-radius: 100px; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; transition: all .3s var(--ease);
}
.btn-secondary:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ═══ NAV — DARK (matches footer) ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 0; background: rgba(26,26,46,.95);
  backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { height: 34px; width: auto; filter: brightness(10); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 8px 16px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55); border-radius: 100px; transition: all .3s; }
.nav__links a:hover { color: #fff; }
.nav__links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav__wa { display: inline-flex; align-items: center; gap: 6px; color: #25D366 !important; font-weight: 600 !important; }
.nav__cta { background: var(--primary) !important; color: #fff !important; font-weight: 700 !important; padding: 9px 22px !important; }
.nav__cta:hover { box-shadow: 0 4px 20px rgba(91,60,196,.35); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 40%, #1a1a2e 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(91,60,196,.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 75% 60%, rgba(255,210,48,.08) 0%, transparent 60%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 100px; padding-bottom: 80px; }
.hero__content { color: #fff; }
.hero__badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 900; color: #fff;
  margin-bottom: 20px; letter-spacing: -1px;
}
.hero__title em {
  font-style: normal; color: #fff;
}
.hero__subtitle {
  font-size: clamp(14px, 1.4vw, 17px); color: rgba(255,255,255,.75);
  max-width: 480px; line-height: 1.75; margin-bottom: 32px;
}
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ═══ PHONE MOCKUP ═══ */
.hero__phone-wrapper {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero__phone {
  position: relative; width: 290px;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.45))
          drop-shadow(0 6px 16px rgba(0,0,0,.25));
}
/* The image defines the phone size */
.phone__frame {
  display: block; width: 100%; height: auto;
  pointer-events: none; user-select: none;
}
/* Screen content — absolutely positioned inside the frame */
.phone__screen {
  position: absolute;
  top: 2.5%; left: 6.2%; right: 6.2%; bottom: 3.5%;
  border-radius: 38px; overflow: hidden;
  display: flex; flex-direction: column;
  background: #ece5dd;
  z-index: 2;
}

/* ── iOS Status Bar ── */
.phone__status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 0;
  background: #075e54;
  position: relative; z-index: 3;
  height: 32px; flex-shrink: 0;
}
.phone__time {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 11px; font-weight: 600; color: #fff;
  width: 40px;
}
.phone__dynamic-island {
  width: 80px; height: 20px; border-radius: 20px;
  background: #000;
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
}
.phone__status-icons {
  display: flex; gap: 4px; align-items: center;
  width: 40px; justify-content: flex-end;
}

/* ── WhatsApp header ── */
.phone__wa-header {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 8px 6px; background: #075e54;
}
.phone__avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
}
.phone__avatar::before {
  content: 'S'; font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 12px; color: #fff;
}
.phone__contact { flex: 1; display: flex; flex-direction: column; }
.phone__contact strong {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 12px; font-weight: 600; color: #fff; line-height: 1.2;
}
.phone__contact small {
  font-size: 9px; color: rgba(255,255,255,.6);
}
.phone__wa-icons { display: flex; gap: 12px; align-items: center; opacity: .75; flex-shrink: 0; }

/* ── Chat body ── */
.phone__chat-body {
  flex: 1; padding: 6px 8px; overflow: hidden;
  display: flex; flex-direction: column; gap: 2px;
  background: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4ccb8' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.phone__chat-date {
  text-align: center; margin: 1px 0 4px;
  display: table; margin-left: auto; margin-right: auto;
  padding: 2px 8px; border-radius: 6px;
  background: rgba(225,218,208,.85);
  font-size: 9px; color: #5e5c57; font-weight: 500;
}
.chat-msg {
  max-width: 82%; padding: 3px 5px; border-radius: 5px;
  font-size: 9.5px; line-height: 1.3; position: relative;
  font-family: -apple-system, system-ui, sans-serif;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.chat-msg--in {
  background: #fff; color: #111; align-self: flex-start;
  border-top-left-radius: 2px;
}
.chat-msg--out {
  background: #dcf8c6; color: #111; align-self: flex-end;
  border-top-right-radius: 2px;
}
.chat-msg::after {
  content: '1:46 p. m.'; display: block; text-align: right;
  font-size: 7px; color: #8e8e93; margin-top: 1px; line-height: 1;
}
.chat-msg[data-time]::after {
  content: attr(data-time);
}
.chat-anim {
  opacity: 0; transform: translateY(6px) scale(.97);
  animation: chatAppear .5s var(--ease-out) forwards;
  animation-delay: var(--delay);
}
@keyframes chatAppear { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ── Heart reaction ── */
.chat-msg--reacted { position: relative; margin-bottom: 14px; }
.chat-msg--reacted::before {
  content: '\2764\FE0F'; position: absolute; bottom: -10px; right: 6px;
  font-size: 10px; background: #fff; border-radius: 10px;
  padding: 1px 3px; box-shadow: 0 1px 3px rgba(0,0,0,.15);
  line-height: 1; z-index: 3;
}

/* ── Input bar ── */
.phone__input-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 6px; background: #f0f0f0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.phone__input-bar span {
  flex: 1; padding: 5px 10px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  font-size: 10px; color: #8e8e93;
  font-family: -apple-system, system-ui, sans-serif;
}
.phone__mic-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: #075e54; display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

/* ═══ METRICS ═══ */
.metrics { padding: 80px 0 60px; background: var(--bg); }
.metrics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.metric-card {
  background: var(--bg-white); border-radius: var(--radius); padding: 36px 28px;
  text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
}
.metric-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.metric-card__number { font-family: 'Montserrat', sans-serif; font-size: 42px; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.metric-card__label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ═══ SECTIONS ═══ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 3.5vw, 42px); color: var(--text); margin-bottom: 14px; }
.section-title em { font-style: normal; color: var(--primary); }
.section-desc { font-size: clamp(14px, 1.3vw, 16px); color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ═══ FEATURES GRID ═══ */
.features { padding: 100px 0 80px; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(91,60,196,.15); }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(91,60,196,.08); border: 1px solid rgba(91,60,196,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card__icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-card__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.feature-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ═══ SHOWCASE — ANIMATED BROWSER FRAMES ═══ */
.showcase { padding: 80px 0; background: var(--bg); }
.showcase--alt { background: var(--bg-alt); }
.showcase__row { display: flex; align-items: center; gap: 60px; }
.showcase__row--reverse { flex-direction: row-reverse; }
.showcase__content { flex: 1; }
.showcase__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.showcase__title { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 16px; }
.showcase__title em { font-style: normal; color: var(--primary); }
.showcase__desc { font-size: 15px; color: var(--text-light); line-height: 1.75; max-width: 460px; margin-bottom: 28px; }
.showcase__image { flex: 1.3; perspective: 1000px; }

/* Browser frame */
.browser-frame {
  background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow:
    0 4px 8px rgba(0,0,0,.04),
    0 16px 40px rgba(0,0,0,.08),
    0 40px 80px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  transform: rotateY(-3deg) rotateX(1deg);
}
.browser-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: 0 50px 100px rgba(0,0,0,.18);
}
.browser-frame__bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: #f5f5f7; border-bottom: 1px solid rgba(0,0,0,.06);
}
.browser-frame__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.browser-frame__dot--red { background: #ff5f57; }
.browser-frame__dot--yellow { background: #febc2e; }
.browser-frame__dot--green { background: #28c840; }
.browser-frame__url {
  flex: 1; margin-left: 12px; padding: 5px 12px;
  background: rgba(0,0,0,.04); border-radius: 6px;
  font-size: 11px; color: var(--text-muted); font-family: 'Inter', sans-serif;
}
.browser-frame__viewport {
  position: relative; overflow: hidden; height: 380px;
}
.browser-frame__viewport img {
  width: 100%; display: block; position: absolute; top: 0; left: 0;
  /* Image is taller than viewport — the animation scrolls it vertically */
}

/* ── Smooth vertical scroll (simulates navigating the CRM) ── */
.browser-frame__viewport--torre img {
  animation: scrollTorre 16s ease-in-out infinite;
}
@keyframes scrollTorre {
  0%, 10%   { top: 0; }         /* Show header / metrics */
  30%, 45%  { top: -60%; }      /* Scroll down to Radar Comercial */
  65%, 80%  { top: -30%; }      /* Scroll back to Centro de Comando */
  95%, 100% { top: 0; }         /* Back to top */
}

.browser-frame__viewport--sofia img {
  animation: scrollSofia 14s ease-in-out infinite;
}
@keyframes scrollSofia {
  0%, 10%   { top: 0; }
  30%, 50%  { top: -40%; }      /* Scroll to mid conversation */
  70%, 85%  { top: -80%; }      /* Scroll to bottom of chat */
  95%, 100% { top: 0; }
}

.browser-frame__viewport--kanban img {
  animation: scrollKanban 16s ease-in-out infinite;
}
@keyframes scrollKanban {
  0%, 10%   { top: 0; }
  30%, 45%  { top: -50%; }      /* Scroll to middle columns */
  65%, 80%  { top: -90%; }      /* Scroll to end columns */
  95%, 100% { top: 0; }
}

/* Spotlight overlay glow on zoom */
.browser-frame__viewport::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 60% 60% at center, transparent 30%, rgba(0,0,0,.08) 100%);
  opacity: 0; transition: opacity .8s;
}
.browser-frame:hover .browser-frame__viewport::after { opacity: 1; }

/* Legacy floating card (fallback) */
.floating-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); transition: all .5s var(--ease);
  border: 1px solid rgba(0,0,0,.06);
}
.floating-card:hover { transform: perspective(1000px) rotateY(-2deg) translateY(-8px); box-shadow: 0 40px 100px rgba(0,0,0,.18); }
.floating-card img { width: 100%; display: block; }
.floating-card--chat img { max-height: 480px; object-fit: cover; object-position: top; }

/* ═══ DIFFERENTIATORS / COMPARISON ═══ */
.differentiators { padding: 100px 0; background: var(--bg-alt); }

/* Comparison table */
.compare-table { max-width: 900px; margin: 0 auto; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 8px 40px rgba(91,60,196,.12), 0 0 0 1px rgba(91,60,196,.08); }
.compare-table table { width: 100%; border-collapse: collapse; background: var(--bg-white); }
.compare-table thead tr { background: var(--bg-alt); }
.compare-table th { padding: 18px 20px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; text-align: center; color: var(--text-muted); letter-spacing: .3px; text-transform: uppercase; }
.compare-table th.compare-feature { text-align: left; width: 22%; }
.compare-table th.compare-other { width: 34%; color: var(--text-muted); border-right: 2px solid var(--border); }
.compare-table th.compare-nexo { width: 44%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; font-size: 15px; letter-spacing: .5px; }
.compare-table td { padding: 16px 20px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); transition: background .2s; vertical-align: middle; line-height: 1.5; }
.compare-table td:first-child { font-weight: 700; font-size: 13px; color: var(--text); width: 22%; }
.compare-table td:nth-child(2) { border-right: 2px solid var(--border); width: 34%; }
.compare-table td:last-child { width: 44%; background: rgba(91,60,196,.03); }
.compare-table tbody tr:hover { background: rgba(91,60,196,.04); }
.compare-table tbody tr:hover td:last-child { background: rgba(91,60,196,.07); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.check { color: #16a34a; font-weight: 600; }
.compare-table td.check::before { content: '✓  '; font-weight: 800; font-size: 15px; }
.compare-table td.cross { color: #94a3b8; font-style: italic; }
.compare-table td.cross::before { content: '✗  '; color: #dc2626; font-weight: 800; font-size: 14px; font-style: normal; }
.compare-table td.partial { color: #94a3b8; font-style: italic; }
.compare-table td.partial::before { content: '∼  '; color: #d97706; font-weight: 800; font-size: 15px; font-style: normal; }
@media (max-width: 640px) {
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 11px; }
  .compare-table td:first-child { font-size: 11px; }
}

/* ═══ CONTACT ═══ */
.contact { padding: 100px 0 80px; background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__info h3 { font-size: 22px; margin-bottom: 14px; }
.contact__info p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 28px; }
.contact__detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact__detail-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(91,60,196,.08); border: 1px solid rgba(91,60,196,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact__detail-icon svg { width: 18px; height: 18px; stroke: var(--primary); }
.contact__detail-text { display: flex; flex-direction: column; }
.contact__detail-text strong { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.contact__detail-text span { font-size: 14px; color: var(--text); }
.contact__form {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow-sm); position: relative;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-input {
  padding: 12px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-family: 'Inter', sans-serif;
  transition: all .3s; outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,60,196,.1); }
.form-input::placeholder { color: var(--text-muted); }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .btn-primary { border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
#form-msg { font-size: 13px; font-weight: 500; }
.form-success-overlay {
  position: absolute; inset: 0; z-index: 10; background: rgba(255,255,255,.97);
  border-radius: var(--radius); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 40px;
  animation: fadeUp .5s var(--ease-out);
}

/* ═══ FOOTER ═══ */
.footer { padding: 60px 0 30px; background: var(--text); color: rgba(255,255,255,.7); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand p { font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer__logo { height: 30px; filter: brightness(10); }
.footer__links h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer__links a { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 10px; transition: color .3s; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; text-align: center; font-size: 13px; }
.footer__bottom a { color: var(--gold); }

/* ═══ WHATSAPP TOAST — TECNOM STYLE ═══ */
.wa-toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: stretch;
  background: var(--bg-white); color: var(--text);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  transition: all .4s var(--ease); cursor: pointer;
  opacity: 0; transform: translateY(20px);
  animation: toastIn .5s var(--ease-out) 3s forwards;
  max-width: 340px;
}
@keyframes toastIn { to { opacity: 1; transform: translateY(0); } }
.wa-toast:hover { transform: translateY(-4px); box-shadow: 0 16px 50px rgba(0,0,0,.18); }
.wa-toast__icon {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 14px; flex-shrink: 0;
}
.wa-toast__icon svg { width: 44px; height: 44px; }
.wa-toast__body {
  padding: 12px 16px; display: flex; flex-direction: column; justify-content: center;
  flex: 1;
}
.wa-toast__body strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.wa-toast__body span { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.wa-toast__close {
  position: absolute; top: 6px; right: 8px;
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--text-muted); line-height: 1;
  padding: 4px; opacity: .5; transition: opacity .3s;
}
.wa-toast__close:hover { opacity: 1; }
.wa-toast.hidden { display: none; }

/* ═══ GSAP HELPERS ═══ */
.gsap-init { opacity: 0; }
.will-change-transform { will-change: transform, opacity; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav__links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #1a1a2e; flex-direction: column; align-items: center; justify-content: center; gap: 16px; z-index: 999; }
  .nav__links.active { display: flex; }
  .nav__links a { color: rgba(255,255,255,.7) !important; font-size: 16px; }
  .nav__toggle { display: flex; z-index: 1001; }
  .nav__wa { display: none !important; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; text-align: center; }
  .hero__subtitle { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__phone { width: 220px; }
  .phone__screen { min-height: 340px; }
  .chat-msg { font-size: 11px; }
  .metrics__grid { grid-template-columns: 1fr; gap: 16px; }
  .metric-card { padding: 28px 20px; }
  .metric-card__number { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase__row, .showcase__row--reverse { flex-direction: column; gap: 48px; }
  .showcase__image { margin-top: 16px; }
  .showcase__visual { margin-top: 16px; }
  .showcase__title { font-size: 24px; }
  .browser-frame { transform: none; }
  .browser-frame:hover { transform: none; }
  .browser-frame__viewport { height: 260px; }
  .diff-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .wa-toast { max-width: 280px; bottom: 16px; right: 16px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__grid { gap: 40px; }
  .hero__phone { width: 240px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase__row, .showcase__row--reverse { gap: 36px; }
  .browser-frame__viewport { height: 320px; }
}

/* ═══ LANG SWITCHER ═══ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}
.lang-switcher__btn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switcher__btn:hover { color: #fff; }
.lang-switcher__btn.active {
  color: var(--primary-light, #7c5ce7);
  background: rgba(91,60,196,.12);
}
.lang-switcher__btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 1.8;
}
.lang-switcher__sep {
  color: rgba(255,255,255,.2);
  font-size: 12px;
  user-select: none;
}
@media (max-width: 768px) {
  .lang-switcher {
    position: static;
    margin: 16px 0 0;
    justify-content: center;
  }
  .lang-switcher__btn { font-size: 13px; padding: 6px 12px; }
  .lang-switcher__btn svg { width: 14px; height: 14px; }
  .lang-switcher__sep { font-size: 12px; }
}
