/* ═══════════════════════════════════════
   Nova — styles.css
   Solo lo que Bootstrap no puede hacer
═══════════════════════════════════════ */

:root {
  --coral: #FF6B6B;
  --coral-light: #FFE8E8;
  --teal: #00BDB0;
  --teal-light: #E0F7F6;
  --teal-dark: #008C82;
  --cream: #FAFAF8;
  --dark: #1A1A1A;
  --gray: #6B6B6B;
  --gray-light: #F2F2F0;
  --border: #E8E8E4;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nova-nav {
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--coral);
}

.logo-sub {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--teal);
  text-transform: uppercase;
  margin-top: -4px;
}

.navbar-nav .nav-link {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover { color: var(--coral); }

.nav-cta {
  background: var(--coral);
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  font-weight: 500 !important;
}

.nav-lang { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--gray); }
.lang-btn { padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.lang-btn.active { background: var(--teal-light); color: var(--teal-dark); font-weight: 500; }

/* ─── HERO ─── */
.hero {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--teal);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 68px;
  font-weight: 300;
  line-height: 1.1;
}

.hero-title em { font-style: italic; color: var(--coral); }

.hero-subtitle { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--gray); max-width: 420px; }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 600; color: var(--coral); line-height: 1; }
.stat-label { font-size: 11px; color: var(--gray); letter-spacing: 0.5px; margin-top: 4px; }

.hero-right { position: relative; overflow: hidden; }

