/* ============================================================
   styles.css — Miami Investment Landing Page
   Structure: 1-Tokens / 2-Reset / 3-Utils / 4-Typography /
              5-Components / 6-Sections / 7-Effects /
              8-Responsive / 9-Reduced-motion
   ============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --navy-900: #080D1A;
  --navy-800: #0E1529;
  --navy-700: #121E35;
  --navy-600: #1A2A4A;
  --navy-500: #1E3460;

  --gold-500: #C9A84C;
  --gold-400: #D9B862;
  --gold-300: #E8C96A;
  --gold-200: #F0D98A;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --gold-border: rgba(201, 168, 76, 0.2);

  --cream-100: #F0EDE8;
  --cream-200: #D4D0CB;
  --muted: #8A8880;
  --muted-light: #A8A6A0;

  --success: #34C17A;
  --error: #E85555;
  --wa-green: #25D366;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--navy-900);
  color: var(--cream-100);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

ul[role="list"], ol[role="list"] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ── 3. UTILITIES ───────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* ── 4. TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream-100);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
}

p {
  line-height: 1.7;
  color: var(--muted-light);
}

em {
  font-style: italic;
  color: var(--gold-400);
}

strong {
  font-weight: 600;
  color: var(--cream-100);
}

.eyebrow {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.section-header h2 {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.section-sub {
  font-size: 1.05rem;
  max-width: 600px;
  margin-inline: auto;
}

/* ── 5. COMPONENTS ──────────────────────────────────────────── */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out),
              background-color 0.2s ease,
              box-shadow 0.2s ease,
              opacity 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}

.btn--primary:hover {
  background: var(--gold-400);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

.btn--outline {
  border: 1.5px solid var(--gold-border);
  color: var(--gold-500);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--gold-500);
  background: var(--gold-glow);
}

.btn--whatsapp {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn--whatsapp:hover {
  background: #20b858;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

.btn--full { width: 100%; justify-content: center; }

.btn--nav {
  padding: 10px 22px;
  font-size: 0.875rem;
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: var(--font-accent);
  font-weight: 600;
  border-radius: var(--r-md);
}

.btn--nav:hover {
  background: var(--gold-400);
  transform: none;
}

.btn--submit .btn-loading { display: none; }
.btn--submit.is-loading .btn-text { display: none; }
.btn--submit.is-loading .btn-loading { display: inline; }
.btn--submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Form Card */
.form-card {
  background: var(--navy-800);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}

.form-title {
  font-size: 1.25rem;
  margin-bottom: var(--sp-1);
  color: var(--cream-100);
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: var(--sp-6);
}

/* Lead Form */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cream-200);
  letter-spacing: 0.02em;
}

.form-group .req { color: var(--gold-500); }

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  color: var(--cream-100);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group input.is-invalid,
.form-group select.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(232,85,85,0.15);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8A6A0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.field-error {
  font-size: 0.78rem;
  color: var(--error);
  min-height: 1em;
}

.form-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: var(--sp-1);
  justify-content: center;
  text-align: center;
}

.form-trust svg { flex-shrink: 0; opacity: 0.6; }

/* Form success state */
.form-success {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(52,193,122,0.15);
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--success);
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}

.form-success h3 {
  margin-bottom: var(--sp-2);
  font-size: 1.2rem;
}

.form-success p {
  margin-bottom: var(--sp-6);
  font-size: 0.9rem;
}

/* ── 6. SECTIONS ────────────────────────────────────────────── */

/* NAV */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding-inline: var(--sp-6);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(8,13,26,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--gold-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-logo-text {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream-100);
}

.nav-logo-text strong {
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
  margin-inline: auto;
}

.nav-menu a {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-light);
  transition: color 0.2s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.2s var(--ease-out);
}

