:root {
  --mrasim-lavender: #19166d;
  --mrasim-lavender-hover: #241f8f;
  --mrasim-orange: #f45600;
  --mrasim-orange-hover: #ff6a1a;
  --mrasim-orange-soft: #fff4e6;
  --mrasim-pink-soft: #ffe6e9;
  --mrasim-blue-soft: #e6f6ff;
  --mrasim-lavender-soft: #e6e9ff;
  --mrasim-mint-soft: #e6fff4;
  --mrasim-neutral-light: #f3f2f1;
  --mrasim-gray-light: #e8e8e8;
  --mrasim-dark-neutral: #3c3c38;
  --mrasim-warm-gray: #8b827b;
  --mrasim-red: #f40025;
  --mrasim-blue: #009ff4;
  --mrasim-mint: #00d1b2;
  --mrasim-white: #ffffff;
  --mrasim-black: #000000;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 16px 40px rgba(25, 22, 109, 0.08);
  --shadow-medium: 0 24px 60px rgba(25, 22, 109, 0.12);
  --font-main: "HT Rakik", "IBM Plex Sans Arabic", "Tajawal", "Cairo", sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --mark-icon-size: 30px;
}

@font-face {
  font-family: "HT Rakik";
  src: url("HT_Rakik_mrasim_adv/Web/HTRakik-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HT Rakik";
  src: url("HT_Rakik_mrasim_adv/Web/HTRakik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HT Rakik";
  src: url("HT_Rakik_mrasim_adv/Web/HTRakik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HT Rakik";
  src: url("HT_Rakik_mrasim_adv/Web/HTRakik-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HT Rakik";
  src: url("HT_Rakik_mrasim_adv/Web/HTRakik-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HT Rakik Neutral";
  src: url("HT_Rakik_mrasim_adv/Web/HTRakik-Neutral.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

body {
  margin: 0;
  background: var(--mrasim-neutral-light);
  color: var(--mrasim-dark-neutral);
  font-family: var(--font-main);
  font-weight: var(--fw-medium);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transform-origin: right center;
  transform: scaleX(0);
  z-index: 999;
  background: linear-gradient(90deg, #f45600 0%, #19166d 100%);
  box-shadow: 0 6px 16px rgba(25, 22, 109, 0.22);
}

.cursor-brand-arrow {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  z-index: 1200;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-120px, -120px, 0);
  transition: opacity 0.18s ease;
  background: var(--mrasim-orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='18' height='5' rx='1'/%3E%3Crect x='17' y='2' width='5' height='18' rx='1'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='18' height='5' rx='1'/%3E%3Crect x='17' y='2' width='5' height='18' rx='1'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--mrasim-lavender);
  margin-top: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: var(--fw-semibold);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
}
h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
}

p,
li,
a,
button {
  font-size: 1rem;
}

/* العلامة المميِّزة للهوية: نفس رمز الشعار (زاوية + مربع) */
.hero h1,
.coming-soon-hero-inner h1,
.section > .container > h2,
main.section > .container > h1 {
  position: relative;
  margin-top: calc(var(--mark-icon-size) + 22px);
}

/* الرمز ككتلة واحدة لضمان التطابق مع الشكل الأساسي */
.hero h1::after,
.coming-soon-hero-inner h1::after,
.section > .container > h2::after,
main.section > .container > h1::after {
  content: "";
  position: absolute;
  top: calc(-1 * (var(--mark-icon-size) + 16px));
  right: 0;
  width: var(--mark-icon-size);
  height: var(--mark-icon-size);
  background: var(--mrasim-orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='18' height='5' rx='1'/%3E%3Crect x='17' y='2' width='5' height='18' rx='1'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='18' height='5' rx='1'/%3E%3Crect x='17' y='2' width='5' height='18' rx='1'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hero h1::before,
.coming-soon-hero-inner h1::before,
.section > .container > h2::before,
main.section > .container > h1::before {
  content: none;
}

.coming-soon-hero-inner h1 {
  display: inline-block;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(25, 22, 109, 0.08);
}

/* الصفحة الرئيسية فقط: هيدر شفاف فوق الهيرو */
.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.page-home .site-header.header-solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom-color: rgba(25, 22, 109, 0.08);
}

.page-home .site-header:not(.header-solid) .main-nav > a:not(.btn),
.page-home .site-header:not(.header-solid) .main-nav > .nav-item > a {
  color: var(--mrasim-white);
}

.page-home .site-header:not(.header-solid) .main-nav > a:not(.btn)::after,
.page-home .site-header:not(.header-solid) .main-nav > .nav-item > a::after {
  background: rgba(255, 255, 255, 0.95);
}

.page-home .site-header:not(.header-solid) .main-nav > a.active:not(.btn),
.page-home .site-header:not(.header-solid) .main-nav > .nav-item > a.active {
  color: var(--mrasim-white);
}

.page-home .site-header:not(.header-solid) .has-submenu > a::before {
  color: var(--mrasim-white);
}

.page-home .site-header:not(.header-solid) .menu-toggle {
  color: var(--mrasim-white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.logo {
  width: 145px;
  max-width: 100%;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--mrasim-lavender);
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--mrasim-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--mrasim-orange);
}

.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.has-submenu > a::before {
  content: "▾";
  font-size: 0.72rem;
  color: var(--mrasim-orange);
  transform: translateY(1px);
  order: 2;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: min(360px, calc(100vw - 32px));
  background: var(--mrasim-white);
  border: 1px solid rgba(25, 22, 109, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(25, 22, 109, 0.15);
  padding: 10px;
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 55;
  text-align: right;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.submenu a::after {
  content: none;
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu a.active {
  background: var(--mrasim-lavender-soft);
  color: var(--mrasim-lavender);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(25, 22, 109, 0.15);
  background: var(--mrasim-white);
  border-radius: var(--radius-sm);
  color: var(--mrasim-lavender);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.section {
  padding: 72px 0;
  position: relative;
}

/* نمط الأقسام الداكنة باستخدام ملفات الأنماط الجاهزة */
.section-dark,
.section-cta {
  color: var(--mrasim-white);
  position: relative;
  overflow: hidden;
  background-color: var(--mrasim-lavender);
}

.section-dark::before,
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("img/p3.png") left -120px top -90px / min(1120px, 86%) auto no-repeat;
  opacity: 0.09;
}

.section-dark::after,
.section-cta::after {
  content: none;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--mrasim-white);
}

/* الأقسام الفاتحة باستخدام الأنماط الجاهزة */
.section-soft {
  background: var(--mrasim-lavender-soft);
  position: relative;
  overflow: hidden;
}

.section-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/p4.png") right -180px top -120px / min(1050px, 82%) auto no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.section-soft::after {
  content: none;
}

.section-plain {
  background: #f7f9ff;
}

.section-plain::before,
.section-plain::after {
  content: none;
}

.works-section {
  padding-bottom: 34px;
}

.results-section {
  padding-top: 34px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  position: relative;
  background: var(--mrasim-white);
  border: 1px solid rgba(25, 22, 109, 0.1);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.work-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  cursor: zoom-in;
  transition: transform 0.28s ease;
}

.work-tag {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  background: rgba(25, 22, 109, 0.88);
  color: var(--mrasim-white);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.77rem;
  font-weight: var(--fw-semibold);
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 12, 24, 0.78);
  cursor: zoom-out;
}

.work-lightbox.open {
  display: flex;
}

.work-lightbox img {
  width: min(1100px, 94vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@media (min-width: 981px) and (hover: hover) and (pointer: fine) {
  .work-card:hover .work-image {
    transform: scale(1.04);
  }
}

main.section {
  background: var(--mrasim-neutral-light);
  position: relative;
  overflow: hidden;
}

main.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/p4.png") left -180px top -130px / min(980px, 78%) auto no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

main.section::after {
  content: none;
}

.section-dark > .container,
.section-cta > .container,
.section-soft > .container {
  position: relative;
  z-index: 1;
}

main.section > .container {
  position: relative;
  z-index: 1;
}

.section-cta h2,
.section-cta p {
  color: var(--mrasim-white);
}

.hero {
  padding-top: 90px;
  padding-bottom: 72px;
  overflow: hidden;
  position: relative;
  --parallax-x: 0px;
  --parallax-y: 0px;
  background-color: var(--mrasim-lavender);
  background-image: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* الهيرو: نفس آلية shade باستخدام p1 + p4 */
.hero-pattern-bow {
  background: url("img/p1.png") left top / min(920px, 68%) auto no-repeat;
  opacity: 0.1;
}

.hero-pattern-tiles {
  display: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  filter: saturate(0.9) contrast(0.92) brightness(0.9);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(20, 17, 95, 0.56) 0%,
    rgba(20, 17, 95, 0.48) 48%,
    rgba(20, 17, 95, 0.62) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
}

.shape {
  display: none;
}

.shape-one {
  width: 240px;
  height: 240px;
  top: -70px;
  left: -70px;
  border-radius: 28px;
  transform: rotate(45deg) translate3d(calc(var(--parallax-x) * -0.15), calc(var(--parallax-y) * -0.15), 0);
}

.shape-two {
  width: 150px;
  height: 150px;
  bottom: -50px;
  right: 10%;
  border-radius: 20px;
  background: rgba(244, 86, 0, 0.12);
  animation-delay: 1.2s;
  transform: rotate(45deg) translate3d(calc(var(--parallax-x) * 0.2), calc(var(--parallax-y) * 0.2), 0);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(380px, 560px) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: min(70vh, 720px);
}

.hero-content {
  grid-column: 1;
  width: 100%;
  margin-inline-start: 0;
  margin-inline-end: 0;
  text-align: right;
}

.hero > .container {
  position: relative;
  z-index: 4;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: var(--fw-semibold);
}

.brand-tagline {
  gap: 12px;
  letter-spacing: 0.01em;
}

.brand-tagline span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-tagline span + span::before {
  content: "›";
  color: var(--mrasim-orange);
  font-weight: var(--fw-bold);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mrasim-orange);
  display: inline-block;
}

.lead {
  font-size: 1.1rem;
  color: #f3f2f1;
  max-width: 62ch;
}

.section .lead {
  color: var(--mrasim-warm-gray);
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.hero-details-section {
  position: relative;
  overflow: hidden;
  background: var(--mrasim-white);
  --pattern-shift-x: 0px;
  --pattern-shift-y: 0px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-details-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/p4.png") right -150px top -90px / min(900px, 74%) auto no-repeat;
  opacity: 0.18;
  transform: translate3d(var(--pattern-shift-x), var(--pattern-shift-y), 0);
  transition: transform 260ms ease;
  pointer-events: none;
  z-index: 0;
}

.hero-details-section > .container {
  position: relative;
  z-index: 1;
}

.hero-details-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.hero-details-title {
  margin: 0;
  color: var(--mrasim-lavender);
  font-size: clamp(2.3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: right;
  font-weight: var(--fw-semibold);
  flex: 0 0 46%;
}

.hero-details-title::before,
.hero-details-title::after {
  content: none;
}

.hero-details-text {
  margin: 0;
  color: #5d576f;
  font-size: clamp(1.03rem, 2vw, 1.28rem);
  line-height: 1.95;
  text-align: right;
  max-width: 70ch;
  flex: 1;
}

.hero-details-text p {
  margin: 0 0 10px;
}

.hero-details-text p:last-child {
  margin-bottom: 0;
}

.hero-details-text strong {
  color: var(--mrasim-lavender);
  font-weight: var(--fw-semibold);
  margin-inline-end: 4px;
}

.hero-card ul {
  margin: 0;
  padding-inline-start: 20px;
}

.hero-graph {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: end;
  min-height: 90px;
}

.hero-graph span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #ff9a00 0%, #f45600 100%);
  animation: pulseBar 2.4s ease-in-out infinite;
}

.hero-graph span:nth-child(2) {
  animation-delay: 0.2s;
}
.hero-graph span:nth-child(3) {
  animation-delay: 0.4s;
}
.hero-graph span:nth-child(4) {
  animation-delay: 0.6s;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 30px;
}

.btn {
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  font-weight: var(--fw-semibold);
  border: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--mrasim-lavender);
  color: var(--mrasim-white);
}

.btn-primary:hover {
  background: var(--mrasim-lavender-hover);
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--mrasim-orange);
  color: var(--mrasim-white) !important;
}

.btn-cta:hover {
  background: var(--mrasim-orange-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--mrasim-lavender-soft);
  color: var(--mrasim-lavender) !important;
  border: 1px solid rgba(25, 22, 109, 0.12);
}

.btn.alt {
  background: var(--mrasim-white);
  color: var(--mrasim-lavender) !important;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--mrasim-white);
  border: 1px solid rgba(25, 22, 109, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
  transform-origin: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(25, 22, 109, 0.14);
}

.card-featured {
  background: var(--mrasim-lavender);
  color: var(--mrasim-white);
}

.card-featured h3,
.card-featured p {
  color: var(--mrasim-white);
}

.icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mrasim-lavender-soft);
  color: var(--mrasim-lavender);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
  transition: background 0.25s ease, color 0.25s ease;
}

.icon-badge.light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--mrasim-white);
}

/* أيقونات خطية بنمط الهوية (الخزامى مع لمسة برتقالية عند التفاعل) */
.icon-badge[class*="ic-"]::before {
  content: "";
  width: 26px;
  height: 26px;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}

.card:hover .icon-badge {
  background: var(--mrasim-orange-soft);
  color: var(--mrasim-orange);
}

.ic-growth {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 7-7'/%3E%3Cpath d='M17 7h4v4'/%3E%3C/svg%3E");
}
.ic-star {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9 6.8 19.2l1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E");
}
.ic-target {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
}
.ic-phone {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2 4.2 2 2 0 0 1 4 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L7.6 9.8a16 16 0 0 0 6 6l1.4-1.5a2 2 0 0 1 2.1-.5c.8.3 1.7.5 2.6.6a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}
.ic-mail {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}
.ic-pin {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.process-roadmap {
  position: relative;
  min-height: 260px;
  margin-bottom: 22px;
  padding: 24px 10px 8px;
}

.road-path {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 280' preserveAspectRatio='none'%3E%3Cpath d='M40 190 C 160 40, 320 40, 430 160 C 520 250, 630 250, 730 130 C 810 40, 900 40, 960 80' fill='none' stroke='%23302aa5' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.6;
}

.road-step {
  position: absolute;
  width: 180px;
  min-height: 92px;
  background: var(--mrasim-white);
  border: 2px solid rgba(25, 22, 109, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  z-index: 2;
}

.road-step h3 {
  margin: 0;
  font-size: 1.05rem;
}

.step-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mrasim-orange);
  color: var(--mrasim-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: none;
}

.step-1 {
  top: 140px;
  right: 0;
}
.step-2 {
  top: 28px;
  right: 200px;
}
.step-3 {
  top: 140px;
  right: 410px;
}
.step-4 {
  top: 56px;
  right: 620px;
}
.step-5 {
  top: 145px;
  right: 820px;
}

.process-text {
  max-width: 78ch;
  color: var(--mrasim-warm-gray);
}

.service-block {
  margin-top: 20px;
  position: relative;
}

.service-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-block h2::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mrasim-orange);
  box-shadow: 0 0 0 6px rgba(244, 86, 0, 0.16);
  flex: none;
}

.service-block p {
  color: var(--mrasim-warm-gray);
}

.service-block ul {
  margin: 0;
  padding-inline-start: 22px;
}

.service-block li {
  margin-bottom: 8px;
}

.services-accordion-section .partners-note {
  margin-bottom: 20px;
}

.services-accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(25, 22, 109, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(25, 22, 109, 0.08);
  overflow: hidden;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item.is-open {
  border-color: rgba(25, 22, 109, 0.22);
  box-shadow: 0 14px 34px rgba(25, 22, 109, 0.12);
}

.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--mrasim-lavender);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: right;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: var(--fw-semibold);
  padding: 20px 24px;
  cursor: pointer;
}

.accordion-title {
  position: relative;
  padding-inline-start: 14px;
}

.accordion-title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mrasim-orange);
}

