/* ============================================================
   Palmilla Property Management — styles.css
   Palette: Deep Navy / Charcoal / Warm Sand / White / Gold
   Type: Cormorant Garamond (display) + Jost (body)
   Mobile-first. No frameworks. No dependencies.
   ============================================================ */

:root {
  --navy: #0B1D30;
  --navy-deep: #071524;
  --charcoal: #2A2E33;
  --sand: #E9E0D1;
  --sand-light: #F7F2E9;
  --white: #FFFFFF;
  --gold: #B9985A;
  --gold-light: #D6BC85;
  --ink: #20242A;
  --max: 1140px;
  --radius: 2px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.45rem; }

.dark h2, .dark h3 { color: var(--sand-light); }
.dark { background: var(--navy); color: #C9D2DC; }
.dark p { color: #C9D2DC; }

.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: 0.9rem; font-weight: 500;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 2rem; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 0.75rem;
}
.eyebrow.gold { color: var(--gold-light); }

.coords, .coords-small {
  font-size: 0.78rem; letter-spacing: 0.22em; color: var(--gold-light);
  text-transform: uppercase;
}

.section { padding: 4.5rem 0; }
.section-intro { max-width: 760px; margin-bottom: 2.5rem; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.95rem 2.1rem; border-radius: var(--radius);
  font-family: var(--body); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: all 0.25s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(233, 224, 209, 0.55); color: var(--sand-light); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 21, 36, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(185, 152, 90, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--display); font-size: 1.18rem; color: var(--sand-light); letter-spacing: 0.04em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); }

.nav-toggle {
  display: flex; flex-direction: column; gap: 6px; background: none;
  border: none; padding: 0.6rem; cursor: pointer;
}
.nav-toggle-bar { width: 26px; height: 1.5px; background: var(--sand-light); transition: transform 0.25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-menu {
  list-style: none; display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-deep); padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(185, 152, 90, 0.25);
}
.nav-menu.open { display: block; }
.nav-menu li { margin: 0.85rem 0; }
.nav-menu a {
  color: var(--sand-light); text-decoration: none; font-size: 0.9rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-menu a:hover { color: var(--gold-light); }
.nav-cta { color: var(--gold-light) !important; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex !important; position: static; background: none; border: none;
    padding: 0; gap: 1.8rem; align-items: center;
  }
  .nav-menu li { margin: 0; }
  .nav-menu a { font-size: 0.78rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background:
    radial-gradient(1200px 500px at 75% 110%, rgba(185, 152, 90, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, #10293F 100%);
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,36,0.55), rgba(7,21,36,0.75)); }
.hero-inner { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 6rem; }
.hero h1 { color: var(--white); margin: 1.1rem 0 1.4rem; }
.hero-sub { max-width: 640px; color: var(--sand); font-size: 1.1rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-deep); padding: 1.1rem 0; }
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem 2.4rem;
}
.trust-inner span {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-light); white-space: nowrap;
}

/* ---------- Definition ---------- */
.definition { background: var(--sand-light); }
.lead-answer { font-size: 1.15rem; margin-bottom: 1.1rem; }
.lead-answer strong { color: var(--navy); font-weight: 500; }

/* ---------- Services grid ---------- */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.card {
  background: var(--white); border: 1px solid #E5E1D8;
  border-top: 2px solid var(--gold); padding: 1.6rem 1.5rem;
}
.card p { font-size: 0.97rem; }

/* ---------- Why / split ---------- */
.split { display: grid; gap: 2.5rem; }
.why-list { list-style: none; align-self: center; }
.why-list li {
  padding: 0.85rem 0; border-bottom: 1px solid rgba(233, 224, 209, 0.15);
  font-size: 0.98rem;
}
.why-list strong { color: var(--sand-light); font-weight: 500; }
@media (min-width: 920px) { .split { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }

/* ---------- Neighborhoods ---------- */
.hood-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.hood { background: var(--sand-light); padding: 1.5rem; border-left: 2px solid var(--gold); }
.hood p { font-size: 0.96rem; }

/* ---------- About ---------- */
.about p { margin-bottom: 1.1rem; }
.about-points { display: grid; gap: 1.25rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.about-points div { border-top: 1px solid rgba(185, 152, 90, 0.4); padding-top: 0.8rem; }
.about-points strong { display: block; color: var(--gold-light); font-weight: 500; margin-bottom: 0.2rem; }
.about-points span { font-size: 0.92rem; }

/* ---------- Process ---------- */
.steps { list-style: none; counter-reset: step; margin-top: 1.5rem; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 2rem 3.6rem; border-left: 1px solid #DDD6C8; margin-left: 1.1rem;
}
.steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -1.15rem; top: -0.1rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  font-size: 0.8rem; letter-spacing: 0.05em;
  display: flex; align-items: center; justify-content: center;
}
.steps p { font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand-light); }
.faq-item {
  background: var(--white); border: 1px solid #E5E1D8; margin-bottom: 0.7rem;
}
.faq-item summary {
  cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 400;
  font-size: 1.02rem; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--display); font-size: 1.5rem;
  color: var(--gold); flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.3rem 1.2rem; font-size: 0.98rem; }

/* ---------- Authority ---------- */
.authority-block { margin-top: 2.2rem; border-top: 1px solid rgba(185, 152, 90, 0.35); padding-top: 1.4rem; }
.authority-block h3 { color: var(--gold-light); }
.authority-block strong { color: var(--sand-light); font-weight: 500; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; text-align: left; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-info p { margin-bottom: 0.5rem; }
.contact-info a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-info a:hover { color: var(--gold); }

.inquiry-form { display: grid; gap: 0.45rem; }
.inquiry-form label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--charcoal); margin-top: 0.8rem;
}
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  font-family: var(--body); font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid #D8D2C4; border-radius: var(--radius); background: var(--sand-light);
  color: var(--ink); width: 100%;
}
.inquiry-form button { margin-top: 1.3rem; justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #AEB9C5; padding: 3.5rem 0 5.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--display); font-size: 1.25rem; color: var(--sand-light); margin-bottom: 0.6rem; }
.footer-head {
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #C9D2DC; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  margin-top: 2.8rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(185, 152, 90, 0.2); font-size: 0.82rem;
}

/* ---------- Sticky mobile call button ---------- */
.mobile-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--gold); color: var(--navy-deep); text-align: center;
  padding: 0.95rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 0.9rem; text-decoration: none;
}
@media (min-width: 880px) { .mobile-call { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Two-button sticky mobile bar (call + WhatsApp) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex;
}
.mobile-bar a {
  flex: 1; text-align: center; padding: 0.95rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.88rem;
  text-decoration: none; background: var(--gold); color: var(--navy-deep);
}
.mobile-bar a.wa { background: var(--navy-deep); color: var(--gold-light); border-left: 1px solid rgba(185,152,90,0.4); }
@media (min-width: 880px) { .mobile-bar { display: none; } }

/* ---------- Language switch ---------- */
.lang-switch {
  border: 1px solid rgba(185, 152, 90, 0.5); padding: 0.25rem 0.7rem;
  border-radius: var(--radius);
}
