/* ============================================================
   GET MORTGAGE AMERICA — Main Stylesheet
   ============================================================ */

:root {
  --navy: #0D1F3C;
  --navy-mid: #162d56;
  --navy-light: #1e3a6e;
  --gold: #C8872A;
  --gold-light: #E5A84B;
  --gold-pale: rgba(200,135,42,0.1);
  --cream: #FAF6EF;
  --cream-dark: #EDE7DC;
  --white: #ffffff;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --success: #16a34a;
  --error: #dc2626;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13,31,60,0.09);
  --shadow-hover: 0 12px 48px rgba(13,31,60,0.18);
  --transition: all 0.25s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; font-family:inherit; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { line-height:1.2; }
.serif { font-family:'Playfair Display', serif; }
.section-label {
  font-size:0.72rem; font-weight:700; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--gold); display:block;
  margin-bottom:10px;
}
.section-title {
  font-family:'Playfair Display',serif;
  font-size:clamp(1.8rem,3vw,2.6rem);
  font-weight:700; color:var(--navy); line-height:1.2;
}
.section-title.light { color:var(--white); }

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 28px; border-radius:var(--radius);
  font-weight:600; font-size:0.9rem; letter-spacing:0.02em;
  border:2px solid transparent; transition:var(--transition);
}
.btn-primary { background:var(--gold); color:var(--white); }
.btn-primary:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:0 8px 24px rgba(200,135,42,0.35); }
.btn-outline-light { border-color:rgba(255,255,255,0.3); color:rgba(255,255,255,0.85); }
.btn-outline-light:hover { border-color:var(--gold); color:var(--gold-light); }
.btn-outline { border-color:var(--cream-dark); color:var(--text-muted); background:var(--white); }
.btn-outline:hover { border-color:var(--gold); color:var(--gold); }
.btn-sm { padding:9px 18px; font-size:0.82rem; }
.btn-block { width:100%; justify-content:center; }

