/* ==================================================
   01. PAGE / GLOBAL
   ================================================== */

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  cursor: default;
}

a,
button,
[role="button"] {
  cursor: pointer;
}

input,
textarea,
select {
  cursor: default;
}

.page-theme {
  background-color: #FAF8F5;
  background-image: url('../assets/images/main-bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #F6EFF0;
}

body {
  font-family: 'Rubik', Assistant, sans-serif;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
}

.fade-up.visible {
  animation: fadeUp 0.7s ease forwards;
}


/* ==================================================
   02. REUSABLE ELEMENTS / COMPONENTS
   ================================================== */

.cta-primary,
.cta-secondary {
  color: #DFECEB;
  background-color: transparent;
  border: none;
  text-decoration: none;
}

.cta-image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 64px;
  padding: 0 28px;
  background-image: url('../assets/images/button-abs.svg');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  transform-origin: center center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta-image-button:hover {
  background-image: url('../assets/images/button-abs.svg');
  background-color: transparent;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  filter: brightness(1.04);
}

.cta-image-button:focus-visible {
  outline: 2px solid #590099;
  outline-offset: 3px;
}

.portrait-placeholder {
  background: linear-gradient(135deg, #636363 0%, #383737 50%, #0B0B0B 100%);
  border: 1px solid rgba(201, 163, 163, 0.18);
}


/* ==================================================
   03. HEADER / NAVIGATION
   ================================================== */

.site-header-theme {
  background-color: #ad009c31;
  border-top-color: rgba(201, 163, 163, 0.4);
  border-bottom-color: rgba(201, 163, 163, 0.4);
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 100px;
  object-fit: contain;
}

.nav-text-theme {
  color: #C9A3A3;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
  color: #C9A3A3;
  font-size: 1.25rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: #ffa600;
  transition: width 0.3s ease;
}

[dir="rtl"] .nav-link::after {
  right: 0;
}

[dir="ltr"] .nav-link::after {
  left: 0;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #ffa600;
}

.lang-switcher-theme {
  border-color: #C9A3A3;
}

.separator-theme {
  color: #C9A3A3;
}

.lang-btn {
  transition: all 0.3s ease;
}

.lang-btn.active {
  color: #cf6ef5;
  border-bottom: 2px solid #590099;
}

.lang-btn:hover {
  color: #ffa600;
  border-bottom: 2px solid #ffa600;
}

.mobile-nav-theme {
  background-color: #FAF8F5;
  border-top-color: #C9A3A3;
}

@media (max-width: 768px) {
  .site-logo {
    height: 44px;
    max-width: 150px;
  }
}

/* Landscape tablets retain the desktop navigation without its desktop-scale footprint. */
@media (min-width: 769px) and (max-width: 1199px) {
  .site-logo {
    height: 64px;
  }

  .nav-link {
    font-size: 1rem;
  }
}


/* ==================================================
   04. HERO SECTION
   ================================================== */

.hero-title-theme {
  color: #ECDFE0;
  line-height: 1.15;
}

.hero-subtitle-theme {
  color: #DFECEB;
}

.hero-description-theme {
  color: #DFECEB;
}

@media (min-width: 768px) and (max-width: 1279px) {
  #hero .portrait-placeholder {
    height: 56vh;
  }
}

@media (min-width: 1280px) {
  #hero .portrait-placeholder {
    height: 80vh;
  }
}


/* ==================================================
   05. CLIENTS SECTION
   ================================================== */

.clients-section-theme {
  background-color: #ad009c31;
  border-top-color: rgba(201, 163, 163, 0.4);
  border-bottom-color: rgba(201, 163, 163, 0.4);
}

.clients-title-theme {
  color: #ECDFE0;
}

.clients-subtitle-theme {
  color: #DFECEB;
}

@keyframes clientsMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.clients-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
}

#clients-strip {
  display: flex;
  width: max-content;
  direction: ltr;
}

