/* ============= BASE ============= */
:root {
  --navy: #0A1F44;
  --gold: #C9A961;
  --gold-dark: #a98a3e;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F2F4F8; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #C9A961, #a98a3e); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* Hero subtle pattern */
.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.5) 1px, transparent 0);
  background-size: 30px 30px;
}

/* ============= NAV ============= */
#header {
  transition: backdrop-filter 0.3s, background 0.3s;
}
#nav-glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px -10px rgba(10, 31, 68, 0.12);
}
#header.scrolled #nav-glass {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px -20px rgba(10, 31, 68, 0.2);
}

.nav-link {
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #C9A961, #a98a3e);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-link:hover { color: #0A1F44; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #a98a3e; }
.nav-link.active::after { width: 100%; }

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}
.mobile-link:hover { background: rgba(10, 31, 68, 0.04); color: #a98a3e; }

/* ============= GLASS CARDS ============= */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 45px -15px rgba(10, 31, 68, 0.18);
}
.glass-dark {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============= FORM ============= */
.input-wrap {
  position: relative;
}
.form-input {
  width: 100%;
  background: #F7F8FB;
  border: 1px solid #E3E7EE;
  border-radius: 12px;
  padding: 18px 14px 8px 14px;
  font-size: 14px;
  color: #0A1F44;
  font-weight: 500;
  transition: all 0.2s;
  outline: none;
  appearance: none;
}
.form-input:focus {
  background: #fff;
  border-color: #C9A961;
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
}
.form-input::placeholder { color: transparent; }
.form-label {
  position: absolute;
  left: 14px;
  top: 13px;
  font-size: 13px;
  color: #6b7891;
  pointer-events: none;
  transition: all 0.2s;
  font-weight: 500;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: 4px;
  font-size: 10px;
  color: #a98a3e;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7891' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
  padding-top: 14px;
  padding-bottom: 14px;
}
select.form-input:invalid { color: #6b7891; }

/* ============= SERVICE CARDS ============= */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10, 31, 68, 0.06);
  border-radius: 20px;
  padding: 28px 24px 24px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(10, 31, 68, 0.25);
  border-color: rgba(201, 169, 97, 0.4);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0A1F44, #15315f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A961;
  margin-bottom: 18px;
  box-shadow: 0 12px 25px -10px rgba(10, 31, 68, 0.4);
  transition: transform 0.4s;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }

.service-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0A1F44;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 0.875rem;
  color: #525e75;
  line-height: 1.55;
  margin-bottom: 16px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a98a3e;
  letter-spacing: 0.02em;
  transition: gap 0.2s, color 0.2s;
}
.card-cta:hover { gap: 12px; color: #0A1F44; }

/* ============= PROPERTY CARDS ============= */
.property-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(10, 31, 68, 0.06);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 60px -25px rgba(10, 31, 68, 0.3);
}
.property-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s;
}
.property-card:hover .property-img { transform: scale(1.08); }
.property-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 31, 68, 0.5));
}
.property-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #0A1F44;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.2);
}
.property-body { padding: 22px 22px 20px; }
.property-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(10, 31, 68, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.property-foot > span:first-child {
  font-weight: 700;
  color: #0A1F44;
  font-size: 0.95rem;
}
.property-foot a {
  font-size: 0.85rem;
  font-weight: 700;
  color: #a98a3e;
  transition: gap 0.2s;
}
.property-foot a:hover { color: #0A1F44; }

/* ============= WHY CARDS ============= */
.why-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.35s, border-color 0.3s, background 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.45);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.08), rgba(255, 255, 255, 0.02));
}
.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid rgba(201, 169, 97, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dec05a;
  margin-bottom: 18px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}
.why-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ============= ABOUT STAT ============= */
.about-stat {
  padding: 16px 18px;
  background: linear-gradient(135deg, #FAF8F4, #fff);
  border: 1px solid rgba(10, 31, 68, 0.07);
  border-left: 3px solid #C9A961;
  border-radius: 12px;
}

/* ============= AREA CHIPS ============= */
.area-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0A1F44;
  box-shadow: 0 4px 12px -6px rgba(10, 31, 68, 0.08);
  transition: all 0.25s;
  cursor: default;
}
.area-chip:hover {
  background: linear-gradient(135deg, #0A1F44, #15315f);
  color: #fff;
  border-color: #C9A961;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -12px rgba(10, 31, 68, 0.45);
}

/* ============= REVIEW CARDS ============= */
.review-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid rgba(10, 31, 68, 0.07);
  border-radius: 22px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 22px;
  font-family: "Playfair Display", serif;
  font-size: 90px;
  line-height: 1;
  color: rgba(201, 169, 97, 0.18);
  font-weight: 700;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -20px rgba(10, 31, 68, 0.2);
}

/* ============= REVEAL ANIMATIONS ============= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============= TOAST ============= */
#toast.show {
  display: block;
  animation: toastIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Bottom padding for mobile to clear sticky bar */
@media (max-width: 1023px) {
  footer { padding-bottom: 96px; }
}

/* Section dividers */
section { scroll-margin-top: 90px; }