/* ── NAV ── */
#navbar {
  position:fixed; top:0; left:0; right:0; z-index:999;
  height:68px; display:flex; align-items:center;
  padding:0 5%;
  background:rgba(13,31,60,0.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(200,135,42,0.15);
  transition:var(--transition);
}
.nav-inner {
  max-width:1300px; margin:0 auto; width:100%;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo {
  display:flex; align-items:center; gap:10px;
  font-family:'Playfair Display',serif; font-size:1.15rem;
  font-weight:700; color:var(--white);
}
.nav-logo .star {
  width:26px; height:26px; background:var(--gold); flex-shrink:0;
  clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.nav-links { display:flex; align-items:center; gap:32px; list-style:none; }
.nav-links a {
  color:rgba(255,255,255,0.7); font-size:0.875rem;
  font-weight:500; letter-spacing:0.02em; transition:var(--transition);
}
.nav-links a:hover, .nav-links a.active { color:var(--gold-light); }
.nav-cta { background:var(--gold) !important; color:var(--white) !important;
  padding:8px 20px; border-radius:4px; font-weight:600 !important; }
.nav-cta:hover { background:var(--gold-light) !important; }

/* Hamburger */
.nav-toggle { display:none; background:none; border:none; color:white; font-size:1.5rem; }
.nav-mobile {
  display:none; position:fixed; top:68px; left:0; right:0;
  background:var(--navy); padding:24px 5%; border-bottom:1px solid rgba(255,255,255,0.08);
  flex-direction:column; gap:20px; z-index:998;
}
.nav-mobile.open { display:flex; }
.nav-mobile a { color:rgba(255,255,255,0.8); font-size:1rem; font-weight:500; padding:6px 0; border-bottom:1px solid rgba(255,255,255,0.06); }

/* ── HERO ── */
.hero {
  min-height:100vh; background:var(--navy);
  display:flex; flex-direction:column;
  position:relative; overflow:hidden; padding-top:68px;
}
.hero-bg-img {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0.18;
}
.hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(13,31,60,0.95) 0%, rgba(13,31,60,0.75) 100%);
}
.hero-grid {
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(200,135,42,0.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(200,135,42,0.04) 1px,transparent 1px);
  background-size:64px 64px;
}
.hero-content {
  position:relative; z-index:2; flex:1;
  display:flex; flex-direction:column; justify-content:center;
  padding:80px 8% 60px; max-width:1300px; margin:0 auto; width:100%;
}
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(200,135,42,0.12); border:1px solid rgba(200,135,42,0.3);
  border-radius:100px; padding:6px 16px;
  font-size:0.72rem; font-weight:700; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--gold-light);
  margin-bottom:28px; width:fit-content;
  animation:fadeUp 0.7s ease both;
}
.hero-eyebrow::before { content:''; width:6px; height:6px; background:var(--gold); border-radius:50%; }
.hero-title {
  font-family:'Playfair Display',serif;
  font-size:clamp(2.8rem,5.5vw,5rem); font-weight:900;
  color:var(--white); line-height:1.05; max-width:760px;
  margin-bottom:24px; animation:fadeUp 0.7s 0.1s ease both;
}
.hero-title em { font-style:italic; color:var(--gold-light); }
.hero-subtitle {
  font-size:1.1rem; color:rgba(255,255,255,0.6); max-width:500px;
  line-height:1.75; margin-bottom:40px; font-weight:300;
  animation:fadeUp 0.7s 0.2s ease both;
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; animation:fadeUp 0.7s 0.3s ease both; }
.hero-stats {
  position:relative; z-index:2;
  display:flex; padding:28px 8%;
  max-width:1300px; margin:0 auto; width:100%;
  border-top:1px solid rgba(255,255,255,0.07);
  gap:0; animation:fadeUp 0.7s 0.4s ease both;
}
.hero-stat { flex:1; padding-right:40px; margin-right:40px; border-right:1px solid rgba(255,255,255,0.07); }
.hero-stat:last-child { border-right:none; margin-right:0; padding-right:0; }
.hero-stat-num { font-family:'Playfair Display',serif; font-size:1.9rem; font-weight:700; color:var(--gold-light); display:block; }
.hero-stat-label { font-size:0.75rem; color:rgba(255,255,255,0.4); text-transform:uppercase; letter-spacing:0.05em; }

/* ── CARDS ── */
.card {
  background:var(--white); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); transition:var(--transition);
  display:flex; flex-direction:column;
}
.card:hover { box-shadow:var(--shadow-hover); transform:translateY(-4px); }
.card-img-wrap { position:relative; overflow:hidden; }
.card-img-wrap img { width:100%; aspect-ratio:16/10; object-fit:cover; transition:transform 0.4s ease; }
.card:hover .card-img-wrap img { transform:scale(1.04); }
.card-body { padding:28px; flex:1; display:flex; flex-direction:column; }
.card-tag {
  display:inline-block; background:var(--gold-pale); color:var(--gold);
  font-size:0.68rem; font-weight:700; letter-spacing:0.1em;
  text-transform:uppercase; padding:4px 10px; border-radius:3px; margin-bottom:14px;
}
.card-title { font-family:'DM Serif Display',serif; font-size:1.35rem; color:var(--navy); margin-bottom:12px; line-height:1.35; }
.card-excerpt { font-size:0.875rem; color:var(--text-muted); line-height:1.75; flex:1; }
.card-meta {
  display:flex; align-items:center; gap:12px;
  margin-top:20px; padding-top:18px;
  border-top:1px solid var(--cream-dark);
  font-size:0.78rem; color:var(--text-muted);
}
.card-avatar { width:30px; height:30px; border-radius:50%; overflow:hidden; background:var(--cream-dark); flex-shrink:0; }
.card-avatar img { width:100%; height:100%; object-fit:cover; }
.card-author { font-weight:600; color:var(--text); }

