/* =================================================================
   DP REAL ESTATE AG — Premium Aesthetic Theme
   Palette: Obsidian · Bone · Gold · Sand
   ================================================================= */

:root {
  /* colors */
  --obsidian: #0b0b0c;
  --charcoal: #1a1a1c;
  --ink: #2a2a2d;
  --bone: #f6f2ec;
  --sand: #e7ddcc;
  --cream: #faf8f4;
  --gold: #b08d57;
  --gold-dark: #8a6d42;
  --gold-soft: #d7c19a;
  --line: rgba(11, 11, 12, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);
  --text: #3a3a3d;
  --text-muted: #787879;
  --text-light: rgba(255, 255, 255, 0.72);
  --text-light-muted: rgba(255, 255, 255, 0.48);

  /* typography */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* motion */
  --ease: cubic-bezier(0.25, 0.8, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}

/* =========================================
   Layout utilities
   ========================================= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.section-eyebrow.light {
  color: var(--gold-soft);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--obsidian);
  margin-bottom: 28px;
}

.section-title.light {
  color: var(--bone);
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

.section-lede {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 620px;
}

.section-lede.light {
  color: var(--text-light);
}

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 620px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--obsidian);
  color: var(--bone);
  border-color: var(--obsidian);
}

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

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: var(--bone);
  color: var(--obsidian);
  border-color: var(--bone);
}

.btn-full {
  width: 100%;
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: all 0.5s var(--ease);
}

.nav.scrolled {
  padding: 14px 0;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-light);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--bone);
}

.nav-logo-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bone);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 10px;
}

.nav-logo-text {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

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

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--bone);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--bone);
  transition: all 0.3s var(--ease);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
  padding: 140px 0 120px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.65);
  animation: heroKen 24s var(--ease) forwards;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.35) 40%, rgba(11,11,12,0.85) 100%),
    linear-gradient(90deg, rgba(11,11,12,0.6) 0%, rgba(11,11,12,0) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

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

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--bone);
  max-width: 900px;
  margin-bottom: 40px;
}

.hero-title em {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 300;
}

.hero-lede {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 48px;
}

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

.hero-meta {
  position: absolute;
  right: 48px;
  bottom: 120px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(11, 11, 12, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero-meta-value {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--bone);
  letter-spacing: 0.01em;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--bone);
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0));
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.4); opacity: 0.3; }
}

.hero-scroll-text {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* =========================================
   INTRO STATEMENT
   ========================================= */
.intro {
  padding: 160px 0 140px;
  background: var(--cream);
  text-align: center;
}

.intro .container {
  max-width: 900px;
}

.intro-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.intro-statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--obsidian);
  margin-bottom: 48px;
}

.intro-statement em {
  color: var(--gold);
}

.intro-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  width: fit-content;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

.intro-signature-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--obsidian);
}

.intro-signature-role {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  padding: 140px 0;
  background: var(--bone);
  overflow: hidden;
}

.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 1.2s var(--ease);
}

.about-media:hover img {
  transform: scale(1.04);
}

.about-media-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--obsidian);
  color: var(--bone);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--gold);
}

.about-media-tag-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.about-media-tag-value {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}

.about-text {
  max-width: 540px;
}

.about-pillars {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-pillar {
  display: flex;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-pillar-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
  min-width: 32px;
}

.about-pillar h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--obsidian);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.about-pillar p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  padding: 160px 0;
  background: var(--obsidian);
  color: var(--bone);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.services-head {
  text-align: center;
  margin-bottom: 100px;
}

.services-head .section-lede {
  margin: 0 auto;
}

.services-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.service {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--line-light);
  transition: background 0.5s var(--ease);
}

.service:last-child {
  border-bottom: 1px solid var(--line-light);
}

.service:hover {
  background: rgba(176, 141, 87, 0.04);
}

.service-index {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  padding-top: 8px;
}

.service-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--bone);
  margin-bottom: 20px;
}

.service-body > p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 28px;
}

.service-details {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  max-width: 640px;
}

.service-details li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-light);
}

.service-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* =========================================
   STATS
   ========================================= */
.stats {
  padding: 100px 0;
  background: var(--bone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--line);
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--obsidian);
  line-height: 1;
  display: inline-block;
  letter-spacing: -0.02em;
}

.stat-num-text {
  color: var(--gold);
  font-style: italic;
}

.stat-plus,
.stat-suffix {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--gold);
  font-weight: 400;
  vertical-align: top;
  margin-left: 2px;
}

