/* ============================================================
   Unit 612 · Paseo Pitahaya, Zibatá — for sale & short stay
   Warm editorial palette, grounded in the unit's own interior
   colors (the rust/terracotta accent is sampled from the actual
   living-room pillows and accent wall in the real photos).
   ============================================================ */

:root {
  --cream: #EFEAE1;
  --paper: #F8F5EF;
  --white: #FFFFFF;
  --ink: #1C1A17;
  --ink-soft: #37332C;
  --muted: #746C5F;
  --border: #DDD3C0;
  --rust: #B5502E;
  --rust-deep: #8F3E22;
  --rust-tint: rgba(181, 80, 46, 0.10);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Karla', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
  color: var(--ink);
}
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-deep); }
.btn-cream { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-cream:hover { background: var(--white); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }
.btn-outline.on-light { border-color: var(--border); color: var(--ink); }
.btn-outline.on-light:hover { border-color: var(--ink); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 234, 225, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand .name { font-family: 'Newsreader', serif; font-size: 19px; color: var(--ink); }
.brand .loc { font-family: 'Karla', sans-serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; font-family: 'Karla', sans-serif; font-size: 13.5px; font-weight: 600; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 74px 0 0 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; padding: 26px 32px; gap: 18px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .15s, transform .15s;
    border-top: 1px solid var(--border);
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,13,0.88) 0%, rgba(20,17,13,0.55) 42%, rgba(20,17,13,0.18) 68%, rgba(20,17,13,0.35) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 64px; }
.hero .eyebrow { color: #E7B79A; }
.hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 54px); max-width: 18ch; font-weight: 500; }
.hero .lede { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 54ch; margin-bottom: 32px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-bottom: 1px solid var(--border); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--cream); border-bottom: none; }
.section-dark .eyebrow { color: #E7B79A; }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(239,234,225,0.75); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head .lede { font-size: 16.5px; color: var(--muted); }

/* ---------- Price / spec tiles ---------- */
.price-block { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.price-amt { font-family: 'Newsreader', serif; font-size: clamp(40px, 6vw, 64px); color: var(--ink); }
.price-note { font-family: 'Karla', sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--border); margin: 32px 0; background: var(--white); }
@media (max-width: 760px) { .spec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.spec { padding: 26px 22px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spec:nth-child(4n) { border-right: none; }
.spec:nth-last-child(-n+4) { border-bottom: none; }
@media (max-width: 760px) {
  .spec:nth-child(2n) { border-right: none; }
  .spec:nth-child(4n) { border-right: 1px solid var(--border); }
  .spec:nth-last-child(-n+2) { border-bottom: none; }
}
.spec .num { font-family: 'Newsreader', serif; font-size: 30px; color: var(--ink); line-height: 1; }
.spec .lbl { font-family: 'Karla', sans-serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

.feature-photo { display: block; border: 1px solid var(--border); overflow: hidden; }
.feature-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.listed-on { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 24px; font-size: 13.5px; }
.listed-on a { text-decoration: underline; text-decoration-color: var(--border); color: var(--muted); }
.listed-on a:hover { color: var(--rust); text-decoration-color: var(--rust); }

/* ---------- Amenity checklists ---------- */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 760px) { .check-grid { grid-template-columns: 1fr; gap: 32px; } }
.check-grid h3 { font-size: 20px; margin-bottom: 18px; }
.check-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.check-list li:last-child { border-bottom: none; }
.check-list .mark { color: var(--rust); flex-shrink: 0; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery a { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* ---------- Working callout ---------- */
.callout { background: var(--ink); color: var(--cream); border-radius: 8px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.callout h3 { color: var(--white); font-size: 26px; max-width: 20ch; margin-bottom: 12px; }
.callout p { color: rgba(239,234,225,0.75); max-width: 44ch; margin: 0; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--border); padding: 32px; }
.contact-card .eyebrow { margin-bottom: 10px; }
.contact-card h3 { font-size: 22px; margin-bottom: 14px; }
.contact-card .btn-row { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(239,234,225,0.6); padding: 48px 0 28px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: 'Karla', sans-serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(239,234,225,0.4); margin-bottom: 12px; }
.footer-col a, .footer-col div { display: block; color: rgba(239,234,225,0.8); text-decoration: none; margin-bottom: 6px; }
.footer-col a:hover { color: #E7B79A; }
.footer-bottom { padding-top: 20px; font-size: 12.5px; max-width: 640px; }

[hidden] { display: none !important; }
