:root {
  --cream: #f7f1e6;
  --paper: #fffaf2;
  --ink: #2a2218;
  --muted: #6b5e4e;
  --terra: #c45c26;
  --terra-dark: #9a3f14;
  --olive: #5c6b4a;
  --teal: #3d6b66;
  --line: #e4d8c4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
h1,h2,h3,.serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
a { color: var(--terra-dark); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,241,230,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.logo { font-family: "Cormorant Garamond", serif; font-size: 1.45rem; color: var(--ink); text-decoration: none; letter-spacing: .04em; }
nav.main { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
nav.main a {
  text-decoration: none; color: var(--muted); font-size: .92rem;
}
nav.main a.active, nav.main a:hover { color: var(--terra-dark); }

.hero {
  position: relative; min-height: 68vh;
  background: #2a2218 center/cover no-repeat;
  display: grid; place-items: end start;
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,8,.15), rgba(20,14,8,.62));
}
.hero .wrap { position: relative; z-index: 1; padding: 4rem 0 3rem; }
.hero .kicker { letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; opacity: .85; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); margin: .3rem 0 .6rem; line-height: 1.05; }

.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--terra); margin: 0 0 .4rem; }
section { padding: 3.2rem 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.card img { height: 200px; width: 100%; object-fit: cover; }
.card .pad { padding: 1rem 1.05rem 1.15rem; }
.card h3 { margin: .15rem 0 .35rem; font-size: 1.45rem; }
.badge {
  display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: #efe3d2; color: var(--terra-dark); padding: .15rem .45rem; border-radius: 999px;
}
.badge.rent { background: #dce8e4; color: var(--teal); }
.badge.obra { background: #efe8c9; color: #7a5b12; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.gallery figure { margin: 0; background: var(--paper); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery figcaption { font-size: .82rem; color: var(--muted); padding: .45rem .6rem .65rem; }

.person { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }
.person img { width: 220px; height: 220px; object-fit: cover; border-radius: 16px; }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; } }

.meta { color: var(--muted); }
.price { font-size: 1.5rem; font-family: "Cormorant Garamond", serif; color: var(--terra-dark); }

form.contact { display: grid; gap: .7rem; max-width: 420px; }
form.contact input, form.contact textarea {
  font: inherit; padding: .65rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
form.contact button {
  background: var(--terra); color: #fff; border: 0; padding: .75rem 1rem; border-radius: 8px; font: inherit; cursor: pointer;
}
form.contact button:hover { background: var(--terra-dark); }

footer.site { border-top: 1px solid var(--line); padding: 2rem 0 2.6rem; color: var(--muted); font-size: .92rem; }
footer.site a { color: var(--ink); }
.ok { background: #e7f3ea; border: 1px solid #b7d8bf; padding: .7rem 1rem; border-radius: 8px; }
.warn { background: #f7eadc; border: 1px solid #e2c8a6; padding: .7rem 1rem; border-radius: 8px; }
nav.main .langs { margin-left: .6rem; }
nav.main .langs a { font-size: .8rem; letter-spacing: .06em; }
