/*
Theme Name: Lupe Lomeli Theme
Theme URI: https://agentspotlight.ai
Author: AgentSpotlight
Description: Chrome-only theme for Lupe Lomeli — Park Regency Realty. Layout system forked from the fleet's Real Estate Manager Pro structure (black + gold palette). All page copy lives in post_content as Gutenberg blocks; the theme supplies header, footer, CSS, JS and data-driven shortcodes only.
Version: 1.0.7
Text Domain: lupelomeli
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --black:        #000000;
  --near-black:   #1a1a1a;
  --dark-bg:      #0d0d0d;
  --text-dark:    #2B2B2B;
  --text-muted:   #7A7A7A;
  --cream:        #F8F7F4;
  --white:        #FFFFFF;
  --border-dark:  rgba(255,255,255,0.15);
  --border-light: rgba(0,0,0,0.1);
  --section-pad:  110px 0;
  --gold:         #C9A646;
  --gold-deep:    #A8862B;
  --gold-soft:    rgba(201,166,70,0.35);
  --accent:       var(--gold);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* =============================================
   TEMPLATE CLASS NAMES (Real Estate Manager Pro)
   ============================================= */
.section_main_head {
  text-align: center;
  margin-bottom: 60px;
}
.section_main_head h2 {
  font-size: 2.6rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section_main_head.light h2 { color: var(--white); }
.section-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.section-tagline.light { color: rgba(0,0,0,0.5); }
.section_main_head p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}
.section_main_head.light p { color: rgba(255,255,255,0.6); }

/* Theme Buttons — match template */
.theme_button {
  display: inline-block;
  background: var(--black);
  color: var(--white) !important;
  padding: 15px 38px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.theme_button:hover { background: transparent; color: var(--black) !important; }
.theme_button2 {
  display: inline-block;
  background: transparent;
  color: var(--white) !important;
  padding: 15px 38px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.theme_button2:hover { background: var(--white); color: var(--black) !important; }
.theme_button_dark {
  display: inline-block;
  background: transparent;
  color: var(--black) !important;
  padding: 15px 38px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.theme_button_dark:hover { background: var(--black); color: var(--white) !important; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   TOP PROMO BAR (Section 1)
   ============================================= */
.top-promo-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1100;
}
.top-promo-bar a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 8px;
  transition: color 0.2s;
}
.top-promo-bar a:hover { color: var(--white); }

/* =============================================
   HEADER (Section 2)
   ============================================= */
.top-bar {
  background: var(--near-black);
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  display: block !important;
  visibility: visible !important;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; gap: 24px; align-items: center; }
.top-bar-left a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.top-bar-left a:hover { color: var(--white); }
.top-bar-left i { margin-right: 6px; font-size: 0.7rem; }
.top-bar-right { display: flex; gap: 14px; align-items: center; }
.top-bar-right a { color: rgba(255,255,255,0.6); font-size: 0.82rem; transition: color 0.2s; }
.top-bar-right a:hover { color: var(--white); }

/* STICKY HEADER NAV */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-logo img, .custom-logo { max-width: 180px !important; width: 180px !important; height: auto !important; }
.nav-logo img { height: 55px; width: auto; object-fit: contain; max-width: 180px !important; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--black); letter-spacing: 0.05em; }

/* Bootstrap-compatible nav structure */
.navbar-nav { display: flex; flex-direction: row; gap: 30px; list-style: none; align-items: center; padding: 0; margin: 0; flex-wrap: nowrap; }
.nav-item .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: color 0.2s;
  padding: 8px 0;
  display: block;
}
.nav-item .nav-link:hover, .nav-item .nav-link.active { color: var(--black); }
.nav-item.nav-cta .nav-link {
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 22px;
  font-size: 0.72rem !important;
}
.nav-item.nav-cta .nav-link:hover { background: var(--near-black) !important; }

/* Icon links in nav */
.nav-icons { display: flex; gap: 16px; align-items: center; margin-left: 16px; }
.nav-icon-link { color: var(--text-dark); font-size: 1rem; transition: color 0.2s; }
.nav-icon-link:hover { color: var(--black); }

/* Legacy nav compatibility */
.nav-links { display: flex; flex-direction: row; gap: 30px; list-style: none; align-items: center; flex-wrap: nowrap; }
.nav-links a { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dark); transition: color 0.2s; }
.nav-links a:hover { color: var(--black); }
.nav-cta-link { background: var(--black); color: var(--white) !important; padding: 10px 22px; font-size: 0.72rem !important; }
.nav-cta-link:hover { background: var(--near-black) !important; color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; transition: 0.3s; }

/* =============================================
   SECTION 3: HERO — Split layout
   ============================================= */
#section-slider-search {
  overflow: visible;
  background: var(--dark-bg);
  min-height: 650px;
  display: flex;
  align-items: stretch;
}
.hero-split-wrap {
  position: relative;
  overflow: visible;
  display: flex;
  width: 100%;
  min-height: 650px;
}

/* Left col — OWL Carousel slider */
.hero-slider-col {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.hero-owl-carousel { height: 100%; }
.hero-slide {
  position: relative;
  height: 650px;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.65);
  transition: transform 6s ease;
}
.owl-item.active .hero-slide-bg { transform: scale(1.04); }
.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 60px 60px 70px;
  width: 100%;
}
@media (min-width: 1025px) {
  .hero-slide-content { padding-right: 480px; }
}
.hero-slide-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  display: block;
}
.hero-slide-content h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero-slide-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-slide-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
}
.hero-slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero OWL nav dots */
.hero-owl-carousel .owl-dots {
  position: absolute;
  bottom: 24px;
  left: 60px;
  display: flex;
  gap: 8px;
}
.hero-owl-carousel .owl-dot span {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 0;
  display: block;
  transition: background 0.3s, width 0.3s;
}
.hero-owl-carousel .owl-dot.active span { background: var(--white); width: 40px; }

/* Right col — Property Search Panel */
.hero-search-col {
  right: 60px;
  transform: translateY(-50%);
  width: 380px;
  max-width: 380px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  overflow: hidden;
  position: absolute;
  top: 50%;
  background: var(--white);
  display: block;
  
}
.search-panel {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 0;
}
.search-panel-header {
  background: var(--black);
  padding: 28px 32px 0;
}
.search-panel-header h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 20px;
}

