/* ============================================================
   Disposition Page — assets/css/disposition.css
   Companion stylesheet for page-disposition.php
   Inherits global CSS variables from the main stylesheet
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.disp-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.disp-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.disp-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.disp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    155deg,
    rgba(7, 31, 46, 0.50) 0%,
    rgba(7, 31, 46, 0.80) 45%,
    rgba(7, 31, 46, 0.97) 100%
  );
}

.disp-hero__overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 60%, transparent 100%);
  opacity: 0.65;
}

.disp-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  padding-top: 120px;
  max-width: 800px;
}

.disp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: disp-pulse 2.2s ease-in-out infinite;
}

@keyframes disp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { box-shadow: 0 0 0 8px transparent; }
}

.disp-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.disp-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin: 0;
  max-width: 580px;
}

/* ── Section Pad ────────────────────────────────────────── */
.section-pad {
  padding: 96px 0;
}

/* ── Main Content Section (dark bg) ─────────────────────── */
.disp-main {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.disp-main::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.disp-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: start;
}

/* ── Image Stack (left col) ─────────────────────────────── */
.disp-img-wrap {
  position: sticky;
  top: 32px;
}

.disp-img-stack {
  position: relative;
}

.disp-img-main {
  width: 100%;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.disp-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.disp-img-badge svg {
  color: var(--accent-dark);
  flex-shrink: 0;
}

.disp-img-badge strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.disp-img-badge span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Text Column (right col) ────────────────────────────── */
.disp-text {
  padding-top: 8px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.disp-subhead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
  line-height: 1.5;
}

.disp-text p {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.82;
  margin: 0 0 18px;
}

/* Story callout */
.disp-story {
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  margin: 8px 0 28px;
}

.disp-story p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

.disp-story strong {
  color: var(--accent);
  font-style: normal;
}

/* ── Process List ───────────────────────────────────────── */
.disp-process {
  margin: 32px 0 30px;
}

.disp-process-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.disp-process-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.disp-process-item:last-child {
  border-bottom: none;
}

.disp-process-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  box-shadow: 0 0 8px var(--accent-glow);
}

.disp-process-item p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin: 0;
}

/* ── Property Types Block ───────────────────────────────── */
.disp-types {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  margin: 28px 0;
}

.disp-types-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.disp-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.disp-type-tag {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  transition: all var(--tr);
}

.disp-type-tag:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Blockquote ─────────────────────────────────────────── */
.disp-quote {
  position: relative;
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  background: rgba(0, 212, 255, 0.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 28px 0 36px;
}

.disp-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 14px;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
}

.disp-quote p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ── CTA Button ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all var(--tr);
  cursor: pointer;
  border: none;
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--primary-dark);
  padding: 14px 28px;
  box-shadow: var(--shadow-accent);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.5);
}

.btn--accent svg {
  transition: transform var(--tr);
}

.btn--accent:hover svg {
  transform: translateX(4px);
}

/* ── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .disp-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .disp-img-wrap {
    position: static;
    max-width: 540px;
  }

  .disp-img-main {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 64px 0;
  }

  .disp-hero__content {
    padding-bottom: 52px;
  }

  .disp-img-badge {
    right: 0;
    bottom: -16px;
  }

  .disp-types {
    padding: 22px 18px 20px;
  }
}
