/* Lima Pro Management — styles
   Palette: deep navy #0b2239, teal #0e6b64, warm gold #c9a24b, sand #f7f2e9 */

:root {
  --navy: #0b2239;
  --navy-2: #10293f;
  --teal: #0e6b64;
  --gold: #c9a24b;
  --gold-dark: #a8843a;
  --sand: #f7f2e9;
  --white: #ffffff;
  --ink: #16283c;
  --muted: #5c6f84;
  --line: #e3dccb;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(11, 34, 57, 0.12);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy);
  padding: 0.75rem 1.25rem; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700; color: var(--teal);
  margin: 0 0 0.8em;
}
.eyebrow-light { color: var(--gold); }
.light { color: var(--white); }
.light-muted { color: #c9d4e0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo { height: 44px; width: auto; }
.footer-logo { height: 64px; width: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand-text em { font-style: normal; font-weight: 500; color: var(--teal); }
.brand-light .brand-text { color: var(--white); }

.main-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.main-nav a:hover { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.35rem 0.8rem; font-size: 0.8rem; font-weight: 700; color: var(--muted);
}
.lang-toggle button.active { background: var(--navy); color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline-light { border-color: rgba(255,255,255,0.75); color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-light:hover { background: rgba(255,255,255,0.18); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero.jpg") center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,34,57,0.92) 20%, rgba(11,34,57,0.62) 55%, rgba(14,107,100,0.35) 100%);
}
.hero-content { position: relative; padding: 6.5rem 0 4.5rem; max-width: 760px; }
.hero h1 { color: #fff; max-width: 16em; }
.hero .lead { font-size: 1.15rem; color: #e7edf3; max-width: 34em; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.8rem 0 2.4rem; }
.trust-badges {
  list-style: none; margin: 0; padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
}
.trust-badges li { display: flex; align-items: center; gap: 0.55rem; font-weight: 500; font-size: 0.95rem; }
.badge-icon { color: var(--gold); font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--navy); }
.section-dark h2 { color: #fff; }
.section-sub { color: var(--muted); max-width: 38em; margin: 0 auto 2.6rem; }
.fine-print { color: var(--muted); font-size: 0.92rem; margin-top: 2rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

.card-list { display: grid; gap: 1.1rem; }
.about-figure { margin: 0 0 1.8rem; text-align: center; }
.headshot {
  width: 180px; height: 180px; object-fit: cover; border-radius: 50%;
  margin: 0 auto; box-shadow: var(--shadow);
}
.about-figure figcaption { margin-top: 0.8rem; font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: 0 4px 14px rgba(11,34,57,0.05);
}
.mini-card h3 { margin-bottom: 0.35em; font-size: 1.1rem; }
.mini-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Team banner band ---------- */
.team-band {
  height: min(320px, 44vw);
  background: url("images/team-banner.jpg") center / cover no-repeat;
  background-color: var(--navy);
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.featured-tag {
  position: absolute; top: -0.9rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 1rem; border-radius: 999px;
  margin: 0; white-space: nowrap;
}
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); margin: 0.2em 0 0.4em; }
.price-note { font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; color: var(--muted); margin-left: 0.4rem; }
.price-desc { color: var(--muted); font-size: 0.97rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.8rem; flex: 1; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem; font-size: 0.97rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: rgba(14,107,100,0.12); color: var(--teal);
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Listings ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.listing-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: 0 4px 14px rgba(11,34,57,0.05);
}
.listing-photo { height: 190px; background: url("images/hero.jpg") center / cover no-repeat; }
.listing-photo-ph {
  background:
    radial-gradient(circle at 30% 25%, rgba(201,162,75,0.25), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(14,107,100,0.18), transparent 55%),
    linear-gradient(135deg, #12314e, #0e6b64);
}
.listing-photo-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.listing-card { position: relative; }
.new-badge {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: var(--gold); color: var(--navy);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  margin: 0; white-space: nowrap;
}
.listing-actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.1rem; }
.listing-actions .text-link { text-align: center; }
.listing-body { padding: 1.5rem; }
.listing-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal); margin: 0 0 0.5em;
}
.listing-card.placeholder .listing-tag { color: var(--gold-dark); }
.listing-body h3 { margin-bottom: 0.2em; }
.listing-loc { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.8em; }
.listing-body p { font-size: 0.95rem; }
.text-link { color: var(--teal); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.whatsapp-cta { margin-top: 1.6rem; }

/* ---------- Owners / dark section ---------- */
.contact-lines { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.9rem; }
.contact-lines li { display: flex; gap: 0.8rem; align-items: baseline; color: #dfe7f0; }
.contact-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); min-width: 4.5rem; }
.contact-lines a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); color: var(--ink);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
#guests .field-row:last-of-type, .form-card .field-row.three { grid-template-columns: 1fr 1fr 1fr; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--navy); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; padding: 0.75rem 0.9rem; font-size: 1rem; font-family: inherit;
  border: 1.5px solid #cbd5e0; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,107,100,0.15);
}
textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; visibility: hidden; height: 0; margin: 0; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c9d4e0; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.8em; }
.footer-tag { margin-top: 1rem; font-size: 0.95rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.4rem; padding-bottom: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-realtor { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .pricing-grid, .listing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav + .header-actions { margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem 4%;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 0.2rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0; border-bottom: 1px solid #f0ece0; }
  .nav-toggle { display: block; }
  .header-actions .btn-sm { display: none; }
  .hero-content { padding: 4.5rem 0 3.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .form-card .field-row.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
