/* =================================================================
   AURÉA VILLAS — Dark Luxury / Architectural
   Palette : Espresso black · Antique gold · Cream
   Type    : Cormorant Garamond (display) + Jost (sans/utility)
   ================================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* colour */
  --ink:        #0F0D0B;   /* base espresso-black          */
  --ink-2:      #16120F;   /* section alternate            */
  --surface:    #1B1611;   /* raised cards                 */
  --surface-2:  #241D16;   /* inputs / deeper panels       */
  --gold:       #C2A15C;   /* antique gold accent          */
  --gold-soft:  #D9BE84;   /* lighter gold                 */
  --gold-deep:  #8A6F3B;   /* gold shadow                  */
  --cream:      #F0E9DC;   /* primary text                 */
  --muted:      #9C9284;   /* secondary text               */
  --muted-2:    #6E655A;   /* faint text                   */
  --line:       rgba(194,161,92,.20);
  --line-soft:  rgba(240,233,220,.08);

  /* type */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* metrics */
  --shell: 1240px;
  --gap: clamp(1rem, 2vw, 1.75rem);
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
select, input, textarea { font-family: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- 3. LAYOUT PRIMITIVES ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.ink-2 { background: var(--ink-2); }

/* eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow__tick { width: 28px; height: 1px; background: var(--gold); display: inline-block; }

/* section titles */
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: .5px;
  color: var(--cream);
}
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__note { color: var(--muted); max-width: 34ch; font-size: .95rem; }
.section__head--center .section__note { margin-inline: auto; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: var(--radius);
  transition: all .4s var(--ease); position: relative; white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(194,161,92,.6); }
.btn--line { border: 1px solid var(--line); color: var(--cream); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--ghost { border: 1px solid var(--line); color: var(--cream); padding: .7rem 1.4rem; }
.btn--ghost:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- 5. NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding-block: 1.4rem;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(15,13,11,.86);
  backdrop-filter: blur(14px);
  padding-block: .85rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__mark { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: 1px; color: var(--cream); }
.brand__sub { font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: .82rem; letter-spacing: .1em; color: var(--muted);
  position: relative; padding-bottom: 3px; transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--cream); transition: .3s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,13,11,.92) 0%, rgba(15,13,11,.6) 45%, rgba(15,13,11,.2) 100%),
              linear-gradient(0deg, var(--ink) 2%, transparent 40%);
}
.hero__content { padding-top: 8rem; max-width: 760px; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1.02;
  letter-spacing: .5px; margin: 1rem 0 1.4rem; color: var(--cream);
}
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 52ch; margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); }
.hero__scroll span {
  width: 22px; height: 38px; border: 1px solid var(--line); border-radius: 12px;
  display: block; position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px;
  background: var(--gold); border-radius: 2px; transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0%,100% { opacity: 0; transform: translate(-50%,0); } 50% { opacity: 1; transform: translate(-50%,10px); } }

/* ---------- 7. SEARCH ---------- */
.search { margin-top: -3.5rem; position: relative; z-index: 5; }
.search__bar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 1.2rem; align-items: end;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.search__field { display: flex; flex-direction: column; gap: .5rem; }
.search__field label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.search__field select {
  background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--cream);
  padding: .8rem .9rem; border-radius: var(--radius); font-size: .9rem; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C2A15C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.search__field select:focus { outline: none; border-color: var(--gold); }
.search__submit { height: 46px; }

/* ---------- 8. STATS ---------- */
.stats { padding-block: clamp(3.5rem, 6vw, 5rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.stat { background: var(--ink); padding: 2.2rem 1.5rem; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--gold); line-height: 1; }
.stat__suffix { color: var(--gold); }
.stat__label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; }

/* ---------- 9. ABOUT ---------- */
.about { background: var(--ink-2); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold); color: var(--ink); width: 118px; height: 118px;
  border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -18px rgba(194,161,92,.7);
}
.about__badge-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.about__badge-label { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; margin-top: 3px; }
.about__text { color: var(--muted); margin-bottom: 1.6rem; font-size: 1.02rem; }
.about__points { display: grid; gap: .8rem; margin-bottom: 2rem; }
.about__points li { display: flex; gap: .8rem; align-items: flex-start; color: var(--cream); font-size: .95rem; }
.about__points li::before { content: "\2014"; color: var(--gold); }