.nav-menu a:hover { color: var(--cream-100); }
.nav-menu a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 2px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--cream-100);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/hero-miami.jpg');
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5,8,18,0.82) 0%,
    rgba(8,12,25,0.60) 50%,
    rgba(5,8,18,0.40) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-16);
  align-items: center;
  padding-block: var(--sp-20);
  width: 100%;
}

.hero-copy { max-width: 600px; }

.hero-headline {
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-6);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--cream-200);
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.scroll-hint {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* STATS BAR */
.stats-bar {
  background: var(--navy-800);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding-block: var(--sp-12);
}

.stats-label {
  text-align: center;
  margin-bottom: var(--sp-8);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gold-border);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--muted-light);
  line-height: 1.5;
}

.stat-desc small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

/* BENEFITS */
.benefits {
  padding-block: var(--sp-24);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.benefit-card {
  background: var(--navy-800);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px var(--gold-glow);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--sp-4);
  color: var(--gold-500);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card h3 {
  margin-bottom: var(--sp-3);
  font-size: 1.05rem;
}

.benefit-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding-block: var(--sp-10);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.cta-band p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream-100);
  font-weight: 600;
}

/* MIAMI STORY */
.miami-story {
  padding-block: var(--sp-24);
  background: var(--navy-900);
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  margin-top: var(--sp-12);
}

.story-era {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.story-era--reverse {
  direction: rtl;
}

.story-era--reverse > * {
  direction: ltr;
}

.era-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.era-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.story-era:hover .era-image img {
  transform: scale(1.03);
}

.era-year {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  opacity: 0.9;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.era-content { padding-inline: var(--sp-4); }

.era-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  margin-bottom: var(--sp-4);
}

.era-content h3 {
  margin-bottom: var(--sp-4);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.era-content p {
  margin-bottom: var(--sp-4);
  font-size: 0.95rem;
}

.era-lesson {
  background: var(--navy-800);
  border-left: 3px solid var(--gold-500);
  padding: var(--sp-4);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 0.88rem !important;
}

/* MARKET STATUS */
.market-status {
  padding-block: var(--sp-24);
  background: var(--navy-800);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.market-card {
  padding: var(--sp-8);
  background: var(--navy-700);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  text-align: center;
}

.market-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-4);
  display: block;
}

.market-card h3 {
  margin-bottom: var(--sp-3);
  font-size: 1.1rem;
}

.market-card p { font-size: 0.9rem; }

.market-highlight {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.market-highlight blockquote {
  border-left: 3px solid var(--gold-500);
  padding: var(--sp-6) var(--sp-8);
  background: var(--navy-700);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.market-highlight blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-100);
  margin-bottom: var(--sp-3);
}

.market-highlight cite {
  font-size: 0.8rem;
  color: var(--gold-500);
  font-style: normal;
}

.market-zones h3 {
  text-align: center;
  margin-bottom: var(--sp-4);
  font-size: 1rem;
}

.zones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

.zone-tag {
  background: var(--navy-600);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream-200);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.zone-tag:hover {
  background: var(--gold-glow);
  border-color: var(--gold-500);
  color: var(--gold-300);
}

/* FOREIGN INVESTORS */
.foreign-investors {
  padding-block: var(--sp-24);
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.advantage-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-6);
  align-items: start;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s ease;
}

.advantage-item:last-child { border-bottom: none; }

.advantage-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-500);
  opacity: 0.7;
  padding-top: 2px;
}

.advantage-body h3 {
  margin-bottom: var(--sp-2);
  font-size: 1.05rem;
}

.advantage-body p { font-size: 0.9rem; }

/* OPPORTUNITIES */
.opportunities {
  padding-block: var(--sp-24);
  background: var(--navy-800);
}

.opps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.opp-card {
  background: var(--navy-700);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.opp-card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px var(--gold-glow);
}

.opp-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.opp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.opp-card:hover .opp-image img { transform: scale(1.05); }

