/* ============================================================
   Disposition Page - assets/css/disposition.css
   Rewritten stylesheet for page-disposition.php
   ============================================================ */

:root {
  --disp-surface: rgba(255, 255, 255, 0.05);
  --disp-surface-strong: rgba(255, 255, 255, 0.08);
  --disp-border: rgba(255, 255, 255, 0.12);
  --disp-border-strong: rgba(0, 212, 255, 0.24);
  --disp-text: rgba(255, 255, 255, 0.78);
  --disp-text-soft: rgba(255, 255, 255, 0.62);
  --disp-glow: rgba(0, 212, 255, 0.18);
}

.section-pad {
  padding: 96px 0;
}

.disp-hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--primary-dark);
}

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

.disp-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.03);
}

.disp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(7, 31, 46, 0.24) 0%, rgba(7, 31, 46, 0.82) 42%, rgba(7, 31, 46, 0.96) 100%),
    radial-gradient(circle at 18% 18%, rgba(0, 212, 255, 0.12) 0%, transparent 36%);
}

.disp-hero__overlay::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 31, 46, 0.88) 100%);
}

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

.disp-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 124px;
  padding-bottom: 76px;
}

.disp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  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 10px transparent;
  }
}

.disp-hero__h1 {
  margin: 0 0 20px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.disp-hero__sub {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.78;
}

.disp-main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 212, 255, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, #081f2d 0%, #0b2739 100%);
}

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

.disp-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 90%);
  pointer-events: none;
}

.disp-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 392px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.disp-img-wrap {
  position: sticky;
  top: 32px;
}

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

.disp-img-stack::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: var(--r-xl);
  pointer-events: none;
}

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

.disp-img-badge {
  position: absolute;
  right: -16px;
  bottom: -18px;
  z-index: 2;
  min-width: 220px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--disp-border);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

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

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

.disp-img-badge span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disp-text {
  position: relative;
  z-index: 1;
}

.disp-text .section-label {
  color: var(--accent);
}

.disp-text .section-label::before {
  background: var(--accent);
}

.disp-text .section-h2 {
  color: var(--white);
  max-width: 11ch;
  margin-bottom: 16px;
}

.disp-subhead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.55;
}

.disp-text > p {
  color: var(--disp-text);
  font-size: 0.98rem;
  line-height: 1.86;
}

.disp-story {
  position: relative;
  margin: 12px 0 34px;
  padding: 28px 28px 26px;
  border: 1px solid var(--disp-border-strong);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  overflow: hidden;
}

.disp-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
}

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

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

.disp-marketing {
  position: relative;
  margin: 42px 0 18px;
  padding: 34px 32px;
  border: 1px solid var(--disp-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.disp-marketing::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -72px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.disp-marketing > p {
  position: relative;
  z-index: 1;
  margin: 14px 0 28px;
  color: var(--disp-text);
  font-size: 0.95rem;
  line-height: 1.84;
}

.disp-process-label,
.disp-types-label {
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.disp-marketing-platforms {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.disp-platform-item {
  position: relative;
  min-height: 100%;
  padding: 22px 20px 20px;
  border: 1px solid var(--disp-border);
  border-radius: var(--r-lg);
  background: rgba(7, 31, 46, 0.34);
  transition: transform var(--tr), border-color var(--tr), background var(--tr), box-shadow var(--tr);
}

.disp-platform-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0.72;
}

.disp-platform-item:hover {
  transform: translateY(-4px);
  border-color: var(--disp-border-strong);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(7, 31, 46, 0.2);
}

.disp-platform-name {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.disp-platform-item p {
  margin: 0;
  color: var(--disp-text-soft);
  font-size: 0.87rem;
  line-height: 1.72;
}

.disp-marketing-benefits {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.disp-marketing-benefits .disp-types-label {
  margin-bottom: 12px;
}

.disp-process {
  margin: 34px 0 32px;
}

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

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

.disp-process-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b8f5ff 0%, var(--accent) 60%, var(--accent-dark) 100%);
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.08);
}

.disp-process-item p {
  margin: 0;
  color: var(--disp-text);
  font-size: 0.95rem;
  line-height: 1.8;
}

.disp-types {
  margin: 28px 0 30px;
  padding: 28px;
  border: 1px solid var(--disp-border);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.04);
}

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

.disp-type-tag {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  transition: transform var(--tr), border-color var(--tr), background var(--tr), color var(--tr);
}

.disp-type-tag:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.12);
  color: var(--white);
}

.disp-quote {
  position: relative;
  margin: 30px 0 38px;
  padding: 24px 26px 24px 30px;
  border: 1px solid var(--disp-border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.disp-quote::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 14px;
  color: rgba(0, 212, 255, 0.32);
  font-family: var(--font-heading);
  font-size: 4.2rem;
  line-height: 1;
}

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

.disp-text .btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, #5be8ff 100%);
  color: var(--primary-dark);
  box-shadow: 0 18px 38px rgba(0, 212, 255, 0.22);
}

.disp-text .btn--accent:hover {
  background: linear-gradient(135deg, #22ddff 0%, #7cf0ff 100%);
  box-shadow: 0 24px 44px rgba(0, 212, 255, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1100px) {
  .disp-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

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

  .disp-text .section-h2 {
    max-width: none;
  }

  .disp-marketing-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .disp-hero__content {
    padding-top: 112px;
    padding-bottom: 60px;
  }

  .disp-img-stack::before {
    inset: 12px -12px -12px 12px;
  }

  .disp-img-badge {
    right: 10px;
    bottom: -14px;
    min-width: 0;
  }

  .disp-marketing {
    padding: 28px 24px;
  }

  .disp-types {
    padding: 24px;
  }
}

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

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

  .disp-grid {
    gap: 46px;
  }

  .disp-subhead {
    margin-bottom: 22px;
  }

  .disp-story,
  .disp-marketing,
  .disp-types,
  .disp-quote {
    padding-left: 20px;
    padding-right: 20px;
  }

  .disp-marketing-platforms {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .disp-type-tag {
    width: 100%;
    text-align: center;
  }
}
