/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page-services {
  background: var(--gradient-services-body);
  color: var(--color-services-text);
  font-family: var(--font-body);
  overflow-x: clip;
}

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

/* Shared #site-header overlays the dark hero (same pattern as about) */
.page-services #site-header {
  margin-bottom: calc(-1 * var(--header-stack, 98px));
}

.page-services .nav-logo img,
.page-services .footer-logo img {
  width: auto;
  max-width: none;
}

/*
  Services page: light band under CTA — matches .why-process-section above.
*/

/* Header always shows the gradient pill on the light page (not transparent over hero) */
.page-services .site-header .nav .btn-nav:hover,
.page-services .site-header .nav.nav--solid .btn-nav:hover {
  background: var(--color-white);
}

/* Body `a { color: inherit }` would wash footer links white — restore shared tones */
.page-services .social-links a {
  color: var(--color-footer-link);
}

.page-services .social-links a:hover {
  color: var(--color-white);
}

.page-services .footer-bottom p,
.page-services .footer-bottom a {
  color: var(--color-footer-muted);
}

.page-services .footer-bottom a:hover {
  color: var(--color-white);
}

.page-services .footer-cta-zone .cta-btn {
  background: var(--nav-white);
  color: var(--nav-rebecca);
}

/*
  services.css `a { color: inherit }` loads after style.css and turns
  mobile-tab links white (body color) on the light lavender bar — restore shared colors.
*/
.page-services .mobile-tabbar {
  background: var(--nav-mobile-bar-bg, var(--color-bg-nav-mobile));
  color: var(--color-text-tab-inactive);
}

.page-services .mobile-tab,
.page-services .mobile-tabbar a.mobile-tab {
  color: var(--color-text-tab-inactive) !important;
}

.page-services .mobile-tab.is-active,
.page-services .mobile-tab.is-active .mobile-tab-icon,
.page-services .mobile-tabbar a.mobile-tab.is-active {
  color: var(--color-white) !important;
}

.page-services .mobile-tab:not(.is-active) .mobile-tab-icon {
  color: var(--color-text-tab-inactive) !important;
}

/* Keep tab pill on its own layer; don't let page glow/float animations fight it */
.page-services .mobile-tabbar-indicator {
  background: var(--gradient-mobile-tab) !important;
  will-change: transform;
}

@media (max-width: 768px) {
  body.page-services {
    padding-bottom: 20px;
  }

  .page-services .footer-cta-zone {
    /*background: linear-gradient(45deg, #f5f5ff, #e7e6fcbd);*/
  }

  .page-services .site-header .nav,
  .page-services .site-header .nav.nav--solid {
    background: var(--gradient-header) !important;
    box-shadow: var(--shadow-nav) !important;
  }

  .page-services .site-header .nav .btn-nav {
    color: var(--nav-rebecca) !important;
    background: var(--color-white) !important;
    border: 1px solid transparent !important;
  }

  .page-services .footer-cta-zone footer,
  .page-services footer {
    padding: 72px 0 calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    background: var(--color-footer-bg) !important;
  }

  .page-services .footer-top,
  .page-services .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 18px !important;
  }

  .page-services .social-links {
    width: 100%;
    justify-content: flex-start !important;
    gap: 14px 18px;
  }

  .page-services .cta-btn {
    display: none !important;
  }
}

/* =========================
   SERVICES PAGE
========================= */

.services-page {
  background: radial-gradient(
    circle at 75% 45%,
    rgba(58, 122, 197, 0.08),
    transparent 35%
  );
}

/* Legacy custom navbar removed — page uses shared #site-header from style.css */

/* =========================
   HERO
========================= */

.services-hero {
  width: 100%;
  max-width: var(--site-container-max-width);
  padding: 0 var(--site-container-inline-padding);
  /* Same text-start Y as home / contact / about / web */
  padding-top: var(--header-clearance);
  box-sizing: border-box;

  min-height: 550px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  /* Top-align — vertical center shifts copy below other pages */
  align-items: start;

  gap: 30px;
}

/* =========================
   HERO CONTENT
========================= */

.services-content {
  padding-left: 0;

  position: relative;
  z-index: 2;
}

.services-label {
  display: block;

  margin-bottom: 20px;

  color: var(--color-primary);

  font-size: 15px;

  font-weight: 600;

  letter-spacing: 1.5px;
}

.services-content h1 {
  margin-bottom: 24px;

  color: var(--color-services-text);

  font-size: clamp(48px, 4.4vw, 68px);

  line-height: 1.05;

  font-weight: 700;

  letter-spacing: -1px;
}

.services-content h1 span {
  color: var(--color-primary);
}

.services-content p {
  max-width: 480px;

  margin-bottom: 35px;

  color: var(--color-services-text-body);

  font-size: 17px;

  line-height: 1.7;
}

/* =========================
   BUTTONS
========================= */

.services-buttons {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-bottom: 48px;
}

.explore-btn,
.started-btn {
  min-height: 52px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  font-size: 16px;

  transition: 0.35s ease;
}

.explore-btn {
  min-width: 220px;

  gap: 28px;

  background: linear-gradient(
    135deg,
    var(--color-service-accent),
    var(--color-service-accent-deep)
  );

  color: var(--color-white);

  box-shadow: var(--shadow-services-btn);
}

.explore-btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  line-height: 1;
  height: 1em;
  transition: 0.35s ease;
}

