/* ============================================================
   APPTO Landing Page — Premium styles
   ============================================================ */

/* === RESET & TOKENS === */
:root {
  --primary: #1A3D2E;
  --primary-light: #2A5C42;
  --accent: #5BA85A;
  --accent-light: #7BC07A;
  --leaf-dark: #3D6B2A;

  --bg-dark: #0D1F17;
  --bg-dark-2: #132B20;
  --bg-light: #FAFBF9;
  --bg-card: #FFFFFF;
  --bg-soft: #F5F7F2;

  --text-primary: #0A0A0B;
  --text-secondary: #5F6B62;
  --text-muted: #9CA3AF;
  --text-light: #E8EDE8;
  --text-white: #FFFFFF;

  --border: #E5E7EB;
  --border-soft: #EDEFE9;

  --shadow-sm: 0 1px 3px rgba(10,15,12,.06), 0 2px 8px rgba(10,15,12,.04);
  --shadow-md: 0 4px 16px rgba(10,15,12,.08), 0 12px 32px rgba(10,15,12,.06);
  --shadow-lg: 0 10px 40px rgba(10,15,12,.12), 0 30px 80px rgba(10,15,12,.08);
  --shadow-glow: 0 0 60px rgba(91,168,90,.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --pill: 999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #A8D5A0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--pill);
  padding: 14px 28px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--leaf-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(91,168,90,.35);
}
.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91,168,90,.45);
}

.btn-outline-hero {
  background: rgba(255,255,255,.08);
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
}

/* === SECTION UTILITIES === */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(91,168,90,.12);
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,31,23,.7);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13,31,23,.92);
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}
.nav-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-white);
  background: rgba(255,255,255,.08);
}

.nav-cta {
  padding: 10px 22px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: var(--text-white);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13,31,23,.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 16px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .4;
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91,168,90,.4) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.shape-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,61,46,.5) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
}
.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123,192,122,.3) 0%, transparent 70%);
  top: 50%;
  left: 40%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--text-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  background: rgba(91,168,90,.12);
  color: var(--accent-light);
  border: 1px solid rgba(91,168,90,.2);
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,168,90,.5); }
  50% { box-shadow: 0 0 0 8px rgba(91,168,90,0); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-subtitle strong {
  color: var(--accent-light);
  font-weight: 600;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  align-items: center;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -.5px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

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

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(91,168,90,.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.hero-phone {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
  animation: float 6s ease-in-out infinite;
}

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

/* Floating Cards */
.floating-card {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  animation: float-card 5s ease-in-out infinite;
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.fc-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.fc-rating {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-1 {
  top: 15%;
  left: -10%;
  animation-delay: 0s;
}
.card-2 {
  bottom: 25%;
  right: -5%;
  animation-delay: 1.5s;
}
.card-3 {
  bottom: 10%;
  left: 5%;
  animation-delay: 3s;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.3);
  animation: bounce-down 2s ease-in-out infinite;
}

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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-phone { max-width: 320px; }
  .floating-card { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 0 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 24px; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 120px 0;
  background: var(--bg-light);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
  z-index: 0;
}

.features .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .features { padding: 80px 0; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: 120px 0;
  background: var(--bg-light);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.step.reverse {
  grid-template-columns: auto 1fr 1fr;
}
.step.reverse .step-visual {
  order: -1;
}
.step.reverse .step-number {
  order: -2;
}

.step-number {
  font-size: 72px;
  font-weight: 900;
  color: rgba(91,168,90,.1);
  line-height: 1;
  min-width: 100px;
  text-align: center;
}

.step-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.step-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
}

.step-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.step-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .step, .step.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .step-number { font-size: 48px; min-width: auto; }
  .step-content p { margin: 0 auto; }
  .step.reverse .step-visual { order: 0; }
  .step.reverse .step-number { order: 0; }
  .step-visual img { height: 220px; }
  .steps { gap: 50px; }
  .how-section { padding: 80px 0; }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section {
  padding: 120px 0;
  background: var(--bg-soft);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cat-accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.cat-card:hover::before { transform: scaleX(1); }

.cat-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: var(--cat-bg);
  border-radius: 20px;
}
.cat-icon-wrap svg {
  width: 44px;
  height: 44px;
}

.cat-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.cat-count {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--cat-bg);
  color: var(--cat-accent);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .categories-grid { grid-template-columns: 1fr; }
  .categories-section { padding: 80px 0; }
}

/* ============================================================
   MAP SHOWCASE (with live Leaflet maps)
   ============================================================ */
.map-showcase {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

/* Background static map (Google Maps Static API) */
.map-bg-live {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.map-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(250,251,249,.92) 0%,
    rgba(250,251,249,.85) 40%,
    rgba(250,251,249,.75) 100%
  );
  backdrop-filter: blur(2px);
}

.map-showcase .container {
  position: relative;
  z-index: 2;
}

.map-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.map-showcase-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.map-showcase-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.map-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.map-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Phone mockup */
.map-showcase-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0,0,0,.18),
    0 8px 20px rgba(0,0,0,.1),
    inset 0 0 0 3px #e0e0e0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.phone-toolbar {
  background: #fff;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border-soft);
}

.phone-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 8px;
}
.phone-search-bar span {
  font-size: 12px;
  color: var(--text-muted);
}

