﻿/* ============ RESET + BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0a0a0a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --ink: #0a0a0a;
  --ink-2: #3a3a3a;
  --ink-3: #6b7280;
  --line: #ececec;
  --accent: #2d6cff;
  --accent-2: #6ea8ff;
  --green: #16a34a;
  --orange: #f97316;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.12);
  --container: 1200px;
}

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: 120px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

/* ============ TYPOGRAPHY ============ */
.h1 {
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.h1-line { white-space: nowrap; display: inline-block; }
.h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.h2-light { color: #fff; }
.muted-light { color: rgba(255,255,255,0.55); font-weight: 700; }
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}
.lead-light { color: rgba(255,255,255,0.78); }
.grad {
  background: linear-gradient(135deg, #2d6cff 0%, #00c2a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(45,108,255,0.08);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow-dark { background: rgba(0,0,0,0.05); color: var(--ink); }
.eyebrow-light { background: rgba(255,255,255,0.1); color: #fff; }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  font-weight: 600; font-size: 15px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.brand-name { font-weight: 800; font-size: 24px; letter-spacing: -0.025em; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 16px; font-weight: 700; color: var(--ink);
  transition: opacity .15s ease;
}
.nav-links a:hover { opacity: 0.6; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; height: 28px; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1.5px solid #d9dde6;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.lang-flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  padding: 0;
}
.lang-flag img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.lang-flag.is-active {
  border-color: var(--line);
  background: #f6f7fb;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(45,108,255,0.10), transparent 60%),
    radial-gradient(700px 360px at 10% 70%, rgba(0,194,168,0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 200px;
  align-items: center;
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-3);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.55;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.hero-image {
  position: relative;
  z-index: 2;
  width: 144%;
  max-width: 1080px;
  height: auto;
  margin-right: -24%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.14)) drop-shadow(0 10px 20px rgba(0,0,0,0.06));
}
body.lang-es .hero-image {
  width: 150%;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.blob-1 { width: 320px; height: 320px; background: rgba(45,108,255,0.20); top: 0; left: -40px; }
.blob-2 { width: 280px; height: 280px; background: rgba(0,194,168,0.18); bottom: 20px; right: 0; }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.10), 0 24px 60px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  z-index: 3;
}
.float-card strong { display: block; font-weight: 700; font-size: 14px; }
.float-card small { display: block; color: var(--ink-3); font-size: 12px; }
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-green { background: #16a34a; }
.dot-orange { background: #f97316; }
.card-1 { top: 20px; left: -40px; }
.card-2 { bottom: 60px; right: -160px; }

/* ============ EMAIL FORM ============ */
.email-form {
  display: flex; gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.04), 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--line);
  max-width: 480px;
  margin-bottom: 48px;
  position: relative;
}
.email-form input {
  flex: 1; border: none; outline: none;
  padding: 12px 18px;
  font-size: 15px;
  background: transparent;
  font-family: inherit;
  color: var(--ink);
}
.email-form input::placeholder { color: var(--ink-3); }
.email-form .btn { padding: 12px 22px; }
.form-msg {
  position: absolute; left: 22px; top: calc(100% + 12px);
  font-size: 13px; font-weight: 500; color: var(--green);
  opacity: 0; transform: translateY(-4px); transition: all .2s ease;
  pointer-events: none;
}
.form-msg.show { opacity: 1; transform: translateY(0); }
.form-msg.error { color: #dc2626; }
.form-msg-light.show { color: #b6f1d6; }

.email-form-large {
  max-width: 540px;
  margin: 32px auto 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.email-form-large input { color: #fff; }
.email-form-large input::placeholder { color: rgba(255,255,255,0.55); }

/* ============ STORES ============ */
.stores { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; align-items: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 56px;
  transition: transform .2s ease, opacity .2s ease;
  line-height: 0;
  cursor: default;
}
.store-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .2s ease;
}
.store-badge img[src*="appstore"] { transform: scale(0.94); transform-origin: center; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge:hover img[src*="appstore"] { transform: scale(0.94); }
.stores-light { justify-content: center; }


/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: #fff;
}
.marquee-track {
  display: flex;
  width: max-content;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-3);
  will-change: transform;
}
.marquee-group {
  display: flex;
  flex-shrink: 0;
}
.m-item {
  position: relative;
  padding-right: 92px;
  white-space: nowrap;
  flex-shrink: 0;
}
.m-item::after {
  content: "•";
  position: absolute;
  right: 38px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.45;
}

/* ============ FEATURES (Cal AI style accordion) ============ */
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.features-phone {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 560px;
}
.features-phone-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.14)) drop-shadow(0 10px 20px rgba(0,0,0,0.06));
  transition: opacity .35s ease;
}
.features-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.features-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d4d4d4;
  transition: background .25s ease, transform .25s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.features-dot.is-active {
  background: var(--ink);
  transform: scale(1.25);
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-card {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.feat-card:hover { border-color: #d8d8d8; }
.feat-card.is-open {
  border-color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.feat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.feat-head h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}
.feat-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 400;
  color: var(--ink-3);
  transition: background .2s ease, color .2s ease;
}
.feat-card.is-open .feat-icon {
  background: var(--ink);
  color: #fff;
}
.feat-body {
  margin-top: 12px;
}
.feat-body p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ============ MINI CTA (entre secciones) ============ */
.mini-cta {
  margin-top: 80px;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
}
.mini-cta-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.stores-center { justify-content: center; margin-bottom: 0 !important; }

.manifesto-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}
.manifesto-cta .btn { margin-top: 0; }
.manifesto-cta .stores { margin-bottom: 0; }

/* ============ HOW ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.step h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { color: var(--ink-3); }

/* ============ MANIFESTO ============ */
.manifesto {
  background: #0a0a0a;
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(45,108,255,0.18), transparent 60%),
    radial-gradient(600px 300px at 80% 70%, rgba(0,194,168,0.14), transparent 60%);
  pointer-events: none;
}
.manifesto-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.manifesto-inner .lead-light { margin: 0 auto 24px; max-width: 620px; }
.manifesto-inner .btn { margin-top: 24px; }

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0 0 28px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card.reveal {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}
.team-card.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}
.team-grid .team-card.reveal:nth-child(1).visible { transition-delay: .12s; }
.team-grid .team-card.reveal:nth-child(2).visible { transition-delay: .24s; }
.team-grid .team-card.reveal:nth-child(3).visible { transition-delay: .36s; }
.team-grid .team-card.reveal:nth-child(4).visible { transition-delay: .48s; }
.team-photo {
  width: 100%; aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-soft);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h3 { font-size: 20px; margin: 22px 24px 4px; letter-spacing: -0.02em; }