.explore-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 15px 35px rgba(58, 122, 197, 0.28);
}

.explore-btn:hover .arrow {
  transform: translateX(7px);
}

.started-btn {
  min-width: 180px;

  border: 1px solid var(--color-services-card-border);

  color: var(--color-primary);

  background: var(--color-white);
}

.started-btn:hover {
  border-color: var(--color-service-accent);

  background: var(--color-brand-tint-08);

  transform: translateY(-4px);
}

/* =========================
   STATS
========================= */

.services-stats {
  display: flex;
  align-items: stretch;
  gap: 34px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline-end: 30px;
  border-inline-end: 1px solid var(--color-brand-tint-20);
  justify-content: start;
}

.stat-item:last-child {
  border-inline-end: none;
}

.stat-icon {
  width: 42px;
  height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  color: var(--color-primary);

  background: var(--color-brand-tint-08);

  border: 1px solid var(--color-brand-tint-18);

  font-size: 22px;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-info strong {
  color: var(--color-services-text);

  font-size: 22px;

  font-weight: 600;
}

.stat-info span {
  color: var(--color-services-text-subtle);
  font-size: 10px;
  margin: 8px 0;
}

/* =========================
   HERO VISUAL
========================= */

.services-visual {
  height: 550px;

  display: flex;

  align-items: center;
  justify-content: center;

  position: relative;
}

.services-visual::before {
  position: absolute;

  width: 380px;
  height: 380px;

  border-radius: 50%;

  background: var(--color-service-accent-deep);

  filter: blur(130px);

  opacity: 0.13;
}

.services-visual img {
  width: 100%;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain;
}

/* =========================
   FEATURED SERVICE
========================= */

.featured-service {
  width: 100%;
  max-width: var(--site-container-max-width);

  min-height: 240px;

  margin: 120px auto;

  padding: 35px var(--site-container-inline-padding);

  display: grid;

  grid-template-columns: 400px 1fr auto;

  align-items: center;

  gap: 45px;

  position: relative;

  overflow: hidden;

  border: 1px solid var(--color-services-card-border);

  border-radius: 18px;

  background:
    radial-gradient(
      ellipse at 85% 20%,
      rgba(58, 122, 197, 0.1),
      transparent 35%
    ),
    var(--gradient-services-featured);
  box-shadow: var(--shadow-services-card);
}

.featured-service::after {
  content: "";

  position: absolute;

  width: 450px;
  height: 200px;

  right: 50px;
  top: -50px;

  border-radius: 50%;

  border-top: 1px solid var(--color-brand-tint-18);

  transform: rotate(-15deg);

  pointer-events: none;
}

.featured-image {
  height: 210px;

  position: relative;

  display: flex;

  align-items: flex-end;
  justify-content: center;
}

.featured-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  position: relative;
  z-index: 1;
}

.featured-badge {
  position: absolute;

  top: 0;
  left: 0;

  z-index: 2;

  padding: 9px 17px;

  border-radius: 8px;

  background: linear-gradient(
    135deg,
    var(--color-service-accent),
    var(--color-service-accent-deep)
  );

  color: var(--color-white);

  font-size: 12px;

  font-weight: 600;

  letter-spacing: 0.5px;
}

.featured-content {
  position: relative;
  z-index: 2;
}

.featured-content h2 {
  margin-bottom: 10px;

  color: var(--color-services-text);

  font-size: 32px;

  font-weight: 600;
}

.featured-content h3 {
  margin-bottom: 10px;

  color: var(--color-primary);

  font-size: 22px;

  font-weight: 500;
}

.featured-content p {
  max-width: 500px;

  margin-bottom: 18px;

  color: var(--color-services-text-body);

  font-size: 15px;

  line-height: 1.6;
}

.technology-list {
  display: flex;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;
}

.technology-list span {
  padding: 7px 14px;

  border: 1px solid var(--color-brand-tint-18);

  border-radius: 8px;

  color: var(--color-services-text-subtle);

  background: var(--color-brand-tint-06);

  font-size: 12px;
}

.learn-more-btn {
  min-width: 180px;

  padding: 15px 22px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 25px;

  position: relative;
  z-index: 2;

  border-radius: 12px;

  background: linear-gradient(
    135deg,
    var(--color-service-accent),
    var(--color-service-accent-deep)
  );

  color: var(--color-white);

  font-size: 16px;

  transition: 0.35s ease;
}

.learn-more-btn span {
  font-size: 24px;

  transition: 0.35s ease;
}

.learn-more-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 12px 30px rgba(58, 122, 197, 0.25);
}

.learn-more-btn:hover span {
  transform: translateX(7px);
}

/* =========================
   ANIMATION
========================= */

.services-content {
  animation: contentReveal 1s ease 0.2s both;
}

.services-visual {
  animation: visualReveal 1.2s ease 0.25s both;
}

.featured-service {
  animation: featuredReveal 1s ease 0.4s both;
}

/* =========================
   HERO IMAGE MOTION
========================= */

.services-visual img {
  animation: laptopFloat 4s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes laptopFloat {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-18px) rotate(-1deg) scale(1.015);
  }

  50% {
    transform: translateY(-32px) rotate(1deg) scale(1.03);
  }

  75% {
    transform: translateY(-18px) rotate(-1deg) scale(1.015);
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

/* =========================
   GLOW MOTION
========================= */

.services-visual::before {
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.2;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.1;
  }
}