/* Search tabs — template style */
.search-tabs {
  display: flex;
  gap: 0;
  border-bottom: none;
}
.search-tab {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.search-tab.active { color: var(--black); border-bottom-color: var(--black); }

.search-panel-body {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.search-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.search-field input,
.search-field select {
  background: var(--cream);
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-radius: 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.search-field input:focus,
.search-field select:focus { border-color: var(--black); }
.search-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.search-panel-footer {
  padding: 20px 32px 32px;
}
.search-btn {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
}
.search-btn:hover { background: var(--near-black); }
.search-idx-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* =============================================
   SECTION 4: ABOUT US
   ============================================= */
#about-us {
  padding: var(--section-pad);
  background: var(--cream);
}
.about-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 80px;
  align-items: start;
}
.about-img-col { position: relative; }
.about-img-frame {
  position: relative;
  overflow: hidden;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--black);
  border-left: 3px solid var(--black);
  z-index: 2;
}
.about-img-frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--black);
  border-right: 3px solid var(--black);
  z-index: 2;
}
.about-img-frame img {
  max-height: 550px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}
.about-creds-bar {
  background: var(--black);
  padding: 18px 24px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.cred-badge { display: flex; align-items: center; }
.cred-badge img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.about-text-col { padding-top: 8px; }
#about-us .section-tagline { color: var(--text-muted); margin-bottom: 16px; }
.about-text-col h2 { font-size: 2.4rem; color: var(--text-dark); margin-bottom: 28px; line-height: 1.2; }
.about-text-col p { font-size: 0.95rem; line-height: 1.85; color: #4a4a4a; margin-bottom: 18px; font-weight: 300; }

/* STATS CAROUSEL (About Us) */
.stats-carousel-wrap {
  margin-top: 40px;
  background: var(--black);
  padding: 36px 36px;
}
.stats-owl .stat-slide {
  text-align: center;
  padding: 8px 20px;
}
.stats-owl .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-owl .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.stats-owl .owl-dots { display: none; }
.stats-owl .owl-nav { display: none; }

/* =============================================
   SECTION 5: FEATURED PROPERTIES
   ============================================= */
#featured-properties {
  padding: var(--section-pad);
  background: var(--white);
}
#featured-properties .section_main_head .section-tagline { color: var(--text-muted); }

/* Property cards — template style */
.property-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.property-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--near-black);
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .property-card-img img { transform: scale(1.06); }
.property-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 24px 20px 16px;
  color: var(--white);
  transform: translateY(0);
  transition: 0.3s;
}
.property-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.property-card-type {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: var(--black);
  padding: 4px 10px;
  position: absolute;
  top: 16px;
  left: 16px;
}
.property-card-body {
  padding: 20px;
  border: 1px solid var(--border-light);
  border-top: none;
  background: var(--white);
}
.property-card-address {
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 500;
}
.property-card-specs {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.property-card-spec { display: flex; align-items: center; gap: 5px; }
.property-card-spec i { font-size: 0.72rem; }
.properties-coming-soon {
  text-align: center;
  padding: 60px 40px;
  background: var(--cream);
  border: 1px dashed rgba(0,0,0,0.15);
  margin-top: 48px;
}
.properties-coming-soon h4 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 10px; }
.properties-coming-soon p { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; }

/* OWL carousel property */
#featured-properties .owl-carousel .owl-item { padding: 0 10px; }

/* =============================================
   SECTION 6: SERVICES (replaces Sale/Rent Tabs)
   ============================================= */
#sale-rent-properties {
  padding: var(--section-pad);
  background: var(--black);
}
#sale-rent-properties .section_main_head h2 { color: var(--white); }
#sale-rent-properties .section_main_head .section-tagline { color: rgba(255,255,255,0.45); }
#sale-rent-properties .section_main_head p { color: rgba(255,255,255,0.6); }

/* Tab nav — template style */
.prop-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.prop-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.prop-tab-btn.active { color: var(--white); border-bottom-color: var(--white); }
.prop-tab-btn:hover { color: rgba(255,255,255,0.8); }

.prop-tab-pane { display: none; }
.prop-tab-pane.active { display: block; }

/* Service cards in tab layout */
.services-tab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}
.service-tab-card {
  background: var(--near-black);
  padding: 44px 36px;
  transition: background 0.3s;
}
.service-tab-card:hover { background: #222; }
.service-tab-icon { font-size: 1.4rem; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.service-tab-card h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 14px; }
.service-tab-card p { font-size: 0.88rem; line-height: 1.78; color: rgba(255,255,255,0.58); font-weight: 300; }
.service-tab-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.service-tab-link:hover { color: var(--white); border-color: var(--white); }

/* =============================================
   SECTION 8: OUR AGENTS (OWL Carousel)
   ============================================= */
#our-agents {
  padding: var(--section-pad);
  background: var(--cream);
}
#our-agents .section_main_head .section-tagline { color: var(--text-muted); }

.agent-card {
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.agent-avatar-wrap {
  position: relative;
  height: 300px;
  background: var(--near-black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-avatar-initials {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}
.agent-social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.agent-card:hover .agent-social-overlay { opacity: 1; }
.agent-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.agent-social-link:hover { border-color: var(--white); color: var(--white); }
.agent-card-body {
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  border-top: none;
}
.agent-card-body h3 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 6px; }
.agent-card-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.agent-card-body p { font-size: 0.84rem; line-height: 1.72; color: #5a5a5a; font-weight: 300; }

/* OWL carousel agents */
#our-agents .owl-carousel .owl-item { padding: 0 12px; }

/* =============================================
   SECTION 9: PROMOTIONAL BANNER
   ============================================= */
#promotional_banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.promo-img-col {
  position: relative;
  overflow: hidden;
  background: var(--near-black);
}
.promo-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Decorative SVG shapes overlay */
.promo-img-col::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -1px;
  width: 60px;
  height: 100%;
  background: var(--black);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.promo-cta-col {
  background: var(--black);
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-cta-col .section-tagline { color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.promo-cta-col h2 { font-size: 2.6rem; color: var(--white); margin-bottom: 20px; line-height: 1.15; }
.promo-cta-col > p { font-size: 0.95rem; color: rgba(255,255,255,0.62); margin-bottom: 36px; line-height: 1.85; font-weight: 300; max-width: 400px; }

/* Home Val Form in Promo */
.home-val-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.home-val-form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.home-val-form input::placeholder { color: rgba(255,255,255,0.3); }
.home-val-form input:focus { border-color: rgba(0,0,0,0.5); }
#hv-success, #hv-error { font-size: 0.84rem; padding: 10px 0; display: none; }
#hv-success { color: #90ee90; }
#hv-error { color: #ff8080; }
.submit-btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 15px 38px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  border-radius: 0;
  width: 100%;
  text-align: center;
}
.submit-btn:hover { background: transparent; color: var(--white); }

/* =============================================
   SECTION 10: CONTACT US
   ============================================= */
#contact-us {
  padding: var(--section-pad);
  background: var(--white);
}
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-img-col {
  position: relative;
}
.contact-img-col img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.contact-map-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.contact-map-placeholder i { font-size: 2rem; color: rgba(255,255,255,0.2); }
.contact-map-placeholder p { font-size: 0.82rem; color: rgba(255,255,255,0.35); text-align: center; padding: 0 20px; line-height: 1.6; }
.contact-form-col .section-tagline { color: var(--text-muted); margin-bottom: 16px; }
.contact-form-col h2 { font-size: 2.4rem; color: var(--text-dark); margin-bottom: 20px; }
.contact-form-col > p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 32px; font-weight: 300; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--text-dark); }
.contact-detail i { width: 18px; color: var(--text-muted); font-size: 0.88rem; flex-shrink: 0; }
.contact-detail a { color: var(--text-dark); transition: color 0.2s; }
.contact-detail a:hover { color: var(--black); }

