/* North Florida Property Buyers — main stylesheet */
:root {
  --navy: #1552b0;
  --navy-deep: #0e3f8f;
  --gulf: #0084d5;
  --sunset: #0a84d6;
  --sunset-dark: #0563a8;
  --sand: #f3f8fd;
  --sand-deep: #d3e2f2;
  --palm: #2f6b4f;
  --ink: #14203a;
  --muted: #5a6577;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(11, 34, 51, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--gulf); }
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--sunset-dark); margin-bottom: .6em; display: inline-block; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.6em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s ease, background .2s ease; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sunset); color: var(--white); }
.btn-primary:hover { background: var(--sunset-dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }

/* Top bar + header */
.topbar { background: var(--navy); color: #c9dcf3; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); border-bottom: 1px solid rgba(95,184,255,.18); box-shadow: 0 2px 14px rgba(11,34,51,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark { width: auto; height: 56px; flex: none; }
.brand-text { font-family: "DM Serif Display", Georgia, serif; font-size: 1.25rem; line-height: 1.05; }
.brand-text small { display: block; font-family: "Work Sans", sans-serif; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #a7b3c2; font-weight: 600; margin-top: 3px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav a { text-decoration: none; color: #e6eef8; font-weight: 500; padding: 8px 12px; border-radius: 8px; font-size: .97rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #5fb8ff; background: rgba(95,184,255,.1); }
.header-call { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-call { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); box-shadow: 0 12px 20px rgba(11,34,51,.12); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
  .main-nav a { display: block; padding: 12px; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--navy) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,63,143,.88) 0%, rgba(21,82,176,.62) 50%, rgba(30,110,210,.22) 100%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 80px 0 90px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: #5fb8ff; }
.hero p { color: #dbe7ee; font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--white); font-weight: 500; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sunset); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 12px; height: 12px; }
.page-hero { padding: 0; }
.page-hero .container { display: block; padding: 70px 0 64px; }
.page-hero h1 { margin-bottom: .3em; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .hero-points { grid-template-columns: 1fr; }
}

/* Offer form card */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 6px solid var(--sunset); }
.form-card h2 { font-size: 1.7rem; margin-bottom: .2em; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #cdd8df; border-radius: 10px; font: inherit; font-size: 1rem; background: #fbfcfd; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gulf); box-shadow: 0 0 0 3px rgba(10,132,214,.2); background: var(--white); }
textarea { min-height: 110px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 14px; padding: 1em; font-size: 1.05rem; }
.form-note, .hero .form-card .form-note, .hero .form-card .sub { color: var(--muted); }
.form-note { font-size: .78rem; margin: 12px 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* Sections */
section { padding: 84px 0; }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #dbe7ee; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.section-head { margin-bottom: 44px; }

/* Trust strip */
.trust { background: var(--sand); padding: 26px 0; }
.trust .container { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; text-align: center; }
.trust-item strong { display: block; font-family: "DM Serif Display", serif; font-size: 1.6rem; color: var(--navy); font-weight: 400; }
.trust-item span { font-size: .88rem; color: var(--muted); }

/* Benefit cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 6px 22px rgba(11,34,51,.08); border: 1px solid #edf1f3; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; margin-bottom: 18px; color: var(--sunset-dark); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }

/* Split image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse .split-img { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse .split-img { order: 0; } }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 22px rgba(11,34,51,.08); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid #edf1f3; font-size: .98rem; }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--gulf); }
.compare td:nth-child(2) { font-weight: 600; color: var(--palm); }
.compare tbody tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 22px rgba(11,34,51,.08); }
.step-img { aspect-ratio: 16/10; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-body { padding: 24px 24px 28px; position: relative; }
.step-num { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--sunset); color: var(--white); font-family: "DM Serif Display", serif; font-size: 1.6rem; display: grid; place-items: center; border: 4px solid var(--white); }
.step h3 { margin-top: 18px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Situations */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: var(--white); border: 1.5px solid var(--sand-deep); padding: 10px 18px; border-radius: 999px; font-weight: 500; color: var(--navy); }

/* Reviews */
.review { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: 0 6px 22px rgba(11,34,51,.08); position: relative; }
.review .stars { color: var(--sunset); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.review cite { font-style: normal; font-weight: 600; color: var(--navy); }
.review.placeholder { border: 2px dashed var(--sand-deep); box-shadow: none; background: #fffdf9; }
.review.placeholder blockquote { color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid #e3e9ec; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; color: var(--navy); list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--sunset); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Areas */
.areas { columns: 3 200px; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.areas li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; gap: 10px; align-items: center; }
.areas li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sunset); flex: none; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #1552b0 0%, #2a9be6 100%); color: var(--white); padding: 64px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 .2em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-navy { background: var(--white); color: var(--navy); } .cta-band .btn-navy:hover { background: #e3f1fc; }
.cta-band .btn-navy { font-size: 1.15rem; padding: 1em 1.8em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .info-row { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info .card-icon { margin: 0; flex: none; }
.contact-info strong { display: block; color: var(--navy); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Prose pages */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #a9bfcc; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin: 0 0 14px; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d6e4ec; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-mark { height: 72px; }
.footer-phone { font-family: "DM Serif Display", serif; font-size: 1.7rem; color: var(--white) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.photo-credit { font-size: .75rem; color: #7f97a5; }
.photo-credit a { color: #9fb5c2; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call */
.mobile-call { display: none; }
@media (max-width: 760px) {
  .mobile-call { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--sunset); color: var(--white); text-decoration: none; justify-content: center; align-items: center; gap: 10px; padding: 14px; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
  body { padding-bottom: 76px; }
}

/* Buttons that sit on the blue header / hero */
.header-call, .hero-actions .btn-primary, .bg-navy .btn-primary { background: var(--white); color: var(--navy); }
.header-call:hover, .hero-actions .btn-primary:hover, .bg-navy .btn-primary:hover { background: #e3f1fc; }
.hero .form-card p { color: var(--muted); }
.hero .form-card .sub { font-size: .95rem; }
.hero .form-card .form-note { font-size: .78rem; }
