/*
Theme Name: Rastak Astra Glass
Theme URI: https://www.rastakco.com/en/
Description: Astra child theme for an English Rastak Pouya clone with glassy industrial styling.
Author: Codex
Template: astra
Version: 1.0.0
Text Domain: rastak-astra-glass
*/

:root {
  --rp-ink: #0c1726;
  --rp-muted: #5c6879;
  --rp-line: rgba(255, 255, 255, 0.32);
  --rp-card: rgba(255, 255, 255, 0.72);
  --rp-card-strong: rgba(255, 255, 255, 0.88);
  --rp-navy: #0b2545;
  --rp-blue: #1464a5;
  --rp-cyan: #39b8d4;
  --rp-steel: #dfe7ef;
  --rp-green: #19a974;
  --rp-shadow: 0 24px 80px rgba(12, 23, 38, 0.16);
  --rp-radius: 8px;
  --rp-max: 1180px;
}

@font-face {
  font-family: "B Yekan";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/BYekan.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-variable.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html.rp-html {
  scroll-behavior: smooth;
}

body.rp-body,
body {
  color: var(--rp-ink);
  font-family: "B Yekan", Tahoma, Arial, sans-serif;
  font-weight: 300;
  background:
    linear-gradient(135deg, rgba(244, 248, 252, 0.92), rgba(231, 240, 246, 0.86)),
    url("assets/img/bg-industrial.webp") center top / cover fixed no-repeat;
}

a {
  color: var(--rp-blue);
}

.rp-shell {
  min-height: 100vh;
}

.rp-site-topbar {
  background: rgba(8, 28, 53, 0.92);
  color: #ffffff;
  font-size: 13px;
}

.rp-topbar-inner,
.rp-header-inner,
.rp-footer-inner,
.rp-main-inner {
  width: min(var(--rp-max), calc(100% - 32px));
  margin: 0 auto;
}

.rp-topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.rp-topbar-list,
.rp-footer-list,
.rp-nav-list,
.rp-sitemap-list,
.rp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-topbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.rp-topbar-item,
.rp-topbar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.rp-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 40px rgba(12, 23, 38, 0.08);
}

.rp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.rp-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.rp-brand-logo {
  width: 162px;
  height: auto;
  display: block;
}

.rp-brand-text {
  display: none;
}

.rp-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rp-nav-list .menu-item,
.rp-nav-item {
  display: block;
}

.rp-nav-list a,
.rp-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--rp-radius);
  color: var(--rp-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.rp-nav-list a:hover,
.rp-nav-list .current-menu-item > a,
.rp-nav-link:hover {
  background: rgba(20, 100, 165, 0.12);
  color: var(--rp-blue);
}

.rp-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(12, 23, 38, 0.12);
  border-radius: var(--rp-radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--rp-ink);
  cursor: pointer;
}

.rp-menu-bars,
.rp-menu-bars::before,
.rp-menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.rp-menu-bars::before {
  transform: translateY(-6px);
}

.rp-menu-bars::after {
  transform: translateY(4px);
}

.rp-main {
  padding: 42px 0 70px;
}

.rp-main-inner {
  display: block;
}

.rp-page-article {
  display: block;
}

.rp-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 56px;
  border-radius: var(--rp-radius);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 20, 38, 0.78), rgba(4, 20, 38, 0.24)),
    var(--rp-hero-image, url("assets/img/hero-rastak.webp")) center / cover no-repeat;
  box-shadow: var(--rp-shadow);
}

.rp-hero-content {
  max-width: 760px;
}

.rp-kicker {
  margin: 0 0 12px;
  color: var(--rp-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rp-hero-title,
.rp-page-title {
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.rp-hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

.rp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--rp-radius);
  background: var(--rp-blue);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.rp-button:hover {
  background: #0f4f85;
  color: #ffffff;
}

.rp-button-secondary {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.rp-section {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-card);
  backdrop-filter: blur(22px);
  box-shadow: var(--rp-shadow);
}

.rp-section-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.rp-section-title,
.rp-card-title,
.rp-page-heading {
  margin: 0;
  color: var(--rp-ink);
  letter-spacing: 0;
}

.rp-section-title {
  font-size: 34px;
  line-height: 1.12;
}

.rp-section-copy,
.rp-card-copy,
.rp-text,
.rp-detail-line,
.rp-footer-copy {
  color: var(--rp-muted);
  line-height: 1.75;
}

.rp-grid {
  display: grid;
  gap: 18px;
}

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

.rp-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rp-card {
  overflow: hidden;
  border: 1px solid rgba(12, 23, 38, 0.08);
  border-radius: var(--rp-radius);
  background: var(--rp-card-strong);
  box-shadow: 0 16px 44px rgba(12, 23, 38, 0.1);
}

.rp-card-body {
  padding: 22px;
}

.rp-card-media,
.rp-project-image,
.rp-cert-image {
  width: 100%;
  display: block;
  object-fit: cover;
  background: var(--rp-steel);
}

.rp-card-media,
.rp-project-image {
  aspect-ratio: 16 / 10;
}

.rp-card-title {
  font-size: 20px;
  line-height: 1.25;
}

.rp-card-copy {
  margin: 10px 0 0;
}

.rp-stat {
  padding: 24px;
  border-radius: var(--rp-radius);
  background: linear-gradient(145deg, rgba(11, 37, 69, 0.94), rgba(20, 100, 165, 0.86));
  color: #ffffff;
}

.rp-stat-number {
  display: block;
  font-size: 38px;
  font-weight: 800;
}

.rp-stat-label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.rp-list {
  display: grid;
  gap: 10px;
}

.rp-list-item {
  position: relative;
  padding-left: 20px;
  color: var(--rp-muted);
  line-height: 1.65;
}

.rp-list-item::before {
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rp-green);
  content: "";
}

.rp-detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.rp-detail-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(12, 23, 38, 0.08);
}

.rp-detail-term {
  color: var(--rp-ink);
  font-weight: 800;
}

.rp-detail-description {
  margin: 0;
  color: var(--rp-muted);
}

.rp-page-banner {
  padding: 42px;
  border-radius: var(--rp-radius);
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(11, 37, 69, 0.9), rgba(20, 100, 165, 0.58)),
    url("assets/img/page-banner.webp") center / cover no-repeat;
  box-shadow: var(--rp-shadow);
}

.rp-page-title {
  font-size: clamp(36px, 5vw, 58px);
}

.rp-form {
  display: grid;
  gap: 14px;
}

.rp-field {
  display: grid;
  gap: 6px;
}

.rp-label {
  color: var(--rp-ink);
  font-weight: 700;
}

.rp-input,
.rp-textarea {
  width: 100%;
  border: 1px solid rgba(12, 23, 38, 0.12);
  border-radius: var(--rp-radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--rp-ink);
  padding: 12px 14px;
}

.rp-textarea {
  min-height: 150px;
  resize: vertical;
}

.rp-site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, rgba(7, 24, 46, 0.96), rgba(10, 42, 74, 0.92));
  color: #ffffff;
}

.rp-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  padding: 46px 0;
}

.rp-footer-logo {
  width: 170px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.rp-footer-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

.rp-footer-copy,
.rp-footer-link,
.rp-footer-item {
  color: rgba(255, 255, 255, 0.76);
}

.rp-footer-link {
  text-decoration: none;
}

.rp-footer-list {
  display: grid;
  gap: 9px;
}

.rp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.rp-footer-bottom-inner {
  width: min(var(--rp-max), calc(100% - 32px));
  margin: 0 auto;
}

.rp-sitemap-list {
  display: grid;
  gap: 10px;
}

.rp-sitemap-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--rp-radius);
  background: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.rp-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(57, 184, 212, 0.36), transparent 28%),
    radial-gradient(circle at 76% 72%, rgba(25, 169, 116, 0.24), transparent 30%),
    linear-gradient(145deg, rgba(246, 250, 255, 0.96), rgba(220, 232, 244, 0.94));
  backdrop-filter: blur(28px);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.rp-loaded .rp-loader {
  opacity: 0;
  visibility: hidden;
}

.rp-loader-orbit {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 30px 90px rgba(12, 23, 38, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.rp-loader-logo {
  width: 144px;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(12, 23, 38, 0.18));
}

.rp-loader-ring {
  position: absolute;
  inset: 14px;
  border-radius: 42px;
  border: 2px solid transparent;
  border-top-color: var(--rp-cyan);
  border-right-color: rgba(25, 169, 116, 0.7);
  animation: rp-spin 1.3s linear infinite;
}

@keyframes rp-spin {
  to {
    transform: rotate(360deg);
  }
}

.rp-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.rp-intro-strip {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(241, 247, 251, 0.7)),
    radial-gradient(circle at 90% 20%, rgba(57, 184, 212, 0.2), transparent 30%);
}

.rp-ios-panel {
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 22px;
  border-radius: 34px;
  color: #ffffff;
  background:
    linear-gradient(150deg, rgba(13, 42, 75, 0.9), rgba(20, 100, 165, 0.7)),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.34), transparent 28%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 24px 70px rgba(12, 23, 38, 0.2);
}

.rp-ios-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.rp-ios-title {
  display: block;
  margin-top: 28px;
  font-size: 30px;
}

.rp-ios-subtitle {
  color: rgba(255, 255, 255, 0.74);
}

.rp-scroll-scene {
  overflow: visible;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(236, 246, 249, 0.64)),
    radial-gradient(circle at 18% 20%, rgba(25, 169, 116, 0.16), transparent 28%);
}

.rp-scroll-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 34px;
  align-items: start;
}

