:root {
  --verde: #1f6f8b;
  --verde-med: #2a8aa8;
  --verde-claro: #e2f1f5;
  --verde-hover: #2f9bbd;
  --tierra: #c2702d;
  --tierra-claro: #f7ede2;
  --crema: #f7fafb;
  --crema-dark: #e8f0f3;
  --text-dark: #1a1a18;
  --text-med: #4a4a44;
  --text-light: #7a7a72;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--crema);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================== NAV ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,111,139,0.1);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--shadow-sm); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--verde);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: white; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--verde);
  line-height: 1;
}
.logo-text span { font-weight: 400; color: var(--tierra); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-med);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--verde); }

.nav-cta {
  background: var(--verde) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--verde-hover) !important; }

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* ===================== LANGUAGE SELECTOR ===================== */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(31,111,139,0.2);
  border-radius: 100px;
  padding: 5px 12px 5px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-med);
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--verde); color: var(--verde); background: var(--verde-claro); }
.lang-btn .lang-flag { font-size: 16px; line-height: 1; }
.lang-btn .lang-chevron { font-size: 10px; transition: transform 0.2s; }
.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  min-width: 180px;
  overflow: hidden;
  z-index: 1100;
  animation: fadeUp 0.15s ease;
}
.lang-selector.open .lang-dropdown { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dark);
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.lang-option:hover { background: var(--crema); }
.lang-option.active { background: var(--verde-claro); color: var(--verde); font-weight: 500; }
.lang-option .lang-flag { font-size: 18px; }
.lang-option .lang-native { font-size: 12px; color: var(--text-light); margin-left: auto; }
.lang-option.active .lang-native { color: var(--verde); opacity: 0.7; }


/* end lang selector */

/* ===================== HERO ===================== */
.hero {
  min-height: unset;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 5% 36px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(31,111,139,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(139,94,60,0.08) 0%, transparent 50%),
    var(--crema);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231f6f8b' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--verde-claro);
  color: var(--verde);
  border: 1px solid rgba(31,111,139,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--verde);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 14px;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 em {
  font-style: italic;
  color: var(--verde);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-med);
  font-weight: 300;
  margin-bottom: 22px;
  animation: fadeUp 0.6s 0.2s ease both;
}

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

/* ===================== SEARCH BOX ===================== */
.search-box {
  background: white;
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 0;
  align-items: stretch;
  max-width: 760px;
  width: 100%;
  margin: 0 auto 20px;
  animation: fadeUp 0.6s 0.3s ease both;
  border: 1px solid rgba(31,111,139,0.08);
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-right: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 24px 0 0 24px;
}
.search-field:last-of-type { border-right: none; }
.search-field:hover { background: var(--crema); }

.search-field svg {
  width: 18px; height: 18px;
  color: var(--verde);
  flex-shrink: 0;
}

.search-field-inner { text-align: left; }
.search-field-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}
.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: transparent;
  width: 100%;
  cursor: pointer;
  font-weight: 400;
  padding: 0;
  appearance: none;
}
.search-field input::placeholder { color: var(--text-light); }

.search-btn {
  background: var(--verde);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--verde-hover); }
.search-btn:active { transform: scale(0.97); }
.search-btn svg { width: 18px; height: 18px; }

.search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s 0.4s ease both;
}
.search-tag {
  background: rgba(31,111,139,0.08);
  color: var(--verde);
  border: none;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.search-tag:hover { background: rgba(31,111,139,0.15); }

/* ===================== STATS ===================== */
.stats-bar {
  background: var(--verde);
  padding: 20px 5%;
  display: flex;
  justify-content: center;
  gap: 60px;
}
.stat {
  text-align: center;
  color: white;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  display: block;
}
.stat-label {
  font-size: 13px;
  opacity: 0.75;
  font-weight: 300;
}

/* ===================== SECTION HEADERS ===================== */
.section {
  padding: 80px 5%;
}
.section-alt { background: var(--crema-dark); }

.section-header {
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde);
  margin-bottom: 10px;
  display: block;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.section-header h2 em { font-style: italic; color: var(--verde); }
.section-header p {
  color: var(--text-med);
  font-size: 17px;
  font-weight: 300;
  margin-top: 12px;
  max-width: 560px;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.see-all {
  color: var(--verde);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  white-space: nowrap;
  padding-bottom: 4px;
}
.see-all:hover { gap: 8px; }

/* ===================== REGIONS ===================== */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.region-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  display: block;
  background: var(--verde-claro);
}
.region-card:hover { transform: translateY(-4px); }

.region-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  opacity: 0.15;
}

