:root {
  --bg: #faf7f2;
  --bg-alt: #f0ebe3;
  --surface: #ffffff;
  --border: #e4ddd2;
  --text: #2c2418;
  --text-muted: #6b6358;
  --primary: #c45c3e;
  --primary-dark: #a34a30;
  --primary-light: #e8a090;
  --accent: #1e4d6b;
  --accent-light: #2d6a8f;
  --olive: #5c6b4a;
  --gold: #b8956a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(44, 36, 24, 0.08);
  --shadow-lg: 0 20px 60px rgba(44, 36, 24, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

address {
  font-style: normal;
  color: var(--text-muted);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header--scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 2.25rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.header__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.btn--outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--primary);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--olive);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
}

.hero__image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #d4c4b0 0%, #8b7355 40%, #1e4d6b 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 36, 24, 0.4) 0%, transparent 50%);
}

.hero__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.hero__badge span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-item__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 600px;
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-header p,
.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Property cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.property-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-card__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #c4b5a0, #7a6b5a);
  position: relative;
}

.property-card__img--sea {
  background: linear-gradient(135deg, #6b9dad, #1e4d6b);
}

.property-card__img--city {
  background: linear-gradient(135deg, #9a8b7a, #5c4a3a);
}

.property-card__img--vine {
  background: linear-gradient(135deg, #8b9a6b, #5c6b4a);
}

.property-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--surface);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.property-card__body {
  padding: 1.5rem;
}

.property-card__loc {
  font-size: 0.8rem;
  color: var(--olive);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.property-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.property-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.property-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.property-card__price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* City pills */
.city-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.city-pill {
  padding: 0.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.city-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(196, 92, 62, 0.06);
}

/* Feature blocks */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-block {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-block__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(196, 92, 62, 0.1);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.feature-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-split__visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #e8dfd0, #b8956a);
  box-shadow: var(--shadow-lg);
}

.about-split p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  color: var(--olive);
  font-weight: 700;
  flex-shrink: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
  transition: gap 0.2s;
}

.link-arrow::after {
  content: "→";
}

.link-arrow:hover {
  gap: 0.7rem;
}

/* Preview cards */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.preview-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.preview-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.preview-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.preview-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1rem;
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info__item h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--olive);
  margin-bottom: 0.4rem;
}

.contact-info__item a,
.contact-info__item p {
  font-size: 1rem;
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 0 1.25rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.cta-band .btn--primary:hover {
  background: var(--bg);
  border-color: var(--bg);
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer .logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer .logo span {
  color: var(--primary-light);
}

.footer__brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  max-width: 320px;
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.footer__col a,
.footer__col address {
  display: block;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s;
}

.footer__col a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.8rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 1;
}

/* Legal */
.legal {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.legal__content {
  max-width: 720px;
  margin-inline: auto;
}

.legal__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.legal__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal__content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal__content p,
.legal__content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal__content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  width: min(calc(100% - 2rem), 680px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Mobile nav */
.nav--open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .about-split,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .property-grid,
  .features-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header__actions--mobile-visible {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + 200px);
    left: 0;
    right: 0;
    padding: 0 2rem;
  }

  .header__actions--mobile-visible .btn {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(120%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .cookie-banner.visible {
    transform: translateY(0);
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