.rp-phone-shell {
  position: sticky;
  top: 120px;
  min-height: 640px;
  padding: 16px;
  border-radius: 54px;
  background: linear-gradient(145deg, #f8fbff, #bfc9d6);
  box-shadow: 0 36px 100px rgba(12, 23, 38, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.88);
}

.rp-phone-island {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 26px;
  width: 116px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0a1018;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.rp-phone-screen {
  min-height: 608px;
  border-radius: 42px;
  overflow: hidden;
  background: var(--rp-phone-image), linear-gradient(145deg, #dfe7ef, #ffffff);
  background-size: cover;
  background-position: center;
  transition: background-image 0.35s ease, filter 0.35s ease;
}

.rp-phone-glass {
  min-height: 608px;
  display: grid;
  align-content: end;
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 16, 31, 0.76));
}

.rp-phone-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.rp-phone-title {
  display: block;
  margin-top: 8px;
  font-size: 32px;
  line-height: 1.05;
}

.rp-scroll-steps {
  display: grid;
  gap: 18px;
}

.rp-scroll-step {
  min-height: 148px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(12, 23, 38, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.rp-scroll-step.is-active {
  transform: translateX(-10px);
  border-color: rgba(57, 184, 212, 0.52);
  background: rgba(255, 255, 255, 0.84);
}

.rp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(20, 100, 165, 0.1);
  color: var(--rp-blue);
  font-size: 13px;
  font-weight: 800;
}

.rp-partners-white {
  background: rgba(255, 255, 255, 0.92);
  color: var(--rp-ink);
}

.rp-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rp-partner-logo {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(12, 23, 38, 0.08);
  box-shadow: 0 14px 34px rgba(12, 23, 38, 0.08);
}

.rp-partner-image {
  max-width: 170px;
  max-height: 74px;
  object-fit: contain;
  filter: saturate(0.92) contrast(1.04);
}

.rp-book-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
}

.rp-book {
  position: relative;
  min-height: 360px;
  perspective: 1200px;
  cursor: pointer;
}

.rp-book-cover,
.rp-book-page {
  position: absolute;
  inset: 0;
  min-height: 360px;
  padding: 34px;
  border-radius: 24px;
  backface-visibility: hidden;
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rp-book-cover {
  z-index: 2;
  display: grid;
  align-content: end;
  color: #ffffff;
  background:
    linear-gradient(150deg, rgba(9, 33, 62, 0.96), rgba(22, 109, 152, 0.86)),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.24), transparent 26%);
  box-shadow: 0 28px 70px rgba(12, 23, 38, 0.2);
}

.rp-book-page {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(12, 23, 38, 0.08);
  transform: rotateY(8deg);
}

.rp-book.is-open .rp-book-cover {
  transform: rotateY(-132deg);
}

.rp-book-kicker {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.rp-book-title {
  display: block;
  margin-top: 18px;
  font-size: 36px;
  line-height: 1.05;
}

.rp-book-subtitle {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.rp-book-copy {
  max-width: 620px;
}

@media (prefers-reduced-motion: reduce) {
  .rp-loader,
  .rp-loader-ring,
  .rp-scroll-step,
  .rp-book-cover,
  .rp-book-page {
    animation: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .rp-menu-toggle {
    display: inline-flex;
  }

  .rp-site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    padding: 12px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--rp-shadow);
  }

  .rp-site-nav.is-open {
    display: block;
  }

  .rp-nav-list {
    display: grid;
    gap: 4px;
  }

  .rp-nav-list a {
    width: 100%;
  }

  .rp-grid-3,
  .rp-grid-4,
  .rp-footer-inner,
  .rp-intro-strip,
  .rp-scroll-layout,
  .rp-book-layout {
    grid-template-columns: 1fr 1fr;
  }

  .rp-phone-shell {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .rp-phone-screen,
  .rp-phone-glass {
    min-height: 488px;
  }
}

@media (max-width: 680px) {
  .rp-topbar-inner,
  .rp-topbar-list,
  .rp-section-head,
  .rp-hero-actions {
    display: grid;
  }

  .rp-header-inner {
    min-height: 68px;
  }

  .rp-brand-logo {
    width: 132px;
  }

  .rp-hero,
  .rp-page-banner {
    padding: 28px;
    min-height: 430px;
  }

  .rp-section {
    padding: 22px;
  }

  .rp-grid-2,
  .rp-grid-3,
  .rp-grid-4,
  .rp-footer-inner,
  .rp-detail-row,
  .rp-intro-strip,
  .rp-scroll-layout,
  .rp-book-layout,
  .rp-partner-grid {
    grid-template-columns: 1fr;
  }

  .rp-loader-orbit {
    width: 156px;
    height: 156px;
    border-radius: 36px;
  }

  .rp-loader-logo {
    width: 118px;
  }

  .rp-phone-shell {
    min-height: 430px;
    border-radius: 42px;
  }

  .rp-phone-screen,
  .rp-phone-glass {
    min-height: 398px;
    border-radius: 32px;
  }

  .rp-phone-title {
    font-size: 25px;
  }

  .rp-scroll-step.is-active {
    transform: none;
  }
}

/* Full-width glass app layer */
:root {
  --rp-ink: #121820;
  --rp-muted: #56606d;
  --rp-line: rgba(255, 255, 255, 0.46);
  --rp-card: rgba(246, 248, 250, 0.58);
  --rp-card-strong: rgba(255, 255, 255, 0.78);
  --rp-navy: #202b36;
  --rp-blue: #46677b;
  --rp-cyan: #9ec1d0;
  --rp-steel: #d4dae0;
  --rp-green: #6f8f7f;
  --rp-shadow: 0 26px 90px rgba(18, 24, 32, 0.16);
  --rp-max: 100%;
}

body.rp-body,
body {
  overflow-x: hidden;
  background:
    linear-gradient(145deg, rgba(232, 236, 240, 0.92), rgba(249, 250, 251, 0.82)),
    url("assets/img/bg-industrial.webp") center top / cover fixed no-repeat;
}

.rp-topbar-inner,
.rp-header-inner,
.rp-footer-inner,
.rp-main-inner,
.rp-footer-bottom-inner {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(16px, 4vw, 64px);
  padding-right: clamp(16px, 4vw, 64px);
}

.rp-site-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(25, 32, 39, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(26px) saturate(1.35);
}

.rp-site-header {
  top: 33px;
  z-index: 29;
  background: rgba(246, 248, 250, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(34px) saturate(1.45);
  box-shadow: 0 18px 70px rgba(18, 24, 32, 0.14);
}

.rp-header-inner {
  min-height: 84px;
}

.rp-site-nav {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rp-nav-list a,
.rp-nav-link {
  gap: 8px;
  border-radius: 999px;
  color: rgba(18, 24, 32, 0.82);
  white-space: nowrap;
}

.rp-nav-list a:hover,
.rp-nav-list .current-menu-item > a,
.rp-nav-link:hover {
  background: rgba(70, 103, 123, 0.16);
  color: #1f3f53;
}

.rp-main {
  padding: 0;
}

.rp-main-inner {
  padding-left: 0;
  padding-right: 0;
}

.rp-page-article {
  width: 100%;
}

.rp-hero,
.rp-page-banner {
  width: 100%;
  border-radius: 0;
}

.rp-hero {
  min-height: calc(100vh - 118px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(16, 22, 29, 0.86), rgba(16, 22, 29, 0.44) 58%, rgba(16, 22, 29, 0.1)),
    var(--rp-hero-image, url("assets/img/hero-rastak.webp")) center / cover no-repeat;
}

.rp-button {
  gap: 9px;
  background: linear-gradient(145deg, #334f60, #6d899a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 34px rgba(18, 24, 32, 0.18);
}

.rp-button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.rp-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 0;
  padding: clamp(46px, 7vw, 104px) clamp(18px, 6vw, 82px);
  border-width: 1px 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.84), rgba(226, 231, 236, 0.66)),
    url("assets/img/page-banner.webp") center / cover no-repeat;
  backdrop-filter: blur(30px) saturate(1.28);
}

.rp-section:nth-of-type(even) {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 28, 36, 0.9), rgba(55, 68, 80, 0.74)),
    url("assets/img/bg-industrial.webp") center / cover fixed no-repeat;
}

.rp-section:not(.rp-scroll-story-section):not(.rp-partners-white)::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.16) 45%, transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 92px);
  opacity: 0.48;
  transform: translateX(-18%);
  animation: rp-section-sheen 16s linear infinite;
  content: "";
}

.rp-section > * {
  position: relative;
  z-index: 1;
}

.rp-section:nth-of-type(even) .rp-section-title,
.rp-section:nth-of-type(even) .rp-card-title,
.rp-section:nth-of-type(even) .rp-text,
.rp-section:nth-of-type(even) .rp-section-copy,
.rp-section:nth-of-type(even) .rp-card-copy,
.rp-section:nth-of-type(even) .rp-list-item {
  color: rgba(255, 255, 255, 0.88);
}

.rp-section:nth-of-type(even) .rp-card .rp-card-title,
.rp-section:nth-of-type(even) .rp-flip-title,
.rp-section:nth-of-type(even) .rp-detail-term {
  color: #121820;
}

.rp-section:nth-of-type(even) .rp-card .rp-card-copy,
.rp-section:nth-of-type(even) .rp-flip-copy,
.rp-section:nth-of-type(even) .rp-detail-description {
  color: var(--rp-muted);
}

@keyframes rp-section-sheen {
  to {
    transform: translateX(18%);
  }
}

.rp-section-head {
  max-width: 1280px;
}

.rp-section-title {
  max-width: 900px;
  font-size: clamp(30px, 4vw, 56px);
}

.rp-section-copy {
  max-width: 760px;
}

