/* ── SOVARA SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@300;400;500&display=swap');

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

:root {
  --gold: #C9B98A;
  --gold-dark: #A89860;
  --gold-light: #E8DFC4;
  --gold-muted: rgba(201,185,138,0.12);
  --black: #1A1A1A;
  --charcoal: #3A3530;
  --warm-white: #FAF8F4;
  --sand: #F2EDE3;
  --sand-deep: #E8E0D0;
  --muted: #9A9188;
  --border: rgba(201,185,138,0.3);
  --border-light: rgba(201,185,138,0.15);
}

html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--warm-white); color: var(--black); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,244,0.97); backdrop-filter: blur(10px);
  padding: 0 56px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 0.5px solid var(--border);
}
.nav-logo { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--black); letter-spacing: 8px; line-height: 1; }
.nav-logo-tag { font-size: 8px; letter-spacing: 4px; color: var(--gold-dark); font-weight: 300; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 11px; letter-spacing: 2px; font-weight: 400; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }
.nav-cta { background: var(--black); color: var(--gold); font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 3px; padding: 11px 24px; cursor: pointer; transition: background 0.3s; font-weight: 400; border: none; text-decoration: none; display: inline-block; }
.nav-cta:hover { background: var(--charcoal); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--black); }

/* PAGE HERO (inner pages) */
.page-hero {
  background: var(--sand); padding: 130px 56px 72px;
  border-bottom: 0.5px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: var(--sand-deep); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
.page-hero-eyebrow { font-size: 9px; letter-spacing: 5px; color: var(--gold-dark); margin-bottom: 14px; font-weight: 300; }
.page-hero-line { width: 40px; height: 0.5px; background: var(--gold); margin-bottom: 24px; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 5vw, 64px); font-weight: 300; color: var(--black); line-height: 1.15; letter-spacing: 0.5px; max-width: 600px; }
.page-hero h1 em { color: var(--gold-dark); font-style: italic; }
.page-hero-sub { font-size: 13px; color: var(--muted); line-height: 2; max-width: 480px; margin-top: 16px; font-weight: 300; }

/* SECTION BASE */
section { padding: 80px 56px; }
.section-label { font-size: 9px; letter-spacing: 5px; color: var(--gold-dark); margin-bottom: 10px; font-weight: 400; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 300; color: var(--black); line-height: 1.2; }
.section-title em { color: var(--gold-dark); font-style: italic; }
.section-sub { font-size: 13px; color: var(--muted); line-height: 2; max-width: 500px; margin-top: 12px; font-weight: 300; }

/* BUTTONS */
.btn-primary { background: var(--black); color: var(--gold); border: none; font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 3px; padding: 13px 30px; cursor: pointer; font-weight: 500; transition: background 0.3s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--charcoal); }
.btn-secondary { background: transparent; color: var(--charcoal); border: 0.5px solid var(--gold); font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 3px; padding: 13px 30px; cursor: pointer; font-weight: 400; transition: all 0.3s; text-decoration: none; display: inline-block; }
.btn-secondary:hover { background: var(--gold-muted); }
.btn-gold { background: var(--gold); color: var(--black); border: none; font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 3px; padding: 13px 30px; cursor: pointer; font-weight: 500; transition: background 0.3s; text-decoration: none; display: inline-block; }
.btn-gold:hover { background: var(--gold-light); }

/* PROPERTY CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border-light); }
.prop-card { background: var(--warm-white); overflow: hidden; transition: background 0.3s; }
.prop-card:hover { background: var(--sand); }
.prop-card-img { height: 200px; background: var(--sand-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.prop-card-img .img-placeholder { opacity: 0.25; }
.prop-card-badge { position: absolute; top: 14px; left: 14px; background: var(--black); color: var(--gold); font-size: 9px; letter-spacing: 2px; padding: 5px 10px; font-weight: 400; }
.prop-card-body { padding: 22px 22px 26px; }
.prop-card-type { font-size: 9px; letter-spacing: 3px; color: var(--gold-dark); margin-bottom: 6px; }
.prop-card-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--black); margin-bottom: 4px; }
.prop-card-loc { font-size: 11px; color: var(--muted); font-weight: 300; letter-spacing: 1px; margin-bottom: 12px; }
.prop-card-meta { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.prop-meta-item { font-size: 11px; color: var(--muted); font-weight: 300; }
.prop-meta-item strong { color: var(--black); font-weight: 500; }
.prop-card-divider { height: 0.5px; background: var(--border-light); margin-bottom: 16px; }
.prop-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* FORMS */
.form-grid { display: grid; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 10px; letter-spacing: 2px; color: var(--charcoal); font-weight: 400; }
.form-input, .form-select, .form-textarea {
  background: var(--warm-white); border: 0.5px solid var(--border);
  color: var(--black); padding: 13px 16px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 300;
  outline: none; transition: border-color 0.3s; width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: #c5bdb2; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold-dark); }
.form-select { cursor: pointer; }
.form-select option { color: var(--black); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 11px; color: var(--muted); font-weight: 300; line-height: 1.7; }

/* MODAL OVERLAY */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(26,26,26,0.6); z-index: 200; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--warm-white); max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 48px; position: relative; }
.modal-close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); font-weight: 300; line-height: 1; }
.modal-close:hover { color: var(--black); }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--black); margin-bottom: 6px; }
.modal-subtitle { font-size: 11px; letter-spacing: 2px; color: var(--gold-dark); margin-bottom: 32px; font-weight: 400; }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; bottom: 32px; right: 32px; z-index: 150; background: #25D366; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* FOOTER */
footer { background: var(--black); padding: 48px 56px 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 0.5px solid #2a2a2a; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; letter-spacing: 8px; color: var(--gold); font-weight: 300; margin-bottom: 6px; }
.footer-brand-tag { font-size: 8px; letter-spacing: 4px; color: #555; font-weight: 300; margin-bottom: 16px; }
.footer-brand-desc { font-size: 12px; color: #444; font-weight: 300; line-height: 1.9; }
.footer-col-title { font-size: 9px; letter-spacing: 4px; color: var(--gold); font-weight: 400; margin-bottom: 20px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 12px; color: #444; text-decoration: none; font-weight: 300; transition: color 0.3s; }
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 10px; color: #333; font-weight: 300; letter-spacing: 1px; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* MOBILE */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 56px 24px; }
  .page-hero { padding: 110px 24px 56px; }
  .page-hero-bg { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  footer { padding: 40px 24px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
