/* ============================================================
   NBA — Real Estate
   Navy + Gold luxury theme
   Fonts: Merriweather (display serif) · Bricolage Grotesque (sans)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Navy scale */
  --navy-950: #081426;
  --navy-900: #0a1a30;
  --navy-850: #0e2240;
  --navy-800: #143055;
  --navy-700: #1b3f6e;
  --navy-600: #24518a;

  /* Gold scale */
  --gold-600: #a9851c;
  --gold-500: #c9a227;
  --gold-400: #d9b441;
  --gold-300: #e6c968;
  --gold-200: #f2dfa0;

  /* Neutrals */
  --cream: #f7f4ee;
  --cream-soft: #efeae0;
  --ink: #14273f;
  --white: #ffffff;

  /* Fonts */
  --font-display: "Merriweather", Georgia, serif;
  --font-sans: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --nav-height: 64px;
  --shadow-soft: 0 24px 48px -24px rgba(5, 14, 28, 0.45);
  --shadow-card: 0 16px 40px -20px rgba(5, 14, 28, 0.35);

  --grad-gold: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  --grad-navy: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
}

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

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

body {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

section {
  scroll-margin-top: 130px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.section-sub {
  color: #4b5a6f;
  font-size: 1.06rem;
  max-width: 620px;
}

.section {
  padding-block: 96px;
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 56px;
}

.section-head .section-sub {
  margin-top: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: 0 14px 30px -12px rgba(201, 162, 39, 0.65);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgba(201, 162, 39, 0.75);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(8, 20, 38, 0.6);
}

.btn-dark:hover {
  transform: translateY(-3px);
  background: var(--navy-800);
  box-shadow: 0 20px 40px -12px rgba(8, 20, 38, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-3px);
}

/* ============================================================
   DETACHED / FLOATING NAV
   ============================================================ */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-inline: 20px;
  pointer-events: none;
}

.site-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--container);
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: rgba(10, 26, 48, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 50px -22px rgba(4, 12, 24, 0.65);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-nav.scrolled {
  background: rgba(8, 20, 38, 0.92);
  border-color: rgba(201, 162, 39, 0.25);
  box-shadow: 0 26px 55px -22px rgba(4, 12, 24, 0.8);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px -6px rgba(201, 162, 39, 0.8);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.brand-dot {
  color: var(--gold-400);
}

.brand-light .brand-text {
  color: var(--navy-900);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 9px 15px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--navy-950);
  background: var(--grad-gold);
  box-shadow: 0 6px 16px -6px rgba(201, 162, 39, 0.8);
}

/* CTA */
.nav-cta {
  padding: 11px 22px;
  font-size: 0.92rem;
}

/* Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 160px 120px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg img {
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 38, 0.6) 0%, rgba(8, 20, 38, 0.4) 45%, rgba(8, 20, 38, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 20, 38, 0.78) 0%, rgba(8, 20, 38, 0.3) 55%, rgba(8, 20, 38, 0.05) 100%);
}

.hero-content {
  
 padding-top: 40px;
  padding-bottom: 40px;
  
  
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-sub,
.hero-content .hero-actions {
  text-align: left;
}

.hero .eyebrow {
  color: var(--gold-300);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(4, 12, 24, 0.5);
}

.hero h1 .accent {
  font-style: italic;
  color: transparent;
  background: linear-gradient(120deg, var(--gold-200), var(--gold-400) 60%, var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.stat {
  background: rgba(8, 20, 38, 0.5);
  padding: 26px 18px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--gold-300);
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold-400);
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================================
   LISTINGS
   ============================================================ */
.listings {
  background: var(--cream);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-800);
  border: 1.5px solid #e3dccd;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--gold-400);
}

.filter-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: 0 10px 24px -12px rgba(8, 20, 38, 0.55);
}

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

.listing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid #eee6d6;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.listing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -24px rgba(5, 14, 28, 0.45);
}

.listing-card.hide {
  display: none;
}

.listing-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.listing-card:hover .listing-media img {
  transform: scale(1.07);
}

.badge {
  position: absolute;
  top: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}

.badge-sale {
  left: 14px;
  background: var(--navy-900);
  color: var(--white);
}

.badge-rent {
  left: 14px;
  background: var(--white);
  color: var(--navy-900);
}

.badge-price {
  right: 14px;
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: 0 8px 18px -8px rgba(201, 162, 39, 0.8);
}

