/*
Theme Name: Petriz Constrau
Theme URI: https://gamemap.ir
Author: SahandM96
Author URI: https://gamemap.ir
Description: Premium RTL theme for Petriz waste recycling solutions with dynamic homepage blocks, animations, and multilingual support.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: petriz-constrau
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: rtl-language-support, translation-ready, custom-logo, custom-menu, featured-images
*/

@font-face {
  font-family: "IRANSans";
  src: url("assets/fonts/IRANSans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --pc-bg: #f5f7fa;
  --pc-surface: #ffffff;
  --pc-primary: #f4a100;
  --pc-primary-dark: #d68a00;
  --pc-dark: #152238;
  --pc-text: #334155;
  --pc-muted: #64748b;
  --pc-radius: 14px;
  --pc-glass-bg: rgba(255, 255, 255, 0.14);
  --pc-glass-border: rgba(255, 255, 255, 0.28);
  --pc-header-height: 82px;
}

html[data-theme="dark"] {
  --pc-bg: #0b1220;
  --pc-surface: #111827;
  --pc-dark: #020617;
  --pc-text: #e2e8f0;
  --pc-muted: #b8c4d6;
  --pc-primary-dark: #fbbf24;
  --pc-glass-bg: rgba(15, 23, 42, 0.74);
  --pc-glass-border: rgba(148, 163, 184, 0.24);
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .pathway-card {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.94)),
    var(--pc-surface);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .section-benefits {
  --pc-feature-orb-color: rgba(251, 191, 36, 0.18);
  --pc-feature-orb-core: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(244, 161, 0, 0.13), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(59, 130, 246, 0.08), transparent 50%),
    var(--pc-bg);
}

html[data-theme="dark"] .section-benefits::before {
  background-image: linear-gradient(90deg, rgba(226, 232, 240, 0.045) 1px, transparent 1px);
  opacity: 0.45;
}

html[data-theme="dark"] .team,
html[data-theme="dark"] .testimonials,
html[data-theme="dark"] .news-section {
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
}

html[data-theme="dark"] .section-pathways {
  --pc-feature-orb-color: rgba(56, 189, 248, 0.15);
  --pc-feature-orb-core: rgba(251, 191, 36, 0.14);
  background:
    radial-gradient(ellipse 72% 58% at 0% 12%, rgba(56, 189, 248, 0.08), transparent 52%),
    linear-gradient(180deg, #101827 0%, #0b1220 100%);
}

html[data-theme="dark"] .section-pathways::before {
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.22), transparent);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .testimonial,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .roadmap-step {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.9)),
    var(--pc-surface);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--pc-text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .service-card__title,
html[data-theme="dark"] .pathway-card__title,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .team-card h3,
html[data-theme="dark"] .testimonial strong,
html[data-theme="dark"] .post-card h1,
html[data-theme="dark"] .post-card h2,
html[data-theme="dark"] .roadmap-step h3,
html[data-theme="dark"] .roadmap-gallery-heading,
html[data-theme="dark"] .news-card__title a {
  color: #f8fafc;
}

html[data-theme="dark"] .service-card__text,
html[data-theme="dark"] .pathway-card__text,
html[data-theme="dark"] .section-lead,
html[data-theme="dark"] .roadmap-body,
html[data-theme="dark"] .news-card__excerpt,
html[data-theme="dark"] .team-card p,
html[data-theme="dark"] .testimonial p {
  color: var(--pc-muted);
}

html[data-theme="dark"] .service-card__index,
html[data-theme="dark"] .pathway-card__tag,
html[data-theme="dark"] .project-tag {
  background: rgba(244, 161, 0, 0.16);
  border-color: rgba(244, 161, 0, 0.34);
  color: #fde68a;
}

html[data-theme="dark"] .service-card__glyph {
  background: linear-gradient(135deg, rgba(244, 161, 0, 0.18), rgba(255, 255, 255, 0.06));
  border-color: rgba(244, 161, 0, 0.32);
}

html[data-theme="dark"] .rtl-note {
  background: rgba(244, 161, 0, 0.12);
  color: #fde68a;
}