.clients-marquee-inner {
  display: flex;
  align-items: flex-start;
  width: max-content;
  direction: ltr;
  animation: clientsMarquee 70s linear infinite;
  will-change: transform;
}

.clients-marquee:hover .clients-marquee-inner {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 80px;
  flex-shrink: 0;
  direction: ltr;
}

.client-item {
  width: 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 10px;
  flex-shrink: 0;
}

.client-logo-box {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.client-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.client-logo-name {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  color: #ECDFE0;
  text-align: center;
  white-space: normal;
}

@media (max-width: 768px) {
  .client-item {
    width: 180px;
    min-width: 180px;
  }

  .client-logo-box {
    width: 150px;
    height: 150px;
  }

  .client-logo-name {
    font-size: 16px;
  }

  .marquee-track {
    gap: 48px;
  }

  .clients-marquee-inner {
    animation-duration: 55s;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .client-item {
    width: 190px;
    min-width: 190px;
  }

  .client-logo-box {
    width: 170px;
    height: 170px;
  }

  .client-logo-name {
    font-size: 17px;
  }

  .marquee-track {
    gap: 56px;
  }
}


/* ==================================================
   06. ABOUT SECTION
   ================================================== */

.about-title-theme {
  color: #ECDFE0;
}

.about-paragraph-theme {
  color: #DFECEB;
}



/* ==================================================
   07. SERVICES SECTION
   ================================================== */

@property --service-ratio-x {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --service-ratio-y {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --service-hover {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.services-section-theme {
  background-color: #ad009c31;
  border-top-color: rgba(201, 163, 163, 0.4);
  border-bottom-color: rgba(201, 163, 163, 0.4);
}

.services-title-theme {
  color: #ECDFE0;
}

.services-diagram-wrap {
  position: relative;
}

.services-diagram {
  --services-scene-shift-x: 0px;
  --services-scene-shift-y: 0px;
  --services-center-shift-x: 0px;
  --services-center-shift-y: 0px;
  --services-center-rotate-x: 0deg;
  --services-center-rotate-y: 0deg;
  --services-center-scale: 1;
  --services-lines-opacity: 0.84;
  --services-core-scale: 1;

  position: relative;
  transform-style: preserve-3d;
}

.services-diagram-lines,
.services-center {
  display: none;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-row {
  --service-ratio-x: 0;
  --service-ratio-y: 0;
  --service-hover: 0;
  --service-group-x: 0px;
  --service-group-y: 0px;
  --service-group-depth: 0px;
  --service-group-scale: 1;
  --service-group-z: 1;

  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  perspective: 1200px;
  transform-style: preserve-3d;
  transform: translate3d(
      var(--service-group-x),
      var(--service-group-y),
      var(--service-group-depth)
    )
    scale(var(--service-group-scale));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), z-index 0.28s ease;
  z-index: var(--service-group-z);
  will-change: transform;
}

.service-row:hover {
  box-shadow: none;
  filter: none;
}

.service-row:focus-visible {
  outline: none;
}

.service-card-theme {
  min-height: 150px;
  background: none;
  overflow: visible;
}

.service-card-shell {
  position: relative;
  display: block;
  min-height: 150px;
  border-radius: 1.35rem;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transform: rotateY(calc(-14deg * var(--service-ratio-x))) rotateX(calc(14deg * var(--service-ratio-y)));
  transition: transform 0.22s linear, filter 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 calc(14px + (var(--service-hover) * 8px)) calc(28px + (var(--service-hover) * 12px)) rgb(0 0 0 / calc(0.18 + (var(--service-hover) * 0.08)));
  filter: brightness(calc(1 - (var(--service-hover) * 0.04)));
  will-change: transform, filter, box-shadow;
}

.service-row:focus-visible .service-card-shell {
  outline: 2px solid #590099;
  outline-offset: 4px;
}

.service-card-base,
.service-card-circles,
.service-card-holo-bg,
.service-card-holo-lines {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.service-card-base {
  background-image: url('../assets/images/card-bg-light.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card-circles {
  inset: -12%;
  opacity: calc(0.05 + (var(--service-hover) * 0.18));
  background:
    radial-gradient(circle at center, rgb(129 227 255 / 0.25) 0 2px, transparent 2px 100%) 0 0 / 18px 18px,
    radial-gradient(circle at center, rgb(212 157 255 / 0.18) 0 1.5px, transparent 1.5px 100%) 9px 9px / 18px 18px;
  transform: translate(calc(var(--service-ratio-x) * -10px), calc(var(--service-ratio-y) * -10px)) rotate(18deg);
  mix-blend-mode: screen;
  transition: transform 0.22s linear, opacity 0.28s ease;
}

.service-card-holo-bg {
  background:
    radial-gradient(
      circle at calc(75% - (var(--service-ratio-x) * 20%)) calc(18% - (var(--service-ratio-y) * 20%)),
      rgb(255 255 255 / 0.78),
      rgb(221 180 235 / 0.85) 8%,
      rgb(81 214 253 / 0.52) 22%,
      rgb(255 0 209 / 0.18) 36%,
      transparent 58%
    ),
    linear-gradient(
      112deg,
      rgb(0 147 255 / 0) 10%,
      rgb(81 214 253 / 0.34) 26%,
      rgb(118 80 255 / 0.24) 44%,
      rgb(255 255 255 / 0) 66%
    );
  mix-blend-mode: screen;
  opacity: calc(0.12 + (var(--service-hover) * 0.48));
  transform: translate(calc(var(--service-ratio-x) * -12px), calc(var(--service-ratio-y) * -12px));
  transition: transform 0.22s linear, opacity 0.28s ease;
}

.service-card-holo-lines {
  background: repeating-linear-gradient(
    115deg,
    rgb(255 255 255 / 0) 0 8px,
    rgb(129 227 255 / 0.16) 8px 10px,
    rgb(212 157 255 / 0.18) 10px 12px,
    rgb(255 255 255 / 0) 12px 20px
  );
  mix-blend-mode: screen;
  opacity: calc(0.04 + (var(--service-hover) * 0.24));
  transform: translate(calc(var(--service-ratio-x) * -18px), calc(var(--service-ratio-y) * -18px));
  mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 0.95) 14%, black 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 0.95) 14%, black 86%, transparent 100%);
  transition: transform 0.22s linear, opacity 0.28s ease;
}

.service-card-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 1.5rem 1.75rem;
  transform-style: preserve-3d;
  transform: translateZ(calc(8px + (var(--service-hover) * 10px))) translate(calc(var(--service-ratio-x) * -6px), calc(var(--service-ratio-y) * -6px));
  transition: transform 0.22s linear;
}

.service-card-title,
.service-card-description {
  display: block;
}

.service-card-title {
  margin-bottom: 0.55rem;
  font-size: 1.125rem;
  line-height: 1.25;
  font-weight: 700;
}

.service-card-description {
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-card-title-theme {
  color: #8f00e8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.service-card-description-theme {
  color: #eef7ff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

/* ---------- Shared scene pieces ---------- */

.services-diagram-lines {
  transform: translate3d(var(--services-scene-shift-x), var(--services-scene-shift-y), 0);
  opacity: var(--services-lines-opacity);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  will-change: transform, opacity;
}

.services-lines-core {
  fill: rgba(160, 102, 255, 0.22);
  stroke: rgba(210, 184, 255, 0.55);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(var(--services-core-scale));
  transition: transform 0.28s ease, fill 0.28s ease, stroke 0.28s ease;
}

.services-lines-path {
  --line-shift-x: 0px;
  --line-shift-y: 0px;
  --line-active: 0;

  stroke: rgba(204, 176, 255, 0.38);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 10px rgba(120, 68, 255, 0.16));
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(var(--line-shift-x), var(--line-shift-y));
  opacity: calc(0.56 + (var(--line-active) * 0.34));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  will-change: transform, opacity;
}

.services-center {
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.services-center-ring {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 9999px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18), rgba(122, 92, 255, 0.08) 55%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 0 0 1px rgba(219, 192, 255, 0.18), 0 20px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transform: rotateX(var(--services-center-rotate-x)) rotateY(var(--services-center-rotate-y));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  will-change: transform;
}

.services-center-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid rgba(236, 223, 224, 0.7);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  transform: translateZ(8px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* ---------- Tablet and desktop radial activation ---------- */

@media (min-width: 900px) {
  #services.services-layout-radial .services-diagram {
    min-height: 820px;
  }

  #services.services-layout-radial .services-diagram-lines {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }

  #services.services-layout-radial .services-center {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 190px;
    height: 190px;
    transform:
      translate(
        calc(-50% + var(--services-center-shift-x)),
        calc(-50% + var(--services-center-shift-y))
      )
      scale(var(--services-center-scale));
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
  }

  #services.services-layout-radial .services-list {
    position: relative;
    display: block;
    min-height: 820px;
  }

  #services.services-layout-radial .service-row {
    position: absolute;
    width: min(30vw, 270px);
    min-height: 150px;
  }

  #services.services-layout-radial .service-card-pos-1 {
    top: 55px;
    left: 40px;
  }

  #services.services-layout-radial .service-card-pos-2 {
    top: 55px;
    right: 40px;
  }

  #services.services-layout-radial .service-card-pos-3 {
    top: 320px;
    left: 0;
  }

  #services.services-layout-radial .service-card-pos-4 {
    top: 320px;
    right: 0;
  }

  #services.services-layout-radial .service-card-pos-5 {
    bottom: 55px;
    left: 40px;
  }

  #services.services-layout-radial .service-card-pos-6 {
    bottom: 55px;
    right: 40px;
  }
}

