/* ── f8 Real Estate Media — B2B Site Shared Styles ── */
/* Brand: Lagoon Blue #064f77 | Misty Blue #0983a8 | Legacy Green #9ebb4d | Asphalt #2d2d2d */

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

:root {
  --lagoon:   #064f77;
  --misty:    #0983a8;
  --green:    #9ebb4d;
  --asphalt:  #2d2d2d;
  --light-bg: #ebf3f8;
  --gray:     #5a6a78;
  --white:    #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito Sans', Helvetica, Arial, sans-serif;
  --max-w: 1080px;
  --nav-h: 80px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--asphalt); background: var(--white); line-height: 1.65; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--lagoon);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo svg { height: 52px; width: 52px; }
.nav-b2b { color: var(--green); font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.nav-logo-text { color: var(--white); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; line-height: 1.3; }
.nav-logo-text span { display: block; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 600;
  text-decoration: none; padding: 8px 14px; border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a.nav-cta {
  background: var(--green); color: var(--white); font-weight: 800;
  margin-left: 8px; padding: 9px 20px;
}
.nav-links a.nav-cta:hover { background: #8aaa3e; }
.nav-ext { color: rgba(255,255,255,0.45) !important; font-size: 12px !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }

/* ── FOOTER ── */
.site-footer { background: var(--lagoon); padding: 52px 40px 36px; border-top: 4px solid var(--green); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 200px 1fr auto; gap: 48px; align-items: start; margin-bottom: 40px; }
.footer-logo svg { height: 44px; width: auto; }
.footer-tagline { font-size: 12px; color: var(--green); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact { text-align: right; }
.footer-contact a { display: block; color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 6px; transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.38); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ── TYPOGRAPHY ── */
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 14px; }
.section-label { font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.green-rule { width: 44px; height: 4px; background: var(--green); margin-bottom: 28px; border-radius: 2px; }
h1.display { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 54px); font-weight: 900; line-height: 1.12; }
h2.section-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); font-weight: 700; color: var(--lagoon); line-height: 1.2; margin-bottom: 16px; }
.body-lg { font-size: 17px; font-weight: 300; line-height: 1.75; color: var(--gray); }
.body-md { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--gray); }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 800; font-size: 15px; padding: 15px 32px; border-radius: 3px; text-decoration: none; transition: all 0.2s; letter-spacing: 0.3px; border: 2px solid transparent; cursor: pointer; }
.btn-primary   { background: var(--lagoon); color: var(--white); border-color: var(--lagoon); }
.btn-primary:hover { background: var(--misty); border-color: var(--misty); }
.btn-green     { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: #8aaa3e; border-color: #8aaa3e; transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--lagoon); border-color: var(--lagoon); }
.btn-outline:hover { background: var(--lagoon); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: var(--white); }
.btn + .btn { margin-left: 12px; }

/* ── PAGE HERO ── */
.page-hero { background: var(--lagoon); padding: 72px 40px 64px; }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; max-width: 820px; }

/* ── SECTIONS ── */
section, .section { padding: 80px 40px; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-alt { background: var(--light-bg); }
.section-dark { background: var(--asphalt); }
.section-lagoon { background: var(--lagoon); }

/* ── CARDS ── */
.card { background: var(--white); border-top: 3px solid var(--green); padding: 28px; }
.card-blue { background: var(--lagoon); color: var(--white); padding: 36px; border-radius: 4px; }

/* ── BENEFIT LIST ── */
.check-list { list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; padding: 9px 0; border-bottom: 1px solid rgba(6,79,119,0.08); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; margin-top: 1px; }

/* ── TABLES ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--lagoon); color: var(--white); font-size: 13px; font-weight: 700; padding: 14px 20px; text-align: center; letter-spacing: 0.3px; }
.data-table td { padding: 14px 20px; font-size: 15px; border-bottom: 1px solid #e0eaf2; text-align: center; color: rgba(255,255,255,0.85); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: rgba(255,255,255,0.04); }

/* ── CALLOUT ── */
.callout-quote { background: var(--light-bg); border-left: 6px solid var(--green); padding: 28px 32px; margin: 28px 0; }
.callout-quote p { font-family: var(--font-display); font-size: 18px; color: var(--lagoon); font-style: italic; line-height: 1.6; }

/* ── FORM ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--lagoon); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 15px;
  border: 2px solid #cddde8; border-radius: 3px; background: var(--white);
  color: var(--asphalt); transition: border-color 0.2s; outline: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--lagoon); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23064f77' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit { width: 100%; background: var(--lagoon); color: var(--white); font-family: var(--font-body); font-weight: 800; font-size: 16px; padding: 18px; border: none; border-radius: 3px; cursor: pointer; letter-spacing: 0.5px; transition: background 0.2s; margin-top: 8px; }
.btn-submit:hover { background: var(--misty); }
.form-consent { font-size: 12px; color: var(--gray); margin-top: 12px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 26px; color: var(--lagoon); margin-bottom: 10px; }
.form-success p { font-size: 15px; color: var(--gray); line-height: 1.7; max-width: 400px; margin: 0 auto; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { text-align: left; grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--lagoon); flex-direction: column; padding: 16px 20px 24px; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle { display: block; }
  section, .section { padding: 56px 24px; }
  .page-hero { padding: 56px 24px 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact { text-align: left; }
  .site-footer { padding: 40px 24px 28px; }
  .btn + .btn { margin-left: 8px; }
}
@media (max-width: 480px) {
  .btn { display: block; text-align: center; margin-bottom: 12px; }
  .btn + .btn { margin-left: 0; }
}