/* Contact form */
.contact-form-wrap { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-family: 'Inter', sans-serif; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--cream);
  border: 1px solid var(--border-light);
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-consent { font-size: 0.72rem; color: var(--text-muted); line-height: 1.6; }
#form-success { font-size: 0.84rem; padding: 12px 0; display: none; color: #2d6a2d; }
#form-error { font-size: 0.84rem; padding: 12px 0; display: none; color: #8b0000; }
.form-submit-btn {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  padding: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
  text-align: center;
}
.form-submit-btn:hover { background: transparent; color: var(--black); }

/* =============================================
   SECTION 11: TESTIMONIALS (OWL Carousel)
   ============================================= */
#testimonials {
  padding: var(--section-pad);
  background: var(--near-black);
}
#testimonials .section_main_head h2 { color: var(--white); }
#testimonials .section_main_head .section-tagline { color: rgba(255,255,255,0.4); }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 44px 36px;
  margin: 0 12px;
  height: 100%;
}
.testimonial-stars { color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 20px; }
.testimonial-text { font-size: 0.9rem; line-height: 1.88; color: rgba(255,255,255,0.7); margin-bottom: 28px; font-weight: 300; font-style: italic; }
.testimonial-author { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.testimonial-platform { font-size: 0.7rem; color: rgba(255,255,255,0.25); margin-top: 4px; }

/* Testimonial OWL dots */
#testimonials .owl-dots { text-align: center; margin-top: 40px; }
#testimonials .owl-dot span {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  transition: background 0.3s;
}
#testimonials .owl-dot.active span { background: var(--white); }

/* Rating summary card */
.testimonials-rating-card {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 44px 36px;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}
.rating-big { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.rating-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 24px; }
.rating-source { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 28px; line-height: 1.6; }

/* =============================================
   SECTION 12: LATEST BLOG (OWL Carousel)
   ============================================= */
#latest-news {
  padding: var(--section-pad);
  background: var(--white);
}
#latest-news .section_main_head .section-tagline { color: var(--text-muted); }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  margin: 0 10px;
  overflow: hidden;
}
.blog-card-img {
  height: 200px;
  background: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card-img span { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: rgba(255,255,255,0.25); text-align: center; padding: 20px; }
.blog-card-body { padding: 28px 24px; }
.blog-cat { font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; display: block; }
.blog-card-body h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 0.84rem; line-height: 1.75; color: var(--text-muted); font-weight: 300; margin-bottom: 18px; }
.blog-read-link {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  display: inline-block;
  transition: opacity 0.2s;
}
.blog-read-link:hover { opacity: 0.6; }

/* Blog OWL dots */
#latest-news .owl-dots { text-align: center; margin-top: 36px; }
#latest-news .owl-dot span {
  width: 8px; height: 8px;
  background: var(--border-light);
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  transition: background 0.3s;
}
#latest-news .owl-dot.active span { background: var(--black); }

/* =============================================
   SECTION 13: GALLERY
   ============================================= */
#work-gallery {
  padding: var(--section-pad);
  background: var(--cream);
}
#work-gallery .section_main_head .section-tagline { color: var(--text-muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--near-black);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { font-size: 1.4rem; color: var(--white); }
.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--near-black);
  gap: 10px;
}
.gallery-placeholder span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* =============================================
   SECTION 14: NEWSLETTER
   ============================================= */
#newsletter-section {
  background: var(--black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.newsletter-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--white); margin-bottom: 8px; }
.newsletter-text p { font-size: 0.9rem; color: rgba(0,0,0,0.5); font-weight: 300; max-width: 360px; line-height: 1.7; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-right: none;
  color: var(--white);
  padding: 15px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  width: 300px;
  outline: none;
  border-radius: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 15px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--cream); }

/* =============================================
   SECTION 15: FOOTER
   ============================================= */
#site-footer {
  background: var(--near-black);
  color: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand img { height: 48px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand-fallback { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 16px; display: none; }
.footer-brand > p { font-size: 0.85rem; color: rgba(255,255,255,0.48); line-height: 1.85; font-weight: 300; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--white); color: var(--white); }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.58); transition: color 0.2s; font-weight: 300; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col address { font-style: normal; }
.footer-col address p { font-size: 0.84rem; color: rgba(255,255,255,0.52); line-height: 1.9; font-weight: 300; }
.footer-col address a { color: rgba(255,255,255,0.52); transition: color 0.2s; }
.footer-col address a:hover { color: var(--white); }

/* =============================================
   SECTION 16: COPYRIGHT BAR
   ============================================= */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright p { font-size: 0.77rem; color: rgba(255,255,255,0.32); line-height: 1.7; font-weight: 300; }
.footer-license { font-size: 0.73rem; color: rgba(255,255,255,0.22); line-height: 1.75; max-width: 580px; }

/* =============================================
   SECTION 17: SCROLL-TO-TOP
   ============================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 0.9rem;
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--near-black); }

/* =============================================
   ADDED SECTIONS: FAQ
   ============================================= */
#faq-section {
  padding: var(--section-pad);
  background: var(--cream);
}
#faq-section .section_main_head .section-tagline { color: var(--text-muted); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding-right: 40px;
}
.faq-item:nth-child(even) {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--border-light);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 44px 22px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  line-height: 1.5;
  position: relative;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--text-muted);
  position: absolute;
  right: 0;
  transition: transform 0.3s;
  font-weight: 300;
}
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-answer { display: none; padding: 0 44px 22px 0; }
.faq-answer p { font-size: 0.87rem; line-height: 1.85; color: var(--text-muted); font-weight: 300; }