/* Horizontal post card */
.post-card {
  background:var(--white); border-radius:var(--radius);
  box-shadow:var(--shadow); transition:var(--transition);
  display:flex; overflow:hidden;
}
.post-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-3px); }
.post-card-img { width:200px; min-width:200px; overflow:hidden; }
.post-card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; }
.post-card:hover .post-card-img img { transform:scale(1.05); }
.post-card-body { padding:24px 28px; flex:1; display:flex; flex-direction:column; }
.post-card-title { font-family:'DM Serif Display',serif; font-size:1.15rem; color:var(--navy); margin-bottom:8px; line-height:1.35; }
.post-card-excerpt { font-size:0.85rem; color:var(--text-muted); line-height:1.7; flex:1; margin-bottom:14px; }
.post-card-footer { display:flex; align-items:center; justify-content:space-between; font-size:0.77rem; color:var(--text-muted); }
.read-more { color:var(--gold); font-weight:600; display:inline-flex; align-items:center; gap:4px; transition:gap 0.2s; }
.read-more:hover { gap:8px; }

/* ── SECTIONS ── */
.section { padding:90px 8%; }
.section-inner { max-width:1300px; margin:0 auto; }
.section-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:52px; }
.view-all { color:var(--gold); font-weight:600; font-size:0.875rem; display:inline-flex; align-items:center; gap:6px; white-space:nowrap; transition:gap 0.2s; }
.view-all:hover { gap:10px; }

/* Featured grid */
.featured-grid { display:grid; grid-template-columns:1.5fr 1fr; grid-template-rows:auto auto; gap:24px; }
.card-featured { grid-row:1/3; }
.card-featured .card-title { font-size:1.65rem; }
.card-featured .card-img-wrap img { aspect-ratio:16/9; }

/* Blog grid */
.blog-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:28px; }

/* ── CATEGORIES ── */
.categories-section { background:var(--navy); padding:80px 8%; position:relative; overflow:hidden; }
.categories-section::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,135,42,0.07) 0%,transparent 70%);
}
.cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:48px; }
.cat-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--radius); padding:28px 22px;
  transition:var(--transition); cursor:pointer;
}
.cat-card:hover { background:rgba(200,135,42,0.1); border-color:rgba(200,135,42,0.3); transform:translateY(-3px); }
.cat-icon { font-size:2rem; margin-bottom:14px; display:block; }
.cat-name { font-family:'DM Serif Display',serif; font-size:1rem; color:var(--white); margin-bottom:4px; }
.cat-count { font-size:0.75rem; color:rgba(255,255,255,0.38); font-weight:500; }

/* ── BLOG LISTING LAYOUT ── */
.blog-layout { display:grid; grid-template-columns:1fr 340px; gap:56px; align-items:start; }
.posts-list { display:flex; flex-direction:column; gap:28px; }

/* ── SIDEBAR ── */
.sidebar { position:sticky; top:88px; }
.widget {
  background:var(--white); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow); margin-bottom:22px;
}
.widget-title {
  font-family:'DM Serif Display',serif; font-size:1.05rem; color:var(--navy);
  padding-bottom:14px; border-bottom:2px solid var(--cream-dark); margin-bottom:18px;
}
.search-row { display:flex; border:1px solid var(--cream-dark); border-radius:4px; overflow:hidden; }
.search-row input {
  flex:1; padding:10px 14px; border:none; outline:none;
  font-family:inherit; font-size:0.875rem; background:var(--cream);
}
.search-row button {
  background:var(--gold); border:none; padding:10px 14px;
  color:white; font-size:0.95rem; transition:background 0.2s;
}
.search-row button:hover { background:var(--gold-light); }
.popular-item {
  display:flex; gap:12px; align-items:flex-start;
  padding:11px 0; border-bottom:1px solid var(--cream-dark);
  transition:opacity 0.2s; cursor:pointer;
}
.popular-item:last-child { border-bottom:none; padding-bottom:0; }
.popular-item:hover { opacity:0.7; }
.popular-num { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:700; color:var(--cream-dark); line-height:1; min-width:26px; }
.popular-title { font-size:0.83rem; font-weight:500; color:var(--navy); line-height:1.4; }
.popular-date { font-size:0.73rem; color:var(--text-muted); margin-top:2px; }
.tag-cloud { display:flex; flex-wrap:wrap; gap:7px; }
.tag-pill {
  background:var(--cream); border:1px solid var(--cream-dark); color:var(--text-muted);
  font-size:0.75rem; font-weight:500; padding:5px 12px; border-radius:100px;
  cursor:pointer; transition:var(--transition);
}
.tag-pill:hover, .tag-pill.active { background:var(--gold); border-color:var(--gold); color:white; }
.widget-newsletter { background:var(--navy); }
.widget-newsletter .widget-title { color:var(--white); border-bottom-color:rgba(255,255,255,0.1); }
.widget-newsletter p { font-size:0.83rem; color:rgba(255,255,255,0.55); line-height:1.65; margin-bottom:16px; }
.nl-input {
  width:100%; padding:10px 14px; margin-bottom:10px;
  border:1px solid rgba(255,255,255,0.15); border-radius:4px;
  background:rgba(255,255,255,0.07); color:white; font-family:inherit; font-size:0.875rem; outline:none;
}
.nl-input::placeholder { color:rgba(255,255,255,0.3); }
.nl-input:focus { border-color:var(--gold); }