.stat-label {
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================
   VALUES
   ========================================= */
.values {
  padding: 160px 0;
  background: var(--cream);
}

.values .section-eyebrow,
.values .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.values .section-title {
  margin-bottom: 80px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.value {
  padding-top: 40px;
  border-top: 1px solid var(--line);
  position: relative;
}

.value-mark {
  position: absolute;
  top: -8px;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  background: var(--cream);
  padding-right: 12px;
}

.value h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--obsidian);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.value p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text);
}

/* =========================================
   QUOTE
   ========================================= */
.quote {
  padding: 140px 0;
  background: var(--sand);
  position: relative;
  text-align: center;
}

.quote .container {
  max-width: 900px;
}

.quote-text {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.45;
  color: var(--obsidian);
  letter-spacing: -0.01em;
  position: relative;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
}

.quote-author {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-author-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--obsidian);
  font-style: italic;
}

.quote-author-role {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  background: var(--obsidian);
  color: var(--bone);
  padding: 140px 0;
}

.contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.contact-left .section-title {
  margin-bottom: 32px;
}

.contact-details {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.contact-detail-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.contact-detail-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--bone);
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

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

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-light);
  border-radius: 2px;
}

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

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

.contact-form label span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--bone);
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.contact-form select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position: calc(100% - 14px) 18px, calc(100% - 9px) 18px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.contact-form select option {
  background: var(--obsidian);
  color: var(--bone);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  margin-top: 8px;
}

.contact-form .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.contact-form .btn-primary:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--obsidian);
}

.form-status {
  font-size: 0.85rem;
  color: var(--gold-soft);
  min-height: 1em;
  margin: 0;
}

/* =========================================
   CONTACT CTA CARD (replaces the old form)
   ========================================= */
.contact-cta-card {
  padding: 48px 44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  position: relative;
}

.contact-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.contact-cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 24px;
}

.contact-cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--bone);
  margin-bottom: 18px;
}

.contact-cta-title em {
  color: var(--gold);
}

.contact-cta-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 28px;
}

.contact-cta-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-cta-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--text-light);
}

.contact-cta-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.contact-cta-card .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.contact-cta-card .btn-primary:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--obsidian);
}

.contact-cta-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.contact-cta-note a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(215, 193, 154, 0.3);
}

.contact-cta-note a:hover {
  color: var(--gold);
}

/* =========================================
   QUALIFICATION MODAL
   ========================================= */
.qm {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.qm.is-open {
  display: flex;
}

.qm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 8, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: qmFade 0.4s var(--ease);
}

@keyframes qmFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.qm-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 80px);
  background: var(--cream);
  border: 1px solid rgba(11, 11, 12, 0.06);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(176, 141, 87, 0.15);
  animation: qmRise 0.55s var(--ease);
}

@keyframes qmRise {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.qm-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 5;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qm-close:hover {
  color: var(--gold);
  background: rgba(11, 11, 12, 0.05);
}

.qm-head {
  padding: 28px 40px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
}

.qm-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.qm-brand-mark {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--obsidian);
  border-right: 1px solid rgba(11, 11, 12, 0.2);
  padding-right: 10px;
}

.qm-brand-text {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.qm-progress {
  flex: 1;
  height: 2px;
  background: rgba(11, 11, 12, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.qm-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}

.qm-step-indicator {
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  min-width: 38px;
  text-align: right;
}

.qm-step-sep {
  margin: 0 2px;
  color: rgba(11, 11, 12, 0.25);
}

.qm-body {
  padding: 36px 40px 32px;
  overflow-y: auto;
  flex: 1;
}

.qm-step {
  display: none;
  animation: qmStep 0.45s var(--ease);
}

.qm-step.is-active {
  display: block;
}

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

.qm-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.qm-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--obsidian);
  margin-bottom: 14px;
}

.qm-title em {
  color: var(--gold);
  font-style: italic;
}

.qm-lede {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 540px;
}

/* Choice cards */
.qm-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qm-choice {
  cursor: pointer;
}

.qm-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.qm-choice-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  background: var(--white, #ffffff);
}

.qm-choice:hover .qm-choice-inner {
  border-color: rgba(176, 141, 87, 0.55);
  background: rgba(176, 141, 87, 0.05);
  transform: translateX(2px);
}

.qm-choice input:checked + .qm-choice-inner {
  border-color: var(--gold);
  background: rgba(176, 141, 87, 0.08);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.qm-choice-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  min-width: 24px;
  text-align: center;
}