@media (min-width: 1200px) {
  #services.services-layout-radial .services-diagram {
    min-height: 920px;
  }

  #services.services-layout-radial .services-center {
    width: 230px;
    height: 230px;
  }

  #services.services-layout-radial .services-list {
    min-height: 920px;
  }

  #services.services-layout-radial .service-row {
    width: min(28vw, 310px);
    min-height: 165px;
  }

  #services.services-layout-radial .service-card-shell,
  #services.services-layout-radial .service-card-content {
    min-height: 165px;
  }

  #services.services-layout-radial .service-card-pos-1 {
    top: 70px;
    left: 70px;
  }

  #services.services-layout-radial .service-card-pos-2 {
    top: 70px;
    right: 70px;
  }

  #services.services-layout-radial .service-card-pos-3 {
    top: 372px;
    left: 10px;
  }

  #services.services-layout-radial .service-card-pos-4 {
    top: 372px;
    right: 10px;
  }

  #services.services-layout-radial .service-card-pos-5 {
    bottom: 70px;
    left: 70px;
  }

  #services.services-layout-radial .service-card-pos-6 {
    bottom: 70px;
    right: 70px;
  }
}

/* ---------- Phones only ---------- */

@media (max-width: 899px) {
  .services-diagram-lines,
  .services-center {
    display: none !important;
  }

  .services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .service-row {
    position: relative;
    width: 100%;
    perspective: none;
    transform: none !important;
  }

  .service-card-shell {
    transform: none !important;
  }

  .service-card-content {
    min-height: 150px;
    transform: none !important;
  }
}