.opp-badge {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.opp-body {
  padding: var(--sp-6);
}

.opp-body h3 { margin-bottom: var(--sp-3); }
.opp-body p { font-size: 0.88rem; margin-bottom: var(--sp-4); }

.opp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.opp-features li {
  font-size: 0.82rem;
  color: var(--muted-light);
  padding-left: var(--sp-4);
  position: relative;
}

.opp-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-size: 0.75rem;
}

/* EMERGING MARKETS — Montura & Punta Gorda */
.emerging-markets {
  padding-block: var(--sp-24);
  background: var(--navy-900);
}

.emerging-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}

.emerging-card {
  background: var(--navy-800);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.emerging-card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px var(--gold-glow);
}

/* Visual placeholder — replaced by real photo when available */
.emerging-visual {
  position: relative;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  overflow: hidden;
}

.emerging-visual--montura {
  background:
    linear-gradient(160deg, rgba(8,13,26,0.45) 0%, rgba(8,13,26,0.2) 100%),
    linear-gradient(135deg, #1a3a1a 0%, #2a5c1a 25%, #3a7a20 50%, #1e4a10 75%, #0d2a08 100%);
}

.emerging-visual--puntagorda {
  background:
    linear-gradient(160deg, rgba(8,13,26,0.45) 0%, rgba(8,13,26,0.2) 100%),
    linear-gradient(135deg, #051a2e 0%, #0a2a4a 25%, #0d3d6b 50%, #0a2a4a 75%, #051a2e 100%);
}

/* When you add a real photo, use: */
/* .emerging-visual--montura { background-image: url('assets/img/montura.jpg'); background-size: cover; background-position: center; } */
/* .emerging-visual--puntagorda { background-image: url('assets/img/punta-gorda.jpg'); background-size: cover; background-position: center; } */

.emerging-location-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.emerging-location-sub {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.7);
}

.emerging-body {
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex: 1;
}

.emerging-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  align-self: flex-start;
}

.emerging-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 0;
}

.emerging-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream-200) !important;
  line-height: 1.5;
}

.emerging-body p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.emerging-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  background: var(--navy-700);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  border: 1px solid var(--gold-border);
}

.estat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.estat-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.2;
}

.estat-lbl {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
}

/* PROCESS */
.process {
  padding-block: var(--sp-24);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--sp-4);
  align-items: start;
  margin-bottom: var(--sp-12);
}

.process-connector {
  width: 60px;
  height: 1px;
  background: var(--gold-border);
  margin-top: 28px;
  flex-shrink: 0;
  position: relative;
}

.process-connector::after {
  content: '›';
  position: absolute;
  right: -8px;
  top: -10px;
  color: var(--gold-500);
  font-size: 1.2rem;
}

.process-step {
  background: var(--navy-800);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 30px var(--gold-glow);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}

.process-step h3 { margin-bottom: var(--sp-3); font-size: 1rem; }
.process-step p { font-size: 0.88rem; margin-bottom: var(--sp-3); }

.step-time {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  color: var(--gold-500);
  font-weight: 500;
}

.process-cta {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* FAQ */
.faq {
  padding-block: var(--sp-24);
  background: var(--navy-800);
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-6) 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-100);
  text-align: left;
  transition: color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question:hover { color: var(--gold-400); }

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--gold-500);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-glow);
}

.faq-answer {
  padding-bottom: var(--sp-6);
  overflow: hidden;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.75;
}

/* CTA FINAL */
.cta-final {
  padding-block: var(--sp-24);
  background: var(--navy-900);
  border-top: 1px solid var(--gold-border);
}

.cta-final-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: var(--sp-16);
  align-items: start;
}

.cta-copy h2 {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.cta-copy > p {
  font-size: 1rem;
  margin-bottom: var(--sp-8);
}

.cta-trust-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--cream-200);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.cta-whatsapp-box {
  background: var(--navy-800);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}

.cta-whatsapp-box p {
  font-size: 0.85rem;
  margin-bottom: var(--sp-3);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--wa-green);
  color: #fff;
  border-radius: 100px;
  padding: 14px 20px;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}

