/* ============================================================
   CHAPPELL ESTATES — MAIN STYLESHEET
   ============================================================ */

:root {
  --gold: #c9a96e;
  --gold-light: #e8cc9a;
  --gold-dark: #a07840;
--black: #10172a;
--dark: #10172a;
--dark-2: #131c33;
--dark-3: #18223d;
--dark-4: #202b49;
  --white: #ffffff;
  --white-60: rgba(255,255,255,0.6);
  --white-30: rgba(255,255,255,0.3);
  --white-10: rgba(255,255,255,0.08);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }



/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-logo {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}

.loader-c, .loader-e {
  display: inline-block;
  color: var(--gold);
  animation: loaderLetters 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  transform: translateY(60px);
}

.loader-e { animation-delay: 0.15s; }

@keyframes loaderLetters {
  to { opacity: 1; transform: translateY(0); }
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--dark-4);
  margin: 0 auto 16px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  width: 0%;
  transition: width 0.05s linear;
}

.loader-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white-60);
}

/* ============ TYPOGRAPHY ============ */
.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--white-60);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-eyebrow {
  justify-content: center;
}

.section-header .section-eyebrow::before { display: none; }
.section-header .section-subtitle { margin: 0 auto; }

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

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--black);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201, 169, 110, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-30);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon { transition: transform var(--transition-fast); }
.btn:hover .btn-icon { transform: translateX(6px); }

/* ============ REVEAL ANIMATION ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: all var(--transition);
}

.nav.scrolled {
  padding: 16px 48px;
  background: rgba(16, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}
.nav-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.nav-logo-mark {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-sm);
  background: url('/email/chappell-estates-email-logo.png') center / cover no-repeat;
  font-size: 0;
  color: transparent;
  flex-shrink: 0;
}

.footer-logo-mark {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-sm);
  background: url('/email/chappell-estates-email-logo.png') center / cover no-repeat;
  font-size: 0;
  color: transparent;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--white-60);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 100px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition-fast);
  transform-origin: left;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(40deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-40deg); }

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  padding: 12px 0;
  transition: color var(--transition-fast);
  overflow: hidden;
}

.mobile-link:hover { color: var(--gold); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,169,110,0.12) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.12), transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,0.08), transparent 70%);
  bottom: -50px;
  left: -50px;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,169,110,0.06), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.8vw, 6rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 28px;
  padding-bottom: 0.15em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--white-60);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 100px;
  padding: 20px 40px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.02);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 0 32px;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 300;
}

.hero-stat-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-60);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,169,110,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-30);
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--white-30), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ============ MARQUEE ============ */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid rgba(201,169,110,0.1);
  border-bottom: 1px solid rgba(201,169,110,0.1);
  padding: 20px 0;
  background: var(--dark);
}

.marquee-track {
  display: flex;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-60);
  padding-right: 32px;
}

.marquee-dot {
  color: var(--gold);
  font-size: 0.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about {
  padding: 120px 0;
  background: var(--dark);
}

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

.about-visual {
  position: relative;
  height: 500px;
}

.about-card-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 380px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border-radius: var(--radius);
  border: 1px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition);
  z-index: 2;
}

.about-card-main:hover {
  box-shadow: 0 32px 80px rgba(201,169,110,0.15);
}

.about-card-inner {
  text-align: center;
}

.about-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.about-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: spin 10s linear infinite;
  border-right-color: transparent;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.about-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--black);
  letter-spacing: 2px;
}

.about-card-tag {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 6px 16px;
  border-radius: 100px;
}

.about-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(201,169,110,0.15), transparent, rgba(201,169,110,0.08));
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.about-card-main:hover .about-card-glow { opacity: 1; }

.about-card-float {
  position: absolute;
  background: rgba(14,14,14,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 3;
  animation: floatCard 4s ease-in-out infinite;
}

.about-card-float-1 {
  top: 60px;
  right: 0;
  animation-delay: 0s;
}

.about-card-float-2 {
  bottom: 80px;
  left: 0;
  animation-delay: -2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-float-icon { font-size: 1.2rem; }

.about-bg-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(201,169,110,0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 30s linear infinite reverse;
}

.about-body {
  color: var(--white-60);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white-10);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  min-width: 0;
}

.credential-item:hover {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.06);
}

.credential-icon { font-size: 1.4rem; }
.credential-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-60);
}
.credential-value {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* ============ SERVICES ============ */
.services {
  padding: 120px 0;
  background: var(--black);
}

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

.service-card {
  background: var(--dark-2);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover { background: var(--dark-3); }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.28);
  position: absolute;
  top: 20px;
  right: 28px;
  line-height: 1;
  transition: color var(--transition-fast);
}