/* ==================================================
   08. SERVICE MODAL (LEGACY BLOCK IN HTML)
   ================================================== */

.legacy-modal-backdrop-theme {
  background-color: rgba(0, 0, 0, 0.7);
}

.legacy-modal-panel-theme {
  background-color: #210f2e;
  border-color: rgba(201, 163, 163, 0.3);
}

.legacy-modal-close-theme {
  color: rgba(255, 255, 255, 0.7);
}

.legacy-modal-close-theme:hover {
  color: #FFFFFF;
}

.legacy-modal-title-theme {
  color: #ECDFE0;
}

.legacy-modal-heading-theme {
  color: #ECDFE0;
}

.legacy-modal-video-title-theme {
  color: #ECDFE0;
}

.legacy-modal-summary-theme {
  color: #DFECEB;
}


/* ==================================================
   09. AUDIENCE SECTION
   ================================================== */

.audience-title-theme {
  color: #ECDFE0;
}

.audience-subtitle-theme {
  color: #DFECEB;
}

.audience-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #590099;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(140, 120, 255, 0.486);
}

.audience-card-theme {
  background-color: #590099;
  border: 1px solid rgba(201, 163, 163, 0.3);
  color: #DFECEB;
}


/* ==================================================
   10. RECOMMENDATIONS SECTION
   ================================================== */

