/**
 * Plateau Safety Page Styles
 * Scope: .wp-plateau
 */

/* ========================================
   SAFETY PHILOSOPHY
   ======================================== */
.wp-plateau.safety-philosophy {
  padding: 120px 0;
  background: var(--pe-black-warm);
  position: relative;
  overflow: hidden;
}

.wp-plateau.safety-philosophy::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -300px;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(232, 168, 36, 0.04);
  transform: rotate(45deg);
  pointer-events: none;
}

.wp-plateau .philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.wp-plateau .philosophy-grid > * {
  min-width: 0;
}

.wp-plateau .philosophy-content .section-heading {
  margin-bottom: 28px;
}

.wp-plateau .philosophy-content .body-text {
  margin-bottom: 0;
}

.wp-plateau .philosophy-content .body-text + .body-text {
  margin-top: 16px;
}

.wp-plateau .philosophy-image {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.wp-plateau .philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
  transition: transform 0.6s ease;
}

.wp-plateau .philosophy-image:hover img {
  transform: scale(1.03);
}

.wp-plateau .philosophy-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--pe-black-warm), transparent);
  pointer-events: none;
}

.wp-plateau .principle-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.wp-plateau .principle-card {
  padding: 32px 28px;
  background: var(--pe-charcoal);
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.wp-plateau .principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pe-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.wp-plateau .principle-card:hover::before {
  transform: scaleX(1);
}

.wp-plateau .principle-card:hover {
  background: rgba(42, 42, 39, 0.8);
}

.wp-plateau .principle-card h4 {
  font-family: var(--pe-font-condensed);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pe-white);
  margin-bottom: 10px;
}

.wp-plateau .principle-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pe-grey-mid);
}

/* ========================================
   EMR RATING SECTION
   ======================================== */
.wp-plateau.safety-emr {
  padding: 120px 0;
  background: var(--pe-charcoal);
  position: relative;
  overflow: hidden;
  text-align: center;
}


.wp-plateau .emr-big-number-wrapper {
  position: relative;
  display: inline-block;
  margin: 40px 0 16px;
}

.wp-plateau .emr-big-number {
  font-family: var(--pe-font-display);
  font-size: clamp(80px, 12vw, 160px);
  color: var(--pe-amber);
  line-height: 1;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.wp-plateau .emr-label {
  font-family: var(--pe-font-condensed);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pe-grey-light);
  margin-bottom: 24px;
}

.wp-plateau .emr-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--pe-grey-mid);
  max-width: 600px;
  margin: 0 auto 60px;
}

.wp-plateau .emr-comparison {
  max-width: 600px;
  margin: 0 auto;
}

.wp-plateau .emr-bar-group {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

.wp-plateau .emr-bar-item {
  flex: 1;
}

.wp-plateau .emr-bar-label {
  font-family: var(--pe-font-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-mid);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-plateau .emr-bar-value {
  font-family: var(--pe-font-display);
  font-size: 24px;
  color: var(--pe-grey-light);
}

.wp-plateau .emr-bar-item.is-amber .emr-bar-value {
  color: var(--pe-amber);
}

.wp-plateau .emr-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.wp-plateau .emr-bar-fill {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: left;
}

.wp-plateau .emr-bar-item:first-child .emr-bar-fill {
  width: 100%;
  background: var(--pe-grey-dark);
}

.wp-plateau .emr-bar-item.is-amber .emr-bar-fill {
  background: var(--pe-amber);
}

.wp-plateau .emr-bar-fill.animate-bar {
  transform: scaleX(0);
  transition: transform 1s ease-out;
}

.wp-plateau .emr-bar-fill.animate-bar.is-visible {
  transform: scaleX(1);
}

.wp-plateau .emr-comparison-note {
  font-family: var(--pe-font-condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--pe-amber);
  margin-top: 16px;
}

/* ========================================
   SAFETY PILLARS — TALL IMAGE COLUMNS
   ======================================== */
.wp-plateau.safety-pillars {
  padding: 120px 0;
  background: var(--pe-black);
  position: relative;
}

.wp-plateau .pillars-header {
  margin-bottom: 64px;
}

.wp-plateau .pillars-header .section-heading {
  margin-bottom: 16px;
}

.wp-plateau .pillars-header .section-subheading {
  font-family: var(--pe-font-condensed);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--pe-grey-light);
  max-width: 600px;
}

.wp-plateau .pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wp-plateau .pillar-column {
  position: relative;
  height: 620px;
  overflow: hidden;
  cursor: pointer;
}

.wp-plateau .pillar-column-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.6s ease;
  filter: brightness(0.55) saturate(0.9);
  will-change: transform;
}

.wp-plateau .pillar-column:hover .pillar-column-image {
  transform: scale(1.08);
  filter: brightness(0.4) saturate(0.9);
}