/* ---------- 10. COLLECTION / PROPERTY CARDS ---------- */
.collection__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: 0 30px 60px -34px rgba(0,0,0,.9); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__index {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--serif); font-size: .9rem; letter-spacing: .1em;
  color: var(--cream); background: rgba(15,13,11,.6); backdrop-filter: blur(4px);
  padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 2px;
}
.card__status {
  position: absolute; top: 1rem; right: 1rem;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 2px; font-weight: 500;
  background: var(--gold); color: var(--ink);
}
.card__status--sold { background: #3a2f26; color: var(--muted); }
.card__status--rent { background: var(--cream); color: var(--ink); }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.card__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--cream); line-height: 1.15; }
.card__loc { font-size: .82rem; letter-spacing: .05em; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.card__loc::before { content: ""; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.card__price { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); margin-top: -.2rem; }
.card__specs {
  display: flex; flex-wrap: wrap; gap: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--line-soft); margin-top: auto;
  font-size: .78rem; color: var(--muted);
}
.card__specs span { display: inline-flex; align-items: center; gap: .35rem; }
.card__specs span b { color: var(--cream); font-weight: 500; }
.card__btn {
  margin-top: 1.1rem; width: 100%; text-align: center;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft);
  padding: .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  transition: all .35s var(--ease);
}
.card__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- 11. WHY ---------- */
.why { background: var(--ink-2); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.why__item { background: var(--ink-2); padding: 2.6rem 2rem; transition: background .4s var(--ease); }
.why__item:hover { background: var(--surface); }
.why__ico { width: 46px; height: 46px; color: var(--gold); margin-bottom: 1.3rem; }
.why__ico svg { width: 100%; height: 100%; }
.why__t { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: .6rem; }
.why__d { color: var(--muted); font-size: .92rem; }

/* ---------- 12. SERVICES ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc {
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 2.2rem 2rem;
  position: relative; overflow: hidden; transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.svc:hover { border-color: var(--line); transform: translateY(-6px); }
.svc__num { font-family: var(--serif); font-size: .95rem; color: var(--gold-deep); letter-spacing: .1em; }
.svc__ico { width: 40px; height: 40px; color: var(--gold); margin: 1rem 0 1.2rem; }
.svc__ico svg { width: 100%; height: 100%; }
.svc__t { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: .6rem; }
.svc__d { color: var(--muted); font-size: .92rem; }
.svc::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.svc:hover::after { transform: scaleX(1); }

/* ---------- 13. PROJECTS ---------- */
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover img { transform: scale(1.07); }
.proj__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,13,11,.92), transparent 55%); }
.proj__body { position: absolute; inset: auto 0 0 0; padding: 1.8rem; }
.proj__tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.proj__t { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: .4rem 0; }
.proj__meta { font-size: .82rem; color: var(--muted); }

/* ---------- 14. AGENTS ---------- */
.agents__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.agent { text-align: center; }
.agent__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 1.2rem; }
.agent__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: filter .5s var(--ease), transform .8s var(--ease); }
.agent:hover .agent__media img { filter: grayscale(0); transform: scale(1.05); }
.agent__contact {
  position: absolute; inset: auto 0 0 0; padding: 1rem;
  background: linear-gradient(0deg, rgba(15,13,11,.9), transparent);
  display: flex; gap: 1rem; justify-content: center; opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.agent:hover .agent__contact { opacity: 1; transform: translateY(0); }
.agent__contact a { color: var(--gold-soft); font-size: .78rem; letter-spacing: .05em; }
.agent__contact a:hover { color: var(--cream); }
.agent__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.agent__role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: .3rem 0; }
.agent__exp { font-size: .84rem; color: var(--muted); }