/* =========================
   REVEAL ANIMATIONS
========================= */

@keyframes navReveal {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes visualReveal {
  from {
    opacity: 0;
    transform: translateX(70px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes featuredReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   STATS ANIMATION
========================= */

.stat-item {
  transition: 0.35s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-icon {
  transition: 0.35s ease;
}

.stat-item:hover .stat-icon {
  transform: rotate(8deg) scale(1.08);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .services-hero,
  .featured-service {
    width: 100%;
    padding-left: var(--site-container-inline-padding);
    padding-right: var(--site-container-inline-padding);
  }

  .services-content h1 {
    font-size: 55px;
  }

  .featured-service {
    grid-template-columns: 330px 1fr auto;
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .services-hero {
    grid-template-columns: 1fr;
    padding-top: var(--header-clearance);
    align-items: start;
  }

  .services-content {
    padding-left: 0;
    text-align: center;
  }

  .services-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .services-buttons {
    justify-content: center;
  }

  .services-stats {
    justify-content: center;
  }

  .services-visual {
    height: 450px;
  }

  .featured-service {
    grid-template-columns: 1fr 1fr;
  }

  .featured-image {
    grid-row: span 2;
  }

  .learn-more-btn {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .services-hero {
    width: var(--mobile-hero-rail, min(92%, 420px));
    max-width: var(--mobile-hero-rail, min(92%, 420px));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    padding-top: var(--header-clearance);
    margin-top: 0;
    align-items: start;
    justify-items: start;
    box-sizing: border-box;
  }

  /* Left-align like home / about (overrides ≤992px center) */
  .services-content {
    width: 100%;
    padding-left: 0;
    text-align: left;
    align-items: flex-start;
  }

  .services-content h1 {
    font-size: 45px;
    line-height: 1.1;
  }

  .services-content p {
    font-size: 15px;
    margin-left: 0;
    margin-right: 0;

    max-width: 34ch;
  }

  .services-buttons {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
  }

  .services-stats {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 15px;
    flex-wrap: wrap;
    text-align: start;
    width: 100%;
  }

  .stat-item {
    padding-inline-end: 15px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: start;
  }

  .stat-info {
    align-items: flex-start;
    text-align: start;
  }

  .stat-info strong,
  .stat-info span {
    text-align: start;
  }

  .stat-info strong {
    font-size: 16px;
  }

  .explore-btn,
  .started-btn {
    width: 100%;
  }

  .services-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 2rem;
  }

  .services-pagination .started-btn,
  .services-pagination .explore-btn {
    width: 100%;
    min-width: 0;
  }

  .services-page-status {
    order: -1;
    min-width: 0;
    padding: 0 0 4px;
  }

  .services-visual {
    height: 350px;
  }

  /* Section headings — restore display size (home type-lock no longer hits these) */
  .page-services .section-title,
  .page-services .section-title1,
  .page-services .all-services-title,
  .page-services .process-container h2 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.3px;
  }

  .page-services .services-label {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
  }

  .featured-service {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    gap: 20px;
  }

  .featured-image {
    height: 220px;
    grid-row: auto;
  }

  .featured-content h2 {
    font-size: 28px;
  }

  .featured-content h3 {
    font-size: 18px;
  }

  .learn-more-btn {
    justify-self: stretch;
  }

  /* Infinite hero motion janks the fixed .mobile-tabbar-indicator (see laptopFloat + glowPulse).
     Also stop visualReveal on the parent — it keeps transform on .services-visual after load. */
  .page-services .services-content,
  .page-services .services-visual,
  .page-services .services-visual img,
  .page-services .services-visual::before,
  .page-services .featured-service {
    animation: none !important;
  }

  .page-services .services-visual,
  .page-services .services-visual img {
    transform: none !important;
  }

  .page-services .services-visual::before {
    transform: none !important;
    opacity: 0.13;
  }
}

@media (max-width: 480px) {
  .services-content h1 {
    font-size: 37px;
  }

  .services-label {
    font-size: 14px;
  }

  .services-stats {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .stat-item {
    width: 29%;
    /* this affecting I Phone SE 375px width screen ... issue of horizantil scrolling */
    border-radius: 18px;
    padding: 5px 9px;
    background: var(--color-brand-tint-10);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: start;
    border: 1px solid var(--color-brand-tint-20);
    gap: 6px;
  }

  .stat-item:last-child {
    border-inline-end: 1px solid var(--color-brand-tint-20);
  }

  .stat-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .stat-info {
    align-items: flex-start;
    width: 100%;
    text-align: start;
    margin-bottom: 10px;
  }

  .stat-info strong,
  .stat-info span {
    display: block;
    width: 100%;
    text-align: start;
    margin: 0;
  }

  .services-visual {
    height: 270px;
    max-width: 95%;
  }

  .featured-image {
    height: 180px;
  }

  .technology-list {
    gap: 7px;
  }

  .stat-icon {
    width: 32px;
    height: 32px;
    margin-top: 10px;
  }
}

/* =========================================
   ALL SERVICES SECTION
========================================= */

.all-services-container.mobile-services {
  padding-top: 12vh !important;
}

.services-page.services-page-services {
  padding: 18vh 0 6vh 0;
}

.all-services-section {
  width: 100%;
  padding: 0 0 12vh 0;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.all-services-container {
  width: 100%;

  max-width: var(--site-container-max-width);

  padding: 0 var(--site-container-inline-padding);

  margin: 0 auto;
}

/* =========================================
   TITLE
========================================= */

.all-services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.all-services-header .all-services-title {
  margin: 0;
}

.all-services-view-all {
  flex-shrink: 0;
  white-space: nowrap;
}

.all-services-title {
  margin: 0 0 48px;

  color: var(--color-services-text);

  font-size: 28px;

  font-weight: 600;

  letter-spacing: -0.3px;
}

section.services-page {
  padding: 12vh 0;
}

/* =========================================
   GRID
========================================= */

.services-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px 24px;
}

.services-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.services-pagination[hidden] {
  display: none;
}

/* Match hero .started-btn / .explore-btn on button elements */
.services-pagination .started-btn,
.services-pagination .explore-btn {
  min-height: 52px;
  min-width: 150px;
  padding: 0 28px;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.services-pagination .started-btn {
  gap: 10px;
  border: 1px solid var(--color-services-card-border);
  color: var(--color-primary);
  background: var(--color-white);
}

.services-pagination .explore-btn {
  gap: 12px;
  border: none;
  background: linear-gradient(
    135deg,
    var(--color-service-accent),
    var(--color-service-accent-deep)
  );
  color: var(--color-white);
  box-shadow: var(--shadow-services-btn);
}

.services-pagination .arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.35s ease;
}

.services-pagination .started-btn:hover:not(:disabled) {
  border-color: var(--color-service-accent);
  background: var(--color-brand-tint-08);
  transform: translateY(-4px);
}

.services-pagination .started-btn:hover:not(:disabled) .arrow {
  transform: translateX(-6px);
}

.services-pagination .explore-btn:hover:not(:disabled) {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(58, 122, 197, 0.28);
}

.services-pagination .explore-btn:hover:not(:disabled) .arrow {
  transform: translateX(6px);
}

.services-pagination .started-btn:disabled,
.services-pagination .explore-btn:disabled,
.services-pagination.is-loading .started-btn,
.services-pagination.is-loading .explore-btn {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.services-pagination .started-btn:disabled {
  border-color: var(--color-border-light);
  background: var(--color-white);
}

.services-page-status {
  min-width: 9rem;
  padding: 0 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-services-text-subtle);
}

/* =========================================
   CARD
========================================= */

.service-card {
  height: 330px;

  padding: 14px 20px 16px;

  display: grid;

  grid-template-rows: 135px 36px 1fr auto;

  align-items: stretch;

  justify-items: center;

  text-align: center;

  position: relative;

  overflow: hidden;

  border: 1px solid var(--color-brand-tint-18);

  border-radius: 15px;

  background:
    radial-gradient(
      circle at 50% 10%,

      rgba(58, 122, 197, 0.08),
      transparent 65%
    ),
    var(--gradient-services-card);

  opacity: 0;

  transform: translateY(45px);

  transition:
    transform 0.5s ease,
    opacity 0.7s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* =========================================
   REVEAL
========================================= */

.service-card.show {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================
   CARD LIGHT
========================================= */

.service-card::before {
  content: "";

  position: absolute;

  width: 180px;

  height: 180px;

  top: -100px;

  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;

  background: var(--color-service-accent);

  filter: blur(70px);

  opacity: 0;

  transition: opacity 0.5s ease;

  pointer-events: none;
}

.service-card:hover::before,
.service-card.is-active::before {
  opacity: 0.18;
}

/* =========================================
   IMAGE
========================================= */

.service-image {
  width: 100%;

  height: 135px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;
  padding-top: 18px;
  z-index: 1;
}

.service-image img {
  padding-top: 16px;
  width: 180px;

  height: 135px;

  object-fit: contain;

  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.55s ease;
}

/* =========================================
   TITLE
========================================= */

.service-card h3 {
  width: 100%;

  height: 34px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0;

  color: var(--color-services-text);

  font-size: 17px;

  font-weight: 600;

  line-height: 1.15;

  white-space: nowrap;

  position: relative;

  z-index: 1;
}

/* =========================================
   DESCRIPTION
========================================= */

#all-services .service-card p,
.service-card p {
  width: 95%;

  height: auto;

  margin: 0;
  top: 0;

  color: var(--color-services-text-body);

  font-size: 15px;

  line-height: 1.45;

  text-align: center;

  position: relative;

  z-index: 1;

  overflow: hidden;

  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;

  align-self: start;
}

/* =========================================
   LINK
========================================= */

#all-services .service-card .service-link,
.service-link {
  height: 32px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;
  top: 0;
  margin-top: 8px;
  color: var(--color-primary);

  font-size: 16px;

  font-weight: 400;

  position: relative;

  z-index: 1;

  transition: color 0.35s ease;
}

.service-link span {
  font-size: 22px;

  line-height: 1;

  transition: transform 0.35s ease;
}

.service-link:hover {
  color: var(--color-primary);
}

.service-link:hover span {
  transform: translateX(7px);
}

/* =========================================
   CARD HOVER
========================================= */

.service-card:hover,
.service-card.is-active {
  transform: translateY(-8px);

  border-color: var(--color-primary);

  box-shadow: var(--shadow-services-card-hover);
}

.service-card:hover .service-image img,
.service-card.is-active .service-image img {
  transform: translateY(-9px) scale(1.08) rotate(-2deg);

  filter: drop-shadow(0 12px 18px rgba(58, 122, 197, 0.22));
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
  .services-grid {
    gap: 14px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }
}

@media (max-width: 850px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .all-services-container {
    width: 100%;
    padding: 0 var(--site-container-inline-padding);
  }

  .all-services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  #all-services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #all-services .service-card {
    height: auto;
    min-height: 0;
    padding: 5px;
    border-radius: 12px;
    grid-template-rows: auto auto 1fr auto;
  }

  #all-services .service-image {
    height: 72px;
  }

  #all-services .service-image img {
    width: 100%;
    max-width: 100%;
    height: 72px;
    padding-top: 18px;
  }

  #all-services .service-card h3 {
    height: auto;
    min-height: 0;
    padding: 6px 4px 0;
    font-size: 16px;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 18px 0;
  }

  #all-services .service-card p {
    width: 100%;
    padding: 0 4px;
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  #all-services .service-card .service-link {
    height: auto;
    margin-top: 8px;
    padding: 8px 4px 8px;
    gap: 4px;
    font-size: 11px;
  }

  #all-services .service-card .service-link span {
    font-size: 13px;
  }
}

@media (max-width: 550px) {
  .all-services-container {
    width: 100%;
    padding: 0 var(--site-container-inline-padding);
  }

  .all-services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
}

/* =========================================
   STRONG CARD HOVER ANIMATION
========================================= */

.service-card {
  transform-style: preserve-3d;
  transition:
    transform 0.55s cubic-bezier(0.17, 0.67, 0.3, 1.3),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
}

/* Moving Glow */

.service-card::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  top: -90px;
  left: -90px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(58, 122, 197, 0.2), transparent 70%);

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.4s ease,
    transform 0.8s ease;
}