@media (prefers-reduced-motion: reduce) {
  .wp-plateau .pillar-column-image {
    transition: filter 0.6s ease;
  }
  .wp-plateau .pillar-column:hover .pillar-column-image {
    transform: none;
  }
}

.wp-plateau .pillar-column-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 80px 32px 40px;
}

.wp-plateau .pillar-column-title {
  font-family: var(--pe-font-display);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 2px;
  color: var(--pe-white-pure);
  line-height: 1;
  min-height: 2.1em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
}

.wp-plateau .pillar-column-accent {
  width: 40px;
  height: 3px;
  background: var(--pe-amber);
  margin-bottom: 16px;
  flex-shrink: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s ease 0.1s;
}

.wp-plateau .pillar-column:hover .pillar-column-accent {
  transform: scaleX(1);
}

.wp-plateau .pillar-column-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 242, 237, 0.85);
  max-width: 280px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.wp-plateau .pillar-column:hover .pillar-column-text {
  opacity: 1;
  transform: translateY(0);
}

/* Top gradient vignette */
.wp-plateau .pillar-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Bottom gradient for text readability */
.wp-plateau .pillar-column::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ========================================
   QUALITY ASSURANCE
   ======================================== */
.wp-plateau.safety-quality {
  padding: 120px 0;
  background: var(--pe-black-warm);
  position: relative;
  overflow: hidden;
}

.wp-plateau.safety-quality::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(232, 168, 36, 0.03), transparent 60%);
  pointer-events: none;
}

.wp-plateau .quality-header {
  margin-bottom: 72px;
  position: relative;
  z-index: 2;
}

.wp-plateau .quality-header .section-heading {
  margin-bottom: 16px;
}

.wp-plateau .quality-header .section-subheading {
  font-family: var(--pe-font-condensed);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--pe-grey-light);
  max-width: 700px;
}

.wp-plateau .quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  position: relative;
  z-index: 2;
}

.wp-plateau .quality-item {
  padding: 48px 32px;
  background: var(--pe-charcoal);
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.wp-plateau .quality-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pe-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.wp-plateau .quality-item:hover::before {
  transform: scaleX(1);
}

.wp-plateau .quality-item:hover {
  background: rgba(26, 26, 24, 0.8);
}

.wp-plateau .quality-number {
  font-family: var(--pe-font-display);
  font-size: 56px;
  color: var(--pe-amber);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.wp-plateau .quality-item h3 {
  font-family: var(--pe-font-condensed);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pe-white);
  margin-bottom: 12px;
}

.wp-plateau .quality-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pe-grey-mid);
}

/* ========================================
   TESTIMONIAL
   ======================================== */
.wp-plateau.pe-testimonial {
  padding: 120px 0;
  background: var(--pe-black);
  position: relative;
  overflow: hidden;
}

.wp-plateau .pe-testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wp-plateau .pe-testimonial-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.wp-plateau .pe-testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
}

.wp-plateau .pe-testimonial-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(232, 168, 36, 0.15);
  pointer-events: none;
}

.wp-plateau .pe-testimonial-inner {
  max-width: 520px;
  position: relative;
}

.wp-plateau .pe-testimonial-quote-mark {
  font-family: var(--pe-font-display);
  font-size: 120px;
  color: var(--pe-amber);
  line-height: 0.3;
}

.wp-plateau .pe-testimonial-text {
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.5;
  color: var(--pe-grey-light);
  font-style: italic;
  margin-bottom: 36px;
}

.wp-plateau .pe-testimonial-name {
  font-family: var(--pe-font-condensed);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-white);
  margin-bottom: 4px;
}

.wp-plateau .pe-testimonial-title {
  font-family: var(--pe-font-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-mid);
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 1024px) {
  .wp-plateau .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .wp-plateau .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wp-plateau .pillar-column {
    height: 480px;
  }

  .wp-plateau .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wp-plateau .pe-testimonial-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wp-plateau .pe-testimonial-image {
    aspect-ratio: 16 / 9;
  }

  .wp-plateau .emr-bar-group {
    flex-direction: column;
    gap: 24px;
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 640px) {
  .wp-plateau.safety-philosophy,
  .wp-plateau.safety-emr,
  .wp-plateau.safety-pillars,
  .wp-plateau.safety-quality,
  .wp-plateau.pe-testimonial {
    padding: 80px 0;
  }

  .wp-plateau .principle-cards {
    grid-template-columns: 1fr;
  }

  .wp-plateau .pillars-grid {
    grid-template-columns: 1fr;
  }

  .wp-plateau .pillar-column {
    height: 400px;
  }

  .wp-plateau .pillar-column-text {
    opacity: 1;
    transform: translateY(0);
  }

  .wp-plateau .pillar-column-accent {
    transform: scaleX(1);
  }

  .wp-plateau .quality-grid {
    grid-template-columns: 1fr;
  }

  .wp-plateau .pillars-header,
  .wp-plateau .quality-header {
    margin-bottom: 48px;
  }
}
