:root {
  --bg: #FFF7ED;
  --surface: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --primary: #EA580C;
  --secondary: #0EA5E9;
  --accent: #8B5CF6;
  --border: rgba(31, 41, 55, 0.12);
  --nav-dark: #1F2937;
  --nav-height: 60px;
  --luxury-spacing: 48px;
  --property-line: 8px;
  --architecture-gap: 40px;
  --real-estate-serif: Georgia, "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: linear-gradient(175deg, var(--bg) 0%, #FFEDD5 40%, var(--bg) 100%);
  position: relative;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 100%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 120px,
    rgba(31, 41, 55, 0.015) 120px,
    rgba(31, 41, 55, 0.015) 121px
  );
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-dark);
  border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.navbar-links li {
  display: flex;
  align-items: center;
}

.navbar-links li + li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 10px;
  vertical-align: middle;
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 2px;
  transition: color 0.25s ease;
}

.navbar-links a:hover {
  color: var(--accent);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--nav-dark);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer ul {
  list-style: none;
}

.mobile-drawer li {
  border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
}

.mobile-drawer a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  padding: 16px 8px;
  transition: color 0.25s ease;
}

.mobile-drawer a:hover {
  color: var(--accent);
}

.site-footer {
  background: var(--nav-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 24px 36px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-logo p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 28px;
}

.footer-links-grid a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  padding: 4px 0;
}

.footer-links-grid a:hover {
  color: var(--accent);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.footer-badge img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer-badge:hover img {
  opacity: 1;
}

.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.85;
}

.footer-copy {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.age-overlay,
.cookie-banner {
  display: none;
  position: fixed;
  z-index: 1000;
}

.age-overlay.active,
.cookie-banner.active {
  display: flex;
}

.age-overlay {
  inset: 0;
  background: rgba(31, 41, 55, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-modal {
  background: var(--surface);
  border-radius: 14px;
  padding: 44px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.35);
}

.age-modal h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.age-modal p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.age-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn-primary:hover {
  background: #C2410C;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--text);
}

.cookie-banner {
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: 0 -8px 32px rgba(31, 41, 55, 0.1);
  align-items: center;
  justify-content: center;
}

.cookie-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 240px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

.page-hero-strip {
  background: var(--bg);
  padding: 40px 24px;
  text-align: center;
  border-bottom: 8px solid var(--accent);
}

.page-hero-strip h1 {
  color: var(--text);
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 10px;
}

.page-hero-strip p {
  color: var(--muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 52px 24px 72px;
}

.legal-content h1 {
  font-size: 30px;
  margin-bottom: 24px;
  color: var(--text);
}

.legal-content h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
}

.legal-content ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-form {
  margin-top: 36px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 16px;
  background: var(--bg);
  color: var(--text);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-error {
  color: var(--primary);
  font-size: 13px;
  margin: -12px 0 12px;
  display: none;
}

.contact-form .form-error.visible {
  display: block;
}

.contact-success {
  display: none;
  padding: 36px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 12px;
  text-align: center;
}

.contact-success.visible {
  display: block;
}

.contact-success h3 {
  color: var(--secondary);
  margin-bottom: 8px;
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-size: 72px;
  color: var(--primary);
  margin-bottom: 8px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 28px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}