/* ── CALCULATOR ── */
.calc-section { background:var(--navy); padding:90px 8%; }
.calc-card {
  background:var(--white); border-radius:12px; overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,0.25); max-width:960px; margin:0 auto;
}
.calc-header {
  background:var(--navy-mid); padding:32px 40px;
  display:flex; align-items:center; gap:16px;
}
.calc-header-icon { font-size:2rem; }
.calc-header h2 { font-family:'Playfair Display',serif; font-size:1.5rem; color:white; }
.calc-header p { font-size:0.85rem; color:rgba(255,255,255,0.5); margin-top:4px; }
.calc-body { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.calc-inputs { padding:36px 40px; border-right:1px solid var(--cream-dark); }
.calc-results { padding:36px 40px; background:var(--cream); }
.calc-group { margin-bottom:22px; }
.calc-group label { display:block; font-size:0.8rem; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:8px; }
.calc-input-wrap { position:relative; }
.calc-input-wrap span { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--text-muted); font-weight:500; font-size:0.95rem; }
.calc-input-wrap span.suffix { left:auto; right:13px; }
.calc-input {
  width:100%; padding:11px 14px 11px 28px; border:1px solid var(--cream-dark);
  border-radius:4px; font-family:inherit; font-size:0.95rem; color:var(--text);
  background:var(--white); outline:none; transition:border-color 0.2s;
}
.calc-input.no-prefix { padding-left:14px; }
.calc-input.has-suffix { padding-right:40px; }
.calc-input:focus { border-color:var(--gold); }
.calc-result-main {
  background:var(--navy); border-radius:var(--radius); padding:28px;
  text-align:center; margin-bottom:20px;
}
.calc-result-main .label { font-size:0.75rem; text-transform:uppercase; letter-spacing:0.1em; color:rgba(255,255,255,0.45); margin-bottom:8px; }
.calc-result-main .amount { font-family:'Playfair Display',serif; font-size:2.6rem; font-weight:700; color:var(--gold-light); }
.calc-result-main .sublabel { font-size:0.8rem; color:rgba(255,255,255,0.45); margin-top:4px; }
.calc-breakdown { display:flex; flex-direction:column; gap:12px; }
.breakdown-item { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:var(--white); border-radius:6px; }
.breakdown-item .bi-label { font-size:0.82rem; color:var(--text-muted); }
.breakdown-item .bi-value { font-size:0.9rem; font-weight:600; color:var(--navy); }
.calc-disclaimer { font-size:0.72rem; color:var(--text-muted); text-align:center; margin-top:20px; line-height:1.5; }
/* Donut chart */
.donut-wrap { display:flex; align-items:center; gap:20px; padding:16px; background:var(--white); border-radius:6px; margin-bottom:14px; }
.donut-legend { flex:1; display:flex; flex-direction:column; gap:8px; }
.legend-item { display:flex; align-items:center; gap:8px; font-size:0.78rem; color:var(--text-muted); }
.legend-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }

