:root {
  --navy: #1F3A5F;
  --navy-light: #2d4f7a;
  --sage: #6E8B6B;
  --sage-dark: #5a7458;
  --cream: #FAFAF8;
  --ink: #1F3A5F;
  --muted: #6b7a8f;
  --border: #e4e7ec;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, .brand { font-family: 'Plus Jakarta Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header — estilo Airbnb: blanco, minimal, sticky */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--navy); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand span { color: var(--sage); }
header .actions { display: flex; align-items: center; gap: 18px; }
header .actions button {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--ink); padding: 8px 10px; border-radius: 8px;
}
header .actions button:hover { background: var(--cream); }
header .actions a.cta {
  background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 8px;
}

/* Título / info bajo la galería — estilo Airbnb, texto normal sobre blanco */
.title-block { padding: 24px 0 8px; }
.title-block .location {
  display: inline-block;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.title-block h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  max-width: 720px;
}
.title-block .sub { font-size: 16px; color: var(--muted); max-width: 640px; margin-bottom: 16px; }
.stats-row { display: flex; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.stat { color: var(--ink); }
.stat b { font-size: 18px; display: block; }
.stat span { font-size: 13px; color: var(--muted); }

/* Gallery — estilo Airbnb: 1 foto grande + grid 2x2 a la derecha */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 430px;
  gap: 8px;
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gallery a:first-child { grid-row: span 2; overflow: hidden; }
.gallery a:first-child img { object-position: center 30%; }
.gallery-more {
  position: relative;
}
.gallery-more .count {
  position: absolute; inset: 0;
  background: rgba(31,58,95,0.55);
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* Main layout */
main { padding: 56px 0 80px; }
.layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
section { margin-bottom: 44px; }
h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
p { color: #3d4b5e; }

.rating-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.rating-row b { color: var(--ink); }
.rating-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; list-style: none; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #3d4b5e; }
.highlights .icon { font-size: 18px; line-height: 1; flex-shrink: 0; }

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 14px;
}
.info-card h3 { font-size: 15px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--muted); }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: rgba(110,139,107,0.12); color: var(--sage-dark);
  padding: 3px 10px; border-radius: 6px; margin-bottom: 8px;
}

.rate-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rate-compare .info-card h3 { display: flex; justify-content: space-between; align-items: center; }
.rate-compare .price { color: var(--navy); font-weight: 700; }

/* Booking widget panel */
.booking-panel {
  position: sticky; top: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(31,58,95,0.08);
}
.booking-panel h3 { font-size: 16px; margin-bottom: 4px; }
.booking-panel .note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 32px 0;
  font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a.mail { color: var(--sage); font-weight: 600; }

/* Home (listado de las 5 propiedades) */
.home-hero { padding: 48px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.home-hero h1 { font-size: 34px; margin-bottom: 10px; }
.home-hero p { font-size: 17px; color: var(--muted); max-width: 620px; }
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; padding-bottom: 60px; }
.property-card { display: block; }
.property-card .thumb { width: 100%; height: 220px; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.property-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.property-card:hover .thumb img { transform: scale(1.04); }
.property-card .loc { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 4px; }
.property-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.property-card .meta { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery a:first-child { grid-column: span 2; grid-row: auto; height: 260px; }
  .gallery a:not(:first-child) { height: 140px; }
  .title-block h1 { font-size: 24px; }
  header .actions button span.label { display: none; }
  .highlights { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
}
