/*
Theme Name: Nancy Moore Real Estate
Theme URI: https://nancymoorerealtor.com
Author: AgentSpotlight
Author URI: https://agentspotlight.ai
Description: Luxury real estate theme for Nancy Moore, Gibson Sotheby's International Realty. AI-visibility optimized with full schema markup, FAQ sections, and community pages for Needham & Boston suburbs real estate.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nmoore
Tags: real-estate, luxury, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* =========================================================
   NANCY MOORE — LUXURY REAL ESTATE THEME
   Brand: Navy #001e3d | Gold #C29B40 | Black #000 | Grey #999
   Fonts: Montserrat (headings) | Lato (body)
   ========================================================= */

:root {
  --navy: #001e3d;
  --navy-dark: #001529;
  --gold: #C29B40;
  --gold-light: #d4b062;
  --black: #000000;
  --grey: #999999;
  --grey-light: #f5f5f5;
  --white: #ffffff;
  --text: #2a2a2a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --radius: 4px;
  --container: 1200px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy) !important;
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ==== TOP BAR ==== */
.top-bar {
  background: var(--navy-dark);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a:hover { color: var(--gold); }

.top-bar-social {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-bar-social a {
  color: var(--white);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.top-bar-social a i { pointer-events: none; }

.top-bar-social a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

/* ==== HEADER / NAV ==== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-logo-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-logo { display: inline-flex; align-items: center; line-height: 1; }

.site-logo-primary img {
  height: 60px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.site-logo-primary:hover img { opacity: 0.85; }

.site-logo-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(0,30,61,0.25), transparent);
  display: inline-block;
}

.site-logo-brokerage img {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 2px;
  transition: var(--transition);
}

.site-logo-brokerage:hover img { opacity: 0.85; }

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.5rem;
  display: block;
}

.site-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.site-logo-text span { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.main-nav a {
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

/* ==== HERO ==== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,30,61,0.85) 0%, rgba(0,21,41,0.7) 100%),
              url('assets/images/hero-bg.jpg') center/cover no-repeat;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-content h1 { color: var(--white); margin-bottom: 1.5rem; }

.hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-credentials {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-credential { text-align: left; }

.hero-credential .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-credential .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-photo {
  max-width: 320px;
  margin-left: auto;
  position: relative;
}

.hero-social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.hero-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-social-icons a:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 155, 64, 0.4);
}

.hero-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
  filter: brightness(1.06) contrast(1.1) saturate(1.12) sepia(0.04);
  transition: filter 0.4s ease;
}

.hero-photo img:hover {
  filter: brightness(1.08) contrast(1.12) saturate(1.15) sepia(0.02);
}

/* ==== REVIEWS WIDGET ==== */
.reviews-widget {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

.reviews-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0,30,61,0.02) 0%, rgba(194,155,64,0.04) 100%);
  border: 1px solid #eee;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.reviews-score .stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 4px; }

.reviews-score .rating {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
}

.reviews-score .count { font-size: 0.9rem; color: var(--grey); margin-top: 4px; }

.reviews-platforms {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text);
}

.reviews-platforms span { font-weight: 600; }

.reviews-cta { position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; }
.reviews-cta .read-reviews-btn { pointer-events: auto !important; cursor: pointer; white-space: nowrap; }

/* ==== SECTIONS ==== */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto;
}

