/* Rent Bogotá — Site Styles */
:root {
  --accent: #0EA5E9;
  --primary: #0C0C0C;
  --secondary: #1A1A1A;
  --surface: #FAFAFA;
  --cta: #0EA5E9;
  --cta-hover: #0284C7;
  --text: #FAFAFA;
  --text-dark: #0C0C0C;
  --grad-start: #0C0C0C;
  --grad-end: #1A1A1A;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #0C0C0Cee;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #0EA5E922;
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem; color: var(--accent);
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; opacity: 0.8; transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-cta {
  background: var(--cta); color: white !important; opacity: 1 !important;
  padding: 8px 20px; border-radius: 6px; font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--cta-hover); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: all 0.3s ease;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, #0EA5E912 0%, transparent 60%);
}
.hero::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--surface), transparent);
}
.hero-content {
  position: relative; z-index: 2; max-width: var(--max-width);
  margin: 0 auto; padding: 0 24px; width: 100%;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--text); line-height: 1.15; margin-bottom: 24px;
}
.hero h1 br { display: block; }
.hero p {
  font-size: 1.15rem; color: #FAFAFAcc;
  max-width: 600px; margin-bottom: 40px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px; font-size: 1rem;
  font-weight: 600; text-decoration: none; transition: all 0.25s ease;
  cursor: pointer; border: none; font-family: var(--font-body);
}
.btn-primary { background: var(--cta); color: white; }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 8px 24px #0EA5E944; }
.btn-outline { background: transparent; color: var(--text); border: 2px solid #FAFAFA44; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── SECTIONS ─── */
section { padding: 100px 0; }
.section-label {
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 3px; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark); margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem; color: #666; max-width: 600px; margin-bottom: 48px;
}

/* ─── NEIGHBORHOOD CARDS ─── */
.neighborhoods-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.neighborhood-card {
  background: white; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: all 0.3s ease;
  border: 1px solid #eee; position: relative; overflow: hidden;
}
.neighborhood-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); transform: scaleX(0);
  transition: transform 0.3s ease; transform-origin: left;
}
.neighborhood-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.neighborhood-card:hover::before { transform: scaleX(1); }
.neighborhood-card h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  margin-bottom: 8px; color: var(--text-dark);
}
.neighborhood-vibe {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--accent); background: #0EA5E912;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.neighborhood-card p { color: #555; margin-bottom: 16px; font-size: 0.95rem; }
.neighborhood-price {
  font-weight: 700; color: var(--text-dark); font-size: 1.05rem;
  padding-top: 16px; border-top: 1px solid #eee;
}

/* ─── MAP SECTION ─── */
.map-section {
  background: var(--primary); padding: 80px 0;
}
.map-section .section-label, .map-section .section-title { color: var(--text); }
.map-section .section-subtitle { color: #FAFAFA99; }
.map-wrapper {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid #0EA5E933;
}
.map-wrapper iframe {
  width: 100%; height: 550px; border: none; display: block;
}

/* ─── LEAD FORM ─── */
.form-section { background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); padding: 100px 0; }
.form-wrapper {
  max-width: 640px; margin: 0 auto; background: #1A1A1Acc;
  border: 1px solid #0EA5E922; border-radius: var(--radius);
  padding: 48px; backdrop-filter: blur(10px);
}
.form-wrapper .section-label, .form-wrapper .section-title { color: var(--text); }
.form-wrapper .section-subtitle { color: #FAFAFA99; }
.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: #FAFAFAcc;
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border-radius: 8px; font-size: 0.95rem;
  font-family: var(--font-body); border: 1px solid #0EA5E933;
  background: #0C0C0Caa; color: var(--text);
  transition: border-color 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #FAFAFA55; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group select option { background: var(--primary); color: var(--text); }
.form-submit {
  margin-top: 8px; width: 100%;
  padding: 16px; font-size: 1.05rem;
}
.form-success {
  display: none; text-align: center; padding: 40px;
  color: var(--text);
}
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e0e0e0; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 24px 0; background: none; border: none;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 600; color: var(--text-dark);
  text-align: left; gap: 16px;
}
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--accent); display: flex; align-items: center;
  justify-content: center; transition: all 0.3s; font-size: 1.1rem; color: var(--accent);
}
.faq-item.active .faq-icon { background: var(--accent); color: white; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-answer p { padding: 0 0 24px; color: #555; line-height: 1.8; }

/* ─── CROSS-LINKS ─── */
.cross-links {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  padding: 60px 0; background: var(--primary);
}
.cross-link {
  color: #FAFAFAaa; border: 1px solid #0EA5E933;
  padding: 12px 24px; border-radius: 8px; text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
}
.cross-link:hover { color: var(--accent); border-color: var(--accent); background: #0EA5E90a; }

/* ─── FOOTER ─── */
footer {
  background: var(--primary); color: #FAFAFA88;
  padding: 48px 0 32px; text-align: center; font-size: 0.85rem;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links { margin-bottom: 16px; }
.footer-links a { margin: 0 12px; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav-links { 
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: #0C0C0Cf5; flex-direction: column;
    padding: 24px; gap: 20px; backdrop-filter: blur(20px);
    border-bottom: 1px solid #0EA5E922;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2.2rem; }
  .neighborhoods-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .map-wrapper iframe { height: 400px; }
  section { padding: 60px 0; }
}