html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .pathway-card:hover,
html[data-theme="dark"] .project-card:hover,
html[data-theme="dark"] .team-card:hover,
html[data-theme="dark"] .testimonial:hover {
  border-color: rgba(244, 161, 0, 0.38);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .card-title-link:hover,
html[data-theme="dark"] .card-title-link:focus-visible,
html[data-theme="dark"] .pathway-card__more,
html[data-theme="dark"] .news-card__more {
  color: #fbbf24;
}

html[data-theme="dark"] .team-avatar {
  background: rgba(244, 161, 0, 0.18);
  border: 1px solid rgba(244, 161, 0, 0.34);
  color: #fde68a;
}

html[data-theme="dark"] .roadmap::before {
  background: rgba(148, 163, 184, 0.28);
}

html[data-theme="dark"] .roadmap-step::before {
  box-shadow: 0 0 0 4px #111827;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.32);
  color: #f8fafc;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #94a3b8;
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
}

body {
  margin: 0;
  font-family: "IRANSans", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  color: var(--pc-text);
  background: var(--pc-bg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.is-loaded {
  opacity: 1;
}

.petriz-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, #1e293b 0%, #0f172a 46%, #020617 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.petriz-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.petriz-preloader__glass {
  min-width: 220px;
  text-align: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: loaderPulse 1.45s ease-in-out infinite;
}

.petriz-preloader__logo {
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.4px;
}

.petriz-preloader__logo-image {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 64px;
  margin-inline: auto;
  object-fit: contain;
}

.petriz-preloader__logo-text {
  display: inline-block;
}

.petriz-preloader__meta {
  font-size: 0.82rem;
  color: #cbd5e1;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--pc-primary);
  color: #111827;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid rgba(244, 161, 0, 0.35);
  outline-offset: 2px;
}

body.nav-open {
  overflow: hidden;
}

.pc-icon {
  display: block;
  flex-shrink: 0;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.site-header {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.84));
  backdrop-filter: blur(8px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 3px solid rgba(244, 161, 0, 0.28);
  outline-offset: 2px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.mobile-nav.is-open {
  pointer-events: auto;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(320px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: linear-gradient(180deg, #0f172a, #111827);
  color: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.28);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

html[dir="rtl"] .mobile-nav__panel {
  inset-inline-end: auto;
  inset-inline-start: 0;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.28);
  transform: translateX(-100%);
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mobile-nav__title {
  font-size: 1rem;
  font-weight: 700;
}

.mobile-nav__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.mobile-nav__menu ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #e2e8f0;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav__menu a:hover,
.mobile-nav__menu a:focus-visible {
  background: rgba(244, 161, 0, 0.16);
  color: #fff;
  outline: none;
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background-color 0.25s ease;
  position: relative;
  display: inline-grid;
  place-items: center;
}

.theme-toggle:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(255, 255, 255, 0.2);
}

.theme-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 6px 9px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.74rem;
  line-height: 1.2;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.theme-toggle:hover::after,
.theme-toggle:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.theme-toggle__icon {
  position: absolute;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle__icon--moon {
  opacity: 0;
  transform: scale(0.7) rotate(-18deg);
}

html[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(0.7) rotate(16deg);
}

html[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  flex: 0 0 auto;
  max-width: 220px;
}

.logo-wrap .custom-logo-link,
.logo-wrap .site-title {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  max-height: 54px;
  overflow: hidden;
}

.logo-wrap .custom-logo,
.site-header .custom-logo-link img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(180px, 32vw) !important;
  max-height: 54px !important;
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: #e2e8f0;
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a {
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  color: #fff;
  padding: 32px 0 58px;
}

.hero--fullscreen {
  padding: 0;
  width: 100%;
}

.hero--fullscreen .hero__shell,
.hero--fullscreen .petriz-carousel,
.hero--fullscreen .petriz-carousel__viewport,
.hero--fullscreen .hero-track,
.hero--fullscreen .hero-track--carousel {
  height: calc(100svh - var(--pc-header-height));
  min-height: calc(100svh - var(--pc-header-height));
}

.hero--fullscreen .petriz-carousel__viewport {
  overflow: hidden;
}

.hero--fullscreen .hero-track--carousel {
  gap: 0;
}

.hero--fullscreen .hero-track--carousel .hero-slide {
  flex: 0 0 100%;
  width: 100%;
}

.hero--fullscreen .hero-slide {
  min-height: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  padding: 0;
  animation: none;
  background-size: cover;
  transform: translateZ(0);
}

.hero--fullscreen .hero-slide.reveal-item {
  opacity: 1;
  transform: translateZ(0);
  transition: none;
}

.hero--fullscreen .hero-slide__inner {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - clamp(32px, 8vw, 120px)));
  margin-inline-start: clamp(16px, 3vw, 48px);
  margin-inline-end: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block-start: clamp(56px, 10vh, 112px);
  padding-block-end: clamp(28px, 5vh, 64px);
  padding-inline: clamp(20px, 4vw, 64px);
  text-align: right;
}

.hero--fullscreen .hero-slide__inner > h1 {
  max-width: min(920px, 100%);
}

.hero--fullscreen .hero-copy {
  max-width: min(580px, 100%);
}

.hero--fullscreen .hero-copy p {
  max-width: none;
}

.hero-track {
  display: grid;
  gap: 0;
}

.hero-track--carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.hero-track--carousel .hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.hero-slide {
  min-height: 360px;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 54px);
  background: linear-gradient(130deg, #0f172a, #1e293b);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
  animation: heroBgDrift 14s ease-in-out infinite alternate;
}

.hero-slide > * {
  position: relative;
  z-index: 2;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.34), rgba(15, 23, 42, 0.16) 45%, rgba(30, 41, 59, 0.28));
  pointer-events: none;
  z-index: 1;
}

.hero-track .hero-slide:nth-child(3n + 1)::before {
  background: linear-gradient(135deg, rgba(3, 7, 18, 0.36), rgba(30, 58, 138, 0.14) 46%, rgba(15, 23, 42, 0.3));
}

.hero-track .hero-slide:nth-child(3n + 2)::before {
  background: linear-gradient(135deg, rgba(6, 8, 24, 0.34), rgba(244, 161, 0, 0.12) 44%, rgba(30, 41, 59, 0.3));
}

.hero-track .hero-slide:nth-child(3n + 3)::before {
  background: linear-gradient(135deg, rgba(7, 12, 20, 0.34), rgba(16, 185, 129, 0.14) 42%, rgba(15, 23, 42, 0.3));
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.07) 48%, transparent 100%);
  transform: translateX(-120%);
  animation: heroShine 5.8s ease-in-out infinite;
  pointer-events: none;
}

.hero--fullscreen .hero-slide::after {
  display: none;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: min(920px, 100%);
  line-height: 1.35;
  text-shadow: 0 3px 18px rgba(2, 6, 23, 0.34);
}

.hero p {
  margin: 0 0 20px;
  color: #e2e8f0;
  max-width: 560px;
}

.hero-copy p:last-child {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: var(--pc-primary);
  color: #111827;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--pc-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(244, 161, 0, 0.35);
}

