/* ============================================================
   NC HOMES — Teresa Overcash Real Estate
   Brand: Realty ONE Group Results
   Colors: Gold #C5A95E, Black #231F20, Off-white #FAF9F6
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #FFFFFF;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
  color: #231F20;
}

h2 em, h1 em, h3 em {
  color: #C5A95E;
  font-style: italic;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-gold {
  background: #C5A95E;
  color: #FFFFFF;
  border-color: #C5A95E;
}

.btn-gold:hover {
  background: #b8993f;
  border-color: #b8993f;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197, 169, 94, 0.4);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-outline:hover {
  background: #FFFFFF;
  color: #231F20;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 15px;
}

/* --- NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(35, 31, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(35, 31, 32, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.brand-brokerage {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #C5A95E;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #C5A95E;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 31, 32, 0.7) 0%,
    rgba(35, 31, 32, 0.5) 50%,
    rgba(35, 31, 32, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #C5A95E;
  border: 1px solid rgba(197, 169, 94, 0.5);
  padding: 8px 20px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-title em {
  color: #C5A95E;
  font-style: italic;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- SECTIONS --- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: #231F20;
  color: #FFFFFF;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-light {
  background: #FAF9F6;
}

.section-alt {
  background: #FFFFFF;
}

.section-gold-tint {
  background: #F5F0E6;
}

.section-heading {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 16px;
}

.text-center {
  text-align: center;
}

.section-intro {
  font-size: 17px;
  color: rgba(51, 51, 51, 0.8);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

/* --- REGION CARDS (Overview) --- */
.region-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.region-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 28px;
  position: relative;
}

.region-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #C5A95E;
}

.region-card h3 {
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.region-card-cities {
  font-size: 13px;
  color: #C5A95E;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 16px;
}

.region-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 20px;
}

.region-card-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #C5A95E;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.region-card-link:hover {
  opacity: 0.8;
}

/* --- REGION HERO IMAGES --- */
.region-hero-img {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.region-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 31, 32, 0.2) 0%,
    rgba(35, 31, 32, 0.75) 100%
  );
}

.region-hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
}

.region-hero-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #FFFFFF;
}

/* --- REGION CONTENT GRID --- */
.region-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding-top: 64px;
  align-items: start;
}

.region-narrative p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.region-narrative h3 {
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 16px;
}

/* --- STAT CARDS --- */
.region-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.stat-card {
  background: #FFFFFF;
  border-left: 4px solid #C5A95E;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.section-alt .stat-card {
  background: #FAF9F6;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #C5A95E;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  font-weight: 500;
}

/* --- PROPERTY TYPES --- */
.property-types {
  padding-top: 72px;
}

.subsection-heading {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 40px;
  text-align: center;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.property-card {
  background: #FFFFFF;
  border: 1px solid #eee;
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.section-alt .property-card {
  background: #FAF9F6;
  border-color: #e8e3d9;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.property-card-header {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #231F20;
  margin-bottom: 4px;
}

.property-card-area {
  font-size: 13px;
  color: #C5A95E;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.property-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  background: rgba(197, 169, 94, 0.12);
  color: #8a7435;
  border-radius: 2px;
}

/* --- BUYER / SELLER GUIDES --- */
.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-content h3 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.guide-content h3:first-child {
  margin-top: 0;
}

.guide-content p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.guide-content strong {
  color: #231F20;
}

/* --- FORMS --- */
.form-section {
  max-width: 800px;
  margin: 64px auto 0;
  padding: 48px;
  background: #FFFFFF;
  border: 1px solid #eee;
}

.form-section-dark {
  background: #231F20;
  border-color: rgba(255, 255, 255, 0.1);
}

.form-section-dark label {
  color: rgba(255, 255, 255, 0.85);
}

.form-section-dark .form-heading {
  color: #FFFFFF;
}

.form-section-dark .form-intro {
  color: rgba(255, 255, 255, 0.7);
}

.form-on-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-on-dark label {
  color: rgba(255, 255, 255, 0.85);
}

.form-heading {
  font-size: 28px;
  margin-bottom: 8px;
  text-align: center;
}

.form-intro {
  font-size: 15px;
  color: #666;
  text-align: center;
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #444;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #FFFFFF;
  color: #333;
  transition: border-color 0.2s;
}

.form-on-dark .form-group input,
.form-on-dark .form-group select,
.form-on-dark .form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.form-section-dark .form-group input,
.form-section-dark .form-group select,
.form-section-dark .form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C5A95E;
  box-shadow: 0 0 0 2px rgba(197, 169, 94, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  font-size: 14px;
}

.form-trust {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 16px;
}

.form-trust-light {
  color: rgba(255, 255, 255, 0.6);
}

/* --- SCHOOLS --- */
.schools-region {
  margin-bottom: 64px;
}

.schools-region:last-child {
  margin-bottom: 0;
}

.schools-region > p {
  max-width: 800px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 15px;
  color: #666;
}

.school-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.school-card {
  background: #FFFFFF;
  border: 1px solid #eee;
  padding: 24px;
  position: relative;
  transition: transform 0.2s;
}

.school-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.school-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #FFFFFF;
  background: #C5A95E;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.school-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.school-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.about-narrative p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.credential-card {
  background: #FFFFFF;
  border-left: 4px solid #C5A95E;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.credential-icon {
  font-size: 18px;
  color: #C5A95E;
  flex-shrink: 0;
}

.credential-text {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* --- BLOG --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid #eee;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.blog-card-body {
  padding: 28px 24px;
}

.blog-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #C5A95E;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #231F20;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-date {
  font-size: 12px;
  color: #999;
}

