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

:root {
  --color-navy: #0f2c4c;
  --color-navy-dark: #0a1f36;
  --color-teal: #1a7a6d;
  --color-teal-light: #e6f4f2;
  --color-sand: #f7f4ef;
  --color-gray: #5c6b7a;
  --color-light: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 44, 76, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 44, 76, 0.12);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo-mark {
  background: var(--color-navy);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 6px;
}

.logo-text {
  font-size: 1rem;
  color: var(--color-navy);
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gray);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-navy);
}

.nav-cta {
  background: var(--color-navy);
  color: white !important;
  padding: 8px 18px;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--color-navy-dark);
}

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--color-border);
  gap: 16px;
}

.mobile-nav a {
  font-weight: 500;
  font-size: 1.05rem;
}

.mobile-nav.open {
  display: flex;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, #163a5f 60%, #1a4a6e 100%);
  color: white;
  padding: 100px 0 110px;
  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");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  max-width: 640px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-teal);
  color: white;
}

.btn-primary:hover {
  background: #15685d;
  transform: translateY(-1px);
}

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

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

.btn-secondary {
  background: var(--color-navy);
  color: white;
}

.btn-secondary:hover {
  background: var(--color-navy-dark);
}

.btn-block {
  width: 100%;
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-gray);
  font-size: 1.05rem;
}

/* ===== Properties ===== */
.properties {
  background: var(--color-light);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.property-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.property-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-teal);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.property-body {
  padding: 24px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-teal);
  font-weight: 500;
  margin-bottom: 8px;
}

.property-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.property-desc {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.property-features {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-features li {
  background: var(--color-teal-light);
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Coming soon card */
.coming-soon .property-image.placeholder {
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  text-align: center;
  color: var(--color-gray);
}

.placeholder-content svg {
  margin: 0 auto 10px;
  opacity: 0.5;
}

.coming-soon .btn-outline {
  border-color: var(--color-border);
  color: var(--color-navy);
}

.coming-soon .btn-outline:hover {
  background: var(--color-light);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.highlight {
  background: var(--color-sand);
  padding: 22px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-teal);
}

.highlight strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.highlight span {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(26, 122, 109, 0.15);
}

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

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-top: 14px;
}

.contact-info {
  padding-top: 12px;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.contact-info > p {
  color: var(--color-gray);
  margin-bottom: 8px;
}

.email-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 6px;
}

.email-link:hover {
  text-decoration: underline;
}

.contact-info .small {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 28px;
}

.info-block {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.info-block h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.info-block p {
  font-size: 0.9rem;
  color: var(--color-gray);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 500;
}

.footer-brand .logo-mark {
  background: var(--color-teal);
  font-size: 0.8rem;
  padding: 4px 8px;
}

/* ===== Form success state ===== */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  color: var(--color-teal);
  margin-bottom: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 680px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .section {
    padding: 70px 0;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