.btn:focus-visible {
  outline: 3px solid rgba(244, 161, 0, 0.28);
  outline-offset: 3px;
}

html[data-theme="dark"] .btn {
  color: #111827;
}

html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .btn:focus-visible {
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.28);
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
}

.btn--dark {
  background: var(--pc-dark);
  color: #fff;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: var(--pc-primary-dark);
  color: #111827;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.hero-actions--center {
  justify-content: center;
}

.home-feature-box__cta {
  align-self: flex-start;
  margin-top: 24px;
}

.section {
  padding: 70px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pc-primary-dark);
}

.section-title {
  margin: 0 0 10px;
  color: var(--pc-dark);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.35;
}

.section-lead {
  margin: 0;
  color: var(--pc-muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.85;
}

/* Benefits (services) */
.section-benefits {
  --pc-feature-orb-shift: 0px;
  --pc-feature-orb-color: rgba(244, 161, 0, 0.18);
  --pc-feature-orb-core: rgba(255, 255, 255, 0.74);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(244, 161, 0, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(30, 58, 138, 0.06), transparent 50%),
    var(--pc-bg);
}

.section-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.section-benefits::after,
.section-pathways::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(190px, 25vw, 320px);
  height: clamp(190px, 25vw, 320px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, var(--pc-feature-orb-core), transparent 24%),
    radial-gradient(circle at 50% 50%, var(--pc-feature-orb-color), transparent 68%);
  box-shadow:
    inset -28px -30px 54px rgba(15, 23, 42, 0.08),
    0 30px 80px rgba(15, 23, 42, 0.08);
  opacity: 0.95;
  transform: translate3d(0, var(--pc-feature-orb-shift), 0);
  transition: transform 0.18s linear;
  pointer-events: none;
}

.section-benefits::after {
  top: 92px;
  inset-inline-end: -92px;
}

.section-benefits .container,
.section-pathways .container {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-grid--carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  padding-block: 8px 10px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    var(--pc-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--pc-radius) + 4px);
  padding: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 260px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  border-radius: calc(var(--pc-radius) + 2px) calc(var(--pc-radius) + 2px) 0 0;
  background: linear-gradient(90deg, var(--pc-primary), #fbbf24);
  opacity: 0.85;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 161, 0, 0.35);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.13);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.service-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  border-radius: 999px;
  background: rgba(244, 161, 0, 0.12);
  border: 1px solid rgba(244, 161, 0, 0.24);
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400e;
  font-variant-numeric: tabular-nums;
}

.service-card__glyph {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 161, 0, 0.2), rgba(15, 23, 42, 0.06));
  border: 1px solid rgba(244, 161, 0, 0.25);
  position: relative;
}

.service-card:nth-child(3n + 1) .service-card__glyph::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2px solid rgba(244, 161, 0, 0.8);
  border-radius: 50%;
  border-block-start-color: transparent;
}

.service-card:nth-child(3n + 2) .service-card__glyph::after {
  content: "";
  position: absolute;
  inset: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(244, 161, 0, 0.95), rgba(214, 138, 0, 0.45));
  transform: skewX(-12deg);
}

.service-card:nth-child(3n + 3) .service-card__glyph::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  background: rgba(244, 161, 0, 0.24);
  border: 2px solid rgba(244, 161, 0, 0.72);
  transform: rotate(45deg);
}

.service-card__title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--pc-dark);
  line-height: 1.5;
  flex-shrink: 0;
}

.service-card__text {
  margin: 0;
  margin-top: auto;
  color: var(--pc-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  flex: 1;
}

.service-grid--carousel {
  align-items: stretch;
}

.service-grid--carousel .service-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  min-height: 300px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  align-self: stretch;
}

/* Pathways (focus areas — not "featured projects") */
.section-pathways {
  --pc-feature-orb-shift: 0px;
  --pc-feature-orb-color: rgba(37, 99, 235, 0.13);
  --pc-feature-orb-core: rgba(255, 255, 255, 0.76);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 52% at 0% 10%, rgba(37, 99, 235, 0.07), transparent 54%),
    linear-gradient(180deg, #edf2f8 0%, #f8fafc 46%, var(--pc-bg) 100%);
}

.section-pathways::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset-inline: clamp(18px, 5vw, 72px);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.12), transparent);
  pointer-events: none;
}

.section-pathways::after {
  top: 116px;
  inset-inline-start: -96px;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pathway-grid--carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  padding-block: 8px 10px;
  align-items: stretch;
}

.pathway-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.78)),
    var(--pc-glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--pc-radius) + 4px);
  padding: 26px 24px 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 260px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pathway-card::before {
  content: "";
  position: absolute;
  inset-block: 24px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pc-primary), rgba(244, 161, 0, 0.18));
}

.pathway-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 161, 0, 0.32);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.13);
}

.pathway-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff7e5, #fef3c7);
  color: #92400e;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(244, 161, 0, 0.25);
}

.pathway-card__title {
  margin: 0 0 12px;
  font-size: 1.12rem;
  color: var(--pc-dark);
  line-height: 1.5;
  flex-shrink: 0;
}

.pathway-card__text {
  margin: 0;
  color: var(--pc-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  flex: 1;
}

.pathway-card__more {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pc-primary-dark);
  flex-shrink: 0;
}

.pathway-grid--carousel .pathway-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  min-height: 300px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  align-self: stretch;
}

.home-feature-box {
  --pc-feature-accent: var(--pc-primary);
  --pc-feature-accent-soft: rgba(244, 161, 0, 0.18);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--pc-radius) + 10px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88)),
    var(--pc-surface);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.11);
  backdrop-filter: blur(10px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-feature-box::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset-block: 28px;
  inset-inline-start: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pc-feature-accent), var(--pc-feature-accent-soft));
}

