/* ===== Central Florida Realty — style.css ===== */
:root {
  --navy: #0e2238;
  --navy-2: #16304f;
  --navy-3: #1e3d63;
  --gold: #c9a227;
  --gold-2: #e0bc4b;
  --ink: #16222e;
  --muted: #5a6b7d;
  --line: #e6ebf0;
  --bg-soft: #f6f8fa;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(14, 34, 56, .06);
  --shadow-md: 0 8px 28px rgba(14, 34, 56, .10);
  --shadow-lg: 0 18px 48px rgba(14, 34, 56, .16);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; }
.center { text-align: center; }
.accent { color: var(--gold); }

/* ===== Top bar ===== */
.topbar { background: var(--navy); color: #c7d4e2; font-size: .82rem; padding: .5rem 0; }
.topbar-inner { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-item { letter-spacing: .02em; }
.topbar-right { margin-left: auto; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold); font-family: var(--serif); font-weight: 700;
  display: grid; place-items: center; font-size: 1.05rem;
}
.brand-text { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.brand-text em { font-style: italic; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; }
.nav-links a:not(.btn):after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s;
}
.nav-links a:not(.btn):hover:after, .nav-links a.active:not(.btn):after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: .7rem 1.35rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem; cursor: pointer; border: none;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  font-family: var(--sans);
}
.btn-lg { padding: .95rem 1.9rem; font-size: .98rem; }
.btn-gold { background: var(--gold); color: #1a1400; box-shadow: 0 6px 18px rgba(201,162,39,.32); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,162,39,.42); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-ghost { color: var(--navy); border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/img/hero.jpg') center/cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,34,56,.92) 0%, rgba(14,34,56,.55) 60%, rgba(14,34,56,.25) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 720px; padding: 3rem 0; }
.hero-eyebrow { font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.1rem; font-weight: 600; }
.hero-title { font-family: var(--serif); font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.08; font-weight: 700; margin-bottom: 1.2rem; }
.hero-title span { color: var(--gold-2); font-style: italic; }
.hero-sub { font-size: 1.12rem; color: #dbe4ee; max-width: 560px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--serif); font-size: 1.9rem; color: var(--gold-2); line-height: 1; }
.stat span { font-size: .82rem; color: #c7d4e2; margin-top: .3rem; letter-spacing: .04em; }
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 1.5rem; opacity: .8; animation: bob 2s infinite; z-index: 3;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-eyebrow { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .8rem; }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: .9rem; }
.section-dark .section-title { color: #fff; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

/* ===== Grids ===== */
.grid { display: grid; gap: 1.6rem; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Listings ===== */
.listings { grid-template-columns: repeat(3, 1fr); }
.listing {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--line);
}
.listing:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-img { position: relative; height: 220px; overflow: hidden; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.listing:hover .listing-img img { transform: scale(1.07); }
.listing-badge {
  position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff;
  font-size: .72rem; padding: .3rem .6rem; border-radius: 6px; letter-spacing: .03em;
}
.listing-price {
  position: absolute; bottom: 12px; left: 12px; background: rgba(14,34,56,.85); color: #fff;
  padding: .35rem .7rem; border-radius: 7px; font-weight: 700; font-size: .95rem; backdrop-filter: blur(4px);
}
.listing-body { padding: 1.1rem 1.2rem 1.3rem; }
.listing-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.listing-addr { color: var(--muted); font-size: .88rem; margin-bottom: .8rem; }
.listing-meta { display: flex; gap: 1.2rem; color: var(--ink); font-size: .85rem; font-weight: 500; }
.listing-meta span { display: flex; align-items: center; gap: .3rem; }
.listing-office { font-size: .8rem; color: var(--muted); margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.mls-disclaimer { text-align: center; font-size: .78rem; color: var(--muted); max-width: 720px; margin: 1.5rem auto 0; }

/* ===== Cards ===== */
.card {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== Areas ===== */
.areas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.area-chip {
  padding: .55rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .92rem; font-weight: 500; color: var(--navy); background: #fff;
  transition: all .2s; cursor: default;
}
.area-chip:hover { border-color: var(--gold); color: var(--gold); background: #fbf7ea; }

/* ===== Mini features ===== */
.mini-feature { text-align: left; padding: 1rem .5rem; }
.mini-num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); font-weight: 700; }
.mini-feature h4 { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin: .5rem 0 .4rem; }
.mini-feature p { color: var(--muted); font-size: .92rem; }

/* ===== Testimonials ===== */
.quote {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-top: 3px solid var(--gold);
}
.quote p { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); font-style: italic; margin-bottom: 1rem; }
.quote footer { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ===== Valuation form ===== */
.valuation-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.valuation-copy .section-title { margin-bottom: 1.1rem; }
.valuation-copy > p { color: #c7d4e2; margin-bottom: 1.5rem; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: .7rem; color: #e7eef5; }
.checklist li { font-size: .98rem; }
.valuation-form {
  background: #fff; border-radius: var(--radius); padding: 2rem; color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.valuation-form input, .valuation-form select, .valuation-form textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--sans); font-size: .95rem; color: var(--ink); background: #fff;
  margin-bottom: 1rem; transition: border-color .2s, box-shadow .2s;
}
.valuation-form textarea { resize: vertical; }
.valuation-form input:focus, .valuation-form select:focus, .valuation-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.form-note { text-align: center; font-size: .88rem; margin-top: .8rem; min-height: 1.2em; }
.form-note.ok { color: #1a7f37; }
.form-note.err { color: #c0392b; }

/* ===== About ===== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-copy .section-title { margin-bottom: 1rem; }
.about-copy > p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.02rem; }
.about-quote {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--navy);
  border-left: 3px solid var(--gold); padding-left: 1rem; margin-bottom: 1.4rem;
}

/* ===== Footer ===== */
.footer { background: var(--navy); color: #c7d4e2; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.brand-light .brand-text { color: #fff; }
.footer-col p { font-size: .92rem; margin-top: .8rem; max-width: 260px; }
.footer-col h5 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .04em; }
.footer-col a, .footer-col span { display: block; font-size: .9rem; color: #c7d4e2; margin-bottom: .6rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #8ea0b3;
}
.footer-disclaimer { max-width: 480px; text-align: right; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cols-3, .cols-4, .listings { grid-template-columns: repeat(2, 1fr); }
  .valuation-wrap, .about-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 0;
    box-shadow: var(--shadow-md); display: none; border-top: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 1.5rem; width: 100%; }
  .nav-toggle { display: block; }
  .topbar-right { display: none; }
  .cols-3, .cols-4, .listings { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-disclaimer { text-align: left; }
}

/* ===== Blog pages ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff; padding: 4.5rem 0 4rem; text-align: center;
}
.page-hero-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: .9rem; }
.page-hero-sub { color: #c7d4e2; max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.blog-body { max-width: 780px; }
.blog-body .lede { font-size: 1.18rem; color: var(--ink); margin-bottom: 1.5rem; }
.blog-body h2 { font-family: var(--serif); color: var(--navy); font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.blog-body p { color: var(--muted); margin-bottom: 1rem; }
.checklist-dark { list-style: none; display: flex; flex-direction: column; gap: .6rem; color: var(--ink); margin-bottom: 1.5rem; }
.checklist-dark li { padding-left: 1.4rem; position: relative; }
.checklist-dark li:before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.blog-cta { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: var(--radius); padding: 2.2rem; margin-top: 2.5rem; text-align: center; }
.blog-cta h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .6rem; }
.blog-cta p { color: #c7d4e2; margin-bottom: 1.4rem; }
.back-link { color: var(--navy); font-weight: 600; }
.back-link:hover { color: var(--gold); }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.city-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.city-card-county { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .5rem; }
.city-card h3 { font-family: var(--serif); color: var(--navy); font-size: 1.25rem; margin-bottom: .4rem; }
.city-card p { color: var(--muted); font-size: .9rem; flex: 1; margin-bottom: 1rem; }
.city-card-link { color: var(--navy); font-weight: 600; font-size: .9rem; }
.city-card:hover .city-card-link { color: var(--gold); }
@media (max-width: 900px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .city-grid { grid-template-columns: 1fr; } }