#all-services .service-card,
.services-grid .service-card {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  gap: 12px;
}

.service-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* HOVER CARD */

.service-card:hover,
.service-card.is-active {
  transform: translateY(-14px) scale(1.035) rotateX(3deg) rotateY(-2deg);

  border-color: var(--color-primary);

  box-shadow: var(--shadow-services-card-hover);

  z-index: 5;
}

/* GLOW MOVEMENT */

.service-card:hover::after,
.service-card.is-active::after {
  opacity: 1;

  transform: translateX(330px) translateY(230px);
}

/* IMAGE ANIMATION */

.service-card:hover .service-image img,
.service-card.is-active .service-image img {
  transform: translateY(-14px) scale(1.15) rotate(-4deg);

  filter: drop-shadow(0 15px 22px rgba(58, 122, 197, 0.25));
}

/* TITLE */

.service-card:hover h3,
.service-card.is-active h3 {
  color: var(--color-primary);

  transform: translateY(-2px);

  transition: 0.35s ease;
}

/* DESCRIPTION */

.service-card:hover p,
.service-card.is-active p {
  color: var(--color-services-text-body);

  transition: 0.35s ease;
}

/* LINK */

.service-card:hover .service-link,
.service-card.is-active .service-link {
  color: var(--color-primary);

  transform: translateY(-2px);
}