/* ==== ABOUT ==== */
.about { background: var(--grey-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-content .section-eyebrow { text-align: left; }
.about-content h2 { margin-bottom: 1.5rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0,30,61,0.12);
  border-bottom: 1px solid rgba(0,30,61,0.12);
}

.about-stat .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.about-stat .label {
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

/* ==== SERVICES ==== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid #eee;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(194,155,64,0.1);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; color: #555; margin: 0; }

/* ==== COMMUNITIES ==== */
.communities { background: var(--navy); color: var(--white); }
.communities h2, .communities .section-header * { color: var(--white); }

.communities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.community-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: left;
  overflow: hidden;
}

.community-card-image { width: 100%; height: 180px; overflow: hidden; }

.community-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.community-card:hover .community-card-image img { transform: scale(1.05); }

.community-card h3,
.community-card p,
.community-card a { padding-left: 1.5rem; padding-right: 1.5rem; }

.community-card a { padding-bottom: 1.5rem; display: inline-block; }
.community-card h3 { padding-top: 1.25rem; }

.community-card:hover {
  background: rgba(194,155,64,0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.community-card h3 { color: var(--gold); margin-bottom: 0.75rem; }
.community-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 1rem; }

.community-card a {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ==== IDX ==== */
.idx-widget {
  background: var(--white);
  color: var(--text);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-top: 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.idx-widget h3 { margin-bottom: 1rem; }

/* ==== TESTIMONIALS ==== */
.testimonials { background: var(--grey-light); }

.testimonial-carousel { max-width: 900px; margin: 0 auto; position: relative; }

.testimonial {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: none;
  text-align: center;
}

.testimonial.active { display: block; }

.testimonial .quote-mark {
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.testimonial-stars { color: var(--gold); margin: 1rem 0; letter-spacing: 3px; }

.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-source { font-size: 0.85rem; color: var(--grey); margin-top: 4px; }

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.testimonial-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-nav button.active { background: var(--gold); }

/* ==== BLOG ==== */
.blog-preview { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.blog-card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  position: relative;
}

.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-content { padding: 1.75rem; }

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.blog-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.95rem; color: #555; margin-bottom: 1rem; }

.blog-card-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--gold);
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  background: var(--white);
}

.blog-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.blog-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

.post-nav a { color: var(--gold); font-family: 'Montserrat', sans-serif; font-size: 0.9rem; }
.post-nav a:hover { color: var(--navy); }

.blog-card-image-link { overflow: hidden; }
.blog-card-image-link .blog-card-image { transition: transform 0.5s ease; }
.blog-card:hover .blog-card-image { transform: scale(1.05); }

/* ==== FAQ ==== */
.faq { background: var(--grey-light); }
.faq-list { max-width: 900px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--gold); }

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-question .icon {
  color: var(--gold);
  font-size: 1.5rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555;
  line-height: 1.8;
}

.faq-item.open .faq-answer { padding: 0 1.5rem 1.5rem; max-height: 500px; }

/* ==== CTA BAR ==== */
.cta-bar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-bar h2 { color: var(--white); }

.cta-bar .btn {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white) !important;
  margin-top: 1.5rem;
}

.cta-bar .btn:hover { background: var(--white); color: var(--navy) !important; }

/* ==== CONTACT FORM ==== */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 42px;
  height: 42px;
  background: rgba(194,155,64,0.1);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 { color: var(--navy); margin-bottom: 0.25rem; }
.contact-info-item p { margin: 0; color: #555; font-size: 0.95rem; }

.contact-form {
  background: var(--grey-light);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194,155,64,0.15);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-consent { font-size: 0.8rem; color: var(--grey); margin-top: 0.75rem; line-height: 1.5; }

.form-status {
  padding: 12px;
  border-radius: var(--radius);
  margin-top: 1rem;
  display: none;
}

.form-status.success { background: #d4edda; color: #155724; display: block; }
.form-status.error { background: #f8d7da; color: #721c24; display: block; }

/* ==== CONTACT MAP ==== */
.contact-map { background: var(--grey-light); }
.contact-map .map-wrapper { width: 100%; line-height: 0; position: relative; }
.contact-map iframe { filter: grayscale(20%); transition: filter 0.4s ease; }
.contact-map iframe:hover { filter: grayscale(0%); }

/* ==== VIDEO ==== */
.video-section { background: var(--grey-light); }

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* ==== FOOTER ==== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--gold); }

.footer-brand img { max-width: 200px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.footer-social a i { pointer-events: none; }

.footer-social a:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.8;
}

.footer-bottom p { margin: 0.5rem 0; }

/* ==== CONTENT PAGES ==== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.page-hero h1 { color: var(--white); }
.page-hero p { opacity: 0.85; max-width: 700px; margin: 1rem auto 0; }

.entry-content { max-width: 820px; margin: 0 auto; padding: 4rem 24px; }
.entry-content h2 { margin: 2rem 0 1rem; }
.entry-content h3 { margin: 1.5rem 0 0.75rem; }
.entry-content ul, .entry-content ol { margin: 1rem 0 1rem 2rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { margin: 1.5rem 0; border-radius: var(--radius); }
.entry-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--grey-light);
  font-style: italic;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { max-width: 340px; margin: 0 auto; }
  .hero-credentials, .hero-ctas { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .about-grid .about-photo { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .reviews-card { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
}

@media (max-width: 768px) {
  .site-logo-primary img { height: 44px; }
  .site-logo-brokerage img { height: 34px; }
  .site-logo-divider { height: 32px; }
  .site-logo-group { gap: 0.75rem; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav li { width: 100%; border-bottom: 1px solid #eee; }
  .main-nav a { display: block; padding: 12px; }
  .nav-toggle { display: block; }
  .site-header .container { position: relative; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; gap: 1.25rem; }
  section { padding: 3.5rem 0; }
  .top-bar .container { flex-direction: column; text-align: center; }
  .contact-map iframe { height: 360px !important; }
}
