/* ═══════════════════════════════════════════════════════
   HOTTELY LANDING — Design System v2.0
   Playfair Display + DM Sans | Navy + Verde #00C48C
═══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --green:        #00C48C;
  --green-dark:   #00a877;
  --green-light:  rgba(0,196,140,0.10);
  --navy:         #0F172A;
  --navy-2:       #1E293B;
  --text:         #1a1a2e;
  --text-2:       #4a4a68;
  --text-3:       #8888a0;
  --border:       #e2e2ee;
  --surface:      #f8f9fc;
  --white:        #ffffff;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow:       0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img { max-width: 100%; display: block; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}

header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo { height: 48px; width: auto; }

/* Login dropdown */
.login-dropdown { position: relative; }

.btn-login--toggle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  background: none;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .15s, border-color .15s;
}

.btn-login--toggle:hover { color: var(--green); border-color: var(--green); }

.login-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  z-index: 999;
  overflow: hidden;
}

.login-dropdown:hover .login-dropdown__menu,
.login-dropdown__menu:hover { display: block; }

.login-dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.login-dropdown__menu a:hover { background: var(--surface); color: var(--green); }
.login-dropdown__menu a i { color: var(--green); font-size: 14px; width: 16px; }

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--green); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color .15s;
}

.btn-login:hover { color: var(--green); }

.btn-cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--green);
  color: var(--navy);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: background .15s, transform .1s;
  white-space: nowrap;
}

.btn-cta:hover { background: var(--green-dark); }
.btn-cta:active { transform: scale(0.99); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.bar {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    z-index: 999;
  }

  .nav-menu.active { display: block; }

  .nav-menu ul {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .menu-toggle { display: flex; }
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }

  .header-actions .btn-cta { display: none; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(0,196,140,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(0,196,140,0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(0,196,140,0.08) 0%, transparent 40%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,196,140,0.12);
  border: 1px solid rgba(0,196,140,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--green);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s, transform .1s;
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover { background: var(--green-dark); }
.btn-hero-primary:active { transform: scale(0.99); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* Dashboard visual */
.hero-visual { position: relative; }

.dashboard-frame {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.dashboard-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dashboard-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.dashboard-bar span:nth-child(1) { background: #ff5f57; }
.dashboard-bar span:nth-child(2) { background: #febc2e; }
.dashboard-bar span:nth-child(3) { background: #28c840; }

.dashboard-img {
  width: 100%;
  display: block;
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  font-family: var(--font-sans);
  animation: floatY 4s ease-in-out infinite;
}

.float-card--1 { bottom: -16px; left: -24px; animation-delay: 0s; }
.float-card--2 { top: 40px; right: -20px; animation-delay: 1.5s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card i {
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
}

.float-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.float-card span {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(0,196,140,0.8), transparent);
  margin: 0 auto;
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .float-card--2 { display: none; }
  .float-card--1 { left: 0; }
  .hero-subtitle { max-width: 100%; }
}

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  transition: color .15s;
}

.trust-logo:hover { color: var(--green); }
.trust-logo i { font-size: 15px; }

/* ══════════════════════════════════════
   SECTION HELPERS
══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag--light {
  background: rgba(0,196,140,0.12);
  color: var(--green);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-sub {
  font-size: 15px;
  color: var(--text-3);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.features { padding: 96px 0; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 40px;
}

/* Primera card ocupa 2 columnas */
.feature-card--large {
  grid-column: span 2;
}

.feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-img-wrap {
  position: relative;
  overflow: hidden;
}

.feature-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s;
}

.feature-card--large .feature-img-wrap img { height: 240px; }

.feature-card:hover .feature-img-wrap img { transform: scale(1.04); }

.feature-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.5), transparent 50%);
}

.feature-body {
  padding: 20px;
  flex: 1;
}

.feature-icon {
  width: 36px; height: 36px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 15px;
}

.feature-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-body p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
}

.feature-card--accent { background: var(--navy); }
.feature-card--accent .feature-body h3 { color: var(--white); }
.feature-card--accent .feature-body p { color: rgba(255,255,255,0.5); }
.feature-card--accent .feature-icon { background: rgba(0,196,140,0.15); }

/* Pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text-2);
  transition: border-color .15s, color .15s;
}

.pill i { color: var(--green); font-size: 12px; }
.pill:hover { border-color: var(--green); color: var(--green-dark); }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 2; }
}

@media (max-width: 576px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
}

/* ══════════════════════════════════════
   CÓMO FUNCIONA
══════════════════════════════════════ */
.howworks {
  background: var(--navy);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.howworks::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,196,140,0.12) 0%, transparent 60%);
}

.howworks .section-header .section-title { color: var(--white); }
.howworks .section-header .section-sub { color: rgba(255,255,255,0.4); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 12px;
}

.step-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .steps-grid { flex-direction: column; gap: 32px; }
  .step-connector { width: 1px; height: 32px; margin: 0 auto; }
}

/* ══════════════════════════════════════
   PRICING
══════════════════════════════════════ */
.pricing { padding: 96px 0; background: var(--surface); }

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-2);
  cursor: pointer;
  transition: .15s;
}

.toggle:hover { border-color: var(--green); color: var(--green); }

.toggle.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
  font-weight: 600;
}

.toggle-badge {
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
}