.rp-card,
.rp-stat,
.rp-scroll-step,
.rp-contact-info,
.rp-form,
.rp-sitemap-link,
.rp-ios-panel {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(26px) saturate(1.24);
  box-shadow: 0 22px 70px rgba(18, 24, 32, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.rp-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.rp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(18, 24, 32, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.rp-fa {
  line-height: 1;
}

.rp-icon-card {
  min-height: 230px;
  padding: 24px;
}

.rp-icon-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 0 18px 22px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, #334f60, #8ba3af);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 14px 34px rgba(18, 24, 32, 0.16);
}

.rp-stat {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(31, 45, 56, 0.92), rgba(105, 125, 137, 0.78));
}

.rp-stat .rp-fa {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.rp-loader {
  background:
    linear-gradient(135deg, rgba(245, 247, 249, 0.92), rgba(206, 215, 222, 0.9)),
    repeating-linear-gradient(90deg, rgba(70, 103, 123, 0.08) 0 1px, transparent 1px 84px);
}

.rp-loader-orbit {
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(34px) saturate(1.4);
}

.rp-loader-ring {
  border-top-color: #476a7f;
  border-right-color: rgba(158, 193, 208, 0.9);
}

.rp-partners-white {
  background: #ffffff;
}

.rp-partner-marquee {
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.rp-partner-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: rp-marquee 32s linear infinite;
}

.rp-partner-marquee:hover .rp-partner-track {
  animation-play-state: paused;
}

.rp-partner-logo {
  width: 238px;
  min-height: 128px;
  flex: 0 0 auto;
  border-radius: 8px;
}

@keyframes rp-marquee {
  to {
    transform: translateX(-50%);
  }
}

.rp-project-book-section {
  background:
    linear-gradient(135deg, rgba(235, 239, 243, 0.86), rgba(255, 255, 255, 0.68)),
    url("assets/img/bg-industrial.webp") center / cover fixed no-repeat;
}

.rp-catalog-panel {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.rp-catalog-book {
  min-height: 280px;
  display: grid;
  align-content: end;
  padding: 30px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(31, 42, 52, 0.96), rgba(91, 110, 121, 0.84)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: 20px 24px 70px rgba(18, 24, 32, 0.22), inset 10px 0 0 rgba(255, 255, 255, 0.1);
  transform: perspective(900px) rotateY(-8deg);
}

.rp-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rp-project-controls {
  display: grid;
  gap: 14px;
  margin: 22px 0 28px;
}

.rp-filter-bar,
.rp-sort-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rp-filter-button,
.rp-sort-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #26333f;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(20px);
}

.rp-filter-button.is-active,
.rp-sort-button.is-active {
  background: #334f60;
  color: #ffffff;
}

.rp-flipbook {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  perspective: 1600px;
}

.rp-flip-card {
  min-height: 420px;
  border-radius: 8px;
  transform-style: preserve-3d;
  transition: transform 0.38s ease, opacity 0.24s ease;
}

.rp-flip-card[hidden] {
  display: none;
}

.rp-flip-card:hover,
.rp-flip-card.is-flipped {
  transform: rotateY(-6deg) translateY(-7px);
}

.rp-flip-link {
  height: 100%;
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 20px 58px rgba(18, 24, 32, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.rp-flip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.rp-flip-content {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.rp-flip-number,
.rp-flip-meta,
.rp-flip-cta {
  font-size: 12px;
  font-weight: 800;
  color: #476a7f;
}

.rp-flip-title {
  margin: 0;
  color: #121820;
  font-size: 18px;
  line-height: 1.25;
}

.rp-flip-copy {
  margin: 0;
  color: var(--rp-muted);
  line-height: 1.58;
}

.rp-flip-cta {
  margin-top: 4px;
}

.rp-book-section {
  background:
    linear-gradient(135deg, rgba(28, 37, 46, 0.9), rgba(79, 93, 105, 0.74)),
    url("assets/img/page-banner.webp") center / cover fixed no-repeat;
}

.rp-book-layout {
  max-width: 1260px;
}

.rp-book-cover,
.rp-book-page {
  border-radius: 8px;
}

.rp-site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(18, 24, 32, 0.94), rgba(64, 79, 90, 0.88)),
    url("assets/img/bg-industrial.webp") center / cover no-repeat;
}

.rp-site-footer::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 88px);
  content: "";
}

.rp-footer-inner,
.rp-footer-bottom {
  position: relative;
  z-index: 1;
}

.rp-footer-section {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
}

@media (prefers-reduced-motion: reduce) {
  .rp-section::before,
  .rp-partner-track {
    animation: none;
  }
}

@media (max-width: 1200px) {
  .rp-flipbook {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .rp-site-header {
    top: 0;
  }

  .rp-site-nav {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
  }

  .rp-catalog-panel,
  .rp-flipbook {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rp-site-topbar {
    display: none;
  }

  .rp-hero {
    min-height: 78vh;
  }

  .rp-section {
    padding: 36px 16px;
  }

  .rp-catalog-panel,
  .rp-flipbook {
    grid-template-columns: 1fr;
  }

  .rp-flip-card {
    min-height: auto;
  }
}

/* Dark app revision */
.rp-shell,
body.rp-body,
body {
  background: #080d12;
}

.rp-site-header,
.rp-site-topbar,
.rp-partners-white,
.rp-site-nav,
.rp-menu-toggle,
.rp-button {
  border: 0;
}

.rp-site-header {
  background: rgba(238, 243, 247, 0.72);
}

.rp-section:not(.rp-partners-white),
.rp-book-section,
.rp-project-book-section,
.rp-scroll-scene {
  color: #f4f7fa;
  border: 0;
  background:
    linear-gradient(135deg, rgba(7, 12, 18, 0.9), rgba(28, 38, 48, 0.78)),
    url("assets/img/local-scroll/1.webp") center / cover fixed no-repeat;
}

.rp-section:nth-of-type(3n):not(.rp-partners-white) {
  background:
    linear-gradient(135deg, rgba(7, 12, 18, 0.9), rgba(28, 38, 48, 0.78)),
    url("assets/img/local-scroll/3.webp") center / cover fixed no-repeat;
}

.rp-section:nth-of-type(3n + 1):not(.rp-partners-white) {
  background:
    linear-gradient(135deg, rgba(7, 12, 18, 0.9), rgba(28, 38, 48, 0.78)),
    url("assets/img/local-scroll/6.webp") center / cover fixed no-repeat;
}

.rp-section:nth-of-type(3n + 2):not(.rp-partners-white) {
  background:
    linear-gradient(135deg, rgba(7, 12, 18, 0.9), rgba(28, 38, 48, 0.78)),
    url("assets/img/local-scroll/9.webp") center / cover fixed no-repeat;
}

.rp-section:not(.rp-partners-white) .rp-section-title,
.rp-section:not(.rp-partners-white) .rp-card-title,
.rp-section:not(.rp-partners-white) .rp-page-heading,
.rp-section:not(.rp-partners-white) .rp-text,
.rp-section:not(.rp-partners-white) .rp-section-copy,
.rp-section:not(.rp-partners-white) .rp-card-copy,
.rp-section:not(.rp-partners-white) .rp-list-item,
.rp-section:not(.rp-partners-white) .rp-detail-line,
.rp-section:not(.rp-partners-white) .rp-detail-term,
.rp-section:not(.rp-partners-white) .rp-detail-description {
  color: rgba(245, 248, 250, 0.9);
}

.rp-card,
.rp-stat,
.rp-scroll-step,
.rp-contact-info,
.rp-form,
.rp-sitemap-link,
.rp-footer-section,
.rp-flip-link,
.rp-filter-button,
.rp-sort-button,
.rp-pdf-button,
.rp-pdf-page,
.rp-project-summary-panel {
  border: 0 !important;
  background: rgba(255, 255, 255, 0.11);
  color: #f4f7fa;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.rp-card:hover {
  transform: translateY(-4px);
}

.rp-card .rp-card-title,
.rp-card .rp-card-copy,
.rp-flip-title,
.rp-flip-copy,
.rp-flip-meta,
.rp-flip-number,
.rp-flip-cta {
  color: rgba(245, 248, 250, 0.9) !important;
}

.rp-input,
.rp-textarea {
  border: 0;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.rp-page-banner {
  border: 0;
}

.rp-scroll-scene {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(4, 8, 13, 0.78), rgba(14, 22, 31, 0.6)),
    var(--rp-scroll-bg, url("assets/img/local-scroll/1.webp")) center / cover fixed no-repeat;
  transition: background-image 0.45s ease;
}

.rp-scroll-layout-bg {
  display: block;
}

.rp-scroll-steps {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rp-scroll-step {
  min-height: 190px;
  display: grid;
  align-content: start;
}

.rp-scroll-step.is-active {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.2);
}

.rp-lottie-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(144, 178, 190, 0.95), rgba(55, 82, 98, 0.95));
  color: #ffffff;
  animation: rp-lottie-pulse 2.2s ease-in-out infinite;
}

@keyframes rp-lottie-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.06);
  }
}

.rp-phone-shell {
  display: none;
}

.rp-catalog-panel {
  grid-template-columns: minmax(240px, 340px) 1fr;
}

.rp-catalog-book {
  border: 0;
  transform: none;
}

.rp-pdf-flipbook {
  display: grid;
  gap: 14px;
  width: min(100%, 680px);
}

.rp-pdf-book-shell {
  position: relative;
  min-height: 260px;
  perspective: 1000px;
}

.rp-pdf-page {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 28px;
  border-radius: 8px;
  opacity: 0;
  transform: rotateY(-22deg) translateX(18px);
  transform-origin: left center;
  transition: opacity 0.28s ease, transform 0.45s ease;
}