/* =============================================
   ADDED SECTIONS: COMMUNITIES
   ============================================= */
#communities-section {
  padding: var(--section-pad);
  background: var(--white);
}
#communities-section .section_main_head .section-tagline { color: var(--text-muted); }
.communities-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
  margin-bottom: 48px;
}
.community-featured-card {
  background: var(--white);
  padding: 40px 32px;
  border-top: 3px solid var(--black);
  transition: background 0.25s;
}
.community-featured-card:hover { background: var(--cream); }
.community-featured-card h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 12px; }
.community-featured-card p { font-size: 0.86rem; line-height: 1.8; color: var(--text-muted); font-weight: 300; }
.communities-tags-label { font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; display: block; }
.communities-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.community-tag {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.community-tag:hover { border-color: var(--black); background: var(--cream); }
.idx-placeholder {
  border: 1px dashed rgba(0,0,0,0.18);
  padding: 50px 40px;
  text-align: center;
  background: var(--cream);
}
.idx-placeholder strong { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text-dark); display: block; margin-bottom: 8px; font-weight: 400; }
.idx-placeholder p { font-size: 0.84rem; color: var(--text-muted); font-style: italic; }

/* =============================================
   ADDED SECTIONS: VIDEO
   ============================================= */
#video-section {
  padding: var(--section-pad);
  background: var(--near-black);
}
#video-section .section_main_head h2 { color: var(--white); }
#video-section .section_main_head .section-tagline { color: rgba(255,255,255,0.4); }
#video-section .section_main_head p { color: rgba(255,255,255,0.55); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-yt-link { text-align: center; margin-top: 40px; }

/* =============================================
   AOS ANIMATION OVERRIDES
   ============================================= */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* =============================================
   OWL CAROUSEL CUSTOM NAV (global)
   ============================================= */
.owl-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.owl-nav button {
  width: 44px;
  height: 44px;
  background: var(--black) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 1rem !important;
  transition: background 0.2s;
}
.owl-nav button:hover { background: var(--near-black) !important; }
.owl-nav button span { font-size: 1.2rem; line-height: 1; }

/* =============================================
   RESPONSIVE — 1024px
   ============================================= */
@media (max-width: 1024px) {
  #section-slider-search {
  overflow: visible; min-height: auto; height: auto; overflow: visible; }
  .hero-split-wrap {
  position: relative; min-height: auto; height: auto; }
  .hero-split-wrap {
  position: relative; flex-direction: column; }
  .hero-slider-col { flex: 0 0 100%; max-width: 100%; }
  .hero-search-col { position: static; transform: none; width: 100%; max-width: 100%; right: auto; border-radius: 0; box-shadow: none; overflow: visible; flex: none; }
  .search-panel { flex-direction: row; flex-wrap: wrap; }
  .search-panel-header { flex: 0 0 100%; }
  .search-panel-body { flex: 1; }
  .search-panel-footer { flex: 0 0 100%; }
  .about-row { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #promotional_banner { grid-template-columns: 1fr; }
  .promo-img-col { min-height: 320px; }
  .contact-split { gap: 48px; }
}

/* =============================================
   RESPONSIVE — 768px
   ============================================= */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  :root { --section-pad: 70px 0; }
  .top-bar-right { display: flex; justify-content: center; width: 100%; margin-top: 8px; }
  .top-bar .container { justify-content: center; }

  /* Nav mobile */
  .navbar-nav,
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 0;
    z-index: 999;
  }
  .navbar-nav.open,
  .nav-links.open { display: flex; }
  .navbar-nav .nav-item,
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--border-light); width: 100%; }
  .navbar-nav .nav-item:last-child,
  .nav-links li:last-child { border-bottom: none; }
  .nav-icons { display: none; }
  .nav-toggle { display: block; }

  /* Hero section - allow growth for stacked layout */
  #section-slider-search {
  overflow: visible; min-height: auto; height: auto; overflow: visible; }
  .hero-split-wrap {
  position: relative; min-height: auto; height: auto; }
  .hero-slider-col { overflow: visible; }
  /* Hero */
  .hero-slide { height: 480px; min-height: 480px; }
  .hero-slide-content { padding: 40px 24px 50px; }
  .hero-slide-content h1 { font-size: 2rem; }
  .hero-search-col { position: static; transform: none; width: 100%; max-width: 100%; right: auto; border-radius: 0; box-shadow: none; padding: 0; background: var(--white); min-height: auto; }
  .search-panel-body { padding: 20px 24px; }
  .search-panel-footer { padding: 12px 24px 20px; }
  .search-field-row { grid-template-columns: 1fr 1fr; }

  /* Grid collapse */
  .about-row { grid-template-columns: 1fr; gap: 40px; }
  .services-tab-grid { grid-template-columns: 1fr 1fr; }
  .communities-featured-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item:nth-child(even) { padding-left: 0; border-left: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form input { width: 100%; border-right: 1px solid rgba(255,255,255,0.18); }
  #promotional_banner { grid-template-columns: 1fr; }
  .promo-cta-col { padding: 50px 28px; }
  .promo-img-col::after { display: none; }
}

/* =============================================
   RESPONSIVE — 480px
   ============================================= */
@media (max-width: 480px) {
  .hero-slide-content h1 { font-size: 1.75rem; }
  .services-tab-grid { grid-template-columns: 1fr; }
  .hero-slide-badges { display: none; }
  .nav-logo img { height: 40px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .section_main_head h2 { font-size: 2rem; }
}

/* === HERO FALLBACK — show slides even without OWL === */
.hero-owl-carousel .hero-slide { display: block; }
.hero-owl-carousel:not(.owl-loaded) { height: 650px; overflow: hidden; }
.hero-owl-carousel:not(.owl-loaded) .hero-slide { display: block; }
.hero-owl-carousel:not(.owl-loaded) .hero-slide:not(:first-child) { display: none; }

/* === FORCE ABOUT ROW SIDE-BY-SIDE === */
#about-us .about-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 80px !important;
}
#about-us .about-img-col {
  width: 100% !important;
  max-width: 100% !important;
}
#about-us .about-text-col {
  width: 100% !important;
  max-width: 100% !important;
}

/* =============================================
   MOBILE SEARCH PANEL FIX — Force visible
   ============================================= */