.home-feature-box::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 12%, var(--pc-feature-accent-soft), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 45%);
  pointer-events: none;
}

.home-feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--pc-feature-accent-soft);
  box-shadow: 0 30px 76px rgba(15, 23, 42, 0.14);
}

.home-feature-box--service {
  border-color: rgba(244, 161, 0, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 235, 0.68)),
    var(--pc-surface);
}

.home-feature-box--pathway {
  --pc-feature-accent: #2563eb;
  --pc-feature-accent-soft: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(239, 246, 255, 0.72)),
    var(--pc-surface);
  box-shadow: 0 24px 62px rgba(30, 64, 175, 0.11);
}

.home-feature-box__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.home-feature-box__eyebrow,
.home-feature-box__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 5px 13px;
  border: 1px solid rgba(244, 161, 0, 0.25);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7e5, #fef3c7);
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-feature-box__title {
  margin: 0 0 14px;
  color: var(--pc-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.45;
}

.home-feature-box__text {
  max-width: 68ch;
  margin: 0;
  color: var(--pc-muted);
  font-size: clamp(0.96rem, 1.7vw, 1.06rem);
  line-height: 1.95;
}

.home-feature-box__media {
  position: relative;
  z-index: 3;
  min-height: clamp(220px, 30vw, 340px);
  overflow: hidden;
  border-radius: calc(var(--pc-radius) + 6px);
  background: rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.home-feature-box__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-feature-box__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background:
    radial-gradient(circle at 32% 24%, rgba(244, 161, 0, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(21, 34, 56, 0.94), rgba(15, 23, 42, 0.82));
  color: #f8fafc;
}

.home-feature-box__placeholder span {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(244, 161, 0, 0.8);
  border-block-start-color: transparent;
  border-radius: 50%;
}

.home-feature-box__placeholder strong {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 22px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

html[data-theme="dark"] .home-feature-box {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.92)),
    var(--pc-surface);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .home-feature-box::after {
  background:
    radial-gradient(circle at 18% 12%, var(--pc-feature-accent-soft), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 44%);
}

html[data-theme="dark"] .home-feature-box--service {
  --pc-feature-accent-soft: rgba(251, 191, 36, 0.17);
  border-color: rgba(251, 191, 36, 0.24);
  background:
    linear-gradient(135deg, rgba(24, 31, 45, 0.98), rgba(15, 23, 42, 0.93)),
    var(--pc-surface);
}

html[data-theme="dark"] .home-feature-box--pathway {
  --pc-feature-accent: #38bdf8;
  --pc-feature-accent-soft: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.22);
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(12, 27, 44, 0.93)),
    var(--pc-surface);
}

html[data-theme="dark"] .home-feature-box__title {
  color: #f8fafc;
}

html[data-theme="dark"] .home-feature-box__text {
  color: var(--pc-muted);
}

html[data-theme="dark"] .home-feature-box__eyebrow,
html[data-theme="dark"] .home-feature-box__tag {
  background: rgba(244, 161, 0, 0.16);
  border-color: rgba(244, 161, 0, 0.34);
  color: #fde68a;
}

/* Legacy aliases */
.projects {
  background: transparent;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.project-card {
  background: var(--pc-glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--pc-glass-border);
  border-radius: var(--pc-radius);
  padding: 24px;
  border-top: 4px solid var(--pc-primary);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.project-tag {
  display: inline-block;
  font-size: 0.8rem;
  background: #fff7e5;
  color: #92400e;
  border-radius: 999px;
  padding: 4px 10px;
}

.card {
  background: var(--pc-glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--pc-glass-border);
  border-radius: var(--pc-radius);
  padding: 26px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
  color: var(--pc-dark);
}

.card-title-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.card-title-link:hover,
.card-title-link:focus-visible {
  color: var(--pc-primary-dark);
  border-bottom-color: currentColor;
}

.stats {
  background: #0f172a;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.stat strong {
  font-size: 2rem;
  display: block;
}

.site-footer {
  background: linear-gradient(180deg, #0b1220 0%, var(--pc-dark) 100%);
  color: #cbd5e1;
  margin-top: auto;
}

.footer-main {
  padding: 52px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-main::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pc-primary), transparent);
  opacity: 0.85;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(160px, 0.9fr) minmax(220px, 1fr);
  gap: 32px 40px;
  align-items: start;
}

.footer-brand__name {
  display: inline-block;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.footer-brand__logo {
  margin-bottom: 10px;
}

.footer-brand__logo .custom-logo-link,
.footer-brand__logo .footer-brand__name {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  max-height: 72px;
  overflow: hidden;
}

.footer-brand__logo .custom-logo,
.footer-brand__logo .custom-logo-link img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(190px, 60vw) !important;
  max-height: 72px !important;
  object-fit: contain;
}

.footer-brand__tagline {
  margin: 0;
  max-width: 34ch;
  line-height: 1.75;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-col__title {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pc-primary);
}

.footer-col__text {
  margin: 0 0 18px;
  line-height: 1.75;
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: #e2e8f0;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover,
.footer-nav .current-menu-item a {
  color: #fff;
  transform: translateX(-3px);
}

.footer-cta-btn {
  font-size: 0.92rem;
  padding: 11px 22px;
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-copy__site {
  color: #f8fafc;
  font-weight: 700;
}

.footer-copy__site:hover,
.footer-copy__site:focus-visible {
  color: #fcd34d;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.content-area {
  padding: 60px 0;
}

.post-card {
  background: #fff;
  border-radius: var(--pc-radius);
  padding: 26px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  margin-bottom: 20px;
}

.post-card h2,
.post-card h1 {
  margin-top: 0;
  color: var(--pc-dark);
}

.meta {
  color: var(--pc-muted);
  font-size: 0.9rem;
}

.rtl-note {
  border-right: 4px solid var(--pc-primary);
  background: #fff7e5;
  padding: 12px 14px;
  border-radius: 8px;
  margin-top: 20px;
}

.team {
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.team-card {
  background: var(--pc-glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--pc-glass-border);
  border-radius: var(--pc-radius);
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.team-avatar {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--pc-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonials {
  background: #f1f5f9;
}

.testimonials-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.testimonial {
  background: var(--pc-glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--pc-glass-border);
  border-radius: var(--pc-radius);
  padding: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .status-page__orb {
    animation: none !important;
  }
}

.testimonial p {
  margin-top: 0;
}

.contact-cta {
  background: linear-gradient(130deg, #0f172a, #1e293b);
  color: #fff;
}

.contact-cta__inner {
  text-align: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--pc-radius) + 8px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-cta__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.4;
}

.contact-cta__text {
  max-width: 62ch;
  margin: 0 auto 24px;
  color: #cbd5e1;
  line-height: 1.85;
}

.contact-cta .btn--secondary {
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--pc-radius);
  padding: 18px;
  backdrop-filter: blur(2px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #cbd5e1;
}

.contact-form .btn {
  border: 0;
  cursor: pointer;
}

.form-notice {
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.form-notice.success {
  background: #dcfce7;
  color: #166534;
}

.form-notice.error {
  background: #fee2e2;
  color: #991b1b;
}

.contact-page {
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 161, 0, 0.12), transparent 32%),
    var(--pc-bg);
}

.contact-page__hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--pc-radius) + 8px);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)),
    var(--pc-dark);
  color: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
}

