/* ============================================================
   MAYFAIR PLACE — Design System  (Libre Baskerville / Raleway / Gold)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  /* Warm cream/linen palette, reconciled with the live site & Brand Pack */
  --cream:          #F9F7F2;   /* page background (warm cream) */
  --taupe:          #EFE9DC;   /* warm section background (linen) */
  --taupe-deep:     #E5DCC9;   /* villa-page background */
  --brown-dark:     #1A1A1A;   /* dark feature section (near-black) */
  --footer:         #1A1A1A;   /* footer */
  --terracotta:     #B79A6E;   /* primary accent — Gold */
  --terracotta-dk:  #9C8056;   /* accent hover — Gold, darker */
  --ink:            #3D3A36;   /* headings (near-black) */
  --text:           #6B6B6B;   /* body copy (mid grey) */
  --text-light:     rgba(249,247,242,0.82);
  --star:           #B79A6E;
  --line:           rgba(26,26,26,0.14);

  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body:    'Raleway', system-ui, sans-serif;

  --max:   1240px;
  --pad:   120px;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; scroll-behavior:smooth; }
body {
  background:var(--cream);
  color:var(--text);
  font-family:var(--font-body);
  font-weight:300;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }

/* ---------- Typography ---------- */
.t-eyebrow {
  font-family:var(--font-body);
  font-size:11px; font-weight:400;
  letter-spacing:0.28em; text-transform:uppercase;
  color:var(--terracotta);
}
.display {
  font-family:var(--font-display);
  font-weight:700; color:var(--ink);
  line-height:1.04; letter-spacing:-0.005em;
}
.h-hero  { font-size:clamp(20px,2.4vw,34px); font-weight:400; }
.h-1     { font-size:clamp(17px,1.8vw,26px); font-weight:400; }
.h-2     { font-size:clamp(15px,1.5vw,22px); font-weight:400; }
.h-3     { font-size:clamp(14px,1.3vw,18px); font-weight:400; }

.lead {
  font-size:clamp(15px,1.29vw,19px);
  line-height:1.75; color:var(--text); font-weight:300;
}
.body { font-size:16px; line-height:1.8; color:var(--text); font-weight:300; }

.tagline-italic {
  font-family:var(--font-display);
  font-style:italic; font-weight:400;
  color:var(--terracotta);
  font-size:clamp(17px,1.55vw,20px);
}

/* ---------- Layout ---------- */
.container { max-width:var(--max); margin:0 auto; padding:0 48px; }
.section   { padding:var(--pad) 0; }
.bg-cream    { background:var(--cream); }
.bg-taupe    { background:var(--taupe); }
.bg-taupe-deep { background:var(--taupe-deep); }
.bg-brown    { background:var(--brown-dark); }
.center      { text-align:center; }

/* ---------- Buttons ---------- */
.btn {
  display:inline-flex; align-items:center; gap:12px;
  font-family:var(--font-body);
  font-size:14px; font-weight:400; letter-spacing:0.04em;
  padding:18px 38px;
  border:1px solid transparent;
  cursor:pointer; transition:background .25s, color .25s, border-color .25s;
}
.btn .arrow { font-size:16px; transition:transform .25s; }
.btn:hover .arrow { transform:translateX(4px); }