@media (max-width: 1024px) {
  .hero-owl-carousel:not(.owl-loaded) { height: auto; min-height: 400px; overflow: visible; }
  .hero-owl-carousel { height: auto !important; }
  .hero-search-col { position: static !important; transform: none !important; width: 100% !important; max-width: 100% !important; right: auto !important; border-radius: 0 !important; box-shadow: none !important; }
}
@media (max-width: 768px) {
  .hero-owl-carousel:not(.owl-loaded) { height: auto; min-height: 350px; overflow: visible; }
  .hero-slide { height: auto; min-height: 420px; }
  .hero-search-col { position: static !important; transform: none !important; width: 100% !important; max-width: 100% !important; right: auto !important; border-radius: 0 !important; box-shadow: none !important; }
  .search-panel { min-height: 300px; }
}
@media (max-width: 480px) {
  .hero-slide { height: auto; min-height: 380px; }
  .hero-owl-carousel:not(.owl-loaded) { height: auto; min-height: 300px; }
  .search-field-row { grid-template-columns: 1fr; }
}

/* =============================================
   CRITICAL FIX: flex-basis in column layout
   ============================================= */
@media (max-width: 1024px) {
  .hero-slider-col { flex: none !important; width: 100%; }
  .hero-search-col { position: static !important; transform: none !important; width: 100% !important; max-width: 100% !important; right: auto !important; border-radius: 0 !important; box-shadow: none !important; }
}

/* =============================================
   FIX: Search panel single column on mobile
   ============================================= */
