/* ============================================
   EMBERS VILLAS & CONCIERGE — SHARED STYLES
   ============================================ */

:root {
  --black: #0a0a0a;
  --deep: #111111;
  --surface: #161616;
  --card: #1c1c1c;
  --border: rgba(255,255,255,0.07);
  --gold: #C9A96E;
  --gold-light: #E2C98A;
  --gold-dim: rgba(201,169,110,0.15);
  --white: #F5F0E8;
  --white-dim: rgba(245,240,232,0.55);
  --white-faint: rgba(245,240,232,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* ---- CURSOR ---- */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}
.cursor.expanded { width: 60px; height: 60px; opacity: 0.15; }
.cursor-ring.expanded { width: 60px; height: 60px; border-color: var(--gold); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, padding 0.4s ease;
}
nav.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-logo-sub {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--white-dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 28px !important;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 10px !important;
  letter-spacing: 0.25em !important;
  transition: background 0.3s ease, color 0.3s ease !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }
.nav-cta::after { display: none !important; }

/* ---- MOBILE MENU ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--white);
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--white-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ---- LAYOUT ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}
section { padding: 120px 0; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 200px 0 100px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,169,110,0.04) 0%, transparent 70%);
}
.page-hero-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px, 15vw, 200px);
  font-weight: 300;
  color: rgba(255,255,255,0.018);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.15em;
  user-select: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  animation: heroIn 1.2s ease forwards;
  opacity: 0;
  transform: translateY(24px);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 20px;
  display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-body {
  color: var(--white-dim);
  font-size: 14px;
  line-height: 1.9;
  max-width: 560px;
}
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px 0;
}
.divider.centered { margin: 32px auto; }

/* ---- BUTTONS ---- */
.btn-primary {
  padding: 14px 40px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  padding: 14px 40px;
  border: 1px solid rgba(245,240,232,0.25);
  color: var(--white-dim);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---- CARDS ---- */
.service-card {
  background: var(--card);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover { background: #202020; }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 300;
  color: rgba(201,169,110,0.06);
  line-height: 1;
  pointer-events: none;
}
.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 28px;
  opacity: 0.7;
}
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.service-body {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}
.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-items li {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.38);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-items li::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.5;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s;
}
.service-link:hover { gap: 14px; }

/* ---- FOOTER ---- */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.footer-brand-sub {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-brand-text {
  font-size: 12px;
  color: rgba(245,240,232,0.3);
  line-height: 1.8;
  max-width: 260px;
}
.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 12px;
  color: rgba(245,240,232,0.35);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 60px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(245,240,232,0.2);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,240,232,0.2);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--gold); }

/* ---- FADE IN ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ---- INTRO STRIP ---- */
.intro-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.strip-item + .strip-item {
  border-left: 1px solid var(--border);
  padding-left: 40px;
}
.strip-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.strip-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-dim); line-height: 1.5; }
.strip-label strong { display: block; color: var(--white); font-weight: 400; font-size: 13px; letter-spacing: 0.05em; margin-bottom: 2px; }

/* ---- PROCESS STEPS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 70px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.25;
}
.step { padding: 0 32px; text-align: center; }
.step-dot {
  width: 56px; height: 56px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  background: var(--deep);
}
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--white); margin-bottom: 12px; letter-spacing: 0.02em; }
.step-body { font-size: 12px; color: var(--white-dim); line-height: 1.8; }

/* ---- LOCATION CARDS ---- */
.loc-card {
  background: var(--card);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.loc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.loc-card:hover { background: #1f1f1f; }
.loc-card:hover::after { transform: scaleX(1); }
.loc-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--white); margin-bottom: 6px; }
.loc-region { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

/* ---- PHILOSOPHY QUOTE ---- */
.phil-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3.5vw, 46px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  position: relative;
}
.phil-quote::before {
  content: '"';
  position: absolute;
  top: -30px; left: -20px;
  font-size: 120px;
  color: rgba(201,169,110,0.07);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}
.phil-attr { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  nav { padding: 24px 32px; }
  nav.scrolled { padding: 16px 32px; }
  .container { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .intro-strip-inner { flex-direction: column; }
  .strip-item + .strip-item { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 48px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .process-steps { grid-template-columns: 1fr; }
  .intro-strip-inner { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid, .footer-bottom { padding: 0 24px; }
}
