/* ================================================================
   PANTHEION — Society Redevelopment Page (pantheion-rdev.css)
   ================================================================ */

/* Active nav link */
.nav-active { color: white !important; }
.nav-active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--terra);
  margin-top: -2px;
}

/* ================================================================
   HERO
   ================================================================ */
.rd-hero {
  position: relative;
  height: auto;
  min-height: 56vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: calc(var(--nav-h) + 40px);
}
.rd-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(112,71,58,0.25) 0%, transparent 65%),
    linear-gradient(135deg, #1e1e30 0%, #30304a 55%, #1c1814 100%);
}
.rd-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0) 100%
  );
}
.rd-hero-content {
  position: relative; z-index: 2;
  padding: 0 6vw;
  max-width: 880px;
  opacity: 0;
  transform: translateY(20px);
  animation: rdFadeUp 0.9s 0.3s ease forwards;
}
@keyframes rdFadeUp { to { opacity: 1; transform: none; } }

.rd-hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 12px;
  display: block;
}
.rd-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(46px, 4.2vw, 82px);
  font-weight: 300;
  color: white;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.rd-hero-title em {
  font-style: italic;
  color: rgba(255,255,255,0.7);
}
.rd-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}
.rd-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}

/* Free badge — bottom-right corner of hero */
.rd-hero-badge {
  position: absolute;
  right: 6vw;
  bottom: 48px;
  z-index: 2;
  text-align: center;
  background: var(--terra);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  animation: rdFadeUp 0.6s 1.0s ease forwards;
}
.rd-hero-badge-num {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 400;
  color: white;
  line-height: 1;
}
.rd-hero-badge-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ================================================================
   FACTS STRIP
   ================================================================ */
.rd-facts-strip {
  background: var(--primary);
  padding: 40px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.rd-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 40px;
  text-align: center;
}
.rd-fact-val {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 400;
  color: white;
  line-height: 1;
}
.rd-fact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  max-width: 160px;
  text-align: center;
}
.rd-facts-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ================================================================
   INTRO — two-col
   ================================================================ */
.rd-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  align-items: stretch;
}
.rd-intro-img {
  overflow: hidden;
  padding: 40px 40px 40px 5vw;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rd-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.rd-intro-img:hover img { transform: scale(1.04); }

.rd-intro-text {
  padding: 80px 6vw 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rd-intro-text .btn-primary {
  align-self: flex-start;
  text-align: center;
}
.rd-intro-text p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
}

/* ================================================================
   HOW IT WORKS — numbered steps
   ================================================================ */
.rd-process {
  background: var(--bg-warm);
  padding: 100px 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rd-process-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.rd-process-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
  text-align: center;
}

.rd-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.rd-step {
  background: var(--bg);
  padding: 44px 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.3s;
}
.rd-step:hover { background: var(--bg-warm); }

.rd-step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--primary);
  color: white;
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.rd-step-body h4 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.rd-step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ================================================================
   WHY PANTHEION — dark bg with image
   ================================================================ */
.rd-why {
  background: var(--primary);
}
.rd-why-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.rd-why-bottom {
  padding: 0 5vw 80px;
}
.rd-why-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 32px;
  text-align: center;
}
.rd-why-content {
  padding: 80px 6vw 40px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rd-why-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
}
.rd-why-content strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.rd-why-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 0;
}
.rd-why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rd-why-point-bar {
  flex-shrink: 0;
  width: 3px;
  height: 40px;
  background: var(--terra);
  margin-top: 2px;
}
.rd-why-point strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.rd-why-point p {
  font-size: 13px;
  color: rgba(255,255,255,0.45) !important;
  line-height: 1.6;
}

.rd-why-img {
  position: relative;
  overflow: hidden;
  padding: 40px 5vw 40px 40px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rd-why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  filter: brightness(0.85);
}
.rd-why-img:hover img { transform: scale(1.04); }
.rd-why-img-caption {
  position: absolute;
  bottom: 40px; left: 40px; right: 5vw;
  padding: 48px 24px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
}
.rd-why-img-caption p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  letter-spacing: 0.3px;
}

/* ================================================================
   INLINE FORM SECTION
   ================================================================ */
.rd-form-section {
  background: var(--bg);
  padding: 100px 5vw;
  border-top: 3px solid var(--terra);
}
.rd-form-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.rd-form-text p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 0;
}
.rd-form-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
}
.rd-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text);
}
.rd-trust-icon {
  width: 20px; height: 20px;
  background: var(--terra);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Form itself */
.rd-form-wrap {
  background: white;
  border: 1px solid var(--border);
  padding: 48px 40px 40px;
}
.rd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.rd-form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rd-form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.rd-form-group input,
.rd-form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.rd-form-group input::placeholder { color: #b0ad9e; }
.rd-form-group input:focus,
.rd-form-group select:focus { border-color: var(--primary); }
.rd-form-group select option { background: white; color: var(--text); }

.rd-form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--terra);
  color: white;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.rd-form-submit:hover { background: var(--brown); }
.rd-form-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .rd-why-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .rd-intro { grid-template-columns: 1fr; }
  .rd-intro-img { height: auto; padding: 24px 6vw; }
  .rd-intro-img img { height: auto; object-fit: contain; }
  .rd-intro-text { padding: 8px 6vw 56px; }

  .rd-steps { grid-template-columns: 1fr; }

  .rd-why-top { grid-template-columns: 1fr; }
  .rd-why-content { padding: 56px 6vw 32px; }
  .rd-why-img { height: auto; padding: 24px 6vw; }
  .rd-why-img img { height: auto; object-fit: contain; }
  .rd-why-img-caption { bottom: 24px; left: 6vw; right: 6vw; }
  .rd-why-bottom { padding: 32px 6vw 56px; }
  .rd-why-points { grid-template-columns: 1fr; gap: 20px; }

  .rd-form-inner { grid-template-columns: 1fr; gap: 40px; }
  .rd-form-wrap { padding: 36px 28px; }

  .rd-hero-badge { display: none; }
  .rd-facts-divider { display: none; }
  .rd-fact { padding: 16px 24px; }
}

@media (max-width: 640px) {
  .rd-hero { height: auto; min-height: 0; align-items: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: calc(var(--nav-h) + 24px); }
  .rd-hero-actions { flex-direction: column; align-items: flex-start; }
  .rd-step { padding: 32px 24px; }
  .rd-form-row { grid-template-columns: 1fr; }
  .rd-process { padding: 72px 5vw; }
  .rd-form-section { padding: 72px 5vw; }
}