.rp-pdf-page.is-active {
  opacity: 1;
  transform: rotateY(0) translateX(0);
}

.rp-pdf-page-num {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.rp-pdf-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.rp-pdf-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(20px);
}

.rp-pdf-status {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.rp-flipbook {
  perspective: none;
}

.rp-flip-card,
.rp-flip-card:hover,
.rp-flip-card.is-flipped {
  transform: none;
  transform-style: flat;
}

.rp-flip-link {
  background: rgba(255, 255, 255, 0.12);
}

.rp-project-summary-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  border-radius: 8px;
  backdrop-filter: blur(24px);
}

.rp-project-pill {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(144, 178, 190, 0.24);
  color: #d9eef5;
  font-weight: 800;
}

.rp-faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.rp-faq-item {
  padding: 20px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.rp-faq-question {
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.rp-faq-answer {
  margin: 12px 0 0;
  color: rgba(245, 248, 250, 0.78);
  line-height: 1.7;
}

.rp-partners-white {
  background: #ffffff !important;
  color: var(--rp-ink);
}

.rp-partners-white .rp-section-title,
.rp-partners-white .rp-section-copy {
  color: var(--rp-ink) !important;
}

.rp-partners-white .rp-partner-logo {
  border: 0;
}

.rp-app-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 40;
  display: none;
  width: min(430px, calc(100% - 28px));
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(15, 21, 28, 0.72);
  backdrop-filter: blur(26px) saturate(1.35);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.rp-app-nav-link {
  min-height: 52px;
  display: grid;
  place-items: center;
  gap: 3px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.rp-app-nav-link i {
  font-size: 17px;
}

.rp-app-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .rp-scroll-steps,
  .rp-catalog-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.rp-body {
    padding-bottom: 86px;
  }

  .rp-app-nav {
    display: grid;
  }

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

  .rp-pdf-book-shell {
    min-height: 230px;
  }
}

/* Map, PDF canvas and dark-header polish */
.rp-site-topbar,
.rp-site-header {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(4, 8, 13, 0.9), rgba(20, 30, 39, 0.74));
  backdrop-filter: blur(30px) saturate(1.35);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

.rp-site-header {
  border-bottom: 0;
}

.rp-brand-logo {
  filter: drop-shadow(0 10px 28px rgba(127, 190, 196, 0.28));
}

.rp-site-nav {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rp-nav-list a,
.rp-nav-link {
  color: rgba(255, 255, 255, 0.84);
}

.rp-nav-list a:hover,
.rp-nav-list .current-menu-item > a,
.rp-nav-link:hover {
  color: #ffffff;
  background: rgba(112, 157, 177, 0.3);
}

.rp-menu-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.rp-loader {
  background:
    radial-gradient(circle at 50% 42%, rgba(108, 154, 176, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(2, 5, 9, 0.98), rgba(12, 20, 29, 0.96));
}

.rp-loader-orbit {
  width: 220px;
  height: 220px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  animation: rp-loader-float 2s ease-in-out infinite;
}

.rp-loader-logo {
  animation: rp-logo-breathe 1.45s ease-in-out infinite;
}

.rp-loader-ring {
  inset: 8px;
  border-width: 3px;
  border-top-color: #8fd4e8;
  border-right-color: rgba(85, 120, 138, 0.85);
  filter: drop-shadow(0 0 18px rgba(143, 212, 232, 0.52));
}

@keyframes rp-loader-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

@keyframes rp-logo-breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.rp-hero-rotator {
  position: relative;
  min-height: 174px;
  margin-top: 18px;
}

.rp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rp-hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rp-hero-slide-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.08;
}

.rp-map-section {
  background:
    linear-gradient(135deg, rgba(4, 8, 13, 0.94), rgba(17, 30, 42, 0.82)),
    url("assets/img/bg-industrial.webp") center / cover fixed no-repeat !important;
}

.rp-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
}

.rp-map-canvas,
.rp-map-panel {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px) saturate(1.2);
}

.rp-map-canvas {
  overflow: hidden;
  padding: clamp(10px, 3vw, 28px);
}

.rp-iran-map-svg {
  width: 100%;
  display: block;
}

.rp-map-sea {
  fill: rgba(104, 185, 211, 0.22);
}

.rp-map-land {
  fill: rgba(232, 235, 224, 0.14);
}

.rp-map-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.68);
  stroke-width: 2;
  stroke-dasharray: 7 9;
}

.rp-map-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 8 12;
}

.rp-map-point {
  cursor: pointer;
  outline: none;
  filter: url("#rp-map-glow");
}

.rp-map-point circle {
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 2;
  transition: transform 0.2s ease, filter 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.rp-map-point text {
  fill: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-anchor: middle;
  pointer-events: none;
}

.rp-map-point:hover circle,
.rp-map-point:focus circle,
.rp-map-point.is-active circle {
  transform: scale(1.45);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.42));
}

.rp-map-oil circle,
.rp-map-oil-key::before {
  fill: #38ad49;
}

.rp-map-power circle,
.rp-map-power-key::before {
  fill: #b4141d;
}

.rp-map-mineral circle,
.rp-map-mineral-key::before {
  fill: #0b91bf;
}

.rp-map-hv circle,
.rp-map-hv-key::before {
  fill: #f5ab19;
}

.rp-map-panel {
  padding: 28px;
}

.rp-map-panel-kicker {
  color: #9fd0dd;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rp-map-active-title {
  margin: 14px 0 10px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.1;
}

.rp-map-active-category {
  color: rgba(245, 248, 250, 0.78);
  line-height: 1.7;
}

.rp-map-legend {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.rp-map-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.rp-map-legend-item::before {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  content: "";
}

.rp-pdf-flipbook {
  width: min(100%, 820px);
  margin-inline: auto;
}

.rp-pdf-book-shell {
  min-height: clamp(360px, 68vw, 820px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 22px);
}

.rp-pdf-canvas {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  transform-origin: left center;
}

.rp-pdf-flipbook.is-turning .rp-pdf-canvas {
  animation: rp-page-turn 0.34s ease;
}

.rp-pdf-loader {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.rp-pdf-loader .rp-fa {
  margin-right: 8px;
  animation: rp-spin 1s linear infinite;
}

@keyframes rp-page-turn {
  0% {
    transform: perspective(1100px) rotateY(0deg);
  }
  55% {
    transform: perspective(1100px) rotateY(-13deg);
  }
  100% {
    transform: perspective(1100px) rotateY(0deg);
  }
}

@media (max-width: 980px) {
  .rp-map-layout {
    grid-template-columns: 1fr;
  }

  .rp-map-active-title {
    font-size: 24px;
  }
}

@media (max-width: 680px) {
  .rp-site-header {
    background: rgba(7, 12, 18, 0.88);
  }

  .rp-hero-rotator {
    min-height: 245px;
  }

  .rp-map-canvas {
    padding: 4px;
  }

  .rp-pdf-book-shell {
    min-height: 430px;
  }
}

/* Latest polish: translation footer, detailed map, full-image stories, certificates and blog */
.rp-site-header,
.rp-site-topbar {
  background:
    linear-gradient(135deg, rgba(3, 7, 12, 0.9), rgba(19, 28, 36, 0.82)) !important;
  color: #ffffff;
}

.rp-site-nav {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rp-nav-list a,
.rp-nav-link {
  color: rgba(255, 255, 255, 0.84) !important;
}

.rp-nav-list a:hover,
.rp-nav-list .current-menu-item > a,
.rp-nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14);
}

.rp-loader {
  background:
    radial-gradient(circle at 50% 44%, rgba(57, 184, 212, 0.24), transparent 22%),
    radial-gradient(circle at 18% 18%, rgba(255, 186, 38, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(2, 5, 9, 0.98), rgba(11, 17, 24, 0.96));
}

.rp-loader-orbit {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.rp-loader-logo {
  animation: rp-logo-pulse 1.2s ease-in-out infinite;
}

.rp-loader-ring {
  border-top-color: #f5ab19;
  border-right-color: #39b8d4;
}

@keyframes rp-logo-pulse {
  0%, 100% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 10px rgba(57, 184, 212, 0.32));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 26px rgba(245, 171, 25, 0.34));
  }
}

.rp-footer-inner {
  grid-template-columns: minmax(260px, 1.35fr) minmax(190px, 0.75fr) minmax(230px, 0.85fr) minmax(250px, 1fr);
}

.rp-footer-translate {
  min-height: 100%;
}

.rp-translate-widget {
  min-height: 42px;
  margin-top: 16px;
}

.rp-translate-widget select,
.goog-te-combo {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.rp-translate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.rp-translate-link {
  min-width: 42px;
  padding: 9px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.rp-scroll-story-section {
  padding-left: 0;
  padding-right: 0;
  background:
    linear-gradient(135deg, rgba(3, 7, 12, 0.82), rgba(13, 20, 28, 0.54)),
    var(--rp-story-bg, url("assets/img/local-scroll/1.webp")) center / cover fixed no-repeat !important;
}

.rp-scroll-story-section > .rp-section-head {
  padding: 0 clamp(18px, 6vw, 82px);
}

.rp-scroll-panels {
  display: grid;
  gap: 0;
}

.rp-scroll-panel {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 6vw, 92px);
  background: #050910;
  isolation: isolate;
}

.rp-scroll-panel + .rp-scroll-panel {
  margin-top: 2px;
}

.rp-scroll-panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: brightness(0.86) saturate(1.12) contrast(1.04);
  transform: none;
  pointer-events: none;
  will-change: auto;
}