.accordion-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(25, 22, 109, 0.2);
  background: rgba(255, 255, 255, 0.75);
  position: relative;
  flex: none;
}

.accordion-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--mrasim-lavender);
  width: 14px;
  height: 14px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='18' height='5' rx='1'/%3E%3Crect x='17' y='2' width='5' height='18' rx='1'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='18' height='5' rx='1'/%3E%3Crect x='17' y='2' width='5' height='18' rx='1'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 0.24s ease;
}

.accordion-item.is-open .accordion-icon::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}

.accordion-panel-inner {
  overflow: hidden;
  padding-inline: 24px;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion-item.is-open .accordion-panel-inner {
  padding-bottom: 22px;
}

.accordion-panel p {
  color: var(--mrasim-warm-gray);
  margin: 2px 0 10px;
}

.accordion-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 3.3em;
}

.accordion-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mrasim-lavender);
  text-decoration: none;
  font-weight: var(--fw-semibold);
}

.accordion-more-link::before {
  content: "←";
  font-size: 0.9rem;
  color: var(--mrasim-orange);
}

.accordion-more-link:hover {
  color: var(--mrasim-orange);
}

.accordion-panel ul {
  margin: 0;
  padding-inline-start: 22px;
}

.accordion-panel li {
  margin-bottom: 7px;
}