.phone-chips {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.phone-chips::-webkit-scrollbar { display: none; }

.phone-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-map {
  height: 380px;
  width: 100%;
  background: #EEF1EA;
  object-fit: cover;
  object-position: center;
  display: block;
}

.phone-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 16px;
  background: #fff;
  border-top: 1px solid var(--border-soft);
}

.pbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
}
.pbn-item.active {
  color: var(--primary);
}
.pbn-item svg {
  stroke: currentColor;
  fill: none;
}

/* Fondo correcto si la imagen del mapa tarda en cargar */
.phone-map { background: #f5f7f2; }
.map-bg-live { background: #f5f7f2; }

@media (max-width: 900px) {
  .map-showcase-inner { grid-template-columns: 1fr; gap: 40px; }
  .map-showcase { padding: 80px 0; }
  .phone-mockup { width: 280px; }
  .phone-map { height: 300px; }
}

@media (max-width: 480px) {
  .phone-mockup { width: 260px; }
  .phone-map { height: 260px; }
}

/* ============================================================
   PLACES PREVIEW
   ============================================================ */
.places-preview {
  padding: 120px 0;
  background: var(--bg-soft);
}

.places-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.place-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.place-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ppc-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ppc-body {
  padding: 20px;
}

.ppc-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.ppc-tags span {
  padding: 4px 10px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 700;
}

.ppc-body h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.ppc-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ppc-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.ppc-rating {
  color: #B8870D;
  font-weight: 700;
}

@media (max-width: 900px) {
  .places-carousel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .places-carousel { grid-template-columns: 1fr; }
  .places-preview { padding: 80px 0; }
}

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download-section {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91,168,90,.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  top: -100px;
  right: -100px;
}

.download-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.download-content h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.download-content p {
  font-size: 18px;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text-white);
  transition: var(--transition);
}
.store-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.store-btn small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-align: left;
}
.store-btn strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.download-alt {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 400px;
  margin: 0 auto;
}
.download-alt p {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}

@media (max-width: 540px) {
  .download-section { padding: 80px 0; }
  .download-buttons { flex-direction: column; align-items: center; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 120px 0;
  background: var(--bg-light);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-info > p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(91,168,90,.1);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--text-primary);
  background: var(--bg-light);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,168,90,.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
}
.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.form-success p {
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-section { padding: 80px 0; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 0;
  background: var(--bg-dark);
  color: rgba(255,255,255,.5);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  display: inline-block;
  box-sizing: content-box;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--text-white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer { padding: 40px 0 0; }
}

/* ============================================================
   ANIMATIONS (scroll-triggered)
   ============================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Delayed animations */
[data-aos-delay="100"].visible { transition-delay: 0.1s; }
[data-aos-delay="200"].visible { transition-delay: 0.2s; }
[data-aos-delay="300"].visible { transition-delay: 0.3s; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(91,168,90,.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(91,168,90,.5); }