.rp-scroll-panel::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 9, 0.62), rgba(2, 5, 9, 0.2) 52%, rgba(2, 5, 9, 0.04)),
    linear-gradient(180deg, rgba(2, 5, 9, 0.05), rgba(2, 5, 9, 0.46));
  content: "";
}

.rp-scroll-panel-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: clamp(22px, 4vw, 40px);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(8, 13, 19, 0.5);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.18);
}

.rp-scroll-panel.is-active .rp-scroll-panel-image {
  opacity: 1;
  filter: brightness(0.92) saturate(1.14) contrast(1.05);
}

.rp-scroll-panel .rp-card-title {
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.02;
}

.rp-scroll-extra {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.rp-map-canvas {
  background:
    radial-gradient(circle at 42% 25%, rgba(57, 184, 212, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.rp-map-caspian {
  fill: rgba(68, 176, 207, 0.2);
}

.rp-map-gulf {
  fill: rgba(68, 176, 207, 0.24);
}

.rp-map-land {
  fill: rgba(255, 255, 255, 0.03);
}

.rp-map-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.rp-map-province-line,
.rp-map-coastline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.54);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rp-map-point circle {
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 2.5;
}

.rp-map-point text {
  font-size: 13px;
}

.rp-map-panel {
  align-self: stretch;
}

.rp-cert-grid,
.rp-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.rp-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-cert-category {
  margin-top: 34px;
}

.rp-cert-category-head {
  max-width: 980px;
}

.rp-cert-category-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 3.2vw, 42px);
}

.rp-cert-category-copy {
  margin: 10px 0 0;
  color: rgba(245, 248, 250, 0.78);
  line-height: 1.7;
}

.rp-cert-card,
.rp-blog-card {
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px) saturate(1.22);
}

.rp-cert-media-wrap {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.rp-cert-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}

.rp-cert-placeholder {
  width: min(220px, 80%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  gap: 10px;
  border-radius: 8px;
  color: #23313b;
  background:
    linear-gradient(145deg, rgba(245, 171, 25, 0.2), rgba(57, 184, 212, 0.14)),
    #ffffff;
  font-weight: 900;
  text-align: center;
}

.rp-cert-placeholder .rp-fa {
  font-size: 34px;
}

.rp-cert-placeholder-text {
  display: block;
}

.rp-cert-body,
.rp-blog-body {
  padding: 22px;
}

.rp-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.rp-about-hero-copy,
.rp-about-signal-panel,
.rp-timeline-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px) saturate(1.22);
}

.rp-about-hero-copy {
  padding: clamp(24px, 4vw, 46px);
}

.rp-about-signal-panel {
  min-height: 320px;
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(145deg, rgba(57, 184, 212, 0.14), rgba(245, 171, 25, 0.11)),
    rgba(255, 255, 255, 0.1);
}

.rp-about-signal-number {
  color: #ffffff;
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 900;
  line-height: 0.9;
}

.rp-about-signal-title {
  display: block;
  margin-top: 14px;
  color: #dff6ff;
  font-size: 18px;
  text-transform: uppercase;
}

.rp-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.rp-timeline::before {
  position: absolute;
  left: clamp(84px, 11vw, 128px);
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(57, 184, 212, 0.8), rgba(245, 171, 25, 0.7));
  content: "";
}