.values {
  margin-top: 26px;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.values-list li {
  background: var(--mrasim-orange-soft);
  color: var(--mrasim-lavender);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer {
  background: var(--mrasim-lavender);
  color: var(--mrasim-white);
  padding: 22px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo {
  width: 130px;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  color: var(--mrasim-white);
  text-decoration: none;
}

.footer-contact-grid {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.footer-contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: right;
  gap: 8px;
}

.footer-contact-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
  color: var(--mrasim-white);
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.footer-contact-card a,
.footer-contact-card p {
  margin: 0;
  color: var(--mrasim-white);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact-card a:hover {
  color: #ffd5bd;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(2px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.9s ease;
}

.scroll-animate.from-right {
  transform: translateX(42px) scale(0.98);
}

.scroll-animate.from-left {
  transform: translateX(-42px) scale(0.98);
}

.scroll-animate.zoom-in {
  transform: scale(0.9);
}

.scroll-animate.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0) translateY(0) scale(1);
}

.stat-card h3 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 6px;
}

.partners-note {
  color: var(--mrasim-warm-gray);
  margin-bottom: 16px;
}

.partners-card {
  background: var(--mrasim-white);
  border: 1px solid rgba(25, 22, 109, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  overflow: hidden;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partner-logo-box {
  position: relative;
  height: 96px;
  border: 1px solid rgba(25, 22, 109, 0.1);
  border-radius: 14px;
  background: #f9f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partner-logo-box-tight {
  padding: 8px;
}

.partner-logo-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 22, 109, 0.08);
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.partner-logo {
  width: 100%;
  max-width: 150px;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(1) sepia(0.7) saturate(2.2) hue-rotate(184deg) brightness(0.82);
  opacity: 0.9;
  transition: transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
}

.partner-logo-tight {
  max-width: 170px;
  max-height: 68px;
}

.partner-logo-box:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 22, 109, 0.2);
  box-shadow: 0 12px 28px rgba(25, 22, 109, 0.12);
}