/* FOOTER */
.site-footer {
  background: var(--navy-800);
  border-top: 1px solid var(--gold-border);
  padding-top: var(--sp-16);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.footer-contact-link:hover { color: var(--gold-400); }

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.footer-nav a {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--gold-400); }

.footer-legal { margin-top: var(--sp-2); }

.footer-legal p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-block: var(--sp-4);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── 7. EFFECTS ─────────────────────────────────────────────── */

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor.is-visible { opacity: 1; }

.cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  will-change: transform;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.cursor.is-hover .cursor-ring {
  width: 54px;
  height: 54px;
  opacity: 0.3;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* Defensive: reveal[data-split] must always be visible */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals in grids */
.benefits-grid .benefit-card:nth-child(1) { transition-delay: 0ms; }
.benefits-grid .benefit-card:nth-child(2) { transition-delay: 80ms; }
.benefits-grid .benefit-card:nth-child(3) { transition-delay: 160ms; }
.benefits-grid .benefit-card:nth-child(4) { transition-delay: 0ms; }
.benefits-grid .benefit-card:nth-child(5) { transition-delay: 80ms; }
.benefits-grid .benefit-card:nth-child(6) { transition-delay: 160ms; }

.opps-grid .opp-card:nth-child(1) { transition-delay: 0ms; }
.opps-grid .opp-card:nth-child(2) { transition-delay: 100ms; }
.opps-grid .opp-card:nth-child(3) { transition-delay: 0ms; }
.opps-grid .opp-card:nth-child(4) { transition-delay: 100ms; }

.stats-grid .stat-item:nth-child(1) { transition-delay: 0ms; }
.stats-grid .stat-item:nth-child(2) { transition-delay: 80ms; }
.stats-grid .stat-item:nth-child(3) { transition-delay: 160ms; }
.stats-grid .stat-item:nth-child(4) { transition-delay: 240ms; }

/* Parallax hero */
.hero-bg {
  transition: none;
}

/* Tilt cards */
.opp-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

/* ── 8. RESPONSIVE ──────────────────────────────────────────── */

/* 960px — medium */
@media (max-width: 960px) {
  :root { --nav-h: 64px; }

  .nav-menu,
  .btn--nav {
    display: none;
  }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8,13,26,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    font-size: 1.25rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .hero-form-wrap { order: -1; }

  .hero-copy { max-width: 100%; }

  .hero-sub { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-item + .stat-item::before { display: none; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .story-era,
  .story-era--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--sp-6);
  }

  .market-grid { grid-template-columns: 1fr; }

  .opps-grid { grid-template-columns: 1fr; }

  .emerging-grid { grid-template-columns: 1fr; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .process-connector { display: none; }

  .cta-final-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal { grid-column: 1 / -1; }
}

/* 720px — tablet */
@media (max-width: 720px) {
  .hero-inner { padding-block: var(--sp-12); }

  .hero-actions { flex-direction: column; }

  .hero-actions .btn { justify-content: center; }

  .benefits-grid { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; text-align: center; }

  .process-cta { flex-direction: column; align-items: center; }

  .footer-inner { grid-template-columns: 1fr; }

  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* 540px — mobile */
@media (max-width: 540px) {
  :root { --nav-h: 60px; }

  .form-card { padding: var(--sp-6); }

  .era-year { font-size: 3rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

  .whatsapp-float-label { display: none; }

  .whatsapp-float { padding: 14px; border-radius: 50%; }

  .hero-actions .btn--whatsapp { display: none; }
}

/* ── 9. REDUCED MOTION ─ solo efectos intrusivos ────────────── */
@media (prefers-reduced-motion: reduce) {
  /* Gate only intrusive effects: parallax, bg animation */
  .hero-bg { transition: none !important; }

  @keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
  }

  /* Never gate: hover transitions, reveals, cursor, tilt, count-up */
}