.contact-page__hero::after {
  content: "";
  position: absolute;
  inset-inline: auto -60px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(244, 161, 0, 0.18);
  pointer-events: none;
}

.contact-page__hero > * {
  position: relative;
  z-index: 1;
}

.contact-page__hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.35;
}

.contact-page__hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: #e2e8f0;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-person-card {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--pc-radius) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    var(--pc-surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-person-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 161, 0, 0.28);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.contact-person-card::before {
  content: "";
  position: absolute;
  inset-block: 24px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pc-primary), rgba(244, 161, 0, 0.18));
}

.contact-person-card__photo {
  position: relative;
  display: block;
  flex: 0 0 108px;
  align-self: flex-start;
  width: 108px;
  min-width: 108px;
  max-width: 108px;
  height: 132px;
  min-height: 132px;
  max-height: 132px;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 27 / 33;
  background:
    linear-gradient(135deg, rgba(244, 161, 0, 0.18), rgba(15, 23, 42, 0.06)),
    #f8fafc;
  border: 1px solid rgba(244, 161, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48), 0 12px 24px rgba(15, 23, 42, 0.08);
}

.contact-person-card__photo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center top;
}

.contact-person-card__photo span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #92400e;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-person-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact-person-card h2 {
  margin: 0 0 8px;
  color: var(--pc-dark);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.45;
}

.contact-person-card__description {
  margin: 0 0 16px;
  color: var(--pc-muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.contact-person-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--pc-text);
  font-weight: 700;
  direction: rtl;
}

a.contact-person-card__phone:hover,
a.contact-person-card__phone:focus-visible {
  color: #111827;
  background: var(--pc-primary);
  box-shadow: 0 10px 22px rgba(244, 161, 0, 0.24);
}

.contact-person-card__phone--placeholder {
  color: var(--pc-muted);
}

.contact-page__content {
  margin-top: 6px;
}

html[data-theme="dark"] .contact-page {
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 161, 0, 0.11), transparent 34%),
    var(--pc-bg);
}

html[data-theme="dark"] .contact-person-card {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.9)),
    var(--pc-surface);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--pc-text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .contact-person-card h2 {
  color: #f8fafc;
}

html[data-theme="dark"] .contact-person-card__photo {
  background: rgba(244, 161, 0, 0.16);
  border-color: rgba(244, 161, 0, 0.34);
  color: #fde68a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .contact-person-card__photo span {
  color: #fde68a;
}

html[data-theme="dark"] .contact-person-card__description {
  color: var(--pc-muted);
}

html[data-theme="dark"] .contact-person-card__phone {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

html[data-theme="dark"] .contact-person-card__phone--placeholder {
  color: var(--pc-muted);
}

.page-hero {
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--pc-radius) + 8px);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)),
    var(--pc-dark);
  color: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.35;
}

.page-hero p {
  max-width: 72ch;
  margin: 0;
  color: #e2e8f0;
  line-height: 1.85;
}

.about-page__intro {
  margin-bottom: 24px;
}

.content-area--status {
  padding: 0;
}

.page-hero--compact {
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 36px);
}

.page-hero--compact h1 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
}

.status-page {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 112px);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(244, 161, 0, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(37, 99, 235, 0.08), transparent 52%),
    linear-gradient(180deg, #0f172a 0%, #111827 48%, var(--pc-bg) 100%);
}

.status-page__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.status-page__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: statusOrbFloat 12s ease-in-out infinite alternate;
}

.status-page__orb--one {
  top: 8%;
  inset-inline-end: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244, 161, 0, 0.22), transparent 68%);
}

.status-page__orb--two {
  bottom: 12%;
  inset-inline-start: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
  animation-delay: 1.4s;
}

