/* ============================================================
   ALTAMIRA ESTATES — sample luxury property agency site
   Theme: dark premium / navy and brass
   SAMPLE / PLACEHOLDER PROJECT · EulClavie web design demo
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:root {
  --navy: #101820;
  --panel: #161F29;
  --brass: #B9915A;
  --brass-l: #D9B67E;
  --cream: #F0EDE7;
  --muted: #8D97A1;
  --line: rgba(240,237,231,.13);
  --radius: 3px;
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1240px;
  --bar-h: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.66;
  font-weight: 300;
  color: var(--cream); background: var(--navy);
  padding-top: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brass); color: var(--navy); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -.01em;  }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-l); }
.lead { color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 2px;
  font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em; text-transform: uppercase; font-size: 12px; letter-spacing: .14em;
  background: var(--brass); color: #101820;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--brass-l); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--panel); }

/* ---------- sample warning bar ---------- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--brass); color: #101820;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(16,24,32,.62); }
@media (max-width: 720px) { .sample-bar { font-size: 8.5px; letter-spacing: .14em; } .sample-bar .dim { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 150;
  background: rgba(16,24,32,.62);
  -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.nav.is-solid { border-bottom-color: var(--line); background: rgba(16,24,32,.95); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s; text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.nav__links a:hover { color: var(--cream); }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--cream); transition: transform .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 14px; }
.nav__toggle i:nth-child(2) { top: 21px; }
body.menu-open .nav__toggle i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__toggle i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__toggle { display: block; } }
@media (max-width: 540px) { .nav__inner > .btn { display: none; } }

.menu {
  position: fixed; inset: calc(var(--bar-h) + 74px) 0 0 0; z-index: 140;
  background: var(--navy); padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.menu a { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 1.7rem; letter-spacing: -.01em; padding-block: 12px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(58px, 8vw, 116px); }
.sechead { max-width: 660px; }
.sechead h2 { margin-top: 12px; }
.sechead p { margin-top: 14px; color: var(--muted); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sechead--split p { max-width: 40ch; margin-top: 0; }

/* ---------- sample notice ---------- */
.notice {
  border: 1px solid var(--line); background: var(--panel);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 3vw, 36px);
}
.notice b { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-l); }
.notice p { font-size: 13.5px; color: var(--muted); max-width: 64ch; }
.notice p + p { margin-top: 8px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: transparent; color: var(--cream); border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 76px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 46px); }
.foot__brand p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 32ch; }
.foot h4 { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.foot li + li { margin-top: 8px; }
.foot li, .foot a { font-size: 14.5px; }
.foot a:hover { color: var(--brass-l); }
.foot__bottom { margin-top: clamp(32px, 4vw, 54px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) { .foot__top { grid-template-columns: repeat(2, 1fr); } .foot__brand { grid-column: 1 / -1; } }

/* ---------- reveal + page transition ---------- */
.rv { opacity: 0; transform: translateY(20px); }
.is-ready .rv { transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.page { opacity: 0; transition: opacity .4s ease; }
.page.is-visible { opacity: 1; }
.page.is-leaving { opacity: 0; transition-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .page { opacity: 1; }
}


.brand { font-family: "Playfair Display", serif; font-size: 24px; letter-spacing: .01em; }
.brand small { display: block; font-family: "Inter", sans-serif; font-size: 8.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }

/* hero */
.hero { position: relative; min-height: calc(100svh - var(--bar-h)); display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: drift 26s var(--ease) forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,.72) 0%, rgba(16,24,32,.3) 42%, rgba(16,24,32,.94) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(44px, 6vw, 84px); }
.hero h1 { margin-top: 18px; max-width: 16ch; }
.hero .lead { margin-top: 20px; max-width: 42ch; color: rgba(240,237,231,.72); }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { margin-top: clamp(34px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero__stats b { font-family: "Playfair Display", serif; font-size: clamp(1.4rem, 2.4vw, 2.1rem); display: block; }
.hero__stats span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* listings */
.listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); margin-top: clamp(32px, 4vw, 54px); }
.listing { border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; transition: border-color .5s var(--ease), transform .5s var(--ease); }
.listing:hover { border-color: rgba(185,145,90,.55); transform: translateY(-4px); }
.listing--wide { grid-column: 1 / -1; }
.listing__img { position: relative; overflow: hidden; }
.listing__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.listing--wide .listing__img img { aspect-ratio: 21 / 9; }
.listing:hover .listing__img img { transform: scale(1.04); }
.listing__tag { position: absolute; top: 14px; left: 14px; background: rgba(16,24,32,.82); border: 1px solid var(--line); padding: 6px 12px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.listing__body { padding: clamp(20px, 2.4vw, 30px); flex: 1; display: flex; flex-direction: column; }
.listing__price { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--brass-l); }
.listing h3 { margin-top: 8px; }
.listing__loc { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.listing__specs { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 24px; flex-wrap: wrap; }
.listing__specs span { font-size: 12.5px; color: var(--muted); }
.listing__specs b { color: var(--cream); font-weight: 500; }
@media (max-width: 860px) { .listings { grid-template-columns: 1fr; } .listing--wide .listing__img img { aspect-ratio: 3 / 2; } }

/* advisor */
.advisor { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.advisor img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.advisor__list { margin-top: 26px; }
.advisor__list li { padding-block: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.advisor__list li b { display: block; color: var(--cream); font-weight: 500; font-size: 16px; margin-bottom: 3px; }
@media (max-width: 860px) { .advisor { grid-template-columns: 1fr; } }

/* enquiry */
.enquiry { border: 1px solid var(--line); padding: clamp(26px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); }
.enquiry .field { margin-bottom: 16px; }
.enquiry label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); color: var(--cream); border-radius: 2px; font-size: 15px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--brass); }
.enquiry .btn { width: 100%; }
.enquiry__note { margin-top: 12px; font-size: 11.5px; color: var(--muted); text-align: center; }
.enquiry dl div { display: flex; justify-content: space-between; gap: 18px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.enquiry dt { color: var(--muted); }
@media (max-width: 860px) { .enquiry { grid-template-columns: 1fr; } }
