:root {
  --primary: #1e2d3d;
  --primary-light: #2c3e50;
  --accent: #d4952e;
  --accent-hover: #bf8426;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 8px;
  --radius-lg: 14px;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links a {
  margin-left: 2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--primary); }

/* ── Hero ── */
.hero {
  background:
    linear-gradient(to bottom, rgba(15,25,38,0.72), rgba(15,25,38,0.55)),
    linear-gradient(135deg, #1a2a3a 0%, #243b55 60%, #1a3a4f 100%);
  color: white;
  padding: 130px 2rem 110px;
  text-align: center;
}
.hero-content { max-width: 700px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2.25rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(0) !important; }

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,149,46,0.35);
}

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

.btn-full { width: 100%; }

/* ── Sections ── */
.section { padding: 84px 2rem; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 2.75rem;
}

/* ── Property Cards ── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: white;
  transition: transform 0.2s, box-shadow 0.2s;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.property-image {
  height: 230px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
}
.property-image--2br {
  background: linear-gradient(160deg, #1e3a5f 0%, #2c5282 100%);
}
.property-image--1br {
  background: linear-gradient(160deg, #1a3a4a 0%, #2C7DA0 100%);
}
.property-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}
.property-info { padding: 1.6rem; }
.property-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.property-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
  line-height: 1.55;
}
.property-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.property-meta span {
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ── Amenities ── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.amenity {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.amenity-icon { font-size: 1.9rem; margin-bottom: 0.7rem; }
.amenity h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.amenity p { font-size: 0.83rem; color: var(--text-muted); }

/* ── Location ── */
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.location-text p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.location-list {
  list-style: none;
}
.location-list li {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.location-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.location-list li:last-child { border-bottom: none; }
.map-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}
.map-address {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ── Booking Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}
.modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--border); }
.modal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  padding-right: 2rem;
}

/* Date inputs */
.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.date-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.date-field input,
.date-field select,
.guest-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.15s;
}
.date-field input:focus,
.date-field select:focus,
.guest-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,45,61,0.08);
}

/* Message box */
.msg {
  min-height: 0;
  padding: 0;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 0;
  transition: all 0.2s;
}
.msg.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.75rem;
}
.msg.success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.75rem;
}

/* Price summary */
.price-summary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.price-row:last-child {
  border-bottom: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.75rem;
}
.price-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.price-row.highlight span:last-child { color: #16a34a; font-weight: 600; }
.price-row.total { color: var(--text); font-weight: 700; font-size: 1rem; padding-top: 0.75rem; border-bottom: none; }
.strikethrough { text-decoration: line-through; color: var(--text-muted); }

/* Guest form */
.guest-form h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.guest-form input { margin-bottom: 0.65rem; display: block; }

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.form-actions .btn { flex: 1; }

/* Loading */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
  font-size: 0.875rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-col strong {
  display: block;
  color: white;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}
.footer-col p { line-height: 1.8; }
.footer-col a { color: var(--accent); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-copy {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 90px 1.5rem 80px; }
  .section { padding: 60px 1.5rem; }
  .location-content { grid-template-columns: 1fr; gap: 2rem; }
  .date-row { grid-template-columns: 1fr 1fr; }
  .date-row .date-field:last-child { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .modal { padding: 1.75rem 1.25rem; }
}

@media (max-width: 480px) {
  .property-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
}