.rp-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(96px, 12vw, 140px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rp-timeline-year {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  min-width: 88px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(57, 184, 212, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-weight: 900;
}

.rp-timeline-card {
  padding: 22px;
}

.rp-cert-badge,
.rp-blog-meta {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dff6ff;
  background: rgba(57, 184, 212, 0.14);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rp-blog-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.rp-blog-card .rp-card-title {
  display: flex;
  gap: 10px;
  align-items: center;
}

.rp-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.rp-single-hero-section {
  position: relative;
  min-height: min(760px, 78vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(44px, 7vw, 96px);
}

.rp-single-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-single-hero-section::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 7, 12, 0.84), rgba(3, 7, 12, 0.35));
  content: "";
}

.rp-single-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.rp-single-hero-copy .rp-page-title,
.rp-single-hero-copy .rp-hero-copy {
  color: #ffffff;
}

.rp-article-body,
.rp-article-aside,
.rp-pdf-translation-copy-block,
.rp-pdf-translation-book {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(1.22);
}

.rp-pdf-translation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.rp-pdf-translation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.rp-pdf-translation-item {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.rp-pdf-translation-title,
.rp-pdf-translation-copy {
  display: block;
}

.rp-pdf-translation-copy {
  margin-top: 8px;
  color: rgba(245, 248, 250, 0.78);
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .rp-footer-inner,
  .rp-cert-grid,
  .rp-blog-grid,
  .rp-about-hero-grid,
  .rp-pdf-translation-layout,
  .rp-pdf-translation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rp-footer-inner,
  .rp-cert-grid,
  .rp-blog-grid,
  .rp-about-hero-grid,
  .rp-pdf-translation-layout,
  .rp-pdf-translation-list {
    grid-template-columns: 1fr;
  }

  .rp-scroll-panel {
    min-height: 86vh;
    padding: 22px 16px;
  }

  .rp-scroll-panel::after {
    background: linear-gradient(180deg, rgba(2, 5, 9, 0.08), rgba(2, 5, 9, 0.68));
  }

  .rp-scroll-panel-content {
    padding: 20px;
  }

  .rp-single-hero-section {
    min-height: 76vh;
    padding: 34px 16px;
  }

  .rp-timeline::before {
    left: 18px;
  }

  .rp-timeline-item {
    grid-template-columns: 1fr;
    padding-left: 38px;
    gap: 12px;
  }

  .rp-timeline-year {
    justify-content: flex-start;
  }
}

/* Final requested polish */
.rp-site-header,
.rp-site-topbar {
  font-size: inherit;
  line-height: inherit;
}

.rp-site-topbar {
  font-size: 13px;
}

.rp-loader-orbit {
  width: 112px;
  height: 112px;
  border-radius: 28px;
}

.rp-loader-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.rp-intro-strip {
  display: none !important;
}

.rp-map-section .rp-section-copy {
  max-width: 760px;
}

.rp-map-canvas {
  border: 16px solid transparent;
  border-image: url("assets/img/map-frame.png") 20 round;
  background-clip: padding-box;
}

.rp-iran-map-svg {
  overflow: visible;
}

.rp-map-border,
.rp-map-province-line,
.rp-map-coastline {
  vector-effect: non-scaling-stroke;
}

.rp-map-point circle {
  r: 10px;
}

.rp-map-point text {
  font-size: 10px;
  dominant-baseline: middle;
}

.rp-map-point:hover circle,
.rp-map-point:focus circle,
.rp-map-point.is-active circle {
  transform: scale(1.32);
}

.rp-pdf-flipbook.rp-dflip-embed {
  width: min(100%, 920px);
}

.rp-pdf-flipbook ._df_book {
  min-height: 620px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 10, 16, 0.78);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.rp-dflip-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .rp-site-nav {
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    max-height: calc(100vh - 98px);
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(105, 171, 196, 0.34);
    border-radius: 8px;
    background:
      linear-gradient(145deg, rgba(7, 13, 20, 0.96), rgba(24, 39, 50, 0.94)) !important;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .rp-site-nav.is-open {
    display: block;
  }

  .rp-nav-list {
    display: grid;
    gap: 8px;
  }

  .rp-nav-list a,
  .rp-nav-link {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 8px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    font-size: 15px;
    font-weight: 800;
  }

  .rp-nav-list a:hover,
  .rp-nav-list .current-menu-item > a,
  .rp-nav-link:hover {
    background: linear-gradient(135deg, rgba(83, 146, 170, 0.72), rgba(42, 89, 112, 0.62));
  }

  .rp-menu-toggle {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
  }

  .rp-pdf-flipbook ._df_book {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .rp-map-canvas {
    border-width: 10px;
    padding: 8px;
  }

  .rp-map-point circle {
    r: 8px;
  }

  .rp-map-point text {
    font-size: 8px;
  }

  .rp-pdf-flipbook ._df_book {
    min-height: 440px;
  }
}

/* Mobile density and darker visual pass */
body.rp-body,
body {
  background:
    linear-gradient(135deg, rgba(4, 7, 11, 0.96), rgba(12, 18, 25, 0.93)),
    url("assets/img/bg-industrial.webp") center top / cover fixed no-repeat;
}

.rp-section:not(.rp-partners-white),
.rp-book-section,
.rp-project-book-section,
.rp-scroll-scene {
  background:
    linear-gradient(135deg, rgba(3, 7, 12, 0.94), rgba(16, 24, 32, 0.86)),
    url("assets/img/local-scroll/1.webp") center / cover fixed no-repeat;
}

.rp-card,
.rp-stat,
.rp-icon-card,
.rp-flip-link,
.rp-cert-card,
.rp-blog-card {
  background-color: rgba(37, 47, 58, 0.78);
}

.rp-card-media,
.rp-flip-image,
.rp-blog-image,
.rp-cert-image,
.rp-scroll-panel-image,
.rp-single-hero-image,
.rp-project-image {
  image-rendering: auto;
}

.rp-card-media,
.rp-flip-image,
.rp-blog-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rp-flip-image {
  height: auto;
  min-height: 0;
}

@media (min-width: 981px) {
  .rp-card-media,
  .rp-flip-image,
  .rp-blog-image {
    max-height: 260px;
  }
}

@media (max-width: 680px) {
  .rp-main {
    padding: 10px 0 44px;
  }

  .rp-header-inner {
    width: calc(100% - 28px);
    min-height: 64px;
    gap: 10px;
  }

  .rp-brand-logo {
    width: 144px;
  }

  .rp-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .rp-site-nav {
    top: calc(100% + 6px);
    max-height: calc(100vh - 82px);
  }

  .rp-hero {
    min-height: 66vh;
    padding: 34px 22px;
    border-radius: 0;
  }

  .rp-hero-title,
  .rp-page-title {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 1.02;
  }

  .rp-hero-copy {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.48;
  }

  .rp-hero-rotator {
    min-height: 168px;
    margin-top: 10px;
  }

  .rp-hero-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .rp-section {
    margin-top: 18px;
    padding: 22px 16px;
  }

  .rp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .rp-grid-3:has(.rp-icon-card),
  .rp-grid-3:has(.rp-stat) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .rp-stat,
  .rp-icon-card .rp-card-body,
  .rp-card-body {
    padding: 14px;
  }

  .rp-stat {
    min-height: 156px;
    display: grid;
    align-content: center;
    gap: 8px;
  }

  .rp-stat .rp-fa,
  .rp-icon-badge {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .rp-stat-number {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1;
  }

  .rp-stat-label,
  .rp-card-copy {
    font-size: 14px;
    line-height: 1.55;
  }

  .rp-card-title {
    font-size: 17px;
  }

  .rp-card-media,
  .rp-flip-image,
  .rp-blog-image {
    aspect-ratio: 4 / 3;
    max-height: 150px;
  }

  .rp-project-controls {
    align-items: center;
    gap: 10px;
    margin: 16px 0 20px;
  }

  .rp-filter-bar,
  .rp-sort-bar {
    justify-content: center;
    gap: 8px;
  }

  .rp-filter-button,
  .rp-sort-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
    box-shadow: none;
  }

  .rp-flipbook {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .rp-flip-card {
    min-height: 268px;
  }

  .rp-flip-content {
    padding: 12px;
  }

  .rp-flip-title {
    font-size: 15px;
    line-height: 1.25;
  }

  .rp-flip-copy {
    display: none;
  }
}

@media (max-width: 380px) {
  .rp-brand-logo {
    width: 128px;
  }

  .rp-grid-4,
  .rp-grid-3:has(.rp-icon-card),
  .rp-grid-3:has(.rp-stat),
  .rp-flipbook {
    gap: 10px;
  }

  .rp-stat {
    min-height: 144px;
  }

  .rp-filter-button,
  .rp-sort-button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Navigation, dynamic archives and section cleanup */
#ast-scroll-top,
.ast-scroll-top-icon,
.rp-site-topbar {
  display: none !important;
}

.rp-nav-list .menu-item-has-children {
  position: relative;
}

.rp-nav-list .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  min-width: 238px;
  display: none;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(105, 171, 196, 0.28);
  border-radius: 8px;
  background: rgba(8, 13, 19, 0.96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.rp-nav-list .menu-item-has-children:hover > .sub-menu,
.rp-nav-list .menu-item-has-children:focus-within > .sub-menu {
  display: grid;
  gap: 6px;
}

.rp-nav-list .sub-menu a {
  justify-content: flex-start;
  min-height: 38px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.rp-blog-card-link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.rp-blog-grid-dynamic {
  align-items: stretch;
}

.rp-blog-grid-dynamic .rp-blog-card {
  min-height: 100%;
}

.rp-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.rp-pagination .page-numbers {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.rp-pagination .current {
  background: #334f60;
}

.rp-scroll-panel {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(3, 7, 12, 0.58), rgba(6, 10, 16, 0.72)),
    var(--rp-panel-bg, url("assets/img/local-scroll/1.webp")) center / cover no-repeat !important;
}

.rp-scroll-panel-image {
  display: none;
}

.rp-scroll-panel-content {
  margin-inline: auto;
}

@media (min-width: 681px) and (max-width: 980px) {
  .rp-grid-3:has(.rp-icon-card) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .rp-nav-list .sub-menu {
    position: static;
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 8px 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .rp-nav-list .sub-menu a {
    min-height: 40px;
    font-size: 14px;
    background: rgba(102, 151, 170, 0.18);
  }
}

@media (max-width: 680px) {
  .rp-scroll-panel {
    min-height: 78vh;
    align-items: center;
  }

  .rp-scroll-panel-content {
    width: min(100%, 360px);
  }
}

/* GTranslate flags, Google profile card and shorter fixed-cover stories */
.rp-gtranslate-panel {
  margin-top: 16px;
}

.rp-gtranslate-panel .gtranslate_wrapper {
  display: none;
}

.rp-gtranslate-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.rp-gtranslate-flag a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rp-gtranslate-flag a:hover,
.rp-gtranslate-flag a:focus {
  transform: translateY(-2px);
  background: rgba(116, 161, 181, 0.3);
}

.rp-gtranslate-flag img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.rp-google-profile-card {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(12, 18, 26, 0.68);
}

.rp-google-profile-map {
  position: relative;
  min-height: 118px;
  background:
    radial-gradient(circle at 60% 52%, rgba(237, 89, 58, 0.22), transparent 4%),
    linear-gradient(90deg, rgba(68, 96, 122, 0.28) 1px, transparent 1px),
    linear-gradient(rgba(68, 96, 122, 0.28) 1px, transparent 1px),
    linear-gradient(135deg, #152437, #0f1824);
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.rp-google-profile-map::before,
.rp-google-profile-map::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(105, 146, 176, 0.5);
  content: "";
}

.rp-google-profile-map::before {
  top: 44px;
  transform: rotate(-7deg);
}

.rp-google-profile-map::after {
  top: 76px;
  transform: rotate(4deg);
}

.rp-google-pin {
  position: absolute;
  left: 61%;
  top: 46%;
  width: 18px;
  height: 18px;
  border-radius: 999px 999px 999px 0;
  background: #e64b35;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 0 0 4px rgba(230, 75, 53, 0.18);
}

.rp-google-pin::after {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.rp-google-profile-body {
  padding: 16px;
}

.rp-google-profile-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
}

.rp-google-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.rp-google-stars {
  color: #ffc857;
  letter-spacing: 0;
}

.rp-google-profile-copy,
.rp-google-profile-line {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.rp-google-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.rp-google-actions a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #dcecff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.rp-scroll-panel {
  background: var(--rp-panel-bg) center / cover fixed no-repeat;
}

.rp-scroll-panel-image {
  opacity: 0.72;
}

@media (max-width: 680px) {
  .rp-gtranslate-flags {
    justify-content: center;
  }

  .rp-gtranslate-flag a {
    width: 42px;
    height: 42px;
  }

  .rp-gtranslate-flag img {
    width: 25px;
    height: 25px;
  }

  .rp-google-profile-map {
    min-height: 92px;
  }

  .rp-scroll-panel {
    min-height: 62vh;
    padding: 18px 14px;
    background: var(--rp-panel-bg) center / cover fixed no-repeat;
  }

  .rp-scroll-panel-image {
    opacity: 0.58;
  }

  .rp-scroll-panel-content {
    padding: 16px;
  }

  .rp-scroll-panel .rp-card-title {
    font-size: clamp(28px, 9vw, 42px);
  }

  .rp-scroll-extra {
    display: none;
  }
}

/* Last-pass overrides for requested navigation and story behavior */
.rp-nav-list .dropdown-menu-toggle,
.rp-nav-list .ast-menu-toggle {
  display: none !important;
}

.rp-scroll-story-section {
  background: #050910 !important;
}

.rp-scroll-panel {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(3, 7, 12, 0.58), rgba(6, 10, 16, 0.72)),
    var(--rp-panel-bg, url("assets/img/local-scroll/1.webp")) center / cover no-repeat !important;
}

.rp-scroll-panel-image {
  display: none !important;
}

.rp-hr-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.rp-hr-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-field-wide {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  .rp-hr-layout,
  .rp-hr-form {
    grid-template-columns: 1fr;
  }
}

/* Compact story grid requested */
.rp-scroll-story-section {
  padding-left: clamp(18px, 4vw, 54px) !important;
  padding-right: clamp(18px, 4vw, 54px) !important;
}

.rp-scroll-story-section > .rp-section-head {
  padding: 0 !important;
}

.rp-scroll-panels {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.rp-scroll-panel,
.rp-scroll-panel + .rp-scroll-panel {
  min-height: 330px;
  margin-top: 0;
  padding: 16px;
  border-radius: 8px;
}

.rp-scroll-panel::after {
  background:
    linear-gradient(180deg, rgba(2, 5, 9, 0.08), rgba(2, 5, 9, 0.58)),
    linear-gradient(90deg, rgba(2, 5, 9, 0.22), rgba(2, 5, 9, 0.08));
}

.rp-scroll-panel-content {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
}

.rp-scroll-panel .rp-card-title {
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.08;
}

.rp-scroll-panel .rp-card-copy {
  font-size: 14px;
  line-height: 1.55;
}

.rp-scroll-extra {
  display: none;
}

.rp-lottie-mark {
  width: 52px;
  height: 52px;
}

@media (max-width: 1180px) {
  .rp-scroll-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rp-scroll-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .rp-scroll-panel,
  .rp-scroll-panel + .rp-scroll-panel {
    min-height: 250px;
    padding: 10px;
  }

  .rp-scroll-panel-content {
    padding: 12px;
  }

  .rp-lottie-mark {
    width: 42px;
    height: 42px;
  }

  .rp-step-number {
    width: 36px;
    height: 26px;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .rp-scroll-panel .rp-card-title {
    font-size: 18px;
  }

  .rp-scroll-panel .rp-card-copy {
    font-size: 13px;
    line-height: 1.45;
  }
}

/* Header, footer and story cleanup after QA screenshots */
html,
body,
.rp-shell {
  margin-top: 0 !important;
}

.rp-site-header {
  top: 0 !important;
  z-index: 10000;
  margin-top: 0 !important;
  overflow: visible;
}

.admin-bar .rp-site-header {
  top: 0 !important;
}

.rp-header-inner {
  min-height: 76px;
  padding-top: 0;
  padding-bottom: 0;
}

.rp-brand-logo {
  width: 194px;
}

.rp-loader-orbit {
  width: 264px;
  height: 264px;
}

.rp-loader-logo {
  width: 168px;
}

.rp-site-nav {
  position: relative;
  z-index: 10002;
  overflow: visible;
}

.rp-nav-list {
  position: relative;
  z-index: 10003;
}

.rp-nav-list .sub-menu {
  top: 100%;
  z-index: 10004;
  margin-top: 10px;
}

.rp-nav-list .sub-menu::before {
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
  content: "";
}

.rp-footer-list .sub-menu,
.rp-site-footer .dropdown-menu-toggle,
.rp-site-footer .ast-menu-toggle {
  display: none !important;
}

.rp-scroll-story-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 7, 12, 0.64), rgba(3, 7, 12, 0.9)),
    var(--rp-story-bg, url("assets/img/local-scroll/1.webp")) center / cover fixed no-repeat !important;
}

.rp-scroll-story-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(2, 5, 9, 0.5);
  content: "";
}

.rp-scroll-story-section > * {
  position: relative;
  z-index: 1;
}

.rp-scroll-panel {
  background: rgba(7, 12, 18, 0.62) !important;
}

.rp-scroll-panel.is-active {
  background: rgba(24, 38, 48, 0.72) !important;
}

@media (max-width: 980px) {
  .rp-site-header {
    z-index: 10000;
  }

  .rp-site-nav {
    z-index: 10002;
    background: rgba(24, 33, 44, 0.96) !important;
    backdrop-filter: blur(22px);
  }

  .rp-site-nav .menu-item-has-children > a::after {
    width: 9px;
    height: 9px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-2px);
  }

  .rp-nav-list .sub-menu {
    display: none;
    padding: 6px 0 0;
    margin: 0;
  }

  .rp-nav-list .menu-item-has-children.is-submenu-open > .sub-menu,
  .rp-nav-list .menu-item-has-children:focus-within > .sub-menu {
    display: grid;
  }

  .rp-nav-list .sub-menu a {
    min-height: 36px;
    padding-left: 18px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 680px) {
  .rp-header-inner {
    min-height: 62px;
  }

  .rp-brand-logo {
    width: 173px;
  }

  .rp-loader-orbit {
    width: 188px;
    height: 188px;
  }

  .rp-loader-logo {
    width: 142px;
  }
}

/* Excel filters, homepage previews, mobile menu and partner-logo QA */
.rp-loader {
  z-index: 30000 !important;
}

.rp-loader-orbit {
  width: 300px;
  height: 300px;
  border-radius: 58px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(34px) saturate(1.45);
}

.rp-loader-logo {
  width: 192px;
}

.rp-header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(120, 190, 207, 0.44);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(55, 137, 166, 0.86), rgba(36, 76, 96, 0.84));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.rp-section-head .rp-section-action {
  align-self: center;
  justify-self: end;
}

.rp-project-controls-expanded {
  gap: 16px;
}

.rp-filter-group {
  display: grid;
  gap: 8px;
}

.rp-filter-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rp-project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rp-project-card-tags span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #dff6ff;
  background: rgba(58, 134, 163, 0.22);
  font-size: 11px;
  font-weight: 900;
}

.rp-home-projects-preview .rp-flipbook {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-project-excel-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rp-project-excel-list .rp-detail-row {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.25);
}

.rp-section:not(.rp-partners-white),
.rp-project-book-section,
.rp-blog-card,
.rp-flip-link,
.rp-site-nav {
  backdrop-filter: blur(30px) saturate(1.35);
}

.rp-partners-white {
  background:
    linear-gradient(135deg, rgba(238, 248, 251, 0.96), rgba(255, 255, 255, 0.98)) !important;
}

.rp-partners-white .rp-partner-logo {
  display: grid;
  place-items: center;
  height: 126px;
  padding: 18px;
  border: 1px solid rgba(32, 72, 91, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(15, 32, 44, 0.08);
}

.rp-partners-white .rp-partner-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .rp-header-inner {
    position: relative;
  }

  .rp-header-cta {
    display: none;
  }

  .rp-site-nav {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-height: min(76vh, calc(100vh - 88px));
    overflow-y: auto;
    padding: 10px;
  }

  .rp-site-nav:not(.is-open) {
    display: none !important;
  }

  .rp-site-nav.is-open {
    display: block !important;
  }

  .rp-nav-list {
    gap: 7px;
  }

  .rp-nav-list a,
  .rp-nav-link {
    min-height: 50px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    font-size: 17px !important;
  }

  .rp-nav-list .sub-menu a {
    min-height: 38px !important;
    font-size: 14px !important;
  }

  .rp-home-projects-preview .rp-flipbook,
  .rp-project-excel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rp-loader-orbit {
    width: 224px;
    height: 224px;
  }

  .rp-loader-logo {
    width: 168px;
  }

  .rp-site-nav {
    max-height: calc(100vh - 88px);
  }

  .rp-partner-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .rp-partner-track {
    width: max-content;
    display: flex;
    gap: 8px;
    animation: rp-marquee 28s linear infinite;
    will-change: transform;
  }

  .rp-partner-logo {
    width: clamp(92px, calc((100vw - 68px) / 3), 180px);
    flex: 0 0 clamp(92px, calc((100vw - 68px) / 3), 180px);
    min-height: 0;
    height: 82px;
  }

  .rp-partners-white .rp-partner-logo {
    padding: 10px;
  }

  .rp-home-projects-preview .rp-flipbook {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rp-project-excel-list {
    grid-template-columns: 1fr;
  }
}

/* Green accents, supplied Iran outline map and enquiry page polish */
:root {
  --rp-green: #1c7b71;
  --rp-green-soft: rgba(28, 123, 113, 0.22);
  --rp-green-line: rgba(83, 191, 176, 0.48);
}

.rp-brand-logo {
  width: 175px;
}

.rp-loader-orbit {
  background: rgba(28, 123, 113, 0.22);
  border: 1px solid var(--rp-green-line);
}

.rp-loader-ring {
  border-top-color: #43b1a5;
  border-right-color: #1c7b71;
}

.rp-icon-badge,
.rp-stat .rp-fa {
  background: linear-gradient(145deg, #1c7b71, #4a9a91);
}

.rp-header-cta,
.rp-button:not(.rp-button-secondary),
.rp-filter-button.is-active,
.rp-sort-button.is-active {
  background: linear-gradient(135deg, #1c7b71, #265b5c);
  border-color: var(--rp-green-line);
}

.rp-map-canvas {
  position: relative;
  min-height: clamp(390px, 60vw, 690px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 48% 42%, rgba(28, 123, 113, 0.16), transparent 52%),
    rgba(4, 10, 15, 0.5);
}

.rp-map-canvas::before {
  position: absolute;
  inset: clamp(16px, 3vw, 34px);
  z-index: 0;
  background: url("assets/img/iran-map-outline.png") center / contain no-repeat;
  content: "";
  opacity: 0.9;
}

.rp-iran-map-svg {
  position: relative;
  z-index: 1;
}

.rp-iran-map-svg .rp-map-sea,
.rp-iran-map-svg .rp-map-land,
.rp-iran-map-svg .rp-map-border,
.rp-iran-map-svg .rp-map-province-line,
.rp-iran-map-svg .rp-map-coastline,
.rp-iran-map-svg .rp-map-line {
  opacity: 0;
}

.rp-map-point.is-active circle {
  stroke: #b4eee7;
}

.rp-contact-page,
.rp-hr-section {
  padding: clamp(20px, 3.4vw, 44px);
}

.rp-enquiry-layout,
.rp-careers-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: 26px;
  align-items: start;
}

.rp-contact-panel,
.rp-careers-panel {
  display: grid;
  gap: 14px;
}

.rp-contact-method {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.rp-contact-method i,
.rp-careers-stat i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--rp-green);
}

.rp-contact-method small {
  display: block;
  margin-bottom: 3px;
  color: rgba(231, 242, 241, 0.64);
  font-weight: 700;
  text-transform: uppercase;
}

.rp-contact-method a,
.rp-contact-method span {
  color: rgba(245, 248, 250, 0.95);
  text-decoration: none;
  line-height: 1.48;
}

.rp-form-header {
  margin-bottom: 18px;
}

.rp-form-header .rp-card-title {
  margin-bottom: 8px;
}

.rp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rp-field-wide {
  grid-column: 1 / -1;
}

.rp-form .rp-button {
  margin-top: 5px;
}

.rp-form select.rp-input {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.8) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.rp-form select.rp-input option {
  color: #111b22;
}

.rp-careers-stats {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.rp-careers-stat {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(245, 248, 250, 0.92);
  font-weight: 700;
}

@media (max-width: 980px) {
  .rp-brand-logo {
    width: 156px;
  }

  .rp-enquiry-layout,
  .rp-careers-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .rp-map-canvas {
    min-height: min(82vw, 390px);
    border-width: 8px;
    padding: 5px;
  }

  .rp-map-canvas::before {
    inset: 8px;
  }

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

/* Verified project distribution artwork */
.rp-map-reference {
  display: block;
  width: min(100%, 880px);
  margin: 26px auto 0;
  overflow: hidden;
  padding: clamp(18px, 4vw, 44px);
  border: 1px solid rgba(83, 191, 176, 0.28);
  border-radius: 8px;
  background: rgba(9, 18, 22, 0.76);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.25);
}

.rp-map-reference-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rp-map-reference-note {
  margin: 18px auto 0;
  max-width: 1040px;
  color: rgba(245, 248, 250, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

/* Map.png outline with verified project locations */
.rp-map-section {
  background: transparent !important;
}

.rp-map-reference {
  width: min(100%, 900px);
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rp-map-plot {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.rp-map-reference-image {
  margin-bottom: -7.8%;
  clip-path: inset(0 0 7.8% 0);
}

.rp-map-marker-layer {
  position: absolute;
  inset: 0 0 7.8%;
}

.rp-project-dot {
  --rp-dot-color: #1c7b71;
  position: absolute;
  left: var(--rp-dot-x);
  top: var(--rp-dot-y);
  z-index: 1;
  width: clamp(14px, 1.55vw, 18px);
  height: clamp(14px, 1.55vw, 18px);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  text-decoration: none;
}

.rp-project-dot:hover,
.rp-project-dot:focus-visible {
  z-index: 5;
  outline: none;
}

.rp-project-dot-core {
  position: absolute;
  inset: 0;
  display: block;
  border: 2px solid rgba(244, 250, 249, 0.92);
  border-radius: inherit;
  background: var(--rp-dot-color);
  box-shadow: 0 0 0 4px rgba(7, 14, 19, 0.68), 0 0 18px color-mix(in srgb, var(--rp-dot-color) 65%, transparent);
  transition: transform 0.18s ease;
}

.rp-project-dot:hover .rp-project-dot-core,
.rp-project-dot:focus-visible .rp-project-dot-core {
  transform: scale(1.35);
}

.rp-project-dot-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: min(240px, 60vw);
  padding: 8px 10px;
  transform: translate(-50%, 5px);
  border: 1px solid rgba(83, 191, 176, 0.25);
  border-radius: 6px;
  background: rgba(7, 14, 19, 0.96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  color: #f4f8f8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.rp-project-dot-tooltip strong {
  margin-right: 7px;
  color: #70c7bd;
}

.rp-project-dot:hover .rp-project-dot-tooltip,
.rp-project-dot:focus-visible .rp-project-dot-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.rp-project-dot-oil {
  --rp-dot-color: #42b65c;
}

.rp-project-dot-power {
  --rp-dot-color: #ba2931;
}

.rp-project-dot-hv {
  --rp-dot-color: #f4aa19;
}

.rp-project-dot-mineral {
  --rp-dot-color: #1399c6;
}

.rp-map-dot-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin: 16px auto 0;
  color: rgba(245, 248, 250, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.rp-map-dot-legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.rp-map-dot-legend span::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rp-dot-color);
  content: "";
}

.rp-map-reference-note {
  text-align: center;
}

@media (max-width: 680px) {
  .rp-project-dot {
    width: 12px;
    height: 12px;
  }

  .rp-project-dot-core {
    border-width: 1px;
    box-shadow: 0 0 0 3px rgba(7, 14, 19, 0.65);
  }
}

/* Loader gold signal and restrained network texture */
:root {
  --rp-gold: #d6a444;
  --rp-gold-bright: #f4cf76;
}

.rp-loader-orbit {
  overflow: visible;
}

.rp-loader-goldline {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  width: clamp(112px, 28vw, 180px);
  height: 2px;
  overflow: hidden;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(214, 164, 68, 0.2);
  box-shadow: 0 0 20px rgba(214, 164, 68, 0.12);
}

.rp-loader-goldline::after {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--rp-gold), var(--rp-gold-bright), transparent);
  animation: rp-loader-gold-scan 1.35s ease-in-out infinite;
  content: "";
}

@keyframes rp-loader-gold-scan {
  to {
    transform: translateX(100%);
  }
}

.rp-section:not(.rp-scroll-story-section):not(.rp-partners-white):not(.rp-map-section)::before {
  background-image:
    radial-gradient(circle, rgba(93, 181, 169, 0.22) 0 1.7px, transparent 2.5px),
    linear-gradient(32deg, transparent 48.8%, rgba(70, 143, 140, 0.09) 49.4% 50.6%, transparent 51.2%),
    linear-gradient(-32deg, transparent 48.8%, rgba(70, 143, 140, 0.07) 49.4% 50.6%, transparent 51.2%);
  background-position: 0 0, 0 0, 0 0;
  background-size: 182px 124px, 182px 124px, 182px 124px;
  opacity: 0.34;
  transform: none;
  animation: rp-node-drift 32s linear infinite;
}

.rp-site-footer::before {
  display: none;
}

.rp-partners-white::before {
  display: none;
}

@keyframes rp-node-drift {
  to {
    background-position: 182px 124px, 182px 124px, 182px 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-loader-goldline::after,
  .rp-section:not(.rp-scroll-story-section):not(.rp-partners-white):not(.rp-map-section)::before {
    animation: none;
  }
}

/* Final background cleanup: remove the visible vertical industrial stripes */
body.rp-body,
body {
  background:
    radial-gradient(circle at 16% 18%, rgba(28, 123, 113, 0.1), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(214, 164, 68, 0.06), transparent 24%),
    linear-gradient(145deg, #060b10, #0d151d 55%, #071017) !important;
}

.rp-section:not(.rp-hero):not(.rp-page-banner):not(.rp-scroll-story-section):not(.rp-partners-white):not(.rp-map-section) {
  background:
    linear-gradient(135deg, rgba(5, 10, 16, 0.94), rgba(18, 29, 38, 0.88)) !important;
}

.rp-map-section {
  background: transparent !important;
}

.rp-map-section::before {
  display: none !important;
  background: none !important;
  content: none !important;
}

/* Static background mode: remove animated background textures site-wide. */
.rp-section::before,
.rp-site-footer::before,
.rp-hero::before,
.rp-page-banner::before {
  display: none !important;
  animation: none !important;
  background: none !important;
  content: none !important;
}

.rp-section:nth-of-type(even),
.rp-book-section,
.rp-scroll-panel {
  background-attachment: scroll !important;
}

/* Persian local mode */
html.rp-html,
body.rp-body,
body {
  direction: rtl;
  text-align: right;
}

body.rp-body,
body,
button,
input,
select,
textarea {
  font-family: "B Yekan", Tahoma, Arial, sans-serif;
  font-weight: 300;
}

.rp-nav-list a,
.rp-nav-link,
.rp-button,
.rp-header-cta,
.rp-section-title,
.rp-page-title,
.rp-hero-title,
.rp-card-title,
.rp-footer-title,
.rp-stat-number,
.rp-flip-title,
.rp-kicker {
  font-family: "B Yekan", Tahoma, Arial, sans-serif;
}

.rp-header-inner,
.rp-brand-link,
.rp-nav-list,
.rp-hero-actions,
.rp-section-head,
.rp-grid,
.rp-footer-inner,
.rp-footer-bottom-inner,
.rp-app-nav,
.rp-contact-method,
.rp-google-actions,
.rp-project-card-tags,
.rp-filter-bar,
.rp-sort-bar {
  direction: rtl;
}

.rp-hero {
  background:
    linear-gradient(270deg, rgba(4, 20, 38, 0.78), rgba(4, 20, 38, 0.24)),
    var(--rp-hero-image, url("assets/img/hero-rastak.webp")) center / cover no-repeat;
}

.rp-hero-content,
.rp-section-heading-stack,
.rp-card-body,
.rp-blog-body,
.rp-book-copy,
.rp-contact-panel,
.rp-form,
.rp-footer-section,
.rp-page-content,
.rp-single-content {
  text-align: right;
}

.rp-card-link,
.rp-blog-card-link,
.rp-flip-link {
  text-align: right;
}

.rp-fa.fa-arrow-right,
.fa-arrow-right,
.fa-external-link-alt {
  transform: scaleX(-1);
}

.rp-menu-toggle {
  margin-right: auto;
}

@media (max-width: 980px) {
  .rp-site-nav {
    left: 16px;
    right: 16px;
  }
}

/* iOS safe-area and compact hero polish */
:root,
html.rp-html,
body.rp-body,
body {
  background-color: #071017 !important;
}

@supports (padding-top: env(safe-area-inset-top)) {
  body.rp-body,
  body {
    padding-top: env(safe-area-inset-top);
  }

  .rp-site-header {
    top: env(safe-area-inset-top) !important;
  }

  body::before {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10001;
    height: env(safe-area-inset-top);
    background: #071017;
    content: "";
    pointer-events: none;
  }
}

@media (max-width: 680px) {
  .rp-main-inner,
  .rp-header-inner,
  .rp-footer-inner {
    width: 100%;
  }

  .rp-site-header {
    background: #071017 !important;
  }

  .rp-header-inner {
    min-height: 72px;
    padding: 0 20px;
  }

  .rp-brand-logo {
    width: min(176px, 52vw);
  }

  .rp-hero {
    min-height: auto !important;
    padding: 28px 20px 34px;
    border-radius: 0;
    align-items: center;
  }

  .rp-hero-content {
    max-width: 100%;
  }

  .rp-kicker {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .rp-hero-title {
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .rp-hero-rotator {
    margin-top: 18px;
  }

  .rp-hero-slide {
    position: static !important;
    display: none;
    opacity: 1 !important;
    transform: none !important;
  }

  .rp-hero-slide.is-active {
    display: block;
  }

  .rp-hero-slide-title {
    margin: 0;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.14;
  }

  .rp-hero-copy {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.48;
  }

  .rp-hero-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .rp-hero-actions .rp-button {
    width: 100%;
    min-height: 62px;
    padding: 0 16px;
    font-size: 19px;
  }
}