/* ── ARTICLE PAGE ── */
.article-page { padding:80px 8% 100px; max-width:1300px; margin:0 auto; }
.article-layout { display:grid; grid-template-columns:1fr 340px; gap:56px; align-items:start; }
.back-link {
  display:inline-flex; align-items:center; gap:8px; color:var(--gold);
  font-weight:600; font-size:0.85rem; margin-bottom:28px;
  transition:gap 0.2s; cursor:pointer;
}
.back-link:hover { gap:4px; }
.article-tag { margin-bottom:18px; }
.article-title-h1 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3.5vw,2.75rem); font-weight:700; color:var(--navy); line-height:1.2; margin-bottom:16px; }
.article-subtitle-p { font-family:'DM Serif Display',serif; font-size:1.05rem; color:var(--text-muted); line-height:1.7; font-style:italic; margin-bottom:24px; }
.article-byline {
  display:flex; align-items:center; gap:14px;
  padding:18px 0; border-top:1px solid var(--cream-dark); border-bottom:1px solid var(--cream-dark);
  margin-bottom:36px; font-size:0.82rem; color:var(--text-muted);
}
.byline-avatar { width:42px; height:42px; border-radius:50%; overflow:hidden; background:var(--cream-dark); flex-shrink:0; }
.byline-author { font-weight:600; color:var(--text); font-size:0.9rem; }
.article-hero-img { width:100%; aspect-ratio:16/7; object-fit:cover; border-radius:var(--radius); margin-bottom:40px; }

/* Article body */
.article-body { font-size:1rem; line-height:1.88; color:#2a2a2a; }
.article-body h2 { font-family:'DM Serif Display',serif; font-size:1.55rem; color:var(--navy); margin:40px 0 16px; }
.article-body h3 { font-family:'DM Serif Display',serif; font-size:1.2rem; color:var(--navy-mid); margin:28px 0 10px; }
.article-body p { margin-bottom:20px; }
.article-body ul, .article-body ol { padding-left:26px; margin-bottom:20px; }
.article-body li { margin-bottom:8px; }
.article-body blockquote {
  border-left:3px solid var(--gold); padding:16px 24px;
  background:rgba(200,135,42,0.05); border-radius:0 6px 6px 0;
  margin:32px 0; font-family:'DM Serif Display',serif;
  font-size:1.1rem; color:var(--navy); font-style:italic;
}
.article-body img { width:100%; border-radius:var(--radius); margin:24px 0; }
.callout {
  background:var(--navy); border-radius:var(--radius); padding:26px 30px; margin:32px 0;
}
.callout strong { display:block; font-family:'DM Serif Display',serif; font-size:1.05rem; color:var(--gold-light); margin-bottom:8px; }
.callout p { color:rgba(255,255,255,0.7); font-size:0.9rem; margin:0; }
.article-tags-row { display:flex; flex-wrap:wrap; gap:8px; margin:40px 0 32px; }

/* ── SOCIAL SHARE ── */
.share-bar {
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  padding:22px 0; border-top:1px solid var(--cream-dark); margin-top:40px;
}
.share-label { font-size:0.8rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); }
.share-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:4px; font-size:0.8rem;
  font-weight:600; border:none; transition:var(--transition); color:white;
}
.share-btn.twitter { background:#000000; }
.share-btn.facebook { background:#1877f2; }
.share-btn.linkedin { background:#0a66c2; }
.share-btn.copy { background:var(--text-muted); }
.share-btn:hover { opacity:0.85; transform:translateY(-2px); }
.share-btn svg { width:15px; height:15px; fill:white; }

/* ── COMMENTS ── */
.comments-section { margin-top:56px; padding-top:48px; border-top:2px solid var(--cream-dark); }
.comments-title { font-family:'Playfair Display',serif; font-size:1.5rem; color:var(--navy); margin-bottom:32px; }
.comment-form-card { background:var(--white); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); margin-bottom:40px; }
.comment-form-title { font-family:'DM Serif Display',serif; font-size:1.15rem; color:var(--navy); margin-bottom:22px; }
.form-row-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--text); margin-bottom:6px; }
.form-group input, .form-group textarea, .form-group select {
  width:100%; padding:11px 14px; border:1px solid var(--cream-dark); border-radius:4px;
  font-family:inherit; font-size:0.9rem; color:var(--text); background:var(--cream); outline:none; transition:border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--gold); background:white; }