@media (max-width: 1024px) {
  .search-panel { flex-direction: column !important; flex-wrap: nowrap !important; }
  .search-panel-header { background: #000 !important; padding: 24px 24px 0 !important; width: 100% !important; flex: none !important; }
  .search-panel-body { padding: 24px !important; width: 100% !important; flex: none !important; background: #fff !important; }
  .search-panel-footer { padding: 16px 24px 24px !important; width: 100% !important; flex: none !important; background: #fff !important; }
  .search-field-row { grid-template-columns: 1fr !important; }
  .hero-search-col { position: static !important; transform: none !important; width: 100% !important; max-width: 100% !important; right: auto !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important; }
}

/* Blog grid responsive */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr !important; }
}

/* =============================================================================
   LUPE LOMELI — BRAND LAYER (black + gold) + GUTENBERG BLOCK COMPATIBILITY
   Everything above is the fleet layout system; everything below is this client.
   ============================================================================= */

/* ---- gold accents on the chrome ---- */
html { scrollbar-color: var(--gold) var(--near-black); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--near-black); }
::-webkit-scrollbar-thumb { background: var(--gold); }
::selection { background: var(--gold); color: var(--black); }
.top-bar { border-bottom: 1px solid rgba(201,166,70,0.25); }
.top-bar-left a:hover, .top-bar-right a:hover { color: var(--gold); }
.top-bar-license { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.08em; }
.nav-item .nav-link:hover, .nav-item .nav-link.active, .nav-icon-link:hover { color: var(--gold-deep); }
.nav-item.nav-cta .nav-link { background: var(--gold); color: var(--black) !important; font-weight: 600; }
.nav-item.nav-cta .nav-link:hover { background: var(--black) !important; color: var(--gold) !important; }
.nav-logo img { height: 56px; width: auto; max-width: 300px !important; }
.section-tagline, .hero-slide-label { color: var(--gold-deep); }
.section_main_head.light .section-tagline, .section-tagline.light,
#sale-rent-properties .section_main_head .section-tagline,
#testimonials .section_main_head .section-tagline,
#video-section .section_main_head .section-tagline,
#about-us .section-tagline, .hero-slide-label { color: var(--gold); }
.theme_button2 { border-color: var(--gold); color: var(--gold) !important; }
.theme_button2:hover { background: var(--gold); color: var(--black) !important; }
.theme_button:hover { background: var(--gold); border-color: var(--gold); color: var(--black) !important; }
.hero-badge { border-color: var(--gold-soft); color: var(--gold); }
.about-img-frame::before, .about-img-frame::after { border-color: var(--gold); }
.about-records { border-top: 2px solid var(--gold); }
.about-records .record-number { color: var(--gold) !important; }
.service-tab-icon, .service-tab-card::before { color: var(--gold); }
.service-tab-link { color: var(--gold); border-color: var(--gold-soft); }
.service-tab-link:hover { color: #fff; border-color: #fff; }
.community-featured-card { border-top-color: var(--gold); }
.community-tag:hover { border-color: var(--gold); }
.testimonial-stars { color: var(--gold); }
.rating-big { color: var(--gold); }
#testimonials .owl-dot.active span, #latest-news .owl-dot.active span { background: var(--gold); }
.blog-read-link { color: var(--gold-deep); border-color: var(--gold-deep); }
.faq-question::after, .faq-item summary::after { color: var(--gold-deep); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.search-field input:focus, .search-field select:focus { border-color: var(--gold); }
.form-submit-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.search-panel-header { border-top: 3px solid var(--gold); }
.search-btn { background: var(--gold); color: var(--black); font-weight: 600; }
.search-btn:hover { background: var(--black); color: var(--gold); }
.footer-col h4 { color: var(--gold); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col ul li a:hover, .footer-col address a:hover, .top-bar a:hover { color: var(--gold); }
.footer-brand img { filter: none; height: 64px; }
.scroll-top-btn { background: var(--gold); color: var(--black); }
.scroll-top-btn:hover { background: var(--near-black); color: var(--gold); }
.contact-detail i { color: var(--gold-deep); }
#home-value-cta { border-top: 1px solid rgba(201,166,70,0.3); }
#home-value-cta .cta-kicker { color: var(--gold); }
.footer-powered a { color: var(--gold); }

/* ---- hero as a wp:cover (image editable in wp-admin) ---- */
.hero-slide.wp-block-cover { height: 720px; min-height: 720px; padding: 0; display: flex; align-items: flex-end; justify-content: flex-start; }
.hero-slide.wp-block-cover .wp-block-cover__image-background { filter: brightness(0.6); object-position: center 30%; }
.hero-slide.wp-block-cover .wp-block-cover__background { display: block; opacity: 1; background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.25) 100%); }
.hero-slide.wp-block-cover .wp-block-cover__inner-container { position: relative; z-index: 2; padding: 60px 60px 70px; width: 100%; max-width: none; margin: 0; color: inherit; }
@media (min-width: 1025px) { .hero-slide.wp-block-cover .wp-block-cover__inner-container { padding-right: 480px; } }
.hero-slide-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-slide-badges > p.hero-badge { margin: 0; }
.hero-slide.wp-block-cover h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); color: var(--white); line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.01em; }
.hero-slide.wp-block-cover p.hero-sub { font-family: 'Inter', sans-serif; font-weight: 300; font-size: 1rem; color: rgba(255,255,255,0.78); margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.hero-search-col .search-panel-header h3 { margin-bottom: 6px; }
.hero-search-col .search-panel-header p { color: rgba(255,255,255,0.6); font-size: 0.8rem; font-weight: 300; padding-bottom: 18px; line-height: 1.5; }
@media (max-width: 768px) { .hero-slide.wp-block-cover { height: 520px; min-height: 520px; } .hero-slide.wp-block-cover .wp-block-cover__inner-container { padding: 40px 24px 50px; } }

/* ---- core block wrappers must not break the donor grid/flex layouts ---- */
.wp-block-group > .wp-block-group__inner-container { display: contents; }
.wp-block-group:not(.container) { margin: 0; }
.wp-block-group.container { margin: 0 auto; }
.wp-block-group.is-layout-constrained > * { max-width: none; margin-left: 0; margin-right: 0; }
.wp-block-group.is-layout-flow > * + *, .wp-block-group.is-layout-constrained > * + * { margin-block-start: 0; }
.entry-content > * { margin: 0; }
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading { margin: 0; }
.section_main_head.wp-block-group { display: block; }
.section_main_head > h2.wp-block-heading { margin-bottom: 16px; }
.section_main_head > p.section-tagline { margin-bottom: 12px; }
.section_main_head > p.section-intro { max-width: 560px; margin: 0 auto; }

/* wp:buttons → donor button look. The class lands on the wrapper div, so target the link inside. */
.wp-block-buttons { gap: 14px; }
.wp-block-button .wp-block-button__link { border-radius: 0; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 15px 38px; transition: background 0.3s, color 0.3s, border-color 0.3s; line-height: 1.2; }
.wp-block-button.theme_button .wp-block-button__link { background: var(--black); color: var(--white); border: 2px solid var(--black); }
.wp-block-button.theme_button .wp-block-button__link:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.wp-block-button.theme_button2 .wp-block-button__link { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.wp-block-button.theme_button2 .wp-block-button__link:hover { background: var(--gold); color: var(--black); }
.wp-block-button.theme_button_light .wp-block-button__link { background: rgba(255,255,255,0.95); color: var(--black); border: 2px solid rgba(255,255,255,0.95); }
.wp-block-button.theme_button_light .wp-block-button__link:hover { background: transparent; color: var(--white); }
.wp-block-button.theme_button_dark .wp-block-button__link { background: transparent; color: var(--black); border: 2px solid var(--black); }
.wp-block-button.theme_button_dark .wp-block-button__link:hover { background: var(--black); color: var(--gold); }

/* ---- ABOUT (dark, image left + copy right + stat tiles) ---- */
#about-us { background: var(--dark-bg); padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-image-col .about-img-frame img { max-height: 620px; aspect-ratio: auto; object-position: top; }
.about-details h2 { color: #fff; font-size: 2.2rem; line-height: 1.25; margin-bottom: 24px; }
.about-details p.section-text { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.85; font-weight: 300; margin-bottom: 16px; }
.about-records { background: var(--near-black); padding: 30px 35px; margin-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.record-item { text-align: center; flex: 1; }
.record-number { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: #fff; font-weight: 700; font-style: italic; line-height: 1; }
.record-label { font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 6px; }
.about-langs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.about-langs p { margin: 0; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-soft); padding: 6px 14px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-records { flex-direction: column; } }

/* ---- SERVICES: 3 cards, no tab bar; icon from a class on the card ---- */
.services-tab-grid.wp-block-group { display: grid; }
.service-tab-card::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1.4rem; display: block; margin-bottom: 20px; }
.icon-house::before { content: '\f015'; }
.icon-tag::before { content: '\f02b'; }
.icon-map::before { content: '\f5a0'; }
.icon-scale::before { content: '\f24e'; }
.icon-calc::before { content: '\f1ec'; }
.icon-language::before { content: '\f1ab'; }
.icon-home-user::before { content: '\e065'; }
.icon-chart::before { content: '\f201'; }
.icon-file::before { content: '\f15c'; }
.icon-envelope::before { content: '\f0e0'; }
.icon-handshake::before { content: '\f2b5'; }
.icon-key::before { content: '\f084'; }
.service-tab-card h3 { margin-bottom: 14px; }

/* ---- BACKGROUND / WHY LUPE (replaces the donor's team carousel — solo agent) ---- */
#background-section { padding: var(--section-pad); background: var(--cream); }
.background-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border-light); }
.background-card { background: var(--white); padding: 40px 28px; border-top: 3px solid var(--gold); transition: background 0.25s; }
.background-card:hover { background: #fdfaf2; }
.background-card::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1.4rem; color: var(--gold-deep); display: block; margin-bottom: 18px; }
.background-card h3 { font-size: 1.05rem; color: var(--text-dark); margin-bottom: 12px; }
.background-card p { font-size: 0.86rem; line-height: 1.8; color: var(--text-muted); font-weight: 300; }
@media (max-width: 1024px) { .background-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .background-grid { grid-template-columns: 1fr; } }

/* ---- COMMUNITIES ---- */
.communities-featured-grid.wp-block-group { display: grid; }
.community-featured-card h3 a { color: inherit; }
.community-featured-card h3 a:hover { color: var(--gold-deep); }
.community-featured-card .community-link { display: inline-block; margin-top: 14px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid var(--gold-deep); padding-bottom: 2px; }
.communities-tag-cloud.wp-block-group { display: flex; }
.communities-tag-cloud > p.community-tag { margin: 0; }

/* ---- TESTIMONIALS (review highlights: plain, not quoted) ---- */
.testimonial-text { font-style: normal; }
.testimonial-kicker { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.testimonial-card p { margin: 0; }
.testimonials-rating-card p { margin: 0; }
.testimonials-rating-card .wp-block-buttons { margin-top: 4px; }

/* ---- VIDEO ---- */
.video-single { max-width: 860px; margin: 0 auto; }
.video-single .wp-block-embed { margin: 0; }
.video-single .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; }
.video-single .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- BLOG (shortcode renders the donor grid) ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { margin: 0; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.blog-nav button { width: 44px; height: 44px; background: var(--black); color: var(--gold); border: 1px solid var(--gold); cursor: pointer; }
.blog-nav button:hover { background: var(--gold); color: var(--black); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- FAQ as native wp:details (no JS, editable in wp-admin) ---- */
.faq-grid.wp-block-group { display: grid; }
.faq-item.wp-block-details { border-bottom: 1px solid var(--border-light); padding-right: 40px; }
.faq-item.wp-block-details summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); line-height: 1.5; position: relative; }
.faq-item.wp-block-details summary::-webkit-details-marker { display: none; }
.faq-item.wp-block-details summary::after { content: '+'; font-size: 1.4rem; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-weight: 300; }
.faq-item.wp-block-details[open] summary::after { content: '−'; }
.faq-item.wp-block-details > p { font-size: 0.87rem; line-height: 1.85; color: var(--text-muted); font-weight: 300; padding: 0 44px 22px 0; }
@media (max-width: 768px) { .faq-item.wp-block-details:nth-child(even) { padding-left: 0; border-left: none; } }

/* ---- CONTACT ---- */
.contact-split.wp-block-group { display: grid; }
.contact-details.wp-block-group { display: flex; }
.contact-detail { margin: 0; }
.contact-detail::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; width: 18px; color: var(--gold-deep); font-size: 0.88rem; flex-shrink: 0; }
.contact-detail.icon-phone::before { content: '\f095'; }
.contact-detail.icon-envelope::before { content: '\f0e0'; }
.contact-detail.icon-pin::before { content: '\f3c5'; }
.contact-detail.icon-language::before { content: '\f1ab'; }
.contact-detail.icon-id::before { content: '\f2c2'; }
.contact-form-col .section_main_head { text-align: left; margin-bottom: 28px; }
.contact-form-col p.contact-intro { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 32px; font-weight: 300; line-height: 1.8; }
.map-wrap { border-radius: 8px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }
.social-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.social-buttons a { padding: 12px 16px; font-size: 0.8rem; }