/* ---------- 15. TESTIMONIALS ---------- */
.quotes { background: var(--ink-2); }
.quotes__stage { display: flex; align-items: center; gap: 1.2rem; max-width: 900px; margin-inline: auto; }
.quotes__track { overflow: hidden; flex: 1; }
.quote {
  text-align: center; padding: 1rem;
  transition: opacity .5s var(--ease); display: none;
}
.quote.is-active { display: block; animation: fadeQuote .6s var(--ease); }
@keyframes fadeQuote { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.quote__mark { font-family: var(--serif); font-size: 4rem; color: var(--gold-deep); line-height: .5; }
.quote__text { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-style: italic; line-height: 1.45; color: var(--cream); margin: 1.2rem 0 1.6rem; }
.quote__author { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.quote__who { text-align: left; }
.quote__name { font-weight: 500; color: var(--cream); }
.quote__role { font-size: .78rem; color: var(--muted); }
.quotes__nav {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  color: var(--gold); font-size: 1.1rem; flex-shrink: 0; transition: all .3s var(--ease);
}
.quotes__nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.quotes__dots { display: flex; gap: .6rem; justify-content: center; margin-top: 2rem; }
.quotes__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); transition: all .3s var(--ease); }
.quotes__dots button.is-active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ---------- 16. GALLERY ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.gallery__item { overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: rgba(15,13,11,.25); opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* ---------- 17. FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__note { color: var(--muted); margin-top: 1.2rem; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--cream);
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--gold-soft); }
.faq__sign { color: var(--gold); font-size: 1.5rem; transition: transform .4s var(--ease); flex-shrink: 0; }
.faq__item.is-open .faq__sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { padding-bottom: 1.5rem; color: var(--muted); font-size: .95rem; max-width: 60ch; }

/* ---------- 18. CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-bottom: 3rem; }
.contact__lead { color: var(--muted); margin-bottom: 2rem; max-width: 42ch; }
.contact__list { display: grid; gap: 1.2rem; margin-bottom: 2.5rem; }
.contact__list li { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; align-items: baseline; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-soft); }
.contact__k { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.contact__v { color: var(--cream); font-size: 1rem; transition: color .3s var(--ease); }
a.contact__v:hover { color: var(--gold-soft); }
.hours { margin-bottom: 2rem; }
.hours__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 1rem; }
.hours__list { display: grid; gap: .6rem; }
.hours__list li { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); padding-bottom: .6rem; border-bottom: 1px dashed var(--line-soft); }
.hours__list li span:last-child { color: var(--cream); }
.social { display: flex; gap: .8rem; }
.social a {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted);
  transition: all .3s var(--ease);
}
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }

/* contact form panel */
.contact__panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); }
.cform { display: grid; gap: 1.2rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cform__field { display: flex; flex-direction: column; gap: .5rem; }
.cform__field label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.cform__field input, .cform__field select, .cform__field textarea {
  background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--cream);
  padding: .85rem 1rem; border-radius: var(--radius); font-size: .92rem; transition: border-color .3s var(--ease);
}
.cform__field input::placeholder, .cform__field textarea::placeholder { color: var(--muted-2); }
.cform__field input:focus, .cform__field select:focus, .cform__field textarea:focus { outline: none; border-color: var(--gold); }
.cform__field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C2A15C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.cform__field textarea { resize: vertical; }
.cform__submit { margin-top: .4rem; }
.cform__status { font-size: .86rem; min-height: 1.2em; }
.cform__status.is-ok { color: var(--gold-soft); }
.cform__status.is-err { color: #d98b6a; }

/* map placeholder */
.map {
  height: 360px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background:
    linear-gradient(rgba(194,161,92,.05), rgba(194,161,92,.05)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--line-soft) 39px, var(--line-soft) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--line-soft) 39px, var(--line-soft) 40px),
    var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; position: relative;
}
.map__pin { width: 18px; height: 18px; background: var(--gold); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 8px rgba(194,161,92,.15); }
.map__label { font-size: .8rem; letter-spacing: .1em; color: var(--muted); }

/* ---------- 19. FOOTER ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--line-soft); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand .brand__mark { font-size: 2rem; }
.footer__blurb { color: var(--muted); font-size: .92rem; margin: 1.2rem 0 1.6rem; max-width: 40ch; }
.footer__col h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; }
.footer__col a, .footer__col span { display: block; color: var(--muted); font-size: .9rem; margin-bottom: .8rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__base { border-top: 1px solid var(--line-soft); padding-block: 1.6rem; }
.footer__base-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__base p { font-size: .8rem; color: var(--muted-2); }

/* ---------- 20. WHATSAPP FLOAT ---------- */
.wa {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1f9d55; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -12px rgba(31,157,85,.8); transition: transform .3s var(--ease);
}
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1f9d55; z-index: -1; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.wa:hover { transform: scale(1.08); }

