/* ============================================================
   Rental Properties Management — Modern B&W landing
   Concept: monochrome, stop-motion (stepped) animations, responsive
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f3;
  --bg-dark: #0c0f0e;
  --surface: #ffffff;
  --ink: #0c0f0e;
  --ink-2: #3d423f;
  --muted: #6c726e;
  --line: #e5e6e3;
  --line-strong: #d2d4d0;
  --on-dark: #f6f7f5;
  --on-dark-muted: #a9aea9;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --ease-step: steps(6, end);
  --shadow: 0 24px 60px -28px rgba(12, 15, 14, 0.28);
  --shadow-sm: 0 12px 30px -18px rgba(12, 15, 14, 0.30);
}

[data-theme="dark"] {
  --bg: #0c0f0e;
  --bg-soft: #141816;
  --bg-dark: #000000;
  --surface: #151a18;
  --ink: #f6f7f5;
  --ink-2: #d3d6d2;
  --muted: #9aa09b;
  --line: #232826;
  --line-strong: #2f3531;
  --on-dark: #f6f7f5;
  --on-dark-muted: #a9aea9;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

h1, h2, h3, h4, .brand-text, .dash-title, .price-num, .vstat-num, .ds-value {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .95rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease-step), background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Badge / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  padding: .45rem .9rem; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink);
  border: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
  animation: blink 1.4s var(--ease-step) infinite; }
.badge-light { background: rgba(255,255,255,.08); color: var(--on-dark); border-color: rgba(255,255,255,.18); }
.badge-light .badge-dot { background: var(--on-dark); }

@keyframes blink { 0%,60% { opacity: 1; } 61%,100% { opacity: .25; } }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark { width: 52px; height: 44px; flex: none; color: var(--ink); display: flex; align-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1rem; line-height: 1.02; letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav > a, .nav-drop-toggle {
  font-size: .94rem; font-weight: 500; color: var(--ink-2);
  background: none; border: none; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: .25rem; position: relative;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--ink); transition: width .25s var(--ease-step);
}
.main-nav > a:hover::after { width: 100%; }
.main-nav > a:hover, .nav-drop-toggle:hover { color: var(--ink); }
.nav-drop-toggle svg { width: 16px; height: 16px; }

.nav-dropdown { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .5rem; min-width: 180px; box-shadow: var(--shadow-sm);
  display: grid; gap: .15rem; opacity: 0; visibility: hidden; transition: all .2s ease;
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { padding: .55rem .7rem; border-radius: 8px; font-size: .9rem; color: var(--ink-2); }
.nav-drop-menu a:hover { background: var(--bg-soft); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .7rem; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: transform .2s var(--ease-step), background .25s ease;
}
.lang-toggle {
  height: 42px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: .82rem; letter-spacing: .03em;
  transition: background .25s ease, transform .2s var(--ease-step);
}
.lang-toggle:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.theme-toggle:hover { transform: rotate(-30deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--bg-soft); border-radius: 12px; cursor: pointer; padding: 0;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); transition: .25s var(--ease-step); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy .lead { margin: 1.4rem 0 2rem; max-width: 34rem; }
.lead { color: var(--muted); font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .8rem; width: fit-content; }
.check-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 500; color: var(--ink-2); padding: 0 .4rem; }
.check-tag svg { width: 15px; height: 15px; color: var(--ink); }

/* hero visual */
.hero-visual { position: relative; }
.float-icon {
  position: absolute; z-index: 3; width: 46px; height: 46px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.float-icon svg { width: 22px; height: 22px; }
.fi-1 { top: -10px; left: -26px; }
.fi-2 { top: 38%; left: -34px; }
.fi-3 { top: 8%; right: -22px; }
.fi-4 { bottom: 4%; left: 6%; }

/* STOP MOTION floating animation (stepped) */
.stopmo { animation: stopFloat 3.2s steps(8, end) infinite; }
.fi-2.stopmo { animation-duration: 3.8s; animation-delay: .3s; }
.fi-3.stopmo { animation-duration: 2.9s; animation-delay: .6s; }
.fi-4.stopmo { animation-duration: 3.5s; animation-delay: .15s; }
@keyframes stopFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.dash-card {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.dash-eyebrow { font-size: .78rem; color: var(--muted); margin-bottom: .25rem; }
.dash-title { font-size: 1.2rem; }
.live-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600;
  background: var(--bg-soft); border: 1px solid var(--line); padding: .3rem .65rem; border-radius: 999px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: blink 1.2s steps(4,end) infinite; }

.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.dash-stat { border-radius: var(--radius-sm); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.dash-stat.dark { background: var(--ink); color: var(--bg); }
.dash-stat.light { background: var(--bg-soft); border: 1px solid var(--line); }
.ds-label { font-size: .8rem; opacity: .8; }
.dash-stat.light .ds-label { color: var(--muted); }
.ds-value { font-size: 1.9rem; }
.dash-stat.dark .ds-value { color: var(--bg); }
.ds-sub { font-size: .76rem; opacity: .75; }

.dash-list { display: grid; gap: .55rem; }
.dash-list li { display: flex; align-items: center; gap: .75rem; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem; }
.dl-icon { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; }
.dl-icon svg { width: 17px; height: 17px; }
.dl-text { font-size: .9rem; font-weight: 500; flex: 1; }
.dl-status { font-size: .78rem; font-weight: 600; color: var(--muted); }
.dl-status.ok { color: var(--ink); }
.dl-status.due { color: var(--ink); }

/* ============ STRIP ============ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; }
.strip-item { display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.4rem .8rem; font-weight: 600; font-size: .98rem; color: var(--ink);
  transition: background .25s ease, transform .2s var(--ease-step); }
.strip-item svg { width: 22px; height: 22px; }
.strip-item:hover { background: var(--bg); transform: translateY(-2px); }

/* ============ SECTIONS ============ */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }

/* cards grid */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: transform .25s var(--ease-step), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-icon { width: 54px; height: 54px; border-radius: 15px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; margin-bottom: 1.2rem; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ============ DARK SECTION (visibility) ============ */
.section-dark { background: var(--bg-dark); color: var(--on-dark); }
.section-dark h2 { color: var(--on-dark); }
.section-dark .lead { color: var(--on-dark-muted); }
.visibility-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.visibility-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vstat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.6rem 1.3rem; }
.vstat-num { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--on-dark); margin-bottom: .6rem; }
.vstat-text { font-size: .9rem; color: var(--on-dark-muted); }