.listing-body {
  padding: 22px;
}

.listing-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--navy-900);
}

.listing-loc {
  color: var(--gold-600);
  font-size: 0.9rem;
  margin: 4px 0 16px;
}

.listing-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0e9db;
  color: #55657a;
  font-size: 0.88rem;
}

.listing-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.listings-cta {
  text-align: center;
  margin-top: 52px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--cream);
  border: 1px solid #eee6d6;
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--gold-300);
  margin-bottom: 22px;
  box-shadow: 0 12px 24px -12px rgba(8, 20, 38, 0.55);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--grad-gold);
  color: var(--navy-950);
  transform: rotate(-6deg) scale(1.05);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.service-card p {
  color: #55657a;
  font-size: 0.97rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--grad-navy);
  color: var(--white);
}

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

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -26px;
  right: -20px;
  background: var(--grad-gold);
  color: var(--navy-950);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 22px 44px -18px rgba(201, 162, 39, 0.7);
}

.about-badge-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
}

.about-badge-text {
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.3;
}

.about .section-title {
  color: var(--white);
}

.about .eyebrow {
  color: var(--gold-300);
}

.about-content > p:not(.eyebrow):not(.section-title) {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
}

.about-list {
  margin-bottom: 34px;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.about-list svg {
  width: 22px;
  height: 22px;
  color: var(--gold-300);
  flex-shrink: 0;
}

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

.t-slider {
  max-width: 860px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.t-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.t-slide {
  flex: 0 0 100%;
  background: var(--white);
  border: 1px solid #eee6d6;
  border-radius: var(--radius-lg);
  padding: 48px 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.t-stars {
  color: var(--gold-500);
  font-size: 1.25rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.t-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--navy-850);
  margin-bottom: 28px;
}

.t-slide figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.t-slide figcaption img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-400);
}

.t-slide figcaption strong {
  display: block;
  font-family: var(--font-sans);
  color: var(--navy-900);
  font-size: 0.98rem;
}

.t-slide figcaption span {
  color: var(--gold-600);
  font-size: 0.85rem;
}

.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
}

.t-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #e0d7c4;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

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

.t-btn svg {
  width: 20px;
  height: 20px;
}

.t-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8ceb9;
  transition: all 0.3s ease;
}

.t-dot.active {
  background: var(--gold-500);
  width: 26px;
  border-radius: 999px;
}

/* ============================================================
   FAQS
   ============================================================ */
.faqs {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.faq-intro .section-sub {
  margin-bottom: 28px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--cream);
  border: 1px solid #eee6d6;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 22px 24px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-900);
}

.faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-900);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.faq-icon span::before,
.faq-icon span::after {
  content: "";
  position: absolute;
  background: var(--gold-300);
  border-radius: 2px;
}

.faq-icon span::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon span::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon span::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a p {
  padding: 0 24px 22px;
  color: #55657a;
}

/* ============================================================
   CONTACT / BOOK A CALL
   ============================================================ */
.contact {
  background: var(--cream);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid #eee6d6;
}

.contact-info {
  background: var(--grad-navy);
  color: var(--white);
  padding: 52px 48px;
}

.contact-info .section-title {
  color: var(--white);
}

.contact-info .section-sub {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
}

.contact-meta {
  display: grid;
  gap: 22px;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--gold-300);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
}

.contact-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.contact-form {
  padding: 52px 48px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid #e4dccb;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: #8a94a3;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin: 18px 0 24px;
  max-width: 300px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
  color: var(--gold-300);
  padding-left: 4px;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.social a:hover {
  background: var(--grad-gold);
  border-color: transparent;
  color: var(--navy-950);
}

.social svg {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .wheel { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .listing-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section { padding-block: 72px; }

  /* Mobile nav */
  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(8, 20, 38, 0.97);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 14px 18px;
    border-radius: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .about-grid,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .about-badge {
    right: 12px;
    bottom: -22px;
  }

  .about-media {
    margin-bottom: 40px;
  }

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

@media (max-width: 640px) {
  .container { padding-inline: 20px; }

  .hero { padding-block: 130px 90px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 12px; }
  .hero-actions .btn { width: 100%; }

  .listing-grid,
  .services-grid { grid-template-columns: 1fr; }

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

  .t-slide { padding: 36px 26px 32px; }

  .contact-info,
  .contact-form { padding: 38px 26px; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; }

  .scroll-hint { display: none; }
}