/* ARROW */

.service-card:hover .service-link span,
.service-card.is-active .service-link span {
  transform: translateX(2px) scale(1.2);
}

.service-card:hover .service-image img,
.service-card.is-active .service-image img {
  animation: serviceFloat 1.8s ease-in-out infinite;
}

@keyframes serviceFloat {
  0%,
  100% {
    transform: translateY(-10px) scale(1.12) rotate(-3deg);
  }

  50% {
    transform: translateY(-20px) scale(1.17) rotate(3deg);
  }
}

@media (hover: none) {
  .service-card:hover:not(.is-active) {
    transform: translateY(0);
    border-color: var(--color-brand-tint-18);
    box-shadow: none;
    z-index: auto;
  }

  .service-card:hover:not(.is-active)::before,
  .service-card:hover:not(.is-active)::after {
    opacity: 0;
    transform: none;
  }

  .service-card:hover:not(.is-active) .service-image img {
    transform: none;
    filter: none;
    animation: none;
  }

  .service-card:hover:not(.is-active) h3,
  .service-card:hover:not(.is-active) p,
  .service-card:hover:not(.is-active) .service-link,
  .service-card:hover:not(.is-active) .service-link span {
    color: inherit;
    transform: none;
  }
}

/* =========================================
   MAIN SECTION
========================================= */

/* =====================================================
   WHY + PROCESS SECTION
   3D CSS ONLY - NO JAVASCRIPT
===================================================== */

.why-process-section {
  width: 100%;

  padding: 35px var(--site-container-inline-padding) 0;

  color: var(--color-services-text);

  position: relative;

  overflow: hidden;

  isolation: isolate;

  background: linear-gradient(135deg, #f5faff 0%, #eef5ff 50%, #f4f0ff 100%);
}

/* =====================================================
   BACKGROUND DEPTH
===================================================== */

.why-process-section::before {
  content: "";

  position: absolute;

  width: 620px;
  height: 620px;

  top: -320px;
  left: -180px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(70, 125, 225, 0.14),
    rgba(105, 85, 235, 0.06),
    transparent 72%
  );

  pointer-events: none;

  animation: whyBgDepthOne 10s ease-in-out infinite alternate;

  z-index: 0;
}

.why-process-section::after {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  right: -180px;
  bottom: -280px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(110, 85, 240, 0.12),
    rgba(70, 145, 220, 0.05),
    transparent 72%
  );

  pointer-events: none;

  animation: whyBgDepthTwo 12s ease-in-out infinite alternate;

  z-index: 0;
}