.service-card:hover .service-number { color: rgba(255,255,255,0.48); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 14px;
  transition: color var(--transition-fast);
}

.service-card:hover .service-title { color: var(--gold-light); }

.service-desc {
  color: var(--white-60);
  font-size: 0.92rem;
  line-height: 1.75;
}

.service-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.service-card:hover .service-line { transform: scaleY(1); }

/* ============ PROPERTIES ============ */
.properties {
  padding: 120px 0;
  background: var(--dark);
}

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

.property-card--center {
  grid-column: 2;
}

.property-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(30px) scale(0.97);
}

.property-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.property-card:hover {
  transform: translateY(-8px) scale(1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,169,110,0.2);
}

.property-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-img-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .property-img-bg { transform: scale(1.08); }

.property-img-1 { background: url('property-1.jpg') center/cover no-repeat, linear-gradient(135deg, #1a2332, #2d3a4a); }
.property-img-2 { background: url('property-2.jpg') center/cover no-repeat, linear-gradient(135deg, #2a1a1a, #3a2a2a); }
.property-img-3 { background: url('property-3.jpg') center/cover no-repeat, linear-gradient(135deg, #1a2a1a, #2a3a2a); }
.property-img-4 { background: url('property-4.jpg') center/cover no-repeat, linear-gradient(135deg, #2a2a1a, #3a3a2a); }
.property-img-5 { background: url('property-5.jpg') center/cover no-repeat, linear-gradient(135deg, #1a1a2a, #2a2a3a); }
.property-img-6 { background: url('property-6.jpg') center/cover no-repeat, linear-gradient(135deg, #2a1a2a, #3a2a3a); }
.property-img-7 { background: url('property-7.jpg') center/cover no-repeat, linear-gradient(135deg, #1a2a2a, #2a3a3a); }

.property-img-bg::after {
  content: '🏠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.3;
}

.property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.property-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.property-status--leased {
  background: rgba(201,169,110,0.2);
  color: var(--gold-light);
  border: 1px solid rgba(201,169,110,0.3);
}

.property-status--available {
  background: rgba(80,200,120,0.2);
  color: #7dd9a0;
  border: 1px solid rgba(80,200,120,0.3);
}

.property-body {
  padding: 20px 24px;
}

.property-type {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.property-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.property-loc {
  font-size: 0.82rem;
  color: var(--white-60);
  margin-bottom: 14px;
}

.property-features {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--white-60);
}

.properties-note {
  text-align: center;
  margin-top: 48px;
  color: var(--white-60);
  font-size: 0.9rem;
}

.properties-note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  transition: border-color var(--transition-fast);
}

.properties-note a:hover { border-color: var(--gold); }

/* ============ WHY US ============ */
.why {
  padding: 120px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.why-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06), transparent 70%);
  filter: blur(60px);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-body {
  color: var(--white-60);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white-10);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(20px);
}

.why-feature.revealed {
  opacity: 1;
  transform: translateY(0);
}

.why-feature:hover {
  background: rgba(201,169,110,0.06);
  border-color: rgba(201,169,110,0.2);
  transform: translateY(-3px);
}

.why-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-feature h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.why-feature p {
  font-size: 0.84rem;
  color: var(--white-60);
  line-height: 1.65;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 120px 0;
  background: var(--dark);
  overflow: hidden;
}

.testimonials-track-wrap {
  overflow: hidden;
  margin: 0 -40px;
  padding: 0 40px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px;
  transition: border-color var(--transition-fast);
}

.testimonial-card:hover { border-color: rgba(201,169,110,0.25); }

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--white-60);
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--white-60);
  margin-top: 2px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  background: transparent;
  color: var(--gold);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--gold);
  color: var(--black);
}

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

.testimonial-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white-30);
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 3px;
}

/* ============ CONTACT ============ */
.contact {
  padding: 120px 0;
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-body {
  color: var(--white-60);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

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

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white-10);
  border: 1px solid rgba(201,169,110,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-detail a.contact-detail-value:hover { color: var(--gold); }

.contact-legal {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: rgba(201,169,110,0.5);
  line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
}

/* ============ FORM ============ */
.contact-form-wrap {
  background: var(--dark-2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px;
}

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

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

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

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-60);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,169,110,0.5);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-success {
  grid-column: 1 / -1;
  text-align: center;
  color: #7dd9a0;
  font-size: 0.9rem;
  padding: 14px;
  background: rgba(80,200,120,0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(80,200,120,0.2);
  display: none;
  animation: formSuccessIn 0.4s ease forwards;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-mark {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.footer-links {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--white-60);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

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

.footer-legal {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(201,169,110,0.5);
  line-height: 1.8;
  letter-spacing: 1px;
}

.footer-copy {
  color: var(--white-30);
  margin-top: 4px;
  font-size: 0.72rem;
}

.footer-bottom-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 360px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .property-card--center { grid-column: auto; }
  .testimonial-card { flex: 0 0 calc(100% - 0px); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 24px 80px; }
  .hero-content { padding: 0 8px; }
  .hero-stats { padding: 16px 20px; gap: 0; flex-direction: column; }
  .hero-stat { padding: 8px 0; }
  .hero-stat-divider { width: 60px; height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .footer-inner { padding: 0 20px 48px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .testimonial-card { padding: 28px 20px; }
  .about-credentials { grid-template-columns: 1fr 1fr; }
}

/* ============ SERVICE CARD CENTERED ============ */
.service-card--center { grid-column: 2; }

/* ============ PROPERTY TOOLBAR ============ */
.prop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}

.prop-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.prop-search-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.5;
}

.prop-search-input {
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 42px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.prop-search-input:focus {
  border-color: rgba(201,169,110,0.5);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}

.prop-search-input::placeholder { color: rgba(255,255,255,0.25); }

.prop-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prop-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--white-60);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.prop-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.prop-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 500;
}

.prop-selects {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.prop-select {
  flex: 1;
  min-width: 140px;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.prop-select:focus { border-color: rgba(201,169,110,0.5); }

.prop-results-meta {
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--white-60);
  min-height: 20px;
}

/* ============ PROPERTY STATUS BADGES ============ */
.property-status--for-lease {
  background: rgba(80,180,255,0.2);
  color: #72c0ff;
  border: 1px solid rgba(80,180,255,0.3);
}

.property-status--for-sale {
  background: rgba(255,140,50,0.2);
  color: #ffaa6e;
  border: 1px solid rgba(255,140,50,0.3);
}

.property-status--sold {
  background: rgba(200,80,80,0.2);
  color: #f09090;
  border: 1px solid rgba(200,80,80,0.3);
}

/* ============ NO RESULTS ============ */
.prop-no-results {
  text-align: center;
  padding: 80px 20px;
}

.prop-no-results-inner span {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  opacity: 0.35;
}

.prop-no-results-inner p {
  color: var(--white-60);
  margin-bottom: 20px;
  font-size: 1rem;
}

.prop-clear-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.prop-clear-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============ TESTIMONIAL SINGLE ============ */
.testimonial-card--full {
  flex: 0 0 100%;
  max-width: 680px;
  margin: 0 auto;
}

/* ============ RESPONSIVE — TOOLBAR ============ */
@media (max-width: 768px) {
  .service-card--center { grid-column: auto; }
  .prop-selects { flex-direction: column; }
  .prop-select { min-width: unset; }
}


/* ============ CHAPPELL ESTATES FINAL BRAND OVERRIDES ============ */

:root {
  --black: #10172a;
  --dark: #10172a;
  --dark-2: #131c33;
  --dark-3: #18223d;
  --dark-4: #202b49;
}

html,
body {
  background-color: #10172a;
}

.loader,
.mobile-menu,
.services,
.why,
.contact {
  background: #10172a;
}

.about,
.properties,
.testimonials,
.footer,
.marquee-section {
  background: #131c33;
}

.nav.scrolled {
  background: rgba(16, 23, 42, 0.88);
}

.nav-logo-mark,
.footer-logo-mark {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-sm);
  background: url('/email/chappell-estates-email-logo.png') center / cover no-repeat;
  font-size: 0;
  color: transparent;
  flex-shrink: 0;
}

.nav-logo-mark *,
.footer-logo-mark * {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-action-btn:hover {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .nav-action-btn span:last-child {
    display: none;
  }

  .nav-action-btn {
    padding: 10px 11px;
  }
}

@media (max-width: 900px) {
  .nav-actions {
    display: none;
  }
}

/* Footer call/email buttons */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}

.footer-contact-link,
.footer-contact-link:visited,
.footer-contact-link:active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}

.footer-contact-link:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.14);
  transform: translateY(-1px);
}

.footer-contact-icon {
  line-height: 1;
}

@media (max-width: 600px) {
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact-link {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}


/* FAQ section fix */
.faq {
  padding: 120px 0;
  background: #10172a;
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  color: #ffffff;
  font-size: 20px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: #d4af37;
  font-size: 24px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 26px 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  font-size: 15px;
}

.faq-item[open] {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.055);
}



/* ============================================================
   PAGE LOAD + SINGLE HERO REVEAL
   The loader adds body.page-ready once. The hero then transitions
   exactly once and is not also controlled by data-reveal.
   ============================================================ */
.js .hero-eyebrow,
.js .hero-title,
.js .hero-subtitle,
.js .hero-actions,
.js .hero-stats,
.js .hero-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js body.page-ready .hero-eyebrow,
.js body.page-ready .hero-title,
.js body.page-ready .hero-subtitle,
.js body.page-ready .hero-actions,
.js body.page-ready .hero-stats,
.js body.page-ready .hero-scroll {
  opacity: 1;
  transform: translateY(0);
}

.js body.page-ready .hero-eyebrow { transition-delay: 0.04s; }
.js body.page-ready .hero-title { transition-delay: 0.13s; }
.js body.page-ready .hero-subtitle { transition-delay: 0.22s; }
.js body.page-ready .hero-actions { transition-delay: 0.31s; }
.js body.page-ready .hero-stats { transition-delay: 0.40s; }
.js body.page-ready .hero-scroll { transition-delay: 0.49s; }

.no-js .hero-eyebrow,
.no-js .hero-title,
.no-js .hero-subtitle,
.no-js .hero-actions,
.no-js .hero-stats,
.no-js .hero-scroll,
.no-js [data-reveal],
.no-js [data-service],
.no-js [data-property],
.no-js [data-feature] {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-simple .areas-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
}

.areas-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px 24px;
}

.areas-simple-list li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  line-height: 1.55;
}

.areas-simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d6b56d;
  font-weight: 700;
}

.areas-simple-list a,
.areas-simple-list a:visited {
  color: #ffffff;
  text-decoration: none;
}

.areas-simple-list a:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.areas-simple .areas-note {
  margin: 26px auto 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
  line-height: 1.8;
}

.areas-simple .areas-note a,
.areas-simple .areas-note a:visited {
  color: var(--gold-light);
}

/* Footer navigation remains readable on the dark background. */
.footer-links a,
.footer-links a:visited {
  color: #ffffff;
}

/* Normal browser cursors. */
a,
button,
summary,
select {
  cursor: pointer;
}

input,
textarea {
  cursor: text;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .hero-eyebrow,
  .js .hero-title,
  .js .hero-subtitle,
  .js .hero-actions,
  .js .hero-stats,
  .js .hero-scroll,
  [data-reveal],
  [data-service],
  [data-property],
  [data-feature] {
    opacity: 1 !important;
    transform: none !important;
  }
}


@keyframes formSuccessIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   HEADER POSITIONING AND OVERLAP FIX
   ============================================================ */

/* Keep the navigation centred relative to the whole page */
.nav,
.nav.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;

  min-height: 80px;
  padding: 0 32px;

  /* Solid enough that page text cannot show through it */
  background: rgba(16, 23, 42, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(201, 169, 110, 0.14);
}

/* Logo remains on the left */
.nav-logo {
  justify-self: start;
}

/* Links are centred against the actual centre of the screen */
.nav-links {
  justify-self: center;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;

  gap: 30px;
  margin: 0;
  padding: 0;

  white-space: nowrap;
}

/* Enquire, Call and Email remain on the right */
.nav-actions {
  justify-self: end;

  display: flex;
  align-items: center;
  gap: 8px;

  white-space: nowrap;
}

/* Prevent the fixed navigation from covering the hero content */
.hero {
  padding-top: 160px;
}

/* Ensure anchor links stop below the fixed navigation */
section[id] {
  scroll-margin-top: 95px;
}

/* Switch to the hamburger before the navigation becomes crowded */
@media (max-width: 1180px) {
  .nav,
  .nav.scrolled {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    padding: 0 24px;
  }

  .nav-logo {
    grid-column: 1;
    justify-self: start;
  }

  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .nav-hamburger {
    display: flex !important;
    grid-column: 2;
    justify-self: end;
    cursor: pointer;
  }

  .hero {
    padding-top: 130px;
  }
}

@media (max-width: 600px) {
  .nav,
  .nav.scrolled {
    min-height: 68px;
    padding: 0 18px;
  }

  .nav-logo-text {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .hero {
    padding-top: 110px;
  }

  section[id] {
    scroll-margin-top: 80px;
  }
}


/* ============================================================
   HIDE HEADER UNTIL LOADING FINISHES
   ============================================================ */

/* Keep the loader above every website element */
.loader {
  z-index: 999999 !important;
}

/* Hide navigation while the CE loader is showing */
body:not(.page-ready) .nav {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Reveal navigation after loading finishes */
body.page-ready .nav {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease,
    padding 0.4s ease,
    background 0.4s ease !important;
}

/* Smooth CE loading bar */
.loader-bar {
  overflow: hidden;
}

.loader-progress {
  width: 100% !important;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  transition: none !important;
}