.form-group textarea { resize:vertical; min-height:100px; }
.comment-list { display:flex; flex-direction:column; gap:0; }
.comment-item {
  padding:24px 0; border-bottom:1px solid var(--cream-dark);
  animation:fadeUp 0.4s ease both;
}
.comment-header { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.comment-avatar {
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1rem; font-weight:700; color:white; flex-shrink:0;
}
.comment-meta .name { font-weight:600; color:var(--navy); font-size:0.9rem; }
.comment-meta .date { font-size:0.75rem; color:var(--text-muted); }
.comment-body { font-size:0.9rem; line-height:1.75; color:var(--text-muted); padding-left:52px; }
.comment-actions { display:flex; gap:16px; padding-left:52px; margin-top:10px; }
.comment-action-btn { background:none; border:none; font-size:0.78rem; color:var(--text-muted); font-family:inherit; transition:color 0.2s; }
.comment-action-btn:hover { color:var(--gold); }
.reply-form { padding-left:52px; margin-top:16px; display:none; }
.reply-form.open { display:block; }
.comment-item.reply { padding-left:52px; }
.rating-row { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.rating-row label { font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--text); }
.stars { display:flex; gap:4px; }
.star { font-size:1.4rem; cursor:pointer; color:var(--cream-dark); transition:color 0.15s; }
.star.active, .star:hover { color:var(--gold); }

/* ── ABOUT ── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.about-visual {
  background:var(--navy); border-radius:12px; overflow:hidden;
  position:relative;
}
.about-visual img { width:100%; height:400px; object-fit:cover; opacity:0.7; }
.about-visual-overlay {
  position:absolute; bottom:0; left:0; right:0;
  background:linear-gradient(to top, var(--navy) 0%, transparent 60%);
  padding:32px;
}
.about-visual-title { font-family:'Playfair Display',serif; font-size:1.5rem; color:white; font-weight:700; }
.about-visual-sub { font-size:0.875rem; color:rgba(255,255,255,0.55); margin-top:6px; }
.about-feature { display:flex; align-items:flex-start; gap:14px; margin-bottom:20px; }
.feat-icon { width:38px; height:38px; border-radius:6px; background:var(--gold-pale); display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0; }
.feat-title { font-size:0.9rem; font-weight:600; color:var(--navy); margin-bottom:2px; }
.feat-desc { font-size:0.82rem; color:var(--text-muted); }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:72px; align-items:start; margin-top:52px; }
.contact-info-item { display:flex; gap:16px; margin-bottom:24px; }
.contact-icon { width:42px; height:42px; border-radius:8px; background:var(--gold-pale); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; }
.contact-info-label { font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--navy); margin-bottom:2px; }
.contact-info-val { font-size:0.9rem; color:var(--text-muted); }
.contact-form-card { background:var(--white); border-radius:var(--radius); padding:40px; box-shadow:var(--shadow); }
.contact-form-title { font-family:'DM Serif Display',serif; font-size:1.4rem; color:var(--navy); margin-bottom:28px; }

/* ── NEWSLETTER BANNER ── */
.nl-banner { background:var(--cream-dark); padding:80px 8%; }
.nl-inner { max-width:640px; margin:0 auto; text-align:center; }
.nl-inner .section-title { margin-bottom:14px; }
.nl-inner p { color:var(--text-muted); font-size:0.95rem; line-height:1.7; margin-bottom:32px; }
.nl-form { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.nl-form input {
  flex:1; min-width:220px; padding:13px 18px;
  border:1px solid var(--cream-dark); border-radius:4px;
  font-family:inherit; font-size:0.9rem; outline:none; background:white;
}
.nl-form input:focus { border-color:var(--gold); }

/* ── FOOTER ── */
footer { background:var(--navy); padding:64px 8% 32px; }
.footer-inner { max-width:1300px; margin:0 auto; }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,0.07); margin-bottom:28px; }
.footer-tagline { font-size:0.85rem; color:rgba(255,255,255,0.4); line-height:1.75; margin:14px 0 22px; }
.socials { display:flex; gap:10px; }
.social-btn {
  width:36px; height:36px; border-radius:6px;
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.09);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.45); font-size:0.8rem; font-weight:700;
  transition:var(--transition); cursor:pointer;
}
.social-btn:hover { background:var(--gold); border-color:var(--gold); color:white; }
.footer-col-title { font-size:0.72rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:rgba(255,255,255,0.4); margin-bottom:18px; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links a { color:rgba(255,255,255,0.5); font-size:0.875rem; transition:color 0.2s; }
.footer-links a:hover { color:var(--gold-light); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; font-size:0.78rem; color:rgba(255,255,255,0.28); }
.footer-bottom a { color:rgba(255,255,255,0.28); transition:color 0.2s; }
.footer-bottom a:hover { color:var(--gold-light); }

/* ── PAGINATION ── */
.pagination { display:flex; gap:8px; margin-top:44px; }
.page-btn { width:40px; height:40px; border:1px solid var(--cream-dark); background:var(--white); border-radius:4px; font-size:0.875rem; font-weight:500; color:var(--text-muted); transition:var(--transition); font-family:inherit; }
.page-btn:hover, .page-btn.active { background:var(--gold); border-color:var(--gold); color:white; }

/* ── PAGE HEADERS ── */
.page-header { background:var(--navy); padding:64px 8%; position:relative; overflow:hidden; }
.page-header::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}
.page-header-inner { max-width:1300px; margin:0 auto; }
.page-header h1 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3.5vw,2.6rem); color:white; font-weight:700; margin-top:10px; }
.page-header p { color:rgba(255,255,255,0.5); margin-top:12px; font-size:0.95rem; max-width:500px; line-height:1.7; }