.region-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.region-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  color: white;
}
.region-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  display: block;
}
.region-count {
  font-size: 13px;
  opacity: 0.8;
}

/* ===================== PROPERTY CARDS ===================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.property-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.05);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--verde-claro);
}
.card-img-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  transition: transform 0.4s;
}
.property-card:hover .card-img-visual { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: white;
  color: var(--terra);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.card-badge.top { background: var(--verde); color: white; }
.card-badge.new { background: var(--tierra); color: white; }

.card-body { padding: 18px; }

.card-location {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-location svg { width: 12px; height: 12px; }

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-features {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.card-feature {
  font-size: 13px;
  color: var(--text-med);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-feature svg { width: 13px; height: 13px; color: var(--verde); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}
.stars { color: #f5a623; letter-spacing: -2px; font-size: 13px; }

.card-price { text-align: right; }
.price-value {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--verde);
}
.price-unit { font-size: 12px; color: var(--text-light); }

.card-btn {
  width: 100%;
  background: var(--verde);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 14px;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.card-btn:hover { background: var(--verde-hover); }
.card-btn:active { transform: scale(0.98); }

/* ===================== TYPES ===================== */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.type-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}
.type-card:hover {
  border-color: var(--verde);
  background: var(--verde-claro);
  transform: translateY(-3px);
}
.type-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.type-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}
.type-count { font-size: 12px; color: var(--text-light); }

/* ===================== HOW IT WORKS ===================== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--verde) 20%, var(--verde) 80%, transparent);
  opacity: 0.2;
}

.how-step { text-align: center; }
.how-num {
  width: 56px; height: 56px;
  background: var(--verde-claro);
  border: 2px solid rgba(31,111,139,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--verde);
  margin: 0 auto 20px;
}
.how-title {
  font-weight: 500;
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.how-desc { font-size: 14px; color: var(--text-med); line-height: 1.6; }

/* ===================== TESTIMONIALS ===================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.review-quote {
  font-size: 40px;
  line-height: 0.6;
  color: var(--verde-claro);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.review-text {
  font-size: 15px;
  color: var(--text-med);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.review-name { font-weight: 500; font-size: 14px; color: var(--text-dark); }
.review-trip { font-size: 12px; color: var(--text-light); }

/* ===================== NEWSLETTER ===================== */
.newsletter {
  background: var(--verde);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.newsletter p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 0 auto;
  background: white;
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  background: transparent;
  color: var(--text-dark);
}
.newsletter-form input::placeholder { color: var(--text-light); }
.newsletter-form button {
  background: var(--verde);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--verde-hover); }