/* ---------- 21. MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(6,5,4,.82); backdrop-filter: blur(4px); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative; max-width: 1040px; width: 92%; max-height: 90vh; overflow-y: auto;
  margin: 5vh auto; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); animation: modalUp .45s var(--ease);
}
@keyframes modalUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(15,13,11,.7);
  color: var(--cream); font-size: 1.6rem; line-height: 1; border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.modal__close:hover { background: var(--gold); color: var(--ink); }
.modal__body { display: grid; grid-template-columns: 1.15fr 1fr; }
.mdl-gallery { position: relative; background: var(--surface); }
.mdl-gallery__main { aspect-ratio: 4/3; overflow: hidden; }
.mdl-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.mdl-gallery__thumbs { display: flex; gap: .5rem; padding: .8rem; flex-wrap: wrap; }
.mdl-gallery__thumbs img { width: 70px; height: 52px; object-fit: cover; border-radius: 3px; cursor: pointer; opacity: .55; border: 1px solid transparent; transition: all .3s var(--ease); }
.mdl-gallery__thumbs img.is-active, .mdl-gallery__thumbs img:hover { opacity: 1; border-color: var(--gold); }
.mdl-info { padding: clamp(1.6rem, 3vw, 2.6rem); }
.mdl-info__status { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: .3rem .7rem; border-radius: 2px; display: inline-block; margin-bottom: 1rem; }
.mdl-info__name { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.1; }
.mdl-info__loc { color: var(--muted); font-size: .9rem; margin: .5rem 0 1rem; }
.mdl-info__price { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); margin-bottom: 1.4rem; }
.mdl-info__desc { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.mdl-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.6rem; }
.mdl-specs div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: .8rem 1rem; }
.mdl-specs .k { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mdl-specs .v { color: var(--cream); font-size: .95rem; margin-top: .2rem; }
.mdl-feat { margin-bottom: 1.6rem; }
.mdl-feat h4, .mdl-plan h4 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.mdl-feat ul { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mdl-feat li { font-size: .88rem; color: var(--cream); display: flex; gap: .5rem; align-items: center; }
.mdl-feat li::before { content: ""; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.mdl-plan { margin-bottom: 1.6rem; }
.mdl-plan__box { height: 150px; border: 1px dashed var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .82rem; letter-spacing: .1em; background: var(--surface); }

/* ---------- 22. REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- 23. LOADER ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; transition: opacity .6s var(--ease), visibility .6s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { font-family: var(--serif); font-size: 2.4rem; letter-spacing: 3px; color: var(--cream); }
.loader__line { width: 140px; height: 1px; background: var(--line-soft); position: relative; overflow: hidden; }
.loader__line::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--gold); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { left: -40%; } to { left: 100%; } }

/* =================================================================
   24. RESPONSIVE
   ================================================================= */
@media (max-width: 1080px) {
  .collection__grid, .services__grid, .projects__grid, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .agents__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .search__bar { grid-template-columns: repeat(2, 1fr); }
  .search__submit { grid-column: span 2; }
}

@media (max-width: 820px) {
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--ink-2); border-left: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 6rem 2rem 2rem;
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; width: 100%; }

  .about__grid, .contact__grid, .faq__wrap { grid-template-columns: 1fr; }
  .about__badge { right: 1rem; bottom: 1rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .modal__body { grid-template-columns: 1fr; }
  .modal__panel { width: 94%; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .hero__content { padding-top: 7rem; }
}

@media (max-width: 560px) {
  .collection__grid, .services__grid, .projects__grid, .why__grid, .agents__grid, .footer__grid { grid-template-columns: 1fr; }
  .search__bar { grid-template-columns: 1fr; }
  .search__submit { grid-column: auto; }
  .cform__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .mdl-specs, .mdl-feat ul { grid-template-columns: 1fr; }
  .footer__base-inner { flex-direction: column; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .contact__list li { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- 25. A11Y / MOTION ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__img { animation: none; }
}