/* ---- Quick lead form (hero panel) + shared form pieces ---- */
.ll-form .form-group { margin-bottom: 12px; }
.ll-form .form-consent { margin-top: 10px; }
.ll-form .form-status { font-size: 0.84rem; padding: 8px 0; display: none; }
.ll-form .form-status.ok { display: block; color: #2d6a2d; }
.ll-form .form-status.err { display: block; color: #8b0000; }
.quick-form-body { padding: 22px 28px 26px; }
.quick-form-body .form-group input, .quick-form-body .form-group select { padding: 11px 13px; font-size: 0.86rem; }
.quick-form-body .form-consent { font-size: 0.66rem; }

/* ---- Deep pages: dark page hero + designed body ---- */
.page-hero { background: var(--near-black); padding: 100px 0 70px; }
.page-hero .section-tagline { color: var(--gold); margin-bottom: 16px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); max-width: 760px; margin-bottom: 0; }
.page-hero p.page-lead { color: rgba(255,255,255,0.65); font-size: 1rem; font-weight: 300; margin-top: 16px; max-width: 620px; line-height: 1.7; }
.page-section { padding: var(--section-pad); background: var(--white); }
.page-section.alt { background: var(--cream); }
.page-section.dark { background: var(--black); }
.page-section.dark h2, .page-section.dark h3 { color: #fff; }
.page-section.dark p { color: rgba(255,255,255,0.7); }
.prose { max-width: 820px; }
.prose p { font-size: 1rem; line-height: 1.9; color: #4a4a4a; font-weight: 300; margin-bottom: 18px; }
.prose h2 { font-size: 1.9rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose ul { padding-left: 20px; margin-bottom: 18px; }
.prose li { font-size: 0.95rem; line-height: 1.8; color: #4a4a4a; font-weight: 300; margin-bottom: 6px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.07); }
@media (max-width: 900px) { .service-detail-grid { grid-template-columns: 1fr; } }
.credential-list { list-style: none; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-light); }
.credential-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; font-size: 0.9rem; color: var(--text-dark); }
.credential-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold-deep); font-size: 0.75rem; margin-top: 5px; }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-cards .testimonial-card, .review-cards .testimonials-rating-card { margin: 0; }
@media (max-width: 900px) { .review-cards { grid-template-columns: 1fr; } }
.entity-line { font-size: 0.8rem; color: var(--text-muted); text-align: center; padding: 18px 0 0; font-weight: 300; }

/* ---- Blog index (home.php) + single ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }
.single-article { max-width: 800px; margin: 0 auto; }
.single-article .post-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px; }
.single-article .entry-content p { font-size: 1rem; line-height: 1.85; color: #4a4a4a; margin-bottom: 18px; }
.single-article .entry-content h2 { font-size: 1.7rem; margin: 36px 0 14px; }
.single-article .entry-content h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.single-article .entry-content ul, .single-article .entry-content ol { padding-left: 22px; margin-bottom: 18px; }
.single-article .entry-content img { margin: 24px 0; }
.empty-posts { text-align: center; color: var(--text-muted); padding: 40px 0; }

/* ---- footer credit ---- */
.footer-powered { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 10px; }
.footer-brand .footer-blurb { font-size: 0.85rem; color: rgba(255,255,255,0.48); line-height: 1.85; font-weight: 300; margin-bottom: 24px; }

/* v1.0.1 — hero tall enough for the quick form; testimonials as a 4-card grid (no carousel) */
#section-slider-search, .hero-split-wrap { min-height: 720px; }
.hero-owl-carousel:not(.owl-loaded) { height: 720px; }
.hero-search-col { max-height: 690px; overflow-y: auto; }
.quick-form-body { padding: 16px 26px 20px; }
.quick-form-body .form-group { margin-bottom: 8px; }
.quick-form-body .form-group input, .quick-form-body .form-group select { padding: 9px 12px; font-size: 0.84rem; }
.quick-form-body .form-consent { font-size: 0.62rem; line-height: 1.45; margin-top: 8px; }
.hero-search-col .search-panel-header { padding: 22px 28px 0; }
.hero-search-col .search-panel-header h3 { font-size: 1.1rem; }
.hero-search-col .search-panel-header p { padding-bottom: 14px; }
.review-cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .review-cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .review-cards-4 { grid-template-columns: 1fr; } }
.review-cards .testimonial-card { padding: 36px 28px; }
.testimonials-rating-card .wp-block-buttons { flex-direction: column; gap: 8px; width: 100%; }
.testimonials-rating-card .wp-block-button .wp-block-button__link { font-size: 0.68rem; padding: 11px 18px; width: 100%; text-align: center; }
.testimonials-rating-card .rating-source { margin-bottom: 18px; }