@keyframes statusOrbFloat {
  from { transform: translateY(0); }
  to { transform: translateY(16px); }
}

.status-page__inner {
  position: relative;
  z-index: 1;
}

.status-page__panel {
  position: relative;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  border-radius: calc(var(--pc-radius) + 10px);
  border: 1px solid rgba(244, 161, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
    var(--pc-surface);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
}

.status-page__panel::before {
  content: "";
  position: absolute;
  inset-block: 28px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pc-primary), rgba(244, 161, 0, 0.15));
}

.status-page__code {
  margin: 0 0 8px;
  font-size: clamp(4.5rem, 16vw, 8.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--pc-primary-dark), var(--pc-primary) 45%, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.92;
}

.status-page--empty .status-page__code,
.status-page--search .status-page__code {
  font-size: clamp(3rem, 10vw, 5rem);
  opacity: 0.55;
}

.status-page__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: rgba(244, 161, 0, 0.14);
  color: var(--pc-primary-dark);
  border: 1px solid rgba(244, 161, 0, 0.28);
}

.status-page__title {
  margin: 0 0 12px;
  color: var(--pc-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.4;
}

.status-page__description {
  max-width: 52ch;
  margin: 0 auto 24px;
  color: var(--pc-muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.9;
}

.status-page__actions {
  justify-content: center;
}

.status-page__panel .btn--secondary {
  color: var(--pc-dark);
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.04);
}

.status-page__panel .btn--secondary:hover,
.status-page__panel .btn--secondary:focus-visible {
  color: #111827;
  background: var(--pc-primary);
  border-color: transparent;
}

.status-page__quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.status-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    var(--pc-surface);
  color: var(--pc-text);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.status-quick-link:hover,
.status-quick-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(244, 161, 0, 0.35);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  outline: none;
}

.status-quick-link__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(244, 161, 0, 0.12);
  color: var(--pc-primary-dark);
  flex-shrink: 0;
}

.status-quick-link__label {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}

.status-quick-link__arrow {
  color: var(--pc-muted);
  flex-shrink: 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-radius: calc(var(--pc-radius) + 4px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92)),
    var(--pc-surface);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.archive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 161, 0, 0.24);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.archive-card__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.5;
}

.archive-card__title a {
  color: var(--pc-dark);
}

.archive-card__title a:hover,
.archive-card__title a:focus-visible {
  color: var(--pc-primary-dark);
}

.archive-card__meta {
  margin: 0 0 8px;
  color: var(--pc-muted);
  font-size: 0.84rem;
}

.archive-card__excerpt {
  flex: 1;
  margin: 0 0 16px;
  color: var(--pc-muted);
  line-height: 1.85;
}

.archive-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--pc-text);
  font-weight: 700;
  font-size: 0.88rem;
}

.archive-card__more:hover,
.archive-card__more:focus-visible {
  background: var(--pc-primary);
  color: #111827;
}

.article-hero__meta {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.article-body {
  margin-bottom: 24px;
}

html[data-theme="dark"] .status-page {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(244, 161, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(56, 189, 248, 0.07), transparent 52%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 52%, var(--pc-bg) 100%);
}

html[data-theme="dark"] .status-page__panel,
html[data-theme="dark"] .status-quick-link,
html[data-theme="dark"] .archive-card {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.92)),
    var(--pc-surface);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--pc-text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .status-page__title,
html[data-theme="dark"] .archive-card__title a {
  color: #f8fafc;
}

html[data-theme="dark"] .status-page__panel .btn--secondary {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.08);
}

html[data-theme="dark"] .status-quick-link__icon,
html[data-theme="dark"] .status-page__icon {
  background: rgba(244, 161, 0, 0.16);
  color: #fde68a;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.roadmap {
  position: relative;
  display: grid;
  gap: 14px;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 18px;
  width: 2px;
  background: #cbd5e1;
}

.roadmap-step {
  position: relative;
  background: #fff;
  border-radius: var(--pc-radius);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  padding: 20px 22px 20px 20px;
  border-right: 4px solid var(--pc-primary);
}

.roadmap-step::before {
  content: "";
  position: absolute;
  right: -28px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pc-primary);
  box-shadow: 0 0 0 4px #fff;
}

.roadmap-step h3 {
  margin: 10px 0 8px;
  color: var(--pc-dark);
}

.roadmap-step p {
  margin: 0;
}

.roadmap-body {
  color: #334155;
}

.roadmap-body p {
  margin: 0 0 10px;
}

.roadmap-media-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.roadmap-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.roadmap-media-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.roadmap-video .wp-video {
  width: 100% !important;
  max-width: 100%;
  margin: 0;
}

/* Native HTML5 player (wp_video_shortcode library html5) — avoid object-fit so controls stay clickable */
.roadmap-video video.wp-video-shortcode {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  background: #000;
  pointer-events: auto;
}

/* If MediaElement is used elsewhere, keep controls usable */
.roadmap-video .mejs-container {
  border-radius: 10px;
  overflow: visible;
}

.roadmap-video .mejs-container,
.roadmap-video .mejs-inner,
.roadmap-video .mejs-layers {
  pointer-events: auto;
}

.roadmap-oembed {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.roadmap-oembed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.roadmap-gallery-wrap {
  margin-top: 16px;
}

.roadmap-gallery-heading {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pc-dark);
}