/* ===================== FOOTER ===================== */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 5% 30px;
}

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

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===================== MODAL ===================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.modal-overlay.open { display: flex; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  position: relative;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.modal-header {
  position: relative;
  aspect-ratio: 16/7;
  background: var(--verde-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.modal-close:hover { background: white; }

.modal-body { padding: 28px; }
.modal-location {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--verde);
  margin-bottom: 6px;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.modal-description { font-size: 15px; color: var(--text-med); line-height: 1.7; margin-bottom: 20px; }

.modal-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.modal-detail {
  background: var(--crema);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.modal-detail-icon { font-size: 24px; margin-bottom: 6px; }
.modal-detail-val {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  display: block;
}
.modal-detail-label { font-size: 12px; color: var(--text-light); }

.modal-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.amenity-tag {
  background: var(--verde-claro);
  color: var(--verde);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  gap: 16px;
  flex-wrap: wrap;
}
.modal-price-info .price-value { font-size: 28px; }

.modal-book-btn {
  background: var(--verde);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.modal-book-btn:hover { background: var(--verde-hover); }
.modal-commission-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
  text-align: center;
}

/* ===================== FILTERS (RESULTS PAGE) ===================== */
.filters-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 0 5%;
  background: white;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.filter-chip {
  background: var(--crema);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-chip:hover { border-color: var(--verde); color: var(--verde); }
.filter-chip.active {
  background: var(--verde);
  color: white;
  border-color: var(--verde);
}
.filter-chip svg { width: 14px; height: 14px; }

/* ===================== PAGE TRANSITIONS ===================== */
.page { display: none; }
.page.active { display: block; }

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }

  .search-box {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 12px;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    border-radius: 0;
    padding: 8px 0;
  }
  .search-field:last-of-type { border-bottom: none; }
  .search-btn { width: 100%; justify-content: center; border-radius: 10px; }

  .stats-bar { gap: 30px; flex-wrap: wrap; }
  .stat-num { font-size: 22px; }

  .regions-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .modal-details { grid-template-columns: repeat(3, 1fr); }
}

/* ===================== LAYOUT WITH SIDEBAR ===================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 5% 60px;
  align-items: start;
}
.page-main { min-width: 0; }
.page-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-ad {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}
.sidebar-widget {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.sidebar-widget h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.sidebar-img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}
.sidebar-caption {
  font-size: 13px;
  color: var(--text-med);
  line-height: 1.6;
}

/* Top ad banner for mobile */
.top-ad-mobile {
  display: none;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 12px 5%;
  text-align: center;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 12px;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: var(--text-dark);
  color: rgba(255,255,255,0.85);
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 13px; line-height: 1.6; flex: 1; min-width: 200px; }
.cookie-text a { color: rgba(255,255,255,0.6); text-decoration: underline; cursor: pointer; }
.cookie-text a:hover { color: white; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.cookie-btn-accept { background: var(--verde); color: white; }
.cookie-btn-accept:hover { background: var(--verde-hover); }
.cookie-btn-reject { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.15); }

/* ===================== CONTACT FORM ===================== */
.contact-section {
  background: var(--crema-dark);
  padding: 80px 5%;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.contact-info h2 em { font-style: italic; color: var(--verde); }
.contact-info p { color: var(--text-med); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-med);
}
.contact-detail svg { width: 16px; height: 16px; color: var(--verde); flex-shrink: 0; }
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-med);
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--verde); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  background: var(--verde);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--verde-hover); }
.form-submit:active { transform: scale(0.98); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===================== NATURE CONTENT SECTION ===================== */
.nature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.nature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}
.nature-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.nature-card-body { padding: 18px; }
.nature-card-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--verde);
  margin-bottom: 6px;
}
.nature-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.nature-card-text {
  font-size: 13px;
  color: var(--text-med);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .top-ad-mobile { display: flex; }
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .nature-grid { grid-template-columns: 1fr; }
  .cookie-banner { padding: 16px; }
}
@media (max-width: 480px) {
  .nature-grid { grid-template-columns: 1fr; }
}

/* ===================== CAR RENTAL SECTION ===================== */
.cars-section {
  padding: 64px 5%;
  background: linear-gradient(135deg, var(--verde-claro) 0%, var(--crema) 100%);
}
.cars-hero {
  max-width: 1200px;
  margin: 0 auto 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.cars-hero .section-eyebrow { color: var(--verde); }
.cars-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde);
  color: white;
  border: none;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.cars-search-btn:hover { background: var(--verde-hover); transform: translateY(-2px); }

.cars-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.car-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.car-card-top {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, var(--verde-claro), var(--crema-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-icon { font-size: 56px; line-height: 1; }
.car-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.car-class { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--text-dark); }
.car-example { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.car-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.car-spec { font-size: 12px; color: var(--text-med); background: var(--crema); padding: 4px 10px; border-radius: 100px; }
.car-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.car-price { display: flex; align-items: baseline; gap: 3px; flex-wrap: wrap; }
.car-price-from { font-size: 12px; color: var(--text-light); }
.car-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--verde-claro);
  color: var(--verde);
  border: none;
  padding: 9px 16px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.car-btn:hover { background: var(--verde); color: white; }

@media (max-width: 1024px) {
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cars-grid { grid-template-columns: 1fr; }
  .cars-hero { flex-direction: column; align-items: stretch; }
  .cars-search-btn { width: 100%; justify-content: center; }
}