.toggle.active .toggle-badge { background: rgba(15,23,42,0.15); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-card--featured {
  background: var(--navy);
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 20px; }

.plan-icon {
  width: 40px; height: 40px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 16px;
  margin-bottom: 12px;
}

.pricing-card--featured .plan-icon {
  background: rgba(0,196,140,0.15);
}

.plan-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-card--featured .plan-header h3 { color: var(--white); }

.plan-desc {
  font-size: 13px;
  color: var(--text-3);
}

.pricing-card--featured .plan-desc { color: rgba(255,255,255,0.4); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-price .price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  transition: all .3s;
}

.pricing-card--featured .plan-price .price { color: var(--white); }

.price-period {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 400;
}

.pricing-card--featured .price-period { color: rgba(255,255,255,0.4); }

.plan-billing {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.pricing-card--featured .plan-features { border-color: rgba(255,255,255,0.10); }

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 0;
}

.pricing-card--featured .plan-features li { color: rgba(255,255,255,0.7); }

.plan-features li i {
  color: var(--green);
  font-size: 12px;
  flex-shrink: 0;
}

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  background: transparent;
  transition: .15s;
}

.plan-btn:hover {
  background: var(--green);
  color: var(--navy);
}

.plan-btn--featured {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}

.plan-btn--featured:hover { background: var(--green-dark); border-color: var(--green-dark); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-card--featured { transform: scale(1); }
  .pricing-card--featured:hover { transform: translateY(-4px); }
}

/* ══════════════════════════════════════
   ENROLAMIENTO (FORM SECTION)
══════════════════════════════════════ */
.enroll {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.enroll-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.enroll-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(0,196,140,0.15) 0%, transparent 55%);
}

.enroll-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch; /* ambas columnas misma altura */
}

/* Left copy */
.enroll-left {
  display: flex;
  flex-direction: column;
}

.enroll-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.enroll-title em { font-style: italic; color: var(--green); }

.enroll-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.7;
}

.enroll-perks {
  list-style: none;
  margin-bottom: 32px;
}

.enroll-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.enroll-perks li i { color: var(--green); font-size: 15px; flex-shrink: 0; }

.enroll-img {
  width: 100%;
  flex: 1; /* toma el espacio sobrante */
  object-fit: cover;
  border-radius: var(--radius-lg);
  opacity: 0.85;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  min-height: 200px;
  max-height: 360px;
}

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  gap: 0;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.stepper-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--text-3);
  transition: background .2s, color .2s;
  border: 2px solid transparent;
}

.stepper-step span {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.stepper-step.active .stepper-dot {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}

.stepper-step.active span { color: var(--green-dark); }

.stepper-step.done .stepper-dot {
  background: var(--green-light);
  color: var(--green);
  border-color: rgba(0,196,140,0.3);
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-bottom: 20px;
  transition: background .3s;
  min-width: 12px;
}

.stepper-step.done + .stepper-line { background: rgba(0,196,140,0.3); }

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp .25s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.step-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Property types */
.property-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.property-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: .15s;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  font-family: var(--font-sans);
}

.property-type i { font-size: 20px; color: var(--text-3); transition: color .15s; }
.property-type:hover { border-color: var(--green); color: var(--green-dark); }
.property-type:hover i { color: var(--green); }
.property-type.selected { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.property-type.selected i { color: var(--green); }

/* Input groups */
.input-group { margin-bottom: 16px; }

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 6px;
}

.input-group input,
.input-group select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,196,140,0.10);
}

.input-group input.error,
.input-group select.error { border-color: #ef4444; }

/* Checkboxes */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: .15s;
}

.checkbox-item:hover { border-color: var(--green); }

.checkbox-item input[type=checkbox] { accent-color: var(--green); width: 15px; height: 15px; }

/* Form navigation */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.btn-form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 8px 0;
  transition: color .15s;
}

.btn-form-back:hover:not(:disabled) { color: var(--text); }
.btn-form-back:disabled { opacity: 0.35; cursor: not-allowed; }

.progress-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background .2s, width .2s;
}

.dot.active {
  background: var(--green);
  width: 20px;
  border-radius: 4px;
}

.btn-form-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 10px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .15s;
}

.btn-form-next:hover { background: var(--green-dark); }

/* Loading */
.form-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  font-size: 13px;
  color: var(--text-3);
}

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Thank you */
.thankyou {
  text-align: center;
  padding: 20px 0;
}

.thankyou-icon {
  width: 80px;
  margin: 0 auto 20px;
}

.thankyou-icon svg { width: 100%; }

.check-draw {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck .6s .2s ease forwards;
}

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.thankyou h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.thankyou p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* Enroll responsive */
@media (max-width: 900px) {
  .enroll-inner { grid-template-columns: 1fr; gap: 40px; }
  .enroll-img { max-width: 100%; }
  .form-card { padding: 24px 20px; }
  .property-types { grid-template-columns: repeat(3, 1fr); }
  .input-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { height: 44px; width: auto; margin-bottom: 14px; }

.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.footer-col p + p { margin-top: 6px; }

.footer-col p i {
  color: var(--green);
  margin-right: 6px;
  font-size: 12px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-decoration: none;
  transition: .15s;
}

.footer-social a:hover {
  border-color: var(--green);
  color: var(--green);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .15s;
}

.footer-col ul li a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   WHATSAPP
══════════════════════════════════════ */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
}

.whatsapp-button {
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform .2s, box-shadow .2s;
}

.whatsapp-button:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}