.roadmap-gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 70vw);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.roadmap-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.roadmap-gallery-item[data-full] {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roadmap-gallery-item[data-full]:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.roadmap-gallery-item[data-full]:focus-visible {
  outline: 3px solid var(--pc-primary);
  outline-offset: 3px;
}

.roadmap-gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

body.petriz-roadmap-lightbox-open {
  overflow: hidden;
}

.petriz-roadmap-lightbox[hidden] {
  display: none !important;
}

.petriz-roadmap-lightbox:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.petriz-roadmap-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(6px);
}

.petriz-roadmap-lightbox__panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  pointer-events: none;
}

.petriz-roadmap-lightbox__panel > * {
  pointer-events: auto;
}

.petriz-roadmap-lightbox__img {
  max-width: min(96vw, 1180px);
  max-height: min(86vh, 880px);
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.petriz-roadmap-lightbox__close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  inset-inline-end: max(14px, env(safe-area-inset-end));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
  background: var(--pc-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.petriz-roadmap-lightbox__close:hover {
  background: var(--pc-primary-dark);
}

.petriz-roadmap-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.petriz-roadmap-lightbox__nav:hover {
  background: rgba(15, 23, 42, 0.88);
}

.petriz-roadmap-lightbox__nav[disabled],
.petriz-roadmap-lightbox__nav[hidden] {
  display: none;
}

.petriz-roadmap-lightbox__prev {
  inset-inline-start: max(10px, env(safe-area-inset-start));
}

.petriz-roadmap-lightbox__next {
  inset-inline-end: max(10px, env(safe-area-inset-end));
}

/* Homepage dynamic sections + carousel */
.petriz-carousel {
  position: relative;
}

.petriz-carousel.is-carousel .petriz-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.petriz-carousel--hero.is-carousel .petriz-carousel__viewport {
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  will-change: scroll-position;
}

.petriz-carousel--cards.is-carousel .petriz-carousel__viewport {
  min-height: min(320px, 42vh);
}

.slide-card__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.petriz-carousel__dots--cards {
  position: static;
  inset: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px 20px;
  margin: 0;
}

.petriz-carousel__dots--cards .petriz-carousel__dot {
  background: rgba(15, 23, 42, 0.22);
}

.petriz-carousel__dots--cards .petriz-carousel__dot.is-active {
  background: var(--pc-primary);
}

.pathway-card--solo,
.service-card--solo {
  min-height: 220px;
}

.petriz-carousel.is-carousel .petriz-carousel__track {
  align-items: stretch;
}

.petriz-carousel.is-carousel .petriz-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.petriz-carousel--cards {
  width: min(1180px, 94vw);
  margin-inline: auto;
  padding-inline: 44px;
}

.petriz-carousel--cards .petriz-carousel__btn--prev {
  inset-inline-start: 0;
}

.petriz-carousel--cards .petriz-carousel__btn--next {
  inset-inline-end: 0;
}

.petriz-carousel__viewport--fade {
  position: relative;
  padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.petriz-carousel__viewport--fade::before,
.petriz-carousel__viewport--fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 1;
  pointer-events: none;
}

.petriz-carousel__viewport--fade::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, var(--pc-bg) 0%, transparent 100%);
}

.petriz-carousel__viewport--fade::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, var(--pc-bg) 0%, transparent 100%);
}

.section-pathways .petriz-carousel__viewport--fade::before {
  background: linear-gradient(90deg, #eef2f7 0%, transparent 100%);
}

.section-pathways .petriz-carousel__viewport--fade::after {
  background: linear-gradient(270deg, #eef2f7 0%, transparent 100%);
}

html[data-theme="dark"] .petriz-carousel__viewport--fade::before {
  background: linear-gradient(90deg, var(--pc-bg) 0%, transparent 100%);
}

html[data-theme="dark"] .petriz-carousel__viewport--fade::after {
  background: linear-gradient(270deg, var(--pc-bg) 0%, transparent 100%);
}

html[data-theme="dark"] .section-pathways .petriz-carousel__viewport--fade::before,
html[data-theme="dark"] .section-pathways .petriz-carousel__viewport--fade::after {
  background: linear-gradient(90deg, #0f172a 0%, transparent 100%);
}

html[data-theme="dark"] .section-pathways .petriz-carousel__viewport--fade::after {
  background: linear-gradient(270deg, #0f172a 0%, transparent 100%);
}

.petriz-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--pc-dark);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
}

.petriz-carousel__btn:hover {
  background: #0f172a;
}

html[data-theme="dark"] .petriz-carousel__btn {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f8fafc;
}

html[data-theme="dark"] .petriz-carousel__btn:hover {
  background: rgba(51, 65, 85, 0.96);
}

.petriz-carousel__btn--prev {
  inset-inline-start: max(-6px, env(safe-area-inset-start));
}

.petriz-carousel__btn--next {
  inset-inline-end: max(-6px, env(safe-area-inset-end));
}

.hero--fullscreen .petriz-carousel--hero .petriz-carousel__btn {
  bottom: max(24px, env(safe-area-inset-bottom));
}

.hero--fullscreen .petriz-carousel__dots {
  bottom: max(28px, env(safe-area-inset-bottom));
}

.petriz-carousel--hero .petriz-carousel__btn {
  top: auto;
  bottom: 20px;
  transform: none;
}

.petriz-carousel--hero .petriz-carousel__btn--prev {
  inset-inline-start: 14px;
}

.petriz-carousel--hero .petriz-carousel__btn--next {
  inset-inline-end: 14px;
}

.petriz-carousel__dots {
  position: absolute;
  inset-inline: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.petriz-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.petriz-carousel__dot:hover {
  background: rgba(255, 255, 255, 0.72);
}

.petriz-carousel__dot.is-active {
  transform: scale(1.35);
  background: var(--pc-primary);
}

html[data-theme="dark"] .petriz-carousel__dots--cards .petriz-carousel__dot {
  background: rgba(226, 232, 240, 0.28);
}

html[data-theme="dark"] .petriz-carousel__dots--cards .petriz-carousel__dot.is-active {
  background: var(--pc-primary);
}

.project-grid--carousel,
.news-grid--carousel,
.team-grid--carousel,
.testimonials-slider--carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  align-items: stretch;
}

.project-grid--carousel .project-card,
.news-grid--carousel .news-card,
.team-grid--carousel .team-card,
.testimonials-slider--carousel .testimonial {
  flex: 0 0 min(100%, 320px);
  scroll-snap-align: start;
  align-self: stretch;
}

.news-section {
  background: #eef2f7;
}

.section-title--news {
  margin-bottom: 18px;
}

.news-grid:not(.news-grid--carousel) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.news-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.news-card__title a {
  color: var(--pc-dark);
}

.news-card__meta {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--pc-muted);
}

.news-card__excerpt {
  margin: 0;
  font-size: 0.95rem;
}

.news-card__more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pc-primary-dark);
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand-signature {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  text-align: end;
}