.why-section-theme {
  background-color: #ad009c31;
  border-top-color: rgba(201, 163, 163, 0.4);
  border-bottom-color: rgba(201, 163, 163, 0.4);
}

.why-title-theme {
  color: #ECDFE0;
}

.why-text-theme {
  color: #DFECEB;
}

.recommendations-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
}

#recommendations-strip {
  display: flex;
  width: max-content;
  direction: ltr;
}

.recommendations-marquee-inner {
  display: flex;
  align-items: center;
  width: max-content;
  direction: ltr;
  animation: clientsMarquee 75s linear infinite;
  will-change: transform;
}

.recommendations-marquee:hover .recommendations-marquee-inner {
  animation-play-state: paused;
}

.recommendations-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  direction: ltr;
  padding: 10px 0 16px;
}

.recommendation-item {
  width: 280px;
  min-width: 280px;
  padding: 0;
  border: none;
  background: transparent;
  flex-shrink: 0;
}

.recommendation-envelope-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 230px;
  border-radius: 1rem;
  overflow: visible;
  box-shadow: none;
  transition: none;
}

.recommendation-item:hover .recommendation-envelope-box {
  transform: none;
  filter: none;
  box-shadow: none;
}

.recommendation-item:focus-visible {
  outline: none;
}

.recommendation-item:focus-visible .recommendation-envelope-box {
  outline: 2px solid #590099;
  outline-offset: 4px;
}

.recommendation-envelope-image {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.22s ease, filter 0.22s ease;
  will-change: transform, filter;
}

@media (hover: hover) and (pointer: fine) {
  .recommendation-item:hover .recommendation-envelope-image {
    transform: translateY(-3px) scale(1.06);
    filter: brightness(1.04) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
  }
}

.recommendation-modal-backdrop-theme {
  background: rgba(0, 0, 0, 0.78);
}