.partner-logo-box:hover::after {
  opacity: 0;
}

.partner-logo-box:hover .partner-logo {
  transform: scale(1.06);
  filter: none;
  opacity: 1;
}

.hero h1,
.hero .lead,
.hero .hero-kicker {
  animation: heroFadeUp 0.9s ease both;
}

.hero .lead {
  animation-delay: 0.3s;
}

.hero h1 {
  animation-delay: 0.15s;
}

@keyframes floatY {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-12px);
  }
}

@keyframes pulseBar {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.92);
    opacity: 0.82;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .scroll-progress {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-content {
    grid-column: auto;
    width: min(760px, 100%);
  }
  .hero-details-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-details-title {
    font-size: clamp(2rem, 12vw, 3.4rem);
    flex: initial;
  }
  .hero-details-text {
    flex: initial;
  }
  .hero-details-section::before {
    background-size: 240px auto;
  }
  .process-roadmap {
    min-height: auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .road-path {
    display: none;
  }
  .road-step {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
  }
}

@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-coming-soon .site-header,
.page-coming-soon .main-nav,
.page-coming-soon .menu-toggle {
  display: none;
}

.coming-soon-logo {
  display: inline-block;
  margin-bottom: 28px;
}

.coming-soon-logo .logo {
  width: 160px;
  margin-inline: auto;
}

.coming-soon-main {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
}

.coming-soon-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 48px;
}

.coming-soon-hero-inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.coming-soon-hero-inner .lead {
  margin-inline: auto;
}

.coming-soon-actions {
  justify-content: center;
}

.coming-soon-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--mrasim-white) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.coming-soon-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card p {
  margin: 0;
  color: var(--mrasim-warm-gray);
}

.contact-card a {
  color: var(--mrasim-lavender);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--mrasim-orange);
}

.contact-icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.coming-soon-footer {
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.coming-soon-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    background: var(--mrasim-white);
    border: 1px solid rgba(25, 22, 109, 0.1);
    border-radius: var(--radius-md);
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .has-submenu > a::before {
    content: none;
  }
  .submenu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 10px;
    border: 1px solid rgba(25, 22, 109, 0.1);
    margin-top: 8px;
  }
  .cta-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .work-image {
    height: 200px;
  }
  .accordion-trigger {
    padding: 16px 18px;
    font-size: 1rem;
  }
  .accordion-panel-inner {
    padding-inline: 18px;
  }
  .accordion-item.is-open .accordion-panel-inner {
    padding-bottom: 16px;
  }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner-logo-box {
    height: 90px;
  }
}