.team-card .role { color: var(--accent); font-size: 13px; font-weight: 600; margin: 0 24px 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.team-card .bio { color: var(--ink-3); font-size: 14px; margin: 0 24px 14px; }
.team-ig { display: inline-block; margin: 0 24px; font-size: 13px; color: var(--ink); font-weight: 600; }
.team-ig:hover { color: var(--accent); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px; font-weight: 400;
  color: var(--ink-3);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '-'; }
.faq-item p { margin-top: 12px; color: var(--ink-3); font-size: 15px; line-height: 1.6; }

/* ============ CTA FINAL ============ */
.cta-final { padding: 100px 0; }
.cta-card {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a2240 60%, #0a3a3a 100%);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 250px at 30% 30%, rgba(45,108,255,0.25), transparent 60%),
    radial-gradient(500px 250px at 70% 70%, rgba(0,194,168,0.20), transparent 60%);
  pointer-events: none;
}
.cta-card > * { position: relative; }

/* ============ FOOTER ============ */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-logo { width: 40px; height: 40px; }
.footer-tag { color: var(--ink-3); font-size: 14px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 14px; font-weight: 700; }
.footer-cols a { display: block; color: var(--ink-3); font-size: 14px; padding: 4px 0; transition: color .15s ease; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,0.08);
  color: var(--ink);
  background: rgba(15,23,42,0.025);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.footer-social svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social .social-dot {
  fill: currentColor;
  stroke: none;
}
.footer-social .social-dot-fill {
  fill: currentColor;
  stroke: none;
}
.footer-social:hover {
  transform: translateY(-1px);
  background: rgba(15,23,42,0.05);
  border-color: rgba(15,23,42,0.14);
}

/* ============ LEGAL MODALS ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 300;
}
.legal-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 320;
}
.legal-modal[hidden],
.modal-backdrop[hidden] { display: none; }
.legal-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.24);
  overflow: hidden;
}
.legal-modal-body {
  padding: 34px 34px 38px;
  overflow-y: auto;
  max-height: min(88vh, 900px);
}
.legal-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(45,108,255,0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.legal-modal-body h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 20px;
}
.legal-modal-body p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.72;
  margin-bottom: 16px;
}
.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10,10,10,0.06);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s ease, transform .2s ease;
}
.legal-modal-close:hover {
  background: rgba(10,10,10,0.12);
  transform: scale(1.03);
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
  max-width: calc(100% - 32px);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.toast strong { display: block; font-size: 14px; }
.toast small { display: block; font-size: 12px; opacity: 0.7; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Title with smooth glow entrance */
.reveal-title {
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.reveal-title.visible { transform: translateY(0); }

/* Phone scale-and-lift entrance */
.reveal-phone {
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1) .15s, transform 1.1s cubic-bezier(.16,1,.3,1) .15s;
}
.reveal-phone.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Feature cards staggered slide-in from the right */
.reveal-feat {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-feat.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-feat:nth-of-type(1).visible { transition-delay: .25s; }
.reveal-feat:nth-of-type(2).visible { transition-delay: .35s; }
.reveal-feat:nth-of-type(3).visible { transition-delay: .45s; }
.reveal-feat:nth-of-type(4).visible { transition-delay: .55s; }
.reveal-feat:nth-of-type(5).visible { transition-delay: .65s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav-inner { justify-content: flex-start; gap: 10px; }
  .nav-links { display: none; }
  .btn-sm { margin-left: auto; }
  .nav-toggle { display: flex; }
  .nav-toggle { margin-left: 2px; }
  .lang-switch { margin-left: 6px; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .hero { padding: 130px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: left; }
  .hero-copy .eyebrow { margin-left: 0; margin-right: 0; }
  .hero-sub { margin-left: 0; margin-right: 0; }
  .hero-visual { min-height: auto; margin-top: 12px; }
  .hero-image { width: 100%; max-width: 100%; margin-right: 0; }
  .card-1 { top: -10px; left: -10px; padding: 10px 14px; font-size: 12px; }
  .card-2 { bottom: -10px; right: -10px; padding: 10px 14px; font-size: 12px; }
  .float-card strong { font-size: 13px; }
  .float-card small { font-size: 11px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .features-layout { grid-template-columns: 1fr; gap: 40px; }
  .features-phone { position: relative; top: 0; min-height: auto; }
  .features-phone-img { max-width: 280px; }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto { padding: 90px 0; }
  .cta-card { padding: 56px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .legal-modal { padding: 16px; }
  .legal-modal-body { padding: 28px 22px 28px; }
  .stores { justify-content: center; width: 100%; }
  .email-form { flex-direction: column; border-radius: 18px; padding: 12px; }
  .email-form .btn { width: 100%; }
  .form-msg { position: static; margin-top: 8px; left: auto; }
}
@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom,
  .footer-bottom-right { flex-direction: column; gap: 10px; text-align: center; }
  .legal-modal-panel { border-radius: 22px; }
  .legal-modal-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .h1 { font-size: 34px; }
  .h1 .grad { white-space: nowrap; }
  .float-card { font-size: 12px; padding: 10px 12px; }
}
@media (max-width: 380px) {
  .h1 { font-size: 30px; }
}