/* =====================================================
   TITLES
===================================================== */

.section-title {
  margin: 0 0 48px;

  text-align: center;

  color: var(--color-services-text);

  font-size: 28px;

  font-weight: 600;

  letter-spacing: -0.3px;

  position: relative;

  z-index: 2;

  opacity: 0;

  transform: perspective(900px) rotateX(-16deg) translateY(-25px)
    translateZ(-80px);

  animation: title3DReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.process-container h2 {
  text-align: center;

  color: var(--color-services-text);

  font-size: 28px;

  font-weight: 600;

  margin-top: 60px;

  margin-bottom: 50px;

  letter-spacing: -0.3px;

  position: relative;

  z-index: 2;

  opacity: 0;

  transform: perspective(900px) rotateX(-14deg) translateZ(-80px)
    translateY(-20px);

  animation: title3DReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

/* =====================================================
   WHY CHOOSE
===================================================== */

.why-choose-container {
  width: 100%;

  max-width: var(--site-container-max-width);

  padding: 0 var(--site-container-inline-padding);

  margin: 80px auto;

  position: relative;

  z-index: 2;

  perspective: 1500px;
}

.why-cards {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 20px;

  perspective: 1400px;
}

/* =====================================================
   WHY CARD
===================================================== */

.why-card {
  min-height: 215px;

  padding: 20px 20px 30px;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  border: 1px solid var(--color-brand-tint-18);

  border-radius: 15px;

  background: var(--gradient-services-card);

  box-shadow: var(--shadow-services-card);

  position: relative;

  overflow: hidden;

  opacity: 0;

  transform-style: preserve-3d;

  transform: perspective(1000px) rotateX(18deg) rotateY(-10deg)
    translateZ(-90px) scale(0.9);

  animation: whyCard3DLeft 0.95s cubic-bezier(0.18, 0.89, 0.32, 1.18) forwards;

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}

/* alternating direction */

.why-card:nth-child(even) {
  transform: perspective(1000px) rotateX(18deg) rotateY(10deg) translateZ(-90px)
    scale(0.9);

  animation-name: whyCard3DRight;
}

/* stagger */

.why-card:nth-child(1) {
  animation-delay: 0.15s;
}

.why-card:nth-child(2) {
  animation-delay: 0.28s;
}

.why-card:nth-child(3) {
  animation-delay: 0.41s;
}

.why-card:nth-child(4) {
  animation-delay: 0.54s;
}

.why-card:nth-child(5) {
  animation-delay: 0.67s;
}

.why-card:nth-child(6) {
  animation-delay: 0.8s;
}

/* =====================================================
   WHY CARD DEPTH
===================================================== */

.why-card::before {
  content: "";

  position: absolute;

  inset: 6px;

  border-radius: 12px;

  border: 1px solid rgba(70, 115, 220, 0);

  transform: translateZ(15px);

  pointer-events: none;

  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.why-card:hover::before {
  border-color: rgba(70, 115, 220, 0.18);

  box-shadow: inset 0 0 30px rgba(75, 95, 215, 0.04);
}

/* =====================================================
   WHY ICON
===================================================== */

.why-icon {
  width: 75px;
  height: 75px;

  margin-bottom: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--color-primary);

  font-size: 45px;

  position: relative;

  z-index: 3;

  transform: translateZ(28px);

  filter: drop-shadow(0 0 12px rgba(58, 122, 197, 0.35));

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}

.why-card:hover .why-icon {
  transform: translateZ(55px) translateY(-8px) rotateY(14deg) rotateX(-8deg)
    scale(1.1);

  filter: drop-shadow(0 14px 14px rgba(40, 80, 160, 0.22));
}

/* =====================================================
   WHY TEXT
===================================================== */

.why-card h3 {
  margin: 0 0 12px;

  font-size: 18px;

  font-weight: 600;

  color: var(--color-services-text);

  position: relative;

  z-index: 3;

  transform: translateZ(18px);

  transition:
    transform 0.4s ease,
    color 0.35s ease;
}

.why-card p {
  max-width: 195px;

  margin: 0;

  color: var(--color-services-text-body);

  font-size: 14px;

  line-height: 1.45;

  position: relative;

  z-index: 3;

  transform: translateZ(10px);

  transition:
    transform 0.4s ease,
    opacity 0.35s ease;
}

/* =====================================================
   WHY HOVER
===================================================== */

.why-card:hover {
  transform: perspective(1000px) rotateX(-5deg) rotateY(6deg) translateY(-12px)
    translateZ(45px) scale(1.035);

  border-color: var(--color-primary);

  box-shadow: 0 30px 60px rgba(48, 82, 150, 0.17);
}

.why-card:nth-child(even):hover {
  transform: perspective(1000px) rotateX(-5deg) rotateY(-6deg) translateY(-12px)
    translateZ(45px) scale(1.035);
}

.why-card:hover h3 {
  transform: translateZ(28px) translateY(-2px);

  color: var(--color-primary);
}

.why-card:hover p {
  transform: translateZ(20px) translateY(-2px);

  opacity: 0.88;
}

/* =====================================================
   PROCESS
===================================================== */

.process-container {
  position: relative;

  max-width: var(--site-container-max-width);

  margin: 155px auto 80px;

  z-index: 2;

  perspective: 1500px;
}

.process-container .section-title {
  margin-bottom: 10px;
}

/* =====================================================
   PROCESS LINE
===================================================== */

.process-line {
  position: absolute;

  top: 120px;

  left: 7%;

  width: 86%;

  border-top: 2px dashed rgba(58, 122, 197, 0.45);

  z-index: 0;

  transform: scaleX(0);

  transform-origin: left center;

  animation: processLine3D 1.3s ease 1.1s forwards;
}

/* =====================================================
   PROCESS STEPS
===================================================== */

.process-steps {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 12px;

  position: relative;

  z-index: 1;

  perspective: 1400px;
}

.process-step {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  opacity: 0;

  transform-style: preserve-3d;

  transform: perspective(900px) rotateX(20deg) translateZ(-100px)
    translateY(35px) scale(0.9);

  animation: processStep3D 0.9s cubic-bezier(0.18, 0.9, 0.3, 1.15) forwards;

  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* stagger */

.process-step:nth-child(1) {
  animation-delay: 0.75s;
}

.process-step:nth-child(2) {
  animation-delay: 0.9s;
}

.process-step:nth-child(3) {
  animation-delay: 1.05s;
}

.process-step:nth-child(4) {
  animation-delay: 1.2s;
}

.process-step:nth-child(5) {
  animation-delay: 1.35s;
}

.process-step:nth-child(6) {
  animation-delay: 1.5s;
}

/* =====================================================
   PROCESS ICON
===================================================== */

.process-icon {
  width: 75px;

  height: 75px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid var(--color-brand-tint-25);

  border-radius: 50%;

  color: var(--color-primary);

  font-size: 30px;

  background: var(--color-white);

  box-shadow: var(--shadow-services-card);

  position: relative;

  z-index: 3;

  transform: translateZ(30px);

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    background 0.4s ease;
}

/* Outer 3D ring */

.process-icon::before {
  content: "";

  position: absolute;

  inset: -7px;

  border-radius: 50%;

  border: 1px solid rgba(70, 120, 215, 0.18);

  opacity: 0;

  transform: translateZ(-10px) scale(0.7);

  transition:
    transform 0.45s ease,
    opacity 0.4s ease;
}

/* =====================================================
   PROCESS HOVER
===================================================== */

.process-step:hover {
  transform: perspective(900px) rotateX(-6deg) translateY(-12px)
    translateZ(55px) scale(1.04);
}

.process-step:hover .process-icon {
  transform: translateZ(70px) scale(1.16) rotateY(18deg) rotateX(-8deg);

  box-shadow: 0 20px 38px rgba(45, 80, 160, 0.18);

  background: linear-gradient(145deg, #ffffff, #eef5ff);
}

.process-step:hover .process-icon::before {
  opacity: 1;

  transform: translateZ(-10px) scale(1.12);
}

/* =====================================================
   STEP NUMBER
===================================================== */

.step-number {
  margin-top: 7px;

  color: var(--color-primary);

  font-size: 21px;

  font-weight: 600;

  position: relative;

  z-index: 2;

  transform: translateZ(18px);

  transition: transform 0.35s ease;
}

.process-step:hover .step-number {
  transform: translateZ(35px) translateY(-2px) scale(1.08);
}

/* =====================================================
   STEP TITLE
===================================================== */

.process-step h3 {
  font-size: 18px;

  font-weight: 600;

  margin-top: 20px;

  margin-bottom: 20px;

  color: var(--color-services-text);

  position: relative;

  z-index: 2;

  transform: translateZ(14px);

  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.process-step:hover h3 {
  transform: translateZ(30px) translateY(-2px);

  color: var(--color-primary);
}

/* =====================================================
   STEP DESCRIPTION
===================================================== */

.process-step p {
  margin: 0;

  color: var(--color-services-text-body);

  font-size: 16px;

  line-height: 1.35;

  position: relative;

  z-index: 2;

  transform: translateZ(8px);

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.process-step:hover p {
  transform: translateZ(20px) translateY(-2px);

  opacity: 0.88;
}

/* =====================================================
   CTA
===================================================== */

.process-cta {
  min-height: 120px;

  margin-top: 20px;

  padding: 20px var(--site-container-inline-padding);

  display: flex;

  align-items: center;

  justify-content: space-between;

  position: relative;

  overflow: hidden;

  border: 1px solid var(--color-brand-tint-18);

  border-radius: 15px;

  background: var(--gradient-services-featured);

  box-shadow: var(--shadow-services-card);

  opacity: 0;

  transform: perspective(1100px) rotateX(12deg) translateZ(-70px) scale(0.95);

  animation: cta3DReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 1.65s forwards;

  transition:
    transform 0.5s ease,
    box-shadow 0.45s ease;
}

/* decorative depth */

.process-cta::before {
  content: "";

  position: absolute;

  inset: 8px;

  border-radius: 11px;

  border: 1px solid rgba(80, 120, 220, 0.08);

  transform: translateZ(15px);

  pointer-events: none;
}

/* decorative light */

.process-cta::after {
  content: "";

  position: absolute;

  right: 0;

  bottom: -100px;

  width: 500px;

  height: 230px;

  background: repeating-radial-gradient(
    ellipse at center,
    transparent 0 9px,
    rgba(58, 122, 197, 0.12) 10px 11px
  );

  transform: rotate(-12deg);

  opacity: 0.55;
}

.process-cta:hover {
  transform: perspective(1100px) rotateX(-3deg) translateY(-7px)
    translateZ(35px) scale(1.01);

  box-shadow: 0 25px 55px rgba(45, 80, 150, 0.16);
}

/* =====================================================
   CTA CONTENT
===================================================== */

.cta-content {
  position: relative;

  z-index: 2;

  transform: translateZ(25px);
}

.cta-content h2 {
  margin: 0 0 6px;

  font-size: 26px;

  font-weight: 600;

  color: var(--color-services-text);
}

.cta-content p {
  margin: 0;

  color: var(--color-services-text-body);

  font-size: 17px;
}

/* =====================================================
   CTA BUTTON
===================================================== */

.cta-button {
  min-width: 230px;

  height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 25px;

  position: relative;

  z-index: 3;

  border-radius: 13px;

  color: var(--color-white);

  background: linear-gradient(
    135deg,
    var(--color-service-accent),
    var(--color-service-accent-deep)
  );

  font-size: 17px;

  text-decoration: none;

  box-shadow: 0 8px 25px rgba(58, 122, 197, 0.28);

  transform: translateZ(30px);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.cta-button span {
  font-size: 28px;

  transition: transform 0.35s ease;
}

.cta-button:hover {
  transform: translateZ(55px) translateY(-5px) scale(1.03);

  box-shadow: 0 16px 35px rgba(58, 122, 197, 0.34);
}

.cta-button:hover span {
  transform: translateX(8px) rotate(-8deg);
}

/* =====================================================
   KEYFRAMES
===================================================== */

@keyframes title3DReveal {
  0% {
    opacity: 0;

    transform: perspective(900px) rotateX(-16deg) translateY(-25px)
      translateZ(-80px);
  }

  100% {
    opacity: 1;

    transform: perspective(900px) rotateX(0) translateY(0) translateZ(0);
  }
}

@keyframes whyCard3DLeft {
  0% {
    opacity: 0;

    transform: perspective(1000px) rotateX(24deg) rotateY(-18deg)
      translateZ(-120px) scale(0.82);

    filter: blur(5px);
  }

  70% {
    opacity: 1;

    transform: perspective(1000px) rotateX(-4deg) rotateY(4deg) translateZ(20px)
      scale(1.03);

    filter: blur(0);
  }

  100% {
    opacity: 1;

    transform: perspective(1000px) rotateX(0) rotateY(0) translateZ(0) scale(1);
  }
}

@keyframes whyCard3DRight {
  0% {
    opacity: 0;

    transform: perspective(1000px) rotateX(24deg) rotateY(18deg)
      translateZ(-120px) scale(0.82);

    filter: blur(5px);
  }

  70% {
    opacity: 1;

    transform: perspective(1000px) rotateX(-4deg) rotateY(-4deg)
      translateZ(20px) scale(1.03);

    filter: blur(0);
  }

  100% {
    opacity: 1;

    transform: perspective(1000px) rotateX(0) rotateY(0) translateZ(0) scale(1);
  }
}

@keyframes processStep3D {
  0% {
    opacity: 0;

    transform: perspective(900px) rotateX(20deg) translateZ(-100px)
      translateY(35px) scale(0.9);
  }

  75% {
    opacity: 1;

    transform: perspective(900px) rotateX(-4deg) translateZ(20px)
      translateY(-3px) scale(1.03);
  }

  100% {
    opacity: 1;

    transform: perspective(900px) rotateX(0) translateZ(0) translateY(0)
      scale(1);
  }
}

@keyframes processLine3D {
  from {
    transform: scaleX(0);

    opacity: 0;
  }

  to {
    transform: scaleX(1);

    opacity: 1;
  }
}

@keyframes cta3DReveal {
  0% {
    opacity: 0;

    transform: perspective(1100px) rotateX(12deg) translateZ(-70px) scale(0.95);
  }

  100% {
    opacity: 1;

    transform: perspective(1100px) rotateX(0) translateZ(0) scale(1);
  }
}

@keyframes whyBgDepthOne {
  0% {
    transform: translate(0, 0) scale(0.9);
  }

  100% {
    transform: translate(100px, 60px) scale(1.2);
  }
}

@keyframes whyBgDepthTwo {
  0% {
    transform: translate(0, 0) scale(0.9);
  }

  100% {
    transform: translate(-85px, -55px) scale(1.2);
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
  }

  .process-line {
    display: none;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {
  .why-process-section {
    padding: 0;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

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

  .why-card {
    transform: perspective(800px) rotateX(12deg) translateZ(-50px) scale(0.95);
  }

  .why-card:hover {
    transform: perspective(800px) rotateX(-2deg) translateY(-6px)
      translateZ(20px) scale(1.01);
  }

  .process-step:hover {
    transform: perspective(800px) rotateX(-2deg) translateY(-6px)
      translateZ(20px) scale(1.01);
  }

  .process-cta {
    flex-direction: column;

    align-items: flex-start;

    gap: 25px;

    padding: 25px;
  }

  .cta-button {
    width: 100%;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
  .process-container {
    padding: 0 var(--site-container-inline-padding);
  }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {
  .why-process-section::before,
  .why-process-section::after,
  .section-title,
  .process-container h2,
  .why-card,
  .process-step,
  .process-line,
  .process-cta {
    animation: none !important;
  }

  .section-title,
  .process-container h2,
  .why-card,
  .process-step,
  .process-cta {
    opacity: 1;

    transform: none;

    filter: none;
  }
}
