/* ==========================================================================
   Missi Pacheco Real Estate — Custom Styles
   Brand: Navy Blue (primary) / Magenta (accent) / White (typography)
   ========================================================================== */

:root {
  --navy-deep: #071527;
  --navy: #0b1f3a;
  --navy-light: #17305c;
  --magenta: #d6006f;
  --magenta-light: #ff4d9e;
  --magenta-deep: #9c0050;
  --white: #ffffff;
  --off-white: #f7f7fb;
  --ink: #1b1f2a;
  --gray: #5c6270;
  --font-heading: 'Encode Sans Condensed', Arial Narrow, Arial, sans-serif;
  --font-body: 'Encode Sans Condensed', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
}

a {
  color: var(--magenta);
}
a:hover {
  color: var(--magenta-deep);
}

/* ---------- Utility ---------- */
.bg-navy { background-color: var(--navy) !important; }
.bg-navy-deep { background-color: var(--navy-deep) !important; }
.bg-off-white { background-color: var(--off-white) !important; }
.text-magenta { color: var(--magenta) !important; }
.text-navy { color: var(--navy) !important; }
.section-padding { padding: 5rem 0; }

@media (max-width: 767.98px) {
  .section-padding { padding: 3.25rem 0; }
}

/* ---------- Navbar ---------- */
.navbar {
  box-shadow: 0 2px 12px rgba(7, 21, 39, 0.25);
}
.navbar-brand { line-height: 1.1; }
.navbar-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.navbar-brand .brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta-light);
}
.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--white);
  border-bottom-color: var(--magenta);
}

/* ---------- Buttons ---------- */
.btn-brand {
  background-color: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-brand:hover, .btn-brand:focus {
  background-color: var(--magenta-deep);
  border-color: var(--magenta-deep);
  color: #fff;
}
.btn-outline-brand {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
}
.btn-outline-brand:hover {
  background-color: #fff;
  color: var(--navy);
}
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
}
.btn-outline-navy:hover {
  background-color: var(--navy);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 42%, var(--magenta-deep) 82%, var(--magenta) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-lg { padding: 7rem 0 6rem; }
.hero-sm { padding: 4.5rem 0 3.75rem; }
.hero h1 { font-weight: 800; }
.hero .lead { color: rgba(255, 255, 255, 0.88); }
.hero-eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--magenta-light);
  font-weight: 600;
}

/* ---------- Step cards (Home: Getting Started) ---------- */
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--magenta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: 0 .5rem 1.25rem rgba(214, 0, 111, 0.3);
}
.step-card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ---------- Cards ---------- */
.card-listing {
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(11, 31, 58, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.card-listing:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.18);
}
.card-listing img {
  height: 260px;
  object-fit: cover;
  width: 100%;
}

.testimonial-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(11, 31, 58, 0.08);
  height: 100%;
}
.testimonial-card .bi-star-fill { color: var(--magenta); }
.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--magenta-light);
}

/* ---------- About ---------- */
.about-photo-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(11, 31, 58, 0.2);
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-badges span {
  display: inline-block;
  margin: 0.15rem 0.4rem 0.15rem 0;
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.accordion-button:not(.collapsed) {
  background-color: rgba(214, 0, 111, 0.08);
  color: var(--navy);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(214, 0, 111, 0.15);
}

/* ---------- Contact ---------- */
.contact-info-card {
  background-color: var(--navy-deep);
  color: #fff;
  border-radius: 0.75rem;
  padding: 2.25rem;
}
.contact-info-card a { color: #fff; }
.contact-info-card a:hover { color: var(--magenta-light); }
.contact-info-card .bi { color: var(--magenta-light); }

.form-control:focus, .form-select:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 0.2rem rgba(214, 0, 111, 0.15);
}

/* ---------- Footer ---------- */
.footer-navy { background-color: var(--navy-deep); }
.footer-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-links a:hover { color: var(--magenta-light); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-divider { border-color: rgba(255, 255, 255, 0.15); margin: 2rem 0 1.25rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--magenta-deep) 0%, var(--magenta) 60%, var(--navy) 130%);
  color: #fff;
  border-radius: 1rem;
}

/* ---------- Cookie consent banner ---------- */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 640px;
  margin: 0 auto;
  background-color: var(--navy-deep);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  box-shadow: 0 1rem 2.5rem rgba(7, 21, 39, 0.4);
  padding: 1.25rem 1.5rem;
  animation: cookie-rise 0.35s ease;
}
.cookie-consent[hidden] { display: none; }
@keyframes cookie-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.cookie-consent-icon {
  font-size: 1.4rem;
  color: var(--magenta-light);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.cookie-consent-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}
.cookie-consent-text a {
  color: var(--magenta-light);
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}
@media (min-width: 576px) {
  .cookie-consent-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-consent-actions { flex-shrink: 0; }
}