/* v1.0.2 — mobile: auto-height hero, hide badges + email in the top bar */
@media (max-width: 768px) {
  .hero-slide.wp-block-cover { height: auto; min-height: 520px; }
  #section-slider-search, .hero-split-wrap, .hero-owl-carousel:not(.owl-loaded) { min-height: 0; height: auto; }
  .hero-search-col { max-height: none; overflow: visible; }
  .top-bar-left { gap: 14px; justify-content: center; flex-wrap: wrap; }
  .top-bar-left a[href^="mailto"] { display: none; }
  .nav-logo img { height: 44px; }
}
@media (max-width: 480px) {
  .hero-slide-badges { display: none; }
  .hero-slide.wp-block-cover h1 { font-size: 1.9rem; }
  .wp-block-buttons.hero-slide-actions .wp-block-button { width: 100%; }
  .wp-block-buttons.hero-slide-actions .wp-block-button__link { width: 100%; text-align: center; padding: 14px 20px; }
}

/* v1.0.3 — centered containers at any width (the block-group margin reset had beaten .container's auto margins);
   hero: dark gradient overlay + brightness filter so text over the photo stays readable; centered intros. */
.container { margin-left: auto !important; margin-right: auto !important; }
.hero-slide.wp-block-cover .wp-block-cover__image-background { filter: brightness(0.55); }
.hero-slide.wp-block-cover h1, .hero-slide.wp-block-cover p.hero-sub, .hero-slide-label { text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.section_main_head > p.section-intro { margin-left: auto; margin-right: auto; }
.about-records { justify-content: space-between; }
.about-langs { justify-content: flex-start; gap: 10px; }
.about-actions { justify-content: flex-start; }

/* v1.0.4 — hero: keep the photo visible (lighter dim), align hero copy + form with the centered container on wide screens */
.hero-slide.wp-block-cover .wp-block-cover__image-background { filter: brightness(0.7); }
.hero-slide.wp-block-cover .wp-block-cover__background { background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.15) 100%); }

/* =============================================================================
   v1.0.5 — wide-screen polish (Darlenne's 1920px review)
   ============================================================================= */
/* 1. Wider content column so the page fills a large monitor without hugging the edges */
:root { --site-w: 1320px; }
.container { max-width: var(--site-w); }

/* 2. wp:button wrappers were picking up the donor's .theme_button* rules (border + padding) → a box around a box.
      Only the inner link is a button. */
.wp-block-button.theme_button, .wp-block-button.theme_button2, .wp-block-button.theme_button_dark, .wp-block-button.theme_button_light {
  background: none !important; border: 0 !important; padding: 0 !important; color: inherit !important; display: inline-block; margin: 0;
}
.wp-block-button.theme_button:hover, .wp-block-button.theme_button2:hover, .wp-block-button.theme_button_dark:hover, .wp-block-button.theme_button_light:hover { background: none !important; }
.wp-block-button .wp-block-button__link { display: inline-block; text-decoration: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; }

/* 3. Hero: copy and form share ONE centered column, so they never overlap at any width */
.hero-slide.wp-block-cover .wp-block-cover__inner-container { max-width: var(--site-w); margin: 0 auto; padding: 60px 40px 80px; }
@media (min-width: 1025px) {
  .hero-slide.wp-block-cover .wp-block-cover__inner-container { padding-right: 500px; }
  .hero-slide.wp-block-cover h1 { max-width: 760px; font-size: clamp(2.4rem, 3.4vw, 3.6rem); }
  .hero-slide.wp-block-cover p.hero-sub { max-width: 560px; font-size: 1.05rem; }
  .hero-search-col { right: max(40px, calc((100vw - var(--site-w)) / 2 + 40px)); width: 400px; max-width: 400px; }
}
.hero-slide-badges { margin-bottom: 36px; }
.hero-slide-badges > p.hero-badge { background: rgba(0,0,0,0.35); backdrop-filter: blur(2px); }

/* 4. Centered groups (the block-group margin reset had removed their auto margins) */
.wp-block-group.video-single { max-width: 900px; margin: 0 auto; }
.wp-block-group.prose { margin: 0; }
.video-single .wp-block-embed__wrapper { position: relative; padding-bottom: 0; height: auto; }
.video-single .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.video-single p.video-caption { margin-top: 18px; color: rgba(255,255,255,0.5); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.video-yt-link.wp-block-group { text-align: center; margin-top: 40px; }
.video-yt-link .wp-block-buttons { justify-content: center; }

/* 5. Section rhythm + luxury details */
.section_main_head { margin-bottom: 64px; }
.section_main_head > h2.wp-block-heading { margin-bottom: 18px; }
.section_main_head > p.section-intro { max-width: 640px; }
.services-tab-grid, .review-cards, .background-grid, .communities-featured-grid { gap: 2px; }
.review-cards .testimonial-card { border: 1px solid rgba(201,166,70,0.18); }
.testimonials-rating-card { border: 1px solid rgba(201,166,70,0.45); }
.testimonials-rating-card .wp-block-buttons { flex-direction: row; justify-content: center; gap: 10px; }
.testimonials-rating-card .wp-block-button { flex: 1 1 45%; }
.testimonials-rating-card .wp-block-button .wp-block-button__link { padding: 12px 10px; font-size: 0.66rem; letter-spacing: 0.1em; white-space: nowrap; }
.about-grid { gap: 72px; align-items: center; }
.about-image-col .about-img-frame img { max-height: 640px; }
.about-actions { margin-top: 28px; }
.community-featured-card, .background-card { padding: 44px 36px; }
.communities-tag-cloud.wp-block-group { gap: 10px; }
.faq-grid.wp-block-group { column-gap: 60px; }
.faq-item.wp-block-details:nth-child(even) { padding-left: 0; border-left: 0; }
.faq-item.wp-block-details { padding-right: 0; }
.contact-split.wp-block-group { gap: 72px; }
.map-wrap iframe { height: 420px; }
.map-wrap { box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

/* v1.0.6 — review cards: author block anchored to the bottom so equal-height cards read as designed */
.review-cards .testimonial-card { display: flex; flex-direction: column; }
.review-cards .testimonial-card .testimonial-text { flex: 1; margin-bottom: 24px; }

/* v1.0.7 — the Cover block's overlay (z-index 1) was painting over the market-report panel, dimming it and eating clicks */
.hero-search-col { z-index: 20; position: absolute; }
.hero-slider-col { z-index: 1; }
.hero-slide.wp-block-cover .wp-block-cover__inner-container { pointer-events: none; }
.hero-slide.wp-block-cover .wp-block-cover__inner-container a, .hero-slide.wp-block-cover .wp-block-cover__inner-container button { pointer-events: auto; }