.blog-card-read {
  font-size: 13px;
  font-weight: 600;
  color: #C5A95E;
  letter-spacing: 0.5px;
}

/* Blog Modal */
.blog-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(35, 31, 32, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 60px 24px;
}

.blog-modal.active {
  display: block;
}

.blog-modal-content {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 48px;
  position: relative;
}

.blog-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  line-height: 1;
  transition: color 0.2s;
}

.blog-modal-close:hover {
  color: #C5A95E;
}

.blog-modal-body h2 {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.blog-modal-body .modal-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 32px;
}

.blog-modal-body .modal-category {
  color: #C5A95E;
  font-weight: 600;
}

.blog-modal-body p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.blog-modal-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 22px;
}

/* --- CONTACT --- */
.section-contact {
  background: #231F20;
  color: #FFFFFF;
  padding: 100px 0;
}

.section-contact h2 {
  color: #FFFFFF;
}

.section-contact .section-intro {
  color: rgba(255, 255, 255, 0.7);
}

.contact-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-wrapper label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* --- FOOTER --- */
.site-footer {
  background: #0f0e0e;
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-agent {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-brokerage {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #C5A95E;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-contact {
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #C5A95E;
}

.footer-divider {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #C5A95E;
}

.footer-attribution {
  margin-bottom: 24px;
}

.footer-attribution a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer-attribution a:hover {
  color: #C5A95E;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.footer-disclaimer p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.footer-eho {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .region-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .region-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-credentials {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .region-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #231F20;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1001;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 15px;
    padding: 12px 24px;
  }

  /* Sections */
  .section {
    padding: 64px 0;
  }

  .region-hero-img {
    height: 280px;
  }

  .region-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-credentials {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: 32px 20px;
    margin-top: 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: auto;
  }

  .school-cards {
    grid-template-columns: 1fr;
  }

  .contact-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 340px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Blog Modal */
  .blog-modal {
    padding: 20px 12px;
  }

  .blog-modal-content {
    padding: 32px 20px;
  }

  .blog-modal-body h2 {
    font-size: 24px;
  }

  .section-heading {
    font-size: clamp(26px, 5vw, 36px);
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 64px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-brokerage {
    font-size: 10px;
  }

  .hero-badge {
    font-size: 10px;
    letter-spacing: 2px;
    padding: 6px 14px;
  }

  .stat-card {
    padding: 14px 16px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 11px;
  }
}

/* Form Success Message */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success svg {
  margin: 0 auto;
}

/* ---- Video Gallery ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.video-wrapper {
  position: relative;
  width: 100%;
  background: #000;
}
.video-wrapper video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-info {
  padding: 1.2rem 1.4rem 1.4rem;
}
.video-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #231F20;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.video-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #C5A95E;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.video-info p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Region Cross-Links ---- */
.region-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}
.region-links-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #C5A95E;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.region-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(197,169,94,0.3);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.region-links a:hover {
  color: #C5A95E;
  border-color: #C5A95E;
}

/* ---- Resources & Guides Section ---- */
.resource-row-heading {
  color: #C5A95E;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(197,169,94,0.25);
}
.resource-row-heading:first-of-type {
  margin-top: 0;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.resource-card {
  display: block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(197,169,94,0.18);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.resource-card:hover {
  transform: translateY(-4px);
  border-color: #C5A95E;
  background: rgba(197,169,94,0.08);
}
.resource-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}
.resource-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0 0 0.75rem;
}
.resource-card-sm {
  padding: 1.2rem 1.3rem;
}
.resource-card-sm h4 {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}
.resource-card-sm p {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.resource-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.resource-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(197,169,94,0.18);
  color: #C5A95E;
  padding: 4px 10px;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* Nav Search CTA */
.nav-link-cta {
  background: #C5A95E;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 8px;
  transition: background 0.3s;
}
.nav-link-cta:hover {
  background: #b89a4f;
}
