@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #0a2342;
  --navy-mid: #143460;
  --blue: #1a5fa8;
  --blue-light: #2d7dd2;
  --sky: #e8f2fc;
  --sky-mid: #c5ddf7;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-100: #eef1f6;
  --gray-300: #c8d0dc;
  --gray-500: #7a8899;
  --gray-700: #3d4d5c;
  --text: #0e1c2b;
  --text-muted: #5a6e82;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(10,35,66,0.10);
  --shadow-lg: 0 12px 48px rgba(10,35,66,0.16);
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --nav-height: 76px;
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10,35,66,0.97);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand-main {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-logo-text .brand-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a4a7a 100%);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(3.8rem, 7vw, 6.5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.5rem;
  max-width: 600px;
  font-weight: 300;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ── SECTION STYLES ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--off-white); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  font-weight: 300;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--sky-mid);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--sky);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg { width: 26px; height: 26px; color: var(--blue); }

.feature-card h3 {
  font-size: 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

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

/* ── LISTING CARDS ── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}

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

.listing-img {
  height: 200px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}

.listing-badge.available { background: #1a8a4a; }
.listing-badge.coming-soon { background: var(--gold); color: var(--navy); }

.listing-body { padding: 1.5rem; }

.listing-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.listing-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.listing-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 4px 0 1rem;
}

.listing-details {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.listing-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
}

.listing-detail svg { width: 16px; height: 16px; color: var(--blue); }

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-sm:hover { background: var(--blue); }

/* ── APPFOLIO EMBED SECTION ── */
.appfolio-section {
  background: var(--sky);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
  border: 1px dashed var(--sky-mid);
  text-align: center;
}

.appfolio-placeholder {
  background: var(--white);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  border: 2px dashed var(--gray-300);
  color: var(--text-muted);
}

/* ── TOUR FORM ── */
.tour-section {
  background: var(--navy);
  color: var(--white);
}

.tour-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.tour-info h2 { color: var(--white); }
.tour-info .section-label { color: var(--gold-light); }
.tour-info p { color: rgba(255,255,255,0.65); margin-top: 1rem; font-weight: 300; }

.tour-perks { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }

.tour-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.tour-perk-icon {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tour-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.tour-form h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.75rem;
  font-family: 'Playfair Display', serif;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}

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

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

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 0.5rem;
}

.form-submit:hover { background: var(--blue); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--navy);
}

.form-success .checkmark {
  width: 56px;
  height: 56px;
  background: #e8f7ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--sky);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 22px; height: 22px; color: var(--blue); }

.contact-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.contact-item span { font-size: 14px; color: var(--text-muted); }

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

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom a { color: var(--gold-light); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: calc(var(--nav-height) + 3.5rem) 0 3.5rem;
  text-align: center;
}

.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-header p { color: rgba(255,255,255,0.65); margin-top: 0.75rem; font-size: 1.05rem; }

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 99;
  }

  .nav-links.open { transform: translateY(0); }

  .tour-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