.hero-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-badge {
  position: absolute;
  bottom: 40px; left: -20px;
  background: white;
  padding: 20px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.badge-icon { width: 44px; height: 44px; background: var(--teal-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.badge-title { font-size: 14px; font-weight: 500; }
.badge-sub { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--coral);
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-secondary {
  color: var(--dark);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary::after { content: '→'; color: var(--teal); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: white;
  padding: 28px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray); }
.trust-icon { font-size: 18px; }

/* ─── SEARCH ─── */
.search-section { background: white; padding: 0 80px; border-bottom: 1px solid var(--border); }

.search-bar {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin: -28px 0 0;
  background: white;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.search-tab { padding: 22px 32px; font-size: 14px; font-weight: 500; color: var(--gray); border-right: 1px solid var(--border); cursor: pointer; white-space: nowrap; }
.search-tab.active { color: var(--coral); background: var(--coral-light); }
.search-input { flex: 1; padding: 22px 24px; font-size: 14px; border: none; outline: none; font-family: 'DM Sans', sans-serif; }
.search-input::placeholder { color: #bbb; }
.search-divider { width: 1px; height: 28px; background: var(--border); }
.search-select { padding: 22px 24px; font-size: 14px; color: var(--gray); border: none; outline: none; cursor: pointer; font-family: 'DM Sans', sans-serif; background: white; appearance: none; }
.search-btn { background: var(--coral); color: white; padding: 16px 32px; font-size: 14px; font-weight: 500; border: none; cursor: pointer; margin: 8px; border-radius: 10px; font-family: 'DM Sans', sans-serif; }

/* ─── SECTIONS ─── */
.section { padding: 100px 80px; }
.section-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; line-height: 1.15; }
.section-title em { font-style: italic; color: var(--coral); }
.section-link { color: var(--coral); font-size: 13px; font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 6px; }

/* ─── PROPERTY CARDS ─── */
.prop-card { background: white; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.prop-img { height: 220px; position: relative; overflow: hidden; }
.prop-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.prop-img-placeholder.p1 { background: linear-gradient(135deg, #f5e6d3, #e8d0b8); }
.prop-img-placeholder.p2 { background: linear-gradient(135deg, #d3e8e6, #b8d8d5); }
.prop-img-placeholder.p3 { background: linear-gradient(135deg, #e6d3e8, #d0b8d8); }
.prop-tag { position: absolute; top: 16px; left: 16px; padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 500; letter-spacing: 0.5px; }
.tag-sale { background: var(--coral); color: white; }
.tag-rent { background: var(--teal); color: white; }
.tag-new  { background: var(--dark); color: white; }
.prop-fav { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.prop-fav.active { color: var(--coral); }
.prop-body { padding: 24px; }
.prop-location { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.prop-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin-bottom: 12px; line-height: 1.3; }
.prop-specs { display: flex; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.spec { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.prop-footer { display: flex; justify-content: space-between; align-items: center; }
.prop-price { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--coral); }
.prop-price-sub { font-size: 11px; color: var(--gray); font-weight: 300; }
.prop-btn { width: 36px; height: 36px; background: var(--coral-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--coral); font-size: 16px; cursor: pointer; }

/* ─── CONCIERGE ─── */
.concierge-section {
  background: var(--dark);
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

.concierge-section::before {
  content: 'CONCIERGE';
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px; font-weight: 600;
  color: rgba(255,255,255,0.03);
  letter-spacing: 10px; white-space: nowrap; pointer-events: none;
}

.concierge-desc { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.55); margin-bottom: 40px; font-weight: 300; }

.service-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; transition: all 0.3s; }
.service-card:hover { background: rgba(255,107,107,0.1); border-color: rgba(255,107,107,0.2); }
.service-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.service-title { font-size: 14px; font-weight: 500; color: white; margin-bottom: 6px; }
.service-desc { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ─── STORY ─── */
.story-section { background: var(--cream); padding: 100px 80px; }
.story-img { position: relative; }
.story-img-main { width: 100%; height: 480px; border-radius: 24px; overflow: hidden; position: relative; }
.story-accent { position: absolute; bottom: -24px; right: -24px; width: 180px; height: 180px; background: var(--teal); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; padding: 24px; }
.accent-num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 600; line-height: 1; }
.accent-label { font-size: 12px; font-weight: 300; opacity: 0.85; margin-top: 6px; line-height: 1.4; }
.story-flags { display: flex; gap: 12px; margin-bottom: 24px; align-items: center; }
.flag { font-size: 28px; }
.flag-arrow { font-size: 16px; color: var(--teal); }
.story-quote { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-style: italic; font-weight: 300; line-height: 1.5; margin: 28px 0; padding-left: 24px; border-left: 3px solid var(--coral); }
.story-text { font-size: 15px; line-height: 1.8; color: var(--gray); font-weight: 300; margin-bottom: 20px; }

/* ─── BLOG ─── */
.blog-section { background: white; padding: 100px 80px; }
.blog-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-3px); }
.blog-img { height: 200px; position: relative; overflow: hidden; }
.blog-img.b1 { background: linear-gradient(135deg, #fff0e0, #ffe0c0); }
.blog-img.b2 { background: linear-gradient(135deg, #e0f5f3, #c0ebe8); }
.blog-img.b3 { background: linear-gradient(135deg, #f0e0ff, #e0c8f8); }
.blog-cat { position: absolute; top: 16px; left: 16px; font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; background: white; color: var(--teal); border-radius: 100px; }
.blog-body { padding: 24px; background: white; }
.blog-date { font-size: 11px; color: var(--gray); margin-bottom: 8px; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; line-height: 1.35; margin-bottom: 10px; }
.blog-excerpt { font-size: 13px; line-height: 1.7; color: var(--gray); font-weight: 300; }

/* ─── CONTACT ─── */
.contact-section { background: var(--coral-light); padding: 80px; }
.contact-title { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 300; line-height: 1.2; margin-bottom: 20px; }
.contact-title em { font-style: italic; color: var(--coral); }
.contact-desc { font-size: 15px; line-height: 1.8; color: var(--gray); font-weight: 300; margin-bottom: 36px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: white; border-radius: 14px; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; }
.contact-method:hover { border-color: var(--coral); box-shadow: 0 4px 20px rgba(255,107,107,0.1); }
.method-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.method-icon.coral { background: var(--coral-light); }
.method-icon.teal  { background: var(--teal-light); }
.method-icon.dark  { background: var(--gray-light); }
.method-title { font-size: 14px; font-weight: 500; }
.method-sub { font-size: 12px; color: var(--gray); margin-top: 2px; }
.method-arrow { margin-left: auto; color: var(--coral); font-size: 18px; }

/* ─── FOOTER ─── */
footer { background: var(--dark); padding: 64px 80px 40px; }
.footer-brand .logo-text { color: var(--coral); font-size: 28px; }
.footer-brand .logo-sub  { color: var(--teal); }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; color: rgba(255,255,255,0.4); margin-top: 16px; line-height: 1.6; max-width: 260px; }
.footer-social { display: flex; gap: 12px; }
.social-btn { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: background 0.2s; }
.social-btn:hover { background: rgba(255,107,107,0.2); }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.footer-links a:hover { color: var(--coral); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 300; }
.footer-langs { display: flex; gap: 16px; }
.footer-langs a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-langs a.active { color: var(--teal); }

/* ─── RESPONSIVE (solo lo que Bootstrap no cubre) ─── */

/* ── Tableta: 768px – 991px ── */
@media (max-width: 991px) {
  /* Nav */
  .nova-nav { height: 64px; }
  .hero { margin-top: 64px; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 48px 32px 40px; gap: 24px; }
  .hero-title { font-size: 52px; }
  .hero-subtitle { max-width: 100%; }
  .hero-right { height: 380px; }
  .hero-badge { left: 16px; bottom: 20px; }

  /* Trust bar */
  .trust-bar { padding: 20px 32px; gap: 24px; flex-wrap: wrap; justify-content: flex-start; }

  /* Search */
  .search-section { padding: 0 32px; }
  .search-bar { flex-wrap: wrap; }
  .search-tab { flex: 1 1 auto; }
  .search-input { min-width: 200px; }

  /* Sections */
  .section { padding: 72px 32px; }
  .concierge-section { padding: 72px 32px; }
  .story-section { padding: 72px 32px; }
  .blog-section { padding: 72px 32px; }
  .section-title { font-size: 38px; }

  /* Story */
  .story-img-main { height: 360px; }
  .story-accent { right: -10px; bottom: -16px; width: 150px; height: 150px; }
  .accent-num { font-size: 42px; }

  /* Concierge */
  .concierge-section::before { display: none; }

  /* Contact */
  .contact-section { padding: 64px 32px; }
  .contact-title { font-size: 40px; }

  /* Footer */
  footer { padding: 48px 32px 32px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }

  /* Featured header row: stack en tableta chica */
  .d-flex.justify-content-between.align-items-end.mb-5 { flex-wrap: wrap; gap: 12px; }
  .section-link { align-self: flex-start; }
}

/* ── Celular: hasta 767px ── */
@media (max-width: 767px) {
  /* Nav */
  .nova-nav { height: 60px; }
  .hero { margin-top: 60px; }
  .logo-text { font-size: 22px; }
  .logo-sub { font-size: 9px; }

  /* Menú desplegable ocupa todo el ancho */
  #navMenu { background: rgba(250,250,248,0.98); padding: 16px 20px 24px; border-bottom: 1px solid var(--border); }
  .navbar-nav .nav-link { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
  .nav-cta { display: inline-block; margin-top: 12px; text-align: center; border-bottom: none !important; }

  /* Hero */
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 36px 20px 32px; gap: 20px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 15px; }
  .hero-right { height: 280px; }
  .hero-badge { left: 12px; bottom: 12px; padding: 14px 18px; gap: 10px; }
  .badge-title { font-size: 13px; }
  .badge-sub { font-size: 11px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stats > div { min-width: calc(33% - 12px); }
  .stat-num { font-size: 28px; }

  /* Botones CTA del hero */
  .hero-left .d-flex { flex-wrap: wrap; gap: 12px; }

  /* Trust bar */
  .trust-bar { padding: 16px 20px; gap: 14px; justify-content: flex-start; }
  .trust-item { font-size: 12px; width: calc(50% - 8px); }

  /* Search */
  .search-section { padding: 0 20px; }
  .search-bar { flex-direction: column; margin: -14px 0 0; border-radius: 14px; }
  .search-tab { border-right: none; border-bottom: 1px solid var(--border); padding: 14px 20px; text-align: center; flex: 1; }
  .search-input { padding: 14px 20px; width: 100%; border-bottom: 1px solid var(--border); }
  .search-select { padding: 14px 20px; width: 100%; border-bottom: 1px solid var(--border); }
  .search-divider { display: none; }
  .search-btn { margin: 10px; padding: 13px; width: calc(100% - 20px); border-radius: 10px; }

  /* Sections */
  .section { padding: 56px 20px; }
  .section-title { font-size: 32px; }
  .section-eyebrow { font-size: 10px; }
  .d-flex.justify-content-between.align-items-end.mb-5 { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Property cards: ocupa ancho completo en móvil */
  .prop-card { border-radius: 16px; }
  .prop-img { height: 200px; }
  .prop-title { font-size: 20px; }
  .prop-price { font-size: 22px; }

  /* Concierge */
  .concierge-section { padding: 56px 20px; }
  .concierge-section::before { display: none; }
  .concierge-section .section-title { font-size: 34px !important; }
  .service-card { padding: 18px; }
  .service-title { font-size: 13px; }

  /* Story */
  .story-section { padding: 56px 20px; }
  .story-img-main { height: 260px; border-radius: 16px; }
  .story-accent { width: 120px; height: 120px; right: -6px; bottom: -12px; padding: 16px; border-radius: 14px; }
  .accent-num { font-size: 34px; }
  .accent-label { font-size: 11px; }
  .story-quote { font-size: 22px; padding-left: 18px; margin: 20px 0; }
  .story-text { font-size: 14px; }

  /* Blog */
  .blog-section { padding: 56px 20px; }
  .blog-card { border-radius: 16px; }
  .blog-img { height: 180px; }
  .blog-title { font-size: 18px; }
  .blog-body { padding: 18px; }

  /* Contact */
  .contact-section { padding: 48px 20px; }
  .contact-title { font-size: 32px; }
  .contact-desc { font-size: 14px; }
  .contact-method { padding: 14px 18px; gap: 12px; }

  /* Footer */
  footer { padding: 40px 20px 28px; }
  .footer-col { margin-bottom: 8px; }
  .footer-col h4 { margin-bottom: 14px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-tagline { font-size: 15px; }
}

/* ── Celular muy pequeño: hasta 375px ── */
@media (max-width: 375px) {
  .hero-title { font-size: 34px; }
  .hero-stats > div { min-width: calc(50% - 8px); }
  .trust-item { width: 100%; }
  .section-title { font-size: 28px; }
  .contact-title { font-size: 28px; }
  .story-accent { display: none; }
}