/* ============================================================
   floatinghomeliving.com — Shared Stylesheet
   Navy · Cream · Water Blue — matching paulbergeronrealestate.com
   ============================================================ */

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --navy-deep:   #0d1f3c;
  --navy-mid:    #1a3560;
  --navy-light:  #2a4f82;
  --cream:       #f5f1ec;
  --cream-dark:  #e8e2d9;
  --water:       #4a90b8;
  --water-light: #a8d4e8;
  --water-dark:  #2d6e96;
  --wood:        #c4956a;
  --wood-light:  #d9b48c;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #7a7a7a;
  --white:       #ffffff;
  --gold:        #c9a84c;

  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --shadow-sm:   0 2px 10px rgba(13,31,60,0.06);
  --shadow-md:   0 6px 28px rgba(13,31,60,0.09);
  --shadow-lg:   0 14px 48px rgba(13,31,60,0.12);
  --max-w:       1100px;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ─── NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(13,31,60,0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; gap: 1px; }
.nav-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: var(--white);
  letter-spacing: 0.01em;
}
.nav-logo-sub {
  font-size: 9.5px; color: var(--water-light);
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400;
}
.nav-links {
  display: flex; align-items: center; gap: 26px; list-style: none;
}
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.68);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  background: var(--water-dark); color: var(--white) !important;
  padding: 8px 18px; border-radius: var(--radius-sm);
  transition: background 0.2s !important;
}
.nav-links .nav-cta:hover { background: var(--water) !important; }
.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.75); border-radius: 2px; }

/* ─── PAGE OFFSET ───────────────────────────────────────── */
.page-top { padding-top: 64px; }

/* ─── INTERIOR PAGE HERO ────────────────────────────────── */
.page-hero {
  padding-top: 64px;
  min-height: 380px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #08121e 0%, #0d2040 55%, #16325a 100%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(74,144,184,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
  padding: 64px 48px 56px;
  width: 100%;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700; color: var(--white);
  max-width: 780px; margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--water-light); }
.page-hero-sub {
  font-size: clamp(14px, 1.7vw, 16.5px);
  color: rgba(255,255,255,0.6); font-weight: 300; line-height: 1.72;
  max-width: 580px;
}

/* ─── BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--water-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.18); }

/* ─── SECTION UTILITIES ─────────────────────────────────── */
.section-label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--water); margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.section-label.light { color: var(--water-light); }
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 { font-size: clamp(26px, 4vw, 40px); color: var(--navy-deep); margin-top: 8px; }
.section-title.light h2 { color: var(--white); }
.section-title p {
  font-size: 16.5px; color: var(--text-mid); font-weight: 300;
  line-height: 1.72; max-width: 600px; margin: 14px auto 0;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--navy-deep); color: var(--white);
  padding: 13px 30px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-primary:hover { background: var(--navy-mid); }

.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--navy-deep);
  padding: 13px 30px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-dark);
  text-decoration: none; font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--navy-mid); background: var(--cream); }

.btn-secondary.light {
  color: var(--white); border-color: rgba(255,255,255,0.3);
}
.btn-secondary.light:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); }

.btn-white {
  display: inline-block;
  background: var(--white); color: var(--navy-deep);
  padding: 13px 30px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.88; }

/* ─── PULL QUOTE ────────────────────────────────────────── */
.pull-quote {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-left: 3px solid var(--water);
}
.pull-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: clamp(16px, 2vw, 20px);
  color: var(--navy-deep); line-height: 1.55;
}
.pull-quote cite {
  display: block; font-size: 11px; font-style: normal;
  color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; margin-top: 12px;
}

/* ─── FEATURE CARDS (3-col grid) ───────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: var(--max-w); margin: 0 auto;
}
.feature-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 22px;
  background: rgba(74,144,184,0.1);
}
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--navy-deep); margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; font-weight: 300; margin-bottom: 20px; }
.feature-link {
  text-decoration: none; color: var(--water-dark);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s;
}
.feature-link::after { content: '→'; }
.feature-link:hover { gap: 9px; }

/* ─── ARTICLE CARDS ─────────────────────────────────────── */
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; max-width: var(--max-w); margin: 0 auto;
}
.article-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--cream-dark);
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: var(--shadow-md); }
.article-img {
  height: 170px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 36px;
}
.article-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.92);
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.article-body { padding: 22px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.article-meta { font-size: 11px; color: var(--text-light); margin-bottom: 8px; letter-spacing: 0.04em; }
.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--navy-deep); line-height: 1.35; margin-bottom: 10px;
}
.article-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; font-weight: 300; flex: 1; margin-bottom: 16px; }
.article-read-more {
  text-decoration: none; color: var(--water-dark);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s;
}
.article-read-more::after { content: '→'; }
.article-read-more:hover { gap: 9px; }

/* ─── TESTIMONIAL CARDS ─────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: var(--max-w); margin: 0 auto;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--cream-dark);
  display: flex; flex-direction: column; gap: 16px;
}
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 15px;
  color: var(--text-dark); line-height: 1.65; flex: 1;
}
.attr {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--cream-dark);
}
.attr-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--water));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.attr-name { font-size: 13px; font-weight: 600; color: var(--navy-deep); }
.attr-detail { font-size: 11px; color: var(--text-light); }

/* ─── PHOTO PLACEHOLDERS ────────────────────────────────── */
.photo-placeholder {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  font-size: 36px; color: rgba(0,0,0,0.15);
}
.photo-placeholder .photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,31,60,0.7), transparent);
  padding: 18px 14px 12px;
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.88);
  font-family: 'Inter', sans-serif; letter-spacing: 0.04em; text-transform: uppercase;
}
.photo-placeholder .photo-caption span {
  display: block; font-size: 10px; font-weight: 400; font-style: italic;
  color: var(--water-light); text-transform: none; letter-spacing: 0;
}

/* ─── STAT BLOCKS ───────────────────────────────────────── */
.stats-row { display: flex; gap: 0; flex-wrap: wrap; }
.stat-block {
  padding: 28px 32px; border-right: 1px solid rgba(255,255,255,0.08); flex: 1;
}
.stat-block:last-child { border-right: none; }
.stat-block .number {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700; color: var(--white);
  line-height: 1; display: block;
}
.stat-block .label {
  font-size: 11px; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.1em;
  display: block; margin-top: 6px;
}

/* ─── INFO BOX ──────────────────────────────────────────── */
.info-box {
  background: var(--cream); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 22px 26px;
}
.info-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--navy-deep); margin-bottom: 8px;
}
.info-box p { font-size: 14px; color: var(--text-mid); line-height: 1.7; font-weight: 300; }
.info-box.warning { border-left: 3px solid var(--gold); background: #fffdf4; }
.info-box.expert { border-left: 3px solid var(--water); }

/* ─── STEP CARDS ────────────────────────────────────────── */
.step-card {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 22px; align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.step-card:last-child { border-bottom: none; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--water-light);
}
.step-card h3 { font-size: 20px; color: var(--navy-deep); margin-bottom: 8px; }
.step-card p { font-size: 15px; color: var(--text-mid); line-height: 1.75; font-weight: 300; }
.step-card p + p { margin-top: 10px; }

/* ─── CTA BAND ──────────────────────────────────────────── */
.cta-band {
  padding: 72px 48px; text-align: center;
}
.cta-band.wood {
  background: var(--navy-deep);
}
.cta-band.navy { background: linear-gradient(160deg, #08121e 0%, #0d2040 100%); }
.cta-band-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 40px); color: var(--white);
  margin-bottom: 14px; line-height: 1.2;
}
.cta-band h2 em { font-style: italic; color: var(--water-light); }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 32px; font-weight: 300; line-height: 1.65; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  padding: 56px 48px 34px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--white); margin-bottom: 10px;
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-bottom: 6px; }
.footer-desc a { color: var(--water-light); text-decoration: none; }
.footer-col h4 {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.38);
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { color: rgba(255,255,255,0.54); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: var(--water-light); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-mini-nav { display: flex; gap: 20px; }
.footer-mini-nav a { color: rgba(255,255,255,0.38); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-mini-nav a:hover { color: var(--white); }

/* ─── SECTION BACKGROUNDS ───────────────────────────────── */
.bg-white  { background: var(--white); }
.bg-cream  { background: var(--cream); }
.bg-navy   { background: var(--navy-deep); }
.section-pad { padding: 80px 48px; }
.section-pad-sm { padding: 56px 48px; }

/* ─── PROSE CONTENT ─────────────────────────────────────── */
.prose { max-width: 720px; }
.prose p { font-size: 15.5px; color: var(--text-mid); line-height: 1.8; font-weight: 300; margin-bottom: 18px; }
.prose p strong { color: var(--navy-deep); font-weight: 600; }
.prose h3 { font-size: 21px; color: var(--navy-deep); margin: 34px 0 10px; }
.prose h4 { font-size: 16px; color: var(--navy-deep); font-weight: 600; margin: 26px 0 8px; font-family: 'Inter', sans-serif; }
.prose ul { margin: 14px 0 18px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { font-size: 15px; color: var(--text-mid); line-height: 1.65; font-weight: 300; padding-left: 20px; position: relative; }
.prose ul li::before { content: '→'; position: absolute; left: 0; color: var(--water); font-weight: 600; }

/* ─── FORM STYLES ───────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11.5px; font-weight: 600; color: var(--navy-deep); letter-spacing: 0.06em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-md);
  font-size: 15px; font-family: 'Inter', sans-serif;
  color: var(--text-dark); background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--water); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ─── UTILITY ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 56px; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav { padding: 0 24px; }
  .container { padding: 0 24px; }
  .section-pad, .cta-band, .footer { padding-left: 24px; padding-right: 24px; }
  .section-pad-sm { padding-left: 24px; padding-right: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .articles-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .page-hero-inner { padding: 52px 24px 44px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stats-row .stat-block:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .section-pad { padding: 56px 20px; }
  .section-pad-sm { padding: 40px 20px; }
  .footer { padding: 44px 20px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-mini-nav { justify-content: center; flex-wrap: wrap; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
