/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --dark: #0E0E0E;
  --dark-2: #1A1A1A;
  --dark-3: #242424;
  --cream: #F7F3EE;
  --cream-2: #EDE7DC;
  --text: #2C2C2C;
  --text-muted: #7A7A7A;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Raleway', system-ui, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
em { font-style: italic; color: var(--gold); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover { background: var(--dark-3); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  padding: 0.65rem 1.6rem;
}
.btn--ghost:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.btn--sm { padding: 0.7rem 1.6rem; font-size: 0.72rem; }
.btn--full { width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 1.6rem 4vw;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.97);
  padding: 1rem 4vw;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--gold); }

.nav__links {
  display: flex;
  gap: 2.5rem;
  margin: 0 auto;
}
.nav__links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--white);
  transition: color 0.25s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__img { object-position: center 30%; transition: transform 8s ease; }
.hero:hover .hero__img { transform: scale(1.04); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 900px;
  padding: 0 2rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.hero__title em { color: var(--gold-light); }
.hero__sub {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 3rem;
}
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Ribbon ── */
.ribbon {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2rem;
  padding: 1.1rem 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ribbon__dot { color: var(--gold); font-size: 0.5rem; }

/* ── Sections ── */
.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 8rem);
}
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}
.section__sub {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Collection ── */
.collection { background: var(--cream); }
.collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.collection__cta {
  text-align: center;
  margin-top: 3.5rem;
}

.property-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.property-card--featured {
  background: var(--dark);
  color: var(--white);
}

.property-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-card__img-wrap img {
  transition: transform 0.6s ease;
}
.property-card:hover .property-card__img-wrap img {
  transform: scale(1.05);
}
.property-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}

.property-card__body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.property-card__body h3 { font-size: 1.5rem; }
.property-card--featured h3 { color: var(--white); }

.property-card__loc {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.property-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.property-card--featured .property-card__desc { color: rgba(255,255,255,0.55); }

.property-card__meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0.4rem 0;
}
.property-card--featured .property-card__meta { color: rgba(255,255,255,0.4); }

/* ── Quote Block ── */
.quote-block {
  background: var(--dark);
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 8vw, 10rem);
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto;
}
.quote-block em { color: var(--gold-light); }

/* ── Services ── */
.services { background: var(--cream-2); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}
.service-card:hover { background: var(--cream); }
.service-card--highlight {
  background: var(--dark);
  color: var(--white);
}
.service-card--highlight:hover { background: var(--dark-3); }

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
}
.service-card h3 { font-size: 1.4rem; }
.service-card--highlight h3 { color: var(--white); }
.service-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.service-card--highlight p { color: rgba(255,255,255,0.6); }

/* ── Split Section ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.split-section__img { overflow: hidden; }
.split-section__img img { height: 100%; }

.split-section__content {
  background: var(--dark);
  color: var(--white);
  padding: clamp(3rem, 6vw, 7rem) clamp(2rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
}
.split-section__content h2 { color: var(--white); }
.split-section__content p { color: rgba(255,255,255,0.65); font-size: 1rem; }

.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.check-list--light li { color: rgba(255,255,255,0.65); }

/* ── Why Silver Coast ── */
.why { background: var(--cream); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 3rem;
}
.why-stat {
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.why-stat__num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
}
.why-stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.why__img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  height: 340px;
}
.why__img-strip img { filter: saturate(0.85); transition: filter 0.4s; }
.why__img-strip img:hover { filter: saturate(1.1); }

/* ── Homeowners ── */
.homeowners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  background: var(--dark-2);
}
.homeowners__content {
  padding: clamp(3rem, 6vw, 7rem) clamp(2rem, 5vw, 6rem);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
}
.homeowners__content h2 { color: var(--white); }
.homeowners__content p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.homeowners__img { overflow: hidden; }

/* ── Story ── */
.story { background: var(--cream-2); }
.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.story__img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.story__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.story__content p { color: var(--text-muted); font-size: 1rem; }

/* ── Testimonials ── */
.testimonials { background: var(--dark); }
.testimonials .section__header h2 { color: var(--white); }
.testimonials .eyebrow { color: var(--gold-light); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.testimonial {
  background: var(--dark-3);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial--featured {
  background: var(--dark-2);
  border-top: 2px solid var(--gold);
}
.testimonial__stars { color: var(--gold); letter-spacing: 0.1em; }
.testimonial p {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}
.testimonial cite {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Contact ── */
.contact {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 8rem);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 7rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.contact__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--white);
  position: sticky;
  top: 7rem;
}
.contact__left h2 { color: var(--white); }
.contact__left p { color: rgba(255,255,255,0.55); font-size: 1rem; }
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}
.contact__info a { color: var(--gold); transition: color 0.25s; }
.contact__info a:hover { color: var(--gold-light); }

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.contact__social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.contact__social a svg { width: 18px; height: 18px; }
.contact__social a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Form ── */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form__group label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.form__group input,
.form__group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.25s;
  resize: none;
  outline: none;
  -webkit-appearance: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form__group input:focus,
.form__group textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.07); }

.form__success {
  display: none;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  padding: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.form__success.show { display: block; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem clamp(1.5rem, 6vw, 8rem);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__logo {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}
.footer__logo span { color: var(--gold); }
.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.25s;
}
.footer__nav a:hover { color: var(--gold); }
.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s var(--transition) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .collection__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 768px) {
  .nav__links, .nav > .btn--ghost { display: none; }
  .nav__burger { display: flex; }

  .collection__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-section__img { aspect-ratio: 16/9; height: auto; }
  .homeowners { grid-template-columns: 1fr; }
  .homeowners__img { aspect-ratio: 16/9; height: auto; order: -1; }
  .story__inner { grid-template-columns: 1fr; }
  .story__img { aspect-ratio: 4/5; max-width: 480px; margin: 0 auto; }
  .story__img img { object-position: center top; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__img-strip { height: 220px; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__left { position: static; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
  .ribbon { gap: 0.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__img-strip { grid-template-columns: 1fr; height: auto; }
  .why__img-strip img { aspect-ratio: 16/9; }
  .hero__ctas { flex-direction: column; align-items: center; }
}