.brand-signature strong {
  color: #f8fafc;
  font-weight: 700;
}

.brand-signature a {
  color: #fcd34d;
  font-weight: 700;
  border-bottom: 1px solid rgba(252, 211, 77, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.brand-signature a:hover,
.brand-signature a:focus-visible {
  color: #fff7d6;
  border-bottom-color: currentColor;
}

@keyframes heroShine {
  0%, 70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes heroBgDrift {
  0% {
    background-size: 108%;
    background-position: 50% 48%;
  }
  100% {
    background-size: 118%;
    background-position: 50% 55%;
  }
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.team-photo {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
}

.team-photo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 800px) {
  .header-row {
    min-height: 70px;
    flex-direction: row;
    padding: 8px 0;
  }

  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .logo-wrap {
    max-width: min(180px, 52vw);
    margin-inline-end: auto;
  }

  .logo-wrap .custom-logo-link,
  .logo-wrap .site-title {
    max-height: 46px;
  }

  .logo-wrap .custom-logo,
  .site-header .custom-logo-link img {
    max-width: min(160px, 52vw) !important;
    max-height: 46px !important;
  }

  .primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    justify-content: center;
  }

  .brand-signature {
    justify-content: center;
    text-align: center;
  }

  :root {
    --pc-header-height: 70px;
  }

  .hero:not(.hero--fullscreen) {
    padding-top: 16px;
  }

  .hero:not(.hero--fullscreen) .hero-slide {
    min-height: 300px;
    border-radius: 14px;
  }

  .hero--fullscreen .hero__shell,
  .hero--fullscreen .petriz-carousel,
  .hero--fullscreen .petriz-carousel__viewport,
  .hero--fullscreen .hero-track,
  .hero--fullscreen .hero-track--carousel {
    height: calc(100svh - var(--pc-header-height));
    min-height: calc(100svh - var(--pc-header-height));
  }

  .hero--fullscreen .hero-slide__inner {
    width: min(100%, calc(100% - 24px));
    margin-inline-start: 12px;
    margin-inline-end: auto;
    padding-inline: 18px;
    padding-block-start: clamp(42px, 9vh, 72px);
    padding-block-end: clamp(56px, 10vh, 84px);
  }

  .petriz-carousel--hero .petriz-carousel__btn {
    bottom: 12px;
    width: 36px;
    height: 36px;
  }

  .petriz-carousel__dots {
    bottom: 14px;
  }

  .theme-toggle::after {
    display: none;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .contact-person-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .contact-person-card__photo {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
    height: 118px;
    min-height: 118px;
    max-height: 118px;
    flex: 0 0 96px;
    align-self: center;
  }

  .contact-person-card__body {
    justify-content: center;
  }

  .roadmap::before {
    right: 14px;
  }

  .roadmap-step::before {
    right: -24px;
  }

  .roadmap-video video.wp-video-shortcode {
    min-height: 190px;
  }

  .roadmap-gallery-strip {
    grid-auto-columns: minmax(160px, 85vw);
  }

  .roadmap-gallery-item img {
    height: 190px;
  }

  .section-benefits::after,
  .section-pathways::after {
    width: 180px;
    height: 180px;
    opacity: 0.65;
  }

  .home-feature-box {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .home-feature-box__media {
    min-height: 210px;
    order: -1;
  }

  .petriz-carousel--cards {
    padding-inline: 34px;
  }

  .petriz-carousel--cards .petriz-carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .service-grid--carousel .service-card,
  .pathway-grid--carousel .pathway-card {
    flex: 0 0 min(92%, 280px);
    min-height: min(280px, 38vh);
  }

  .section-head {
    margin-bottom: 22px;
  }

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

  .status-page {
    padding-top: 36px;
    padding-bottom: 48px;
  }
}

@media (max-width: 560px) {
  .status-page__quick-links {
    grid-template-columns: 1fr;
  }

  .status-page__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .status-page__actions .btn {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .petriz-carousel--cards .service-grid--carousel .service-card,
  .petriz-carousel--cards .pathway-grid--carousel .pathway-card {
    flex-basis: calc((100% - 22px) / 2);
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .petriz-carousel--cards {
    width: min(100%, 94vw);
    padding-inline: 30px;
  }

  .petriz-carousel--cards .service-grid--carousel .service-card,
  .petriz-carousel--cards .pathway-grid--carousel .pathway-card {
    flex-basis: 100%;
    min-height: 270px;
  }

  .petriz-carousel__viewport--fade {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
}