/* ── TOAST ── */
.toast {
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(80px);
  background:var(--navy); color:white; padding:14px 24px;
  border-radius:8px; font-size:0.875rem; font-weight:500;
  box-shadow:0 8px 32px rgba(0,0,0,0.25); z-index:9999;
  transition:transform 0.35s ease, opacity 0.35s ease; opacity:0;
  display:flex; align-items:center; gap:10px;
}
.toast.show { transform:translateX(-50%) translateY(0); opacity:1; }
.toast-icon { font-size:1.1rem; }

/* ── UTILS ── */
.divider { height:1px; background:var(--cream-dark); margin:0; }
.text-center { text-align:center; }
.mt-4 { margin-top:16px; }
.mt-8 { margin-top:32px; }
.mb-4 { margin-bottom:16px; }
.color-gold { color:var(--gold); }
.no-results { text-align:center; padding:60px 20px; color:var(--text-muted); }
.no-results .nr-icon { font-size:3rem; display:block; margin-bottom:16px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin { to { transform:rotate(360deg); } }
.fade-in { opacity:0; transform:translateY(18px); transition:opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }
.loading { display:inline-block; width:18px; height:18px; border:2px solid rgba(255,255,255,0.3); border-top-color:white; border-radius:50%; animation:spin 0.7s linear infinite; }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .blog-grid { grid-template-columns:1fr 1fr; }
  .featured-grid { grid-template-columns:1fr; }
  .card-featured { grid-row:auto; }
  .cat-grid { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; }
}
@media(max-width:768px) {
  .section { padding:60px 6%; }
  .blog-layout { grid-template-columns:1fr; }
  .article-layout { grid-template-columns:1fr; }
  .about-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .post-card { flex-direction:column; }
  .post-card-img { width:100%; height:180px; }
  .blog-grid { grid-template-columns:1fr; }
  .calc-body { grid-template-columns:1fr; }
  .calc-inputs { border-right:none; border-bottom:1px solid var(--cream-dark); }
  .hero-stats { flex-wrap:wrap; }
  .hero-stat { border-right:none; margin-right:0; flex-basis:calc(50% - 12px); }
  .nav-links { display:none; }
  .nav-toggle { display:block; }
  .sidebar { position:static; }
  .form-row-2 { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:10px; text-align:center; }
}