/* ============ OPERATIONS ============ */
.ops-grid { display: grid; grid-template-columns: .95fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ops-copy .btn { margin-top: 1.8rem; }
.ops-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ============ SPLIT (owners/tenants) ============ */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.split-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 2rem; }
.split-card.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.split-card.dark h3 { color: var(--bg); }
.split-card.dark .card-icon { background: var(--bg); color: var(--ink); }
.split-card h3 { margin-bottom: 1.4rem; }
.check-list { display: grid; gap: .9rem; }
.check-list li { position: relative; padding-left: 1.9rem; font-size: .98rem; color: var(--ink-2); }
.split-card.dark .check-list li { color: rgba(255,255,255,.86); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 18px; height: 18px;
  background: var(--ink); border-radius: 6px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.split-card.dark .check-list li::before { background: var(--bg); }

/* ============ PRICING ============ */
.pricing-grid { align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; transition: transform .25s var(--ease-step), box-shadow .3s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--ink); }
.price-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); font-size: .74rem; font-weight: 600; padding: .35rem .9rem; border-radius: 999px; }
.price-tier { font-size: .9rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price-amount { display: flex; align-items: baseline; gap: .35rem; margin: .8rem 0; }
.price-num { font-size: 2.8rem; }
.price-per { color: var(--muted); font-size: .95rem; }
.price-desc { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }
.price-card .check-list { margin-bottom: 1.8rem; }
.price-card .check-list li { font-size: .92rem; }
.price-card .btn { margin-top: auto; }

/* ============ CTA / CONTACT ============ */
.cta-card { background: var(--bg-dark); color: var(--on-dark); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); padding: clamp(2rem, 4vw, 3.4rem); align-items: center; }
.cta-card h2 { color: var(--on-dark); }
.cta-card .lead { color: var(--on-dark-muted); margin: 1rem 0 1.6rem; }
.cta-points { display: grid; gap: .7rem; }
.cta-points li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: rgba(255,255,255,.88); }
.cta-points svg { width: 16px; height: 16px; color: var(--on-dark); }

/* contact info cards (left column, on dark) */
.contact-cards { display: grid; gap: .8rem; margin-top: 1.8rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm);
  color: var(--on-dark); transition: transform .2s var(--ease-step), background .25s ease; }
a.contact-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.cc-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--on-dark); color: var(--bg-dark);
  display: grid; place-items: center; }
.cc-icon svg { width: 22px; height: 22px; }
.cc-body { display: flex; flex-direction: column; gap: .15rem; }
.cc-label { font-size: .8rem; color: var(--on-dark-muted); }
.cc-value { font-size: .95rem; font-weight: 600; }