.recommendation-modal-panel {
  position: relative;
  width: min(100%, 520px);
  max-height: 90vh;
  padding: 1rem;
  border-radius: 1.5rem;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid rgba(201, 163, 163, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.recommendation-item:focus-visible .recommendation-envelope-image {
  outline: 2px solid #590099;
  outline-offset: 6px;
}

.recommendation-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.recommendation-modal-close:hover {
  background: rgba(122, 92, 255, 0.26);
  transform: scale(1.04);
}

.recommendation-modal-image-wrap {
  width: 100%;
  max-height: calc(90vh - 2rem);
  overflow: auto;
  border-radius: 1rem;
}

.recommendation-modal-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .recommendation-item {
    width: 220px;
    min-width: 220px;
  }

  .recommendations-track {
    gap: 18px;
  }

  .recommendations-marquee-inner {
    animation-duration: 58s;
  }

  .recommendation-modal-panel {
    width: min(100%, 92vw);
    padding: 0.8rem;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .recommendation-item {
    width: 230px;
    min-width: 230px;
  }

  .recommendation-envelope-box {
    min-height: 190px;
  }

  .recommendation-envelope-image {
    max-width: 140px;
  }

  .recommendations-track {
    gap: 20px;
  }
}


/* ==================================================
   11. PROCESS SECTION
   ================================================== */

.process-title-theme {
  color: #ECDFE0;
}

.process-flow {
  --process-step-width: clamp(228px, 18.6vw, 268px);
  --process-card-height: 236px;
  --process-card-half: 118px;
  --process-card-inner-width: 190px;
  --process-bullet-size: 68px;
  --process-step-gap: 1rem;
  --process-arrow-width: 32px;
  --process-arrow-icon: 24px;
  --process-arrow-half: 12px;
  --process-arrow-offset: calc(
    var(--process-bullet-size) + var(--process-step-gap) + var(--process-card-half) - var(--process-arrow-half)
  );

  width: 100%;
}

.process-flow-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}

.process-flow[dir="rtl"] .process-flow-track {
  direction: rtl;
}

.process-flow[dir="ltr"] .process-flow-track {
  direction: ltr;
}

.process-flow-step {
  width: var(--process-step-width);
  min-width: 0;
  flex: 0 0 var(--process-step-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--process-step-gap);
}

.process-flow-bullet {
  width: var(--process-bullet-size);
  height: var(--process-bullet-size);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.process-flow-bullet-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.process-flow-card {
  width: 100%;
  min-height: var(--process-card-height);
  padding: 1.22rem 1.16rem 1.28rem;
  background-image: url('../assets/images/main_form_screen_block_btn.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.22s ease, filter 0.22s ease;
  will-change: transform, filter;
}

@media (hover: hover) and (pointer: fine) {
  .process-flow-step:hover .process-flow-card {
    transform: translateY(-3px) scale(1.035);
    filter: brightness(1.06) saturate(1.05);
  }
}

.process-flow-card-inner {
  width: 100%;
  max-width: var(--process-card-inner-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  text-align: center;
}

.process-flow-step-title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.18;
  font-weight: 700;
  color: #ECDFE0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.process-flow-step-description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.42;
  color: #DFECEB;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.process-flow-arrow {
  width: var(--process-arrow-width);
  flex: 0 0 var(--process-arrow-width);
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--process-arrow-offset);
}

.process-flow-arrow-image {
  width: var(--process-arrow-icon);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .process-flow {
    --process-step-width: clamp(200px, calc((100vw - 14.125rem) / 5), 248px);
    --process-card-height: 222px;
    --process-card-half: 111px;
    --process-card-inner-width: 178px;
    --process-bullet-size: 64px;
    --process-step-gap: 0.75rem;
    --process-arrow-width: clamp(22px, 2vw, 30px);
    --process-arrow-icon: 22px;
    --process-arrow-half: 11px;
    --process-arrow-offset: calc(
      var(--process-bullet-size) + var(--process-step-gap) + var(--process-card-half) - var(--process-arrow-half)
    );
  }

  .process-flow-track {
    gap: 0.45rem;
  }

  .process-flow-step-title {
    font-size: 0.98rem;
  }

  .process-flow-step-description {
    font-size: 0.84rem;
    line-height: 1.4;
  }
}

@media (max-width: 1199px) {
  .process-flow {
    --process-step-width: clamp(208px, 20vw, 238px);
    --process-card-height: 222px;
    --process-card-half: 111px;
    --process-card-inner-width: 178px;
    --process-bullet-size: 64px;
    --process-arrow-width: 28px;
    --process-arrow-icon: 22px;
    --process-arrow-half: 11px;
    --process-arrow-offset: calc(
      var(--process-bullet-size) + var(--process-step-gap) + var(--process-card-half) - var(--process-arrow-half)
    );
  }

  .process-flow-step-title {
    font-size: 0.98rem;
  }

  .process-flow-step-description {
    font-size: 0.84rem;
    line-height: 1.4;
  }
}

@media (max-width: 1199px) {
  .process-flow-track {
    flex-direction: column;
    align-items: center;
    gap: 0.72rem;
  }

  .process-flow {
    --process-step-width: min(100%, 322px);
    --process-card-height: 206px;
    --process-card-inner-width: 236px;
  }

  .process-flow-step {
    width: var(--process-step-width);
    flex: none;
  }

  .process-flow-card {
    padding: 1.15rem 1.06rem 1.18rem;
  }

  .process-flow-step-title {
    font-size: 1.02rem;
  }

  .process-flow-step-description {
    font-size: 0.87rem;
    line-height: 1.42;
  }

  .process-flow-arrow {
    width: auto;
    flex: none;
    padding-top: 0;
  }

  .process-flow-arrow-image {
    width: 30px;
  }

  .process-flow[dir="rtl"] .process-flow-arrow-image {
    transform: rotate(-90deg);
  }

  .process-flow[dir="ltr"] .process-flow-arrow-image {
    transform: rotate(90deg);
  }
}


/* ==================================================
   12. TRUST SECTION
   ================================================== */

.trust-section-theme {
  background-color: #ad009c31;
  border-top-color: rgba(201, 163, 163, 0.4);
  border-bottom-color: rgba(201, 163, 163, 0.4);
}

.trust-title-theme {
  color: #ECDFE0;
}

.trust-text-theme {
  color: #DFECEB;
}


/* ==================================================
   13. FINAL CTA SECTION
   ================================================== */

.final-cta-title-theme {
  color: #ECDFE0;
}

.final-cta-text-theme {
  color: #DFECEB;
}


/* ==================================================
   14. FOOTER
   ================================================== */

.footer-theme {
  border-top-color: rgba(201, 163, 163, 0.4);
}

.footer-brand-muted {
  color: rgba(195, 194, 197, 0.5);
}

.footer-brand-name {
  color: rgba(195, 194, 197, 0.5);
}

.footer-rights-muted {
  color: rgba(195, 194, 197, 0.5);
}


/* ==================================================
   15. SERVICE MODAL (MODERN BLOCK IN HTML)
   ================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-panel {
  width: min(100%, 860px);
  max-height: min(88vh, 920px);
  overflow: auto;
  background: #111111;
  color: #FFFFFF;
  border: 1px solid rgba(201, 163, 163, 0.24);
  border-radius: 1.25rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.modal-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 163, 163, 0.24);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}

.modal-close:hover {
  background: rgba(122, 92, 255, 0.18);
  border-color: rgba(122, 92, 255, 0.4);
}

.modal-close:focus-visible {
  outline: 2px solid #590099;
  outline-offset: 3px;
}

.modal-chip {
  border: 1px solid rgba(201, 163, 163, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: #C9A3A3;
  border-radius: 9999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.3;
}

.modal-video-box {
  border: 1px solid rgba(201, 163, 163, 0.18);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(122, 92, 255, 0.12), rgba(201, 163, 163, 0.08));
  padding: 1rem;
}

.modal-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  text-decoration: none;
}

.modal-video-link:focus-visible {
  outline: 2px solid #590099;
  outline-offset: 3px;
}

.modal-hidden {
  display: none;
}

.modal-kicker-theme {
  color: #C9A3A3;
}

.modal-summary-theme {
  color: rgba(255, 255, 255, 0.85);
}

.modal-points-title-theme {
  color: #C9A3A3;
}

.modal-body-theme {
  color: rgba(255, 255, 255, 0.72);
}

.modal-video-heading-theme {
  color: #C9A3A3;
}

.modal-video-description-theme {
  color: rgba(255, 255, 255, 0.72);
}

.modal-list-item-theme {
  color: #DFECEB;
}

.modal-body-paragraph-theme {
  color: #DFECEB;
}

.modal-video-frame-theme {
  border: 1px solid rgba(201, 163, 163, 0.3);
}