.qm-choice-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.qm-choice-text strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--obsidian);
  letter-spacing: -0.005em;
}

.qm-choice-text em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.qm-choices-compact .qm-choice-inner {
  padding: 13px 18px;
}

.qm-choices-compact .qm-choice-text strong {
  font-size: 0.93rem;
}

/* Sub-questions */
.qm-sub {
  display: none;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.qm-sub.is-visible {
  display: block;
  animation: qmStep 0.4s var(--ease);
}

/* Fields */
.qm-field {
  margin-bottom: 20px;
}

.qm-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.qm-field input[type="text"],
.qm-field input[type="email"],
.qm-field input[type="tel"],
.qm-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(11, 11, 12, 0.18);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--obsidian);
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}

.qm-field input::placeholder,
.qm-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.qm-field input:focus,
.qm-field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.qm-field textarea {
  resize: vertical;
  min-height: 80px;
}

.qm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* Pill bar selector */
.qm-pillbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qm-pillbar button {
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(11, 11, 12, 0.15);
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.qm-pillbar button:hover {
  border-color: rgba(176, 141, 87, 0.6);
  color: var(--obsidian);
  background: rgba(176, 141, 87, 0.06);
}

.qm-pillbar button.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

.qm-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 12px;
  cursor: pointer;
}

.qm-consent input {
  margin-top: 4px;
  accent-color: var(--gold);
}

.qm-consent a {
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(138, 109, 66, 0.35);
}

/* Footer + nav */
.qm-footer {
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bone);
}

.qm-footer-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  flex: 1;
  text-align: center;
}

.qm-btn {
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.qm-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(11, 11, 12, 0.2);
}

.qm-btn-ghost:hover {
  color: var(--obsidian);
  border-color: rgba(11, 11, 12, 0.45);
  background: #ffffff;
}

.qm-btn-ghost:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.qm-btn-primary {
  background: var(--obsidian);
  color: var(--bone);
  border-color: var(--obsidian);
}

.qm-btn-primary:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.qm-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(11, 11, 12, 0.2);
  border-color: transparent;
  color: rgba(255,255,255,0.7);
}

/* Done step */
.qm-done {
  text-align: center;
  padding: 20px 0;
}

.qm-done-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  animation: qmCheck 0.7s var(--ease);
}

@keyframes qmCheck {
  0% { opacity: 0; transform: scale(0.6); }
  60% { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

.qm-done .qm-lede {
  margin-left: auto;
  margin-right: auto;
}

.qm-done a {
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(138, 109, 66, 0.4);
}

.qm-done-summary {
  margin-top: 32px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  text-align: left;
}

.qm-done-summary-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qm-done-summary-item .label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.qm-done-summary-item .value {
  font-size: 0.92rem;
  color: var(--obsidian);
}

/* Responsive modal */
@media (max-width: 640px) {
  .qm {
    padding: 0;
  }
  .qm-panel {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    border: none;
  }
  .qm-head {
    padding: 22px 24px 18px;
  }
  .qm-body {
    padding: 28px 24px;
  }
  .qm-footer {
    padding: 16px 24px;
  }
  .qm-row {
    grid-template-columns: 1fr;
  }
  .qm-footer-note {
    display: none;
  }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--charcoal);
  color: var(--text-light);
  padding-top: 100px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-mark {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--bone);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 10px;
}

.footer-logo-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
}

.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-soft);
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  font-size: 0.93rem;
  color: var(--text-light);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

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

.footer-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

.footer-legal {
  display: flex;
  gap: 30px;
}

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

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-media {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-meta {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .stat:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .container,
  .nav-inner,
  .hero-content,
  .services-list,
  .contact-inner,
  .about-grid,
  .footer-inner,
  .footer-bar {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    flex-direction: column;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: var(--obsidian);
    padding: 100px 40px;
    gap: 28px;
    border-left: 1px solid var(--line-light);
  }

  .nav-links.open a {
    font-size: 0.9rem;
  }

  .hero {
    padding: 120px 0 100px;
    min-height: 90vh;
  }

  .hero-title {
    letter-spacing: -0.02em;
  }

  .hero-meta {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .intro {
    padding: 100px 0;
  }

  .about,
  .services,
  .values,
  .quote,
  .contact {
    padding: 100px 0;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  .service-details {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 12px;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

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

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

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

  .footer-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .contact-form {
    padding: 28px;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}
