/* =========================================================
   Golden Gables — Property Management
   Design language inspired by modusprojects.nl
   Premium, minimal, warm-neutral with gold accent
   ========================================================= */

:root {
  /* Palette */
  --cream:      #F6F2EA;
  --cream-2:    #EFE9DD;
  --paper:      #FFFFFF;
  --ink:        #1A1815;
  --ink-soft:   #57514A;
  --ink-mute:   #8A837A;
  --taupe:      #E7DFD2;
  --line:       #E2DACC;
  --gold:       #A9843F;
  --gold-deep:  #8A6B31;
  --gold-soft:  #C9A96A;

  /* Type */
  --f-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 140px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0 0 1em; }

/* ---------- Utilities ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow {
  font-family: var(--f-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.lead { font-size: clamp(19px, 2.2vw, 23px); color: var(--ink-soft); line-height: 1.5; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--gold { --bg: var(--gold); --fg: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 800; letter-spacing: -0.01em; font-size: 20px; }
.brand__mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold); border-radius: 50%;
  color: var(--gold-deep); font-size: 15px;
}
.brand small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 1px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-family: var(--f-head); font-weight: 600; font-size: 15.5px; color: var(--ink); position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__toggle { display: none; }

/* Mobile nav */
.nav__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 50%; cursor: pointer; position: relative;
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px;
  background: var(--ink); transform: translate(-50%, -50%); transition: .3s var(--ease);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(30px, 5vw, 60px); }
.hero__inner { display: grid; gap: clamp(28px, 4vw, 56px); }
.hero__title {
  font-size: clamp(42px, 8.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero__title em { font-style: normal; color: var(--gold-deep); }
.hero__meta { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: end; }
.hero__desc { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media {
  margin-top: clamp(24px, 4vw, 48px);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px;
  height: clamp(320px, 46vw, 560px);
}
.hero__media .ph { border-radius: var(--radius); }
.hero__media .stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

/* Image placeholder component (swap for real photos later) */
.ph {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gold-soft) 22%, var(--cream)) 0%, var(--cream-2) 55%, var(--taupe) 100%);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--f-head); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 40%, transparent);
  padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 40%, transparent);
}
.ph--tall { min-height: 100%; }

/* Real photo applied via JS (label -> image map) */
.ph.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.ph.has-img::after { display: none; }

/* =========================================================
   Marquee gallery (horizontal scroll strip)
   ========================================================= */
.strip { padding-block: clamp(10px, 2vw, 24px) var(--section-y); }
.strip__scroller {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.strip__scroller .ph { flex: 0 0 clamp(240px, 32vw, 380px); height: clamp(200px, 26vw, 300px); scroll-snap-align: start; border-radius: var(--radius); }
.strip__hint { display: flex; align-items: center; gap: 8px; color: var(--ink-mute); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 14px var(--gutter) 0; }

/* =========================================================
   Section heading block
   ========================================================= */
.head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head__title { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -0.03em; max-width: 16ch; }
.head__aside { max-width: 42ch; }

/* =========================================================
   Services — accordion cards
   ========================================================= */
.services { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__row {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: clamp(24px, 3vw, 40px) 0;
  font-family: var(--f-head);
}
.svc__num { font-size: 14px; font-weight: 700; color: var(--gold-deep); letter-spacing: 0.1em; }
.svc__name { font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); transition: color .3s var(--ease); }
.svc__row:hover .svc__name { color: var(--gold-deep); }
.svc__icon { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; position: relative; flex: none; transition: .3s var(--ease); }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; background: var(--ink); transition: .3s var(--ease); }
.svc__icon::before { width: 14px; height: 1.6px; }
.svc__icon::after { width: 1.6px; height: 14px; }
.svc[aria-expanded="true"] .svc__icon { background: var(--ink); border-color: var(--ink); }
.svc[aria-expanded="true"] .svc__icon::before, .svc[aria-expanded="true"] .svc__icon::after { background: var(--cream); }
.svc[aria-expanded="true"] .svc__icon::after { height: 0; }
.svc__panel { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.svc__panel-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 3.5vw, 48px); align-items: center;
}
.svc__panel .ph { height: clamp(220px, 26vw, 300px); border-radius: var(--radius); }
.svc__body p { color: var(--ink-soft); max-width: 44ch; }
.svc__list { display: grid; gap: 10px; margin: 18px 0 24px; }
.svc__list li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-soft); font-size: 15.5px; }
.svc__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(6px); }

/* =========================================================
   Principles (three columns)
   ========================================================= */
.principles { background: var(--ink); color: var(--cream); }
.principles .eyebrow { color: var(--gold-soft); }
.principles .head__title { color: var(--cream); }
.principles .head__aside { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: color-mix(in srgb, var(--cream) 14%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--ink); padding: clamp(28px, 3.4vw, 44px); }
.pillar__k { font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 22px; }
.pillar h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.pillar p { color: color-mix(in srgb, var(--cream) 68%, transparent); font-size: 15.5px; margin: 0; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: clamp(36px, 4vw, 56px); }
.stat__n { font-family: var(--f-head); font-weight: 800; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1; }
.stat__n span { color: var(--gold-deep); }
.stat__l { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

/* =========================================================
   Portfolio / properties grid
   ========================================================= */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.pcard { display: block; }
.pcard .ph { height: clamp(240px, 28vw, 340px); border-radius: var(--radius); margin-bottom: 16px; transition: transform .5s var(--ease); }
.pcard:hover .ph { transform: translateY(-6px); }
.pcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard__name { font-family: var(--f-head); font-weight: 700; font-size: 18px; }
.pcard__tag { font-size: 13px; color: var(--gold-deep); letter-spacing: 0.08em; text-transform: uppercase; }
.pcard__loc { color: var(--ink-mute); font-size: 14px; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; }
.cta-band__title { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -0.03em; max-width: 18ch; }

/* =========================================================
   Steps (how it works)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step__n { font-family: var(--f-head); font-weight: 800; font-size: 15px; color: var(--gold-deep); letter-spacing: 0.1em; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select {
  font-family: var(--f-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-info li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .k { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.contact-info .v { font-size: 17px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(56px, 7vw, 96px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 48px; border-bottom: 1px solid color-mix(in srgb, var(--cream) 16%, transparent); }
.site-footer .brand { color: var(--cream); }
.site-footer .brand__mark { border-color: var(--gold-soft); color: var(--gold-soft); }
.footer-col h4 { font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: color-mix(in srgb, var(--cream) 72%, transparent); font-size: 15px; margin-bottom: 12px; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-about p { max-width: 34ch; color: color-mix(in srgb, var(--cream) 70%, transparent); margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; color: color-mix(in srgb, var(--cream) 55%, transparent); font-size: 13.5px; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .hero__meta, .head, .cta-band__inner, .contact-grid,
  .svc__panel-inner, .hero__media { grid-template-columns: 1fr; }
  .hero__media { height: auto; }
  .hero__media .stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .hero__media .ph { height: clamp(200px, 44vw, 300px); }
  .pillars { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav.is-open .nav__links {
    display: flex; position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--cream); border-bottom: 1px solid var(--line); padding: 20px var(--gutter) 30px;
  }
  .nav.is-open .nav__links a { font-size: 22px; padding: 12px 0; width: 100%; }
  .nav.is-open .nav__burger span { background: transparent; }
  .nav.is-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
  .nav.is-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }
}
@media (max-width: 560px) {
  .stats, .steps, .grid-cards, .footer-top { grid-template-columns: 1fr; }
  .hero__media .stack { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
