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

:root {
  --gold: #BBA260;
  --gold-dark: #9a8248;
  --gold-light: #d4b97a;
  --black: #0f0f0f;
  --dark: #1a1a1a;
  --dark2: #252525;
  --gray: #555;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --font: 'Montserrat', sans-serif;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --transition: all 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { color: var(--gold); }

.section-sub {
  font-size: 15px;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 40px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto 40px; }

/* ─── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); transform: translateY(-2px); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ─── NAVBAR ────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 42px; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text strong { font-size: 16px; font-weight: 800; color: var(--white); letter-spacing: 0.5px; }
.nav-logo-text span { font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  opacity: 0.9;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); opacity: 1; }
.nav-links .btn-gold, .nav-links .btn-gold.active { opacity: 1; color: var(--white); padding: 9px 20px; }
.nav-links .btn-gold:hover { color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ─── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #0f0f0f 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://placehold.co/1920x1080/1a1a2e/BBA260?text=RK+Realty+Team') center/cover no-repeat;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(187,162,96,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 span { color: var(--gold); }

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--white); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* Search Bar */
.search-bar {
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 700px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

.search-bar select, .search-bar input {
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  padding: 10px 14px;
  background: transparent;
  flex: 1;
}

.search-bar select { border-right: 1px solid #eee; min-width: 140px; cursor: pointer; }
.search-bar .btn { white-space: nowrap; flex-shrink: 0; }

/* ─── FEATURED LISTINGS ─────────────────────────────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

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

.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.listing-img {
  position: relative;
  height: 220px;
  background: #ddd;
  overflow: hidden;
}

.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.listing-card:hover .listing-img img { transform: scale(1.05); }

.listing-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.listing-body { padding: 20px; }
.listing-price { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.listing-address { font-size: 13px; color: var(--gray); margin-bottom: 14px; }

.listing-details {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: var(--gray);
}

.listing-details span { display: flex; align-items: center; gap: 5px; font-weight: 600; }
.listing-details i { color: var(--gold); }

/* ─── SERVICES ──────────────────────────────────────────────────────────────── */
.services { background: var(--light-gray); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

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

.service-icon {
  width: 64px; height: 64px;
  background: rgba(187,162,96,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--gold);
  transition: var(--transition);
}

.service-card:hover .service-icon { background: var(--gold); color: var(--white); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.service-card a { font-size: 13px; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.service-card a:hover { gap: 10px; }

/* ─── ABOUT / TEAM ──────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img { width: 100%; height: 480px; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 24px; right: -24px;
  background: var(--gold);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge strong { display: block; font-size: 32px; font-weight: 900; }
.about-badge span { font-size: 12px; letter-spacing: 1px; }

.about-text .section-sub { margin-bottom: 24px; }

.about-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.about-feature { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.about-feature i { color: var(--gold); font-size: 16px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.team-card-body { padding: 20px; }
.team-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.team-card .role { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.team-card .phone { font-size: 14px; color: var(--gray); font-weight: 600; }
.team-card .phone a:hover { color: var(--gold); }

/* ─── MORTGAGE ──────────────────────────────────────────────────────────────── */
.mortgage { background: var(--dark); color: var(--white); }
.mortgage .section-title { color: var(--white); }
.mortgage .section-sub { color: rgba(255,255,255,0.65); }

.mortgage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mortgage-features { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.mortgage-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mortgage-feature-icon {
  width: 44px; height: 44px;
  background: rgba(187,162,96,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

.mortgage-feature h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.mortgage-feature p { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Mortgage Calculator */
.calc-card {
  background: var(--dark2);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(187,162,96,0.2);
}

.calc-card h3 { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 24px; }

.calc-field { margin-bottom: 16px; }
.calc-field label { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); margin-bottom: 6px; letter-spacing: 1px; text-transform: uppercase; }
.calc-field input, .calc-field select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: var(--transition);
}

.calc-field input:focus, .calc-field select:focus { border-color: var(--gold); }
.calc-field select option { background: var(--dark2); }

.calc-result {
  margin-top: 20px;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.calc-result span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.calc-result strong { font-size: 32px; font-weight: 900; color: var(--white); }

/* ─── AREAS ─────────────────────────────────────────────────────────────────── */
.areas { background: var(--light-gray); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.area-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.area-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.area-card i { font-size: 28px; color: var(--gold); margin-bottom: 10px; }
.area-card h4 { font-size: 14px; font-weight: 700; }

/* ─── TESTIMONIALS ──────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author-avatar {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
}
.testimonial-author strong { font-size: 14px; font-weight: 700; display: block; }
.testimonial-author span { font-size: 12px; color: var(--gray); }

/* ─── CTA BANNER ─────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(187,162,96,0.1) 0%, transparent 70%);
}

.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 32px; }
.cta-banner .cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── CONTACT STRIP ─────────────────────────────────────────────────────────── */
.contact-strip { background: var(--gold); padding: 24px 0; }
.contact-strip .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.contact-strip-item { display: flex; align-items: center; gap: 10px; color: var(--white); }
.contact-strip-item i { font-size: 20px; }
.contact-strip-item div strong { display: block; font-size: 13px; font-weight: 800; }
.contact-strip-item div span { font-size: 12px; opacity: 0.85; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p { font-size: 13px; line-height: 1.8; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: 15px;
}
.footer-social a:hover { background: var(--gold); }

.footer-col h4 { font-size: 13px; font-weight: 800; color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  font-size: 12px;
}

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

/* ─── FORMS ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--gray); margin-bottom: 6px; letter-spacing: 1px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(187,162,96,0.1); }
.form-group textarea { resize: vertical; min-height: 110px; }

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

/* ─── LEAD FORMS ─────────────────────────────────────────────────────────────── */
.lead-section { background: var(--light-gray); }

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.lead-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.lead-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.lead-card p { font-size: 13px; color: var(--gray); margin-bottom: 24px; }

/* ─── PAGE HERO ─────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark2) 100%);
  padding: 140px 0 60px;
  text-align: center;
  color: var(--white);
}

.page-hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; margin-bottom: 10px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 16px; }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .mortgage-grid, .lead-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-badge { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--black); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-strip .container { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