.btn--solid { background:var(--terracotta); color:#fff; }
.btn--solid:hover { background:var(--terracotta-dk); }

.btn--ghost { background:transparent; color:#fff; border-color:rgba(255,255,255,0.55); }
.btn--ghost:hover { background:#fff; color:var(--ink); }

.btn--ink { background:transparent; color:var(--ink); border-color:var(--ink); }
.btn--ink-gold { background:transparent; color:var(--gold); border-color:var(--gold); }
.btn--ink-gold:hover { background:var(--ink); color:var(--cream); border-color:var(--ink); }
.btn--ink:hover { background:var(--ink); color:var(--cream); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 16px 36px;
  background: rgba(249,247,242,0.92);
  backdrop-filter: saturate(120%) blur(6px);
  transition: padding .35s, box-shadow .35s, background .35s;
}
.nav--scrolled { padding: 10px 36px; box-shadow: 0 1px 0 var(--line); }

.nav__logo {
  display: flex; align-items: center;
  flex-shrink: 0; text-decoration: none;
  height: 100%;
}
.nav__logo-img {
  height: 62px; width: auto; display: block;
  position: relative; top: 0;
  filter: opacity(0.65) sepia(0.3);
}
.nav__logo span { display: block; }

.nav__links {
  display: flex; align-items: center; gap: 30px;
  list-style: none; line-height: 1;
  margin: 0 0 0 auto; padding: 0;
}
.nav__links li { display: flex; line-height: 1; }
.nav__links a {
  font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(26,26,26,0.62);
  transition: color .2s; white-space: nowrap;
  line-height: 1; display: inline-block;
}
.nav__links a:hover { color: var(--ink); }

.nav__right {
  display: flex; align-items: center;
  flex-shrink: 0;
  margin-left: 30px;
}
.nav__reserve {
  position: relative;
  font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink); line-height: 1; display: inline-block;
  white-space: nowrap;
}
.nav__reserve::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--terracotta);
}
.nav__lang { display: none; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav__toggle span { width:24px; height:1px; background:var(--ink); display:block; }

/* ---------- Mobile nav ---------- */
.nav__mobile {
  position:fixed; inset:0; z-index:99; background:var(--brown-dark);
  display:none; flex-direction:column; align-items:center; justify-content:center; gap:26px;
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.nav__mobile.is-open { display:flex; opacity:1; pointer-events:all; }
.nav__mobile a { font-family:var(--font-display); font-size:20px; color:var(--cream); }
.nav__mobile a:hover { color:var(--terracotta); }
.nav__mobile-close { position:absolute; top:24px; right:40px; font-size:30px; color:var(--cream); background:none; border:none; cursor:pointer; }

/* ---------- Footer ---------- */
.footer { background:var(--footer); color:rgba(249,247,242,0.7); padding:96px 0 36px; }
.footer__grid {
  display:grid; grid-template-columns:2fr 1.3fr 1fr 1fr; gap:48px;
}
.footer__logo {
  height: 76px; width: auto; display: block;
  margin-bottom: 32px;
  filter: brightness(0) invert(1); opacity: 0.88;
}
.footer__brand {
  font-family:var(--font-display); font-size:30px; font-weight:700;
  letter-spacing:0.12em; text-transform:uppercase; color:var(--cream);
  line-height:1.1; margin-bottom:20px;
}
.footer__brand-sub { font-size:15px; line-height:1.7; max-width:240px; }
.footer__h {
  font-family:var(--font-display); font-size:22px; color:var(--cream);
  margin-bottom:22px; font-weight:700;
}
.footer__links { list-style:none; display:flex; flex-direction:column; gap:14px; }
.footer__links a, .footer__links li { font-size:15px; color:rgba(249,247,242,0.7); transition:color .2s; }
.footer__links a:hover { color:var(--cream); }
.footer__row { display:flex; align-items:center; gap:10px; }
.footer__row svg { width:16px; height:16px; flex-shrink:0; opacity:0.7; }
.footer__social { display:flex; gap:18px; margin-bottom:28px; }
.footer__social a svg { width:22px; height:22px; fill:rgba(249,247,242,0.8); transition:fill .2s; }
.footer__social a:hover svg { fill:var(--cream); }

.footer__regards {
  text-align:center; font-family:var(--font-display); font-style:italic;
  font-size:20px; color:var(--gold); margin:72px 0 14px;
  letter-spacing:0.02em;
}
.footer__copy { text-align:center; font-size:13px; color:rgba(249,247,242,0.4); letter-spacing:0.04em; }

/* ---------- Back-to-top + WhatsApp ---------- */
.to-top {
  position:fixed; bottom:30px; left:30px; z-index:90;
  width:52px; height:52px; border-radius:50%;
  background:var(--brown-dark); color:var(--cream);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; cursor:pointer; border:none;
  opacity:0; pointer-events:none; transition:opacity .3s, transform .2s;
}
.to-top.show { opacity:1; pointer-events:all; }
.to-top:hover { transform:translateY(-3px); }

.whatsapp {
  position:fixed; bottom:30px; right:30px; z-index:90;
  width:54px; height:54px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.2); transition:transform .2s;
}
.whatsapp:hover { transform:scale(1.08); }
.whatsapp svg { width:30px; height:30px; fill:#fff; }

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .nav__links { display:none; }
  .nav__toggle { display:flex; margin-left:auto; }
  .nav__right { display:none; }
  .footer__grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px){
  :root { --pad:72px; }
  .container { padding:0 24px; }
  .nav,.nav--scrolled { padding:16px 24px; }
  .footer__grid { grid-template-columns:1fr; gap:36px; }
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