.cta-form { background: var(--surface); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1rem; align-self: stretch; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: .95rem; color: var(--ink); width: 100%;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c726e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.4rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-note { font-size: .85rem; text-align: center; min-height: 1rem; color: var(--ink); }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-dark); color: var(--on-dark); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand-light .brand-mark { color: var(--on-dark); }
.brand-light .brand-text { color: var(--on-dark); }
.footer-brand p { color: var(--on-dark-muted); font-size: .92rem; margin-top: 1rem; max-width: 22rem; }
.footer-col h4 { font-size: .95rem; color: var(--on-dark); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--on-dark-muted); font-size: .92rem; padding: .3rem 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; color: var(--on-dark-muted); font-size: .85rem; }

/* ============ THANK YOU PAGE ============ */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.thanks-inner { max-width: 36rem; }
.thanks-icon { width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; margin: 0 auto 1.8rem; animation: stopReveal .6s steps(5,end) both; }
.thanks-icon svg { width: 46px; height: 46px; }
.thanks h1 { margin-bottom: 1rem; }
.thanks p { color: var(--muted); margin-bottom: 2rem; font-size: 1.08rem; }

/* ============ I18N LANGUAGE BLOCKS ============ */
[data-lang] { display: none; }
html[lang="es"] [data-lang="es"] { display: block; }
html[lang="en"] [data-lang="en"] { display: block; }

/* ============ LEGAL / SUPPORT PAGES ============ */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal-head { max-width: 52rem; margin-bottom: 2.5rem; }
.legal-head .updated { color: var(--muted); font-size: .9rem; margin-top: .8rem; }
.legal-body { max-width: 52rem; }
.legal-body h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.legal-body h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 1rem; margin-bottom: .7rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-body .placeholder { background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: 6px; padding: 0 .3rem; font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 1.5rem; }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 16px; height: 16px; }

/* ============ TESTIMONIOS ============ */
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .25s var(--ease-step), box-shadow .3s ease; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; color: var(--ink); }
.stars svg { width: 18px; height: 18px; }
.testi-quote { color: var(--ink-2); font-size: 1rem; line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.testi-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .95rem; }
.testi-meta { display: flex; flex-direction: column; line-height: 1.3; font-size: .9rem; }
.testi-meta strong { font-weight: 600; }
.testi-meta span { color: var(--muted); font-size: .85rem; }

/* ============ DEMO GRATIS (banner) ============ */
.demo-band { max-width: 44rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.demo-band h2 { color: var(--on-dark); }
.demo-band .lead { color: var(--on-dark-muted); margin: 1rem 0 1.8rem; }
.demo-band .btn { font-size: 1rem; padding: 1rem 1.8rem; }
.demo-fineprint { color: var(--on-dark-muted); font-size: .82rem; margin-top: 1rem; }
.btn-light { background: var(--on-dark); color: var(--bg-dark); }
.btn-light:hover { background: #e2e4e0; }

/* ============ STORE BADGES ============ */
.store-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.store-badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: var(--bg);
  border: 1.5px solid var(--ink); border-radius: 12px; padding: .55rem 1rem; transition: transform .2s var(--ease-step); }
.store-badge:hover { transform: translateY(-3px); }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .sb-small { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.store-badge .sb-big { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .95rem; }

/* ============ BACK TO TOP ============ */
.back-top { position: fixed; right: 1.4rem; left: auto; bottom: 1.4rem; z-index: 50; width: 48px; height: 48px;
  border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(16px) scale(.8);
  transition: opacity .3s ease, transform .3s var(--ease-step); }
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.back-top svg { width: 20px; height: 20px; }

/* ============ SCROLL REVEAL (stop-motion) ============ */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in {
  animation: stopReveal .6s steps(5, end) forwards;
}
@keyframes stopReveal {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
/* stagger children within grids */
.cards-3 .reveal.in,
.ops-cards .reveal.in,
.split-grid .reveal.in,
.strip-grid .reveal.in,
.visibility-stats .reveal.in,
.pricing-grid .reveal.in { animation-duration: .7s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1rem; max-width: 520px; }
  .visibility-grid, .ops-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82%, 320px); flex-direction: column; align-items: flex-start;
    background: var(--bg); border-left: 1px solid var(--line); padding: 5.5rem 1.6rem 2rem; gap: 1.1rem;
    transform: translateX(100%); transition: transform .35s var(--ease-step); z-index: 55; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-dropdown { width: 100%; }
  .nav-drop-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; padding: .2rem 0 0 .6rem; min-width: 0; background: transparent; }
  .menu-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .cards-3, .pricing-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .split-grid, .visibility-stats, .ops-cards { grid-template-columns: 1fr; }
  .cta-card, .footer-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .strip-grid { grid-template-columns: 1fr; }
  .hero-tags { width: 100%; justify-content: center; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .float-icon { display: none; }
  .price-num { font-size: 2.3rem; }
}

/* ============ MOTION SAFETY ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
