/* ==========================================================================
   MAIN STYLESHEET — RIYADH ELECTRICIAN & PLUMBING LUXURY WEBSITE (RTL)
   ========================================================================== */

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

html {
  direction: rtl;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font-primary);
  background-color: var(--surface-page);
  color: var(--color-navy);
  line-height: 1.7;
  overflow-x: clip;
  position: relative;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-sky);
  outline-offset: 3px;
}

::selection {
  background: var(--color-sky);
  color: var(--color-navy);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   1. LOADING SCREEN (Fast, no fake delay)
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 40%, #163756 0%, var(--color-navy) 55%, var(--color-navy-deep) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.55s var(--ease-out-expo), visibility 0.55s var(--ease-out-expo);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__mark {
  position: relative;
  padding: 0.9rem 1.4rem;
  border-radius: 22px;
  background: rgba(121, 189, 240, 0.08);
  border: 1px solid rgba(121, 189, 240, 0.28);
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px rgba(121, 189, 240, 0.16);
}

.preloader__logo {
  height: 54px;
  width: auto;
  animation: pulseMark 1.6s ease-in-out infinite;
}

.preloader__bar {
  width: 180px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.preloader__progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-sky), var(--color-white));
  transform-origin: right center;
  animation: loadProgress 0.75s var(--ease-out-expo) forwards;
}

@keyframes pulseMark {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes loadProgress {
  0% { transform: scaleX(0.15); }
  100% { transform: scaleX(1); }
}

/* ==========================================================================
   2. CUSTOM CURSOR (Desktop fine pointers only)
   ========================================================================== */
.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.25s ease, width 0.25s var(--ease-out-expo), height 0.25s var(--ease-out-expo), background-color 0.25s ease, border-color 0.25s ease;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin-top: -17px;
  margin-left: -17px;
  border-radius: 50%;
  border: 1.5px solid rgba(121, 189, 240, 0.75);
  background: rgba(121, 189, 240, 0.06);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--color-sky);
}

.cursor-ring.is-visible,
.cursor-dot.is-visible {
  opacity: 1;
}

.cursor-ring.is-hovering {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  background: rgba(121, 189, 240, 0.14);
  border-color: var(--color-sky);
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .cursor-ring,
  .cursor-dot {
    display: none !important;
  }
}

/* ==========================================================================
   3. BUTTONS & MICRO-INTERACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.2;
  transition: transform var(--duration-fast) var(--ease-out-expo),
              background-color var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease,
              border-color var(--duration-fast) ease,
              color var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.btn:hover svg.icon-arrow {
  transform: translateX(-4px);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--color-sky);
  color: var(--color-navy);
  box-shadow: var(--shadow-sky);
}

.btn--primary:hover {
  background: var(--color-sky-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(121, 189, 240, 0.42);
}

.btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.24);
}

.btn--navy:hover {
  background: var(--color-navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 42, 67, 0.32);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn--glass:hover {
  background: rgba(121, 189, 240, 0.22);
  border-color: var(--color-sky);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--border-medium);
}

.btn--outline:hover {
  border-color: var(--color-sky);
  background: var(--color-soft-sky);
  transform: translateY(-2px);
}

.btn--soft {
  background: var(--color-soft-sky);
  color: var(--color-navy);
}

.btn--soft:hover {
  background: var(--color-sky);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.62rem 1.15rem;
  font-size: var(--text-xs);
}

.btn--icon-only {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   4. HEADER & GLASSMORPHISM NAVIGATION (Reference-inspired)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.56) 0%, rgba(16, 42, 67, 0.14) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(16, 42, 67, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(121, 189, 240, 0.2);
  box-shadow: 0 12px 32px rgba(10, 29, 47, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.brand-logo__img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--duration-fast) var(--ease-out-expo), opacity var(--duration-fast) ease;
}

.brand-logo:hover .brand-logo__img {
  transform: scale(1.03);
}

.brand-logo--footer .brand-logo__img {
  height: 52px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.35vw, 1.35rem);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  padding-block: 0.35rem;
  transition: color var(--duration-fast) ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-sky);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.sound-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--duration-fast) ease;
}

.sound-toggle:hover {
  background: rgba(121, 189, 240, 0.22);
  border-color: var(--color-sky);
  color: var(--color-sky);
}

.sound-toggle.is-enabled {
  background: rgba(121, 189, 240, 0.24);
  border-color: var(--color-sky);
  color: var(--color-sky);
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
}

/* Custom Animated Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s ease, width 0.3s ease;
}

.hamburger span:nth-child(2) {
  width: 14px;
  align-self: flex-end;
  margin-inline-end: 11px;
}

.hamburger.is-open {
  background: rgba(121, 189, 240, 0.22);
  border-color: var(--color-sky);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Fullscreen Glassmorphism Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(10, 29, 47, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5.5rem 1.75rem 2.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s var(--ease-out-expo);
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(121, 189, 240, 0.35);
  color: var(--color-white);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-out-expo), background-color 0.25s ease;
}

.mobile-menu__close:hover {
  transform: rotate(90deg);
  background: rgba(121, 189, 240, 0.22);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu__item {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu__item {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.78rem 0.5rem;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.25s ease, padding-right 0.25s ease;
}

.mobile-menu__link:hover {
  color: var(--color-sky);
  padding-right: 0.9rem;
}

.mobile-menu__footer {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* ==========================================================================
   5. HERO SECTION & FLOATING SERVICE-REQUEST PANEL (Reference Composition)
   ========================================================================== */
.hero-wrapper {
  position: relative;
  background: var(--color-ice);
  padding-bottom: 2.5rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 3.2rem);
  padding-bottom: 7.5rem;
  overflow: hidden;
  background-color: var(--color-navy-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.03);
  will-change: transform;
}

/* Cinematic Midnight Navy directional overlay + subtle sky-blue atmosphere */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(10, 29, 47, 0.88) 0%, rgba(16, 42, 67, 0.72) 44%, rgba(16, 42, 67, 0.28) 78%, rgba(16, 42, 67, 0.42) 100%),
    linear-gradient(180deg, rgba(16, 42, 67, 0.45) 0%, rgba(16, 42, 67, 0.08) 40%, rgba(10, 29, 47, 0.78) 100%);
  z-index: 1;
}

.hero__glow {
  position: absolute;
  top: -12%;
  right: 8%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 189, 240, 0.2) 0%, rgba(121, 189, 240, 0) 68%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(121, 189, 240, 0.16);
  border: 1px solid rgba(121, 189, 240, 0.36);
  backdrop-filter: blur(10px);
  color: var(--color-soft-sky);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sky);
  box-shadow: 0 0 12px var(--color-sky);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  text-shadow: 0 6px 28px rgba(10, 29, 47, 0.45);
}

.hero__title span {
  color: var(--color-sky);
}

.hero__desc {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: rgba(243, 249, 253, 0.88);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.15rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem;
}

.hero__actions .btn {
  padding: 0.95rem 2rem;
  font-size: 0.98rem;
}

/* Floating Rounded Highlights Strip Overlapping Hero Bottom */
.floating-panel-wrap {
  position: relative;
  z-index: 25;
  margin-top: -64px;
}

.floating-highlights {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.65rem;
  box-shadow: var(--shadow-floating);
  border: 1px solid rgba(121, 189, 240, 0.28);
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.fh-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 1rem;
  border-left: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: background-color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.fh-item:last-child {
  border-left: none;
}

.fh-item:hover {
  background: var(--color-ice);
  transform: translateY(-2px);
}

.fh-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--color-soft-sky);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(121, 189, 240, 0.35);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.fh-item:hover .fh-item__icon {
  background: var(--color-navy);
  color: var(--color-sky);
  transform: scale(1.06);
}

.fh-item__icon svg {
  width: 22px;
  height: 22px;
}

.fh-item__title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.fh-item__sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-slate);
  line-height: 1.45;
}

/* ==========================================================================
   6. SHARED SECTION HEADERS & LAYOUT HELPERS
   ========================================================================== */
.section {
  padding-block: var(--section-py);
  position: relative;
}

.section--white {
  background: var(--color-white);
}

.section--ice {
  background: var(--color-ice);
}

.section--soft {
  background: var(--color-soft-sky);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-header--right {
  text-align: right;
  margin-inline: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--color-soft-sky);
  color: var(--color-navy);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(121, 189, 240, 0.4);
}

.section--navy .section-badge {
  background: rgba(121, 189, 240, 0.14);
  color: var(--color-sky);
  border-color: rgba(121, 189, 240, 0.3);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.28;
  color: var(--color-navy);
  margin-bottom: 0.85rem;
}

.section--navy .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-slate);
  line-height: 1.8;
}

.section--navy .section-subtitle {
  color: rgba(220, 239, 250, 0.8);
}

/* ==========================================================================
   7 & 8. PHOTO-DRIVEN SERVICES SECTIONS (Reference-Matched Layout + Brand Palette)
   ========================================================================== */
.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.45rem;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out-expo), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.svc-tab:hover {
  transform: translateY(-2px);
  border-color: var(--color-sky);
  box-shadow: var(--shadow-sm);
}

.svc-tab.is-active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.2);
}

.svc-tab__num {
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0.75;
}

.svc-group-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.svc-group-bar__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.svc-group-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--border-medium);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.svc-group-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
}

.svc-group-count {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-slate);
  white-space: nowrap;
}

.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.65rem;
}

.svc-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sky-border);
}

.svc-card__media {
  position: relative;
  width: 100%;
  height: 228px;
  overflow: hidden;
  background: var(--color-navy);
}

.svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.svc-card:hover .svc-card__img {
  transform: scale(1.06);
}

.svc-card__icon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.16);
  transition: transform 0.3s var(--ease-out-expo), background-color 0.25s ease, color 0.25s ease;
}

.svc-card__icon-badge svg {
  width: 20px;
  height: 20px;
}

.svc-card:hover .svc-card__icon-badge {
  transform: scale(1.08);
  background: var(--color-sky);
  color: var(--color-navy);
}

.svc-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.34rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 42, 67, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(121, 189, 240, 0.3);
}

.svc-card__body {
  padding: 1.45rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.svc-card__title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.svc-card__desc {
  font-size: 0.9rem;
  color: var(--color-slate);
  line-height: 1.78;
  margin-bottom: 1.25rem;
  flex: 1 1 auto;
}

.svc-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.68rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.22s var(--ease-out-expo), background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.svc-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.svc-btn:active {
  transform: scale(0.97);
}

.svc-btn--wa {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(16, 42, 67, 0.16);
}

.svc-btn--wa svg {
  color: var(--color-sky);
  transition: color 0.22s ease, transform 0.22s var(--ease-out-expo);
}

.svc-btn--wa:hover {
  background: var(--color-sky);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sky);
}

.svc-btn--wa:hover svg {
  color: var(--color-navy);
  transform: scale(1.1);
}

.svc-btn--call {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1.5px solid var(--border-medium);
}

.svc-btn--call svg {
  color: var(--color-navy);
  transition: color 0.22s ease, transform 0.22s var(--ease-out-expo);
}

.svc-btn--call:hover {
  background: var(--color-soft-sky);
  border-color: var(--color-sky);
  transform: translateY(-2px);
}

.svc-btn--call:hover svg {
  color: var(--color-navy);
  transform: scale(1.1);
}

.svc-section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 42, 67, 0.12) 15%, rgba(16, 42, 67, 0.12) 85%, transparent 100%);
  margin-top: 3.5rem;
}

/* ==========================================================================
   9. ADDITIONAL SERVICES — 8 ICON-BASED ARCHITECTURAL GRID
   ========================================================================== */
.additional-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.mini-service {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.55rem 1.35rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.35s ease, background-color 0.3s ease;
}

.mini-service:nth-child(even) {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-ice) 100%);
}

.mini-service:hover {
  transform: translateY(-6px);
  border-color: var(--color-sky);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.mini-service__icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--color-soft-sky);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out-expo), background-color 0.3s ease, color 0.3s ease;
}

.mini-service__icon svg {
  width: 24px;
  height: 24px;
}

.mini-service:hover .mini-service__icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--color-sky);
  color: var(--color-navy);
}

.mini-service__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.45;
}

.mini-service__tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-slate);
}

/* ==========================================================================
   10. COMPANY SHOWCASE — 12 ITEMS SEAMLESS INFINITE MARQUEE
   ========================================================================== */
.showcase-section {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
  position: relative;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  direction: ltr; /* ensures smooth CSS translateX infinite loop without RTL quirks */
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.15rem;
  animation: marqueeScroll 42s linear infinite;
}

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

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.showcase-item {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.45rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(121, 189, 240, 0.2);
  min-width: 235px;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.showcase-item:hover {
  background: rgba(121, 189, 240, 0.14);
  border-color: var(--color-sky);
  transform: translateY(-3px);
}

.showcase-item__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(121, 189, 240, 0.14);
  color: var(--color-sky);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.showcase-item__logo svg {
  width: 22px;
  height: 22px;
}

.showcase-item__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.showcase-item__cat {
  font-size: 0.74rem;
  color: var(--color-soft-sky);
  opacity: 0.78;
}

/* ==========================================================================
   11. ABOUT US — LAYERED EDITORIAL COMPOSITION (Reference-inspired)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-visual {
  position: relative;
  padding-bottom: 3.5rem;
  padding-left: 2.5rem;
}

.about-visual__main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  background: var(--color-navy);
}

.about-visual__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.about-visual:hover .about-visual__main img {
  transform: scale(1.04);
}

.about-visual__secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--color-white);
  box-shadow: var(--shadow-lg);
  background: var(--color-navy-mid);
}

.about-visual__secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating frosted glass badge inspired by reference image */
.about-visual__glass-badge {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: var(--color-white);
  box-shadow: 0 16px 36px rgba(16, 42, 67, 0.2);
}

.about-visual__glass-badge svg {
  width: 34px;
  height: 34px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-block: 1.75rem;
}

.pillar-card {
  background: var(--color-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-xs);
}

.pillar-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pillar-card__title::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-sky);
}

.pillar-card__text {
  font-size: 0.82rem;
  color: var(--color-slate);
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--color-white);
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding-inline: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

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

.stat-item__value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-sky);
  line-height: 1.2;
}

.stat-item__label {
  font-size: 0.76rem;
  color: var(--color-soft-sky);
  margin-top: 0.25rem;
}

/* ==========================================================================
   12. WHY CHOOSE US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.why-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.35s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-sky);
  box-shadow: var(--shadow-sm);
}

.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-soft-sky);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.why-card:hover .why-card__icon {
  background: var(--color-navy);
  color: var(--color-sky);
}

.why-card__icon svg {
  width: 24px;
  height: 24px;
}

.why-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.why-card__desc {
  font-size: 0.86rem;
  color: var(--color-slate);
  line-height: 1.7;
}

/* ==========================================================================
   13. HOW WE WORK — 4-STEP TIMELINE
   ========================================================================== */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-line {
  position: absolute;
  top: 44px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: rgba(121, 189, 240, 0.25);
  z-index: 0;
}

.process-line__fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, var(--color-sky), var(--color-navy));
  transform-origin: right center;
}

.process-step {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.45rem 1.75rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sky);
}

.process-step__node {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-sky);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.2);
}

.process-step__num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-sky);
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.process-step__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--color-slate);
  line-height: 1.7;
}

/* ==========================================================================
   14. PORTFOLIO / RECENT WORK — LAYERED EDITORIAL GRID
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  gap: 1.4rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-navy);
  box-shadow: var(--shadow-sm);
  min-height: 260px;
}

.portfolio-card--featured {
  grid-row: 1 / span 2;
  min-height: 540px;
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out-expo);
}

.portfolio-card:hover .portfolio-card__img {
  transform: scale(1.07);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.08) 25%, rgba(10, 29, 47, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--color-white);
}

.portfolio-card__cat {
  align-self: flex-start;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(121, 189, 240, 0.22);
  border: 1px solid rgba(121, 189, 240, 0.45);
  backdrop-filter: blur(8px);
  color: var(--color-soft-sky);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.portfolio-card__title {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.portfolio-card__note {
  font-size: 0.8rem;
  color: rgba(220, 239, 250, 0.78);
}

.portfolio-disclaimer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-slate);
}

/* ==========================================================================
   15. CUSTOMER REVIEWS — EXACTLY 6 REVIEWS CAROUSEL
   ========================================================================== */
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.reviews-arrows {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--border-medium);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

.slider-arrow:hover {
  background: var(--color-navy);
  color: var(--color-sky);
  border-color: var(--color-navy);
  transform: scale(1.06);
}

.reviews-viewport {
  overflow: hidden;
  padding-block: 0.5rem 1.25rem;
  margin-inline: -0.5rem;
  padding-inline: 0.5rem;
}

.reviews-track {
  display: flex;
  gap: 1.35rem;
  transition: transform 0.55s var(--ease-out-expo);
  touch-action: pan-y;
}

.review-card {
  flex: 0 0 calc((100% - 2.7rem) / 3);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-sky);
}

.review-card__stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-sky);
}

.review-card__stars svg {
  width: 17px;
  height: 17px;
}

.review-card__text {
  font-size: 0.92rem;
  color: var(--color-slate);
  line-height: 1.85;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.review-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-soft-sky);
  background: var(--color-navy);
  flex-shrink: 0;
}

.review-card__name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
}

.review-card__service {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-slate);
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 42, 67, 0.2);
  transition: width 0.3s var(--ease-out-expo), background-color 0.3s ease;
}

.reviews-dot.is-active {
  width: 28px;
  background: var(--color-sky);
}

/* ==========================================================================
   16. CONTACT SECTION — FLOATING FORM & DIRECT CHANNELS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.15fr;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}

.contact-info-card {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.85rem, 3.5vw, 2.75rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 189, 240, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(121, 189, 240, 0.2);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-channel:hover {
  background: rgba(121, 189, 240, 0.14);
  border-color: var(--color-sky);
  transform: translateX(-4px);
}

.contact-channel__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(121, 189, 240, 0.16);
  color: var(--color-sky);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-channel__label {
  font-size: 0.78rem;
  color: var(--color-soft-sky);
  opacity: 0.85;
}

.contact-channel__value {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-white);
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

.contact-form-panel {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.85rem, 3.5vw, 2.75rem);
  border: 1px solid rgba(121, 189, 240, 0.3);
  box-shadow: var(--shadow-floating);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-navy);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: var(--color-ice);
  color: var(--color-navy);
  font-size: 0.94rem;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-sky);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(121, 189, 240, 0.2);
}

.form-control.is-invalid {
  border-color: #DC2626;
  background: #FEF2F2;
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.form-error {
  font-size: 0.78rem;
  color: #DC2626;
  font-weight: 600;
  min-height: 1.1em;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--info {
  background: var(--color-soft-sky);
  color: var(--color-navy);
  border: 1px solid var(--color-sky);
}

.form-status--error {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

/* ==========================================================================
   17. FAQ SECTION — SMOOTH ANIMATED ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-open {
  border-color: var(--color-sky);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: right;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-navy);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-soft-sky);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.32s var(--ease-out-expo), opacity 0.25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.is-open .faq-icon {
  background: var(--color-navy);
  color: var(--color-sky);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--ease-out-expo);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-panel__content {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.93rem;
  color: var(--color-slate);
  line-height: 1.85;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* ==========================================================================
   18. FINAL CTA SECTION
   ========================================================================== */
.final-cta {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
  background: var(--color-navy-deep);
  color: var(--color-white);
}

.final-cta__bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}

.final-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 29, 47, 0.9) 0%, rgba(16, 42, 67, 0.78) 60%, rgba(16, 42, 67, 0.88) 100%);
  z-index: 1;
}

.final-cta__box {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.2rem, 4.5vw, 3.4rem);
  border-radius: var(--radius-xl);
  background: rgba(16, 42, 67, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(121, 189, 240, 0.3);
}

.final-cta__title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 0.95rem;
}

.final-cta__desc {
  font-size: 1.05rem;
  color: var(--color-soft-sky);
  margin-bottom: 2rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   19. PREMIUM FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(243, 249, 253, 0.84);
  padding-top: 4.5rem;
  border-top: 1px solid rgba(121, 189, 240, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 1.05fr;
  gap: 2.25rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--color-sky);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(220, 239, 250, 0.78);
  transition: color 0.22s ease, transform 0.22s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-sky);
  transform: translateX(-4px);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(121, 189, 240, 0.2);
  color: var(--color-soft-sky);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.social-link:hover {
  background: var(--color-sky);
  color: var(--color-navy);
  transform: translateY(-3px);
}

/* Developer Credit Card (Khaled Digital Solutions — Brand-Matched Sky Blue & Midnight Navy) */
.kds-credit {
  margin-top: 2.25rem;
  padding: 1.35rem 1.65rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 42, 67, 0.92) 0%, rgba(13, 34, 56, 0.96) 100%);
  border: 1px solid rgba(121, 189, 240, 0.24);
  box-shadow: 0 14px 36px rgba(5, 16, 28, 0.32), inset 0 1px 0 rgba(121, 189, 240, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.kds-credit__brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.kds-credit__monogram {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--color-sky) 0%, #5BA9E6 100%);
  color: var(--color-navy-deep);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(121, 189, 240, 0.28);
}

.kds-credit__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.kds-credit__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(121, 189, 240, 0.14);
  border: 1px solid rgba(121, 189, 240, 0.34);
  color: var(--color-sky);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.kds-credit__name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-white);
  direction: ltr;
  unicode-bidi: isolate;
}

.kds-credit__role {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-soft-sky);
}

.kds-credit__desc {
  font-size: 0.78rem;
  color: rgba(220, 239, 250, 0.72);
  line-height: 1.6;
}

.kds-credit__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-pill);
  background: rgba(121, 189, 240, 0.1);
  border: 1px solid rgba(121, 189, 240, 0.38);
  color: var(--color-white);
  font-size: 0.86rem;
  font-weight: 700;
  direction: ltr;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.kds-credit__link svg {
  width: 16px;
  height: 16px;
  color: var(--color-sky);
  transition: transform 0.25s var(--ease-out-expo), color 0.25s ease;
}

.kds-credit__link:hover {
  background: var(--color-sky);
  border-color: var(--color-sky);
  color: var(--color-navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sky);
}

.kds-credit__link:hover svg {
  color: var(--color-navy-deep);
  transform: translateX(-3px);
}

.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(220, 239, 250, 0.68);
}

/* Floating Quick Action Cluster */
.floating-actions {
  position: fixed;
  bottom: 1.35rem;
  left: 1.35rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.fab:hover {
  transform: translateY(-3px) scale(1.06);
}

.fab--sky {
  background: var(--color-sky);
  color: var(--color-navy);
}

.fab--navy {
  background: var(--color-navy);
  color: var(--color-white);
  border: 1px solid rgba(121, 189, 240, 0.35);
}

/* ==========================================================================
   20. RESPONSIVE DESIGN (Mobile-First Polish)
   ========================================================================== */
@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .header-cta-desktop {
    display: none;
  }
}

@media (max-width: 1024px) {
  .floating-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .fh-item {
    border-left: none;
    border: 1px solid var(--border-subtle);
    padding: 0.85rem;
  }
  .svc-cards-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .additional-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-line {
    display: none;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .portfolio-card--featured {
    grid-row: auto;
    min-height: 360px;
  }
  .review-card {
    flex: 0 0 calc((100% - 1.35rem) / 2);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .hero {
    min-height: 82vh;
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 6.2rem;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(10, 29, 47, 0.84) 0%, rgba(16, 42, 67, 0.72) 55%, rgba(10, 29, 47, 0.88) 100%);
  }
  .floating-panel-wrap {
    margin-top: -46px;
  }
  .floating-highlights {
    border-radius: 22px;
    padding: 1rem;
    grid-template-columns: 1fr;
  }
  .kds-credit {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }
  .kds-credit__link {
    width: 100%;
    justify-content: center;
  }
  .svc-cards-grid,
  .why-grid,
  .process-timeline,
  .about-pillars,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .stat-item {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 0.75rem;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .review-card {
    flex: 0 0 100%;
  }
  .about-visual {
    padding-left: 1rem;
    padding-bottom: 2.5rem;
  }
  .about-visual__secondary {
    width: 60%;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .floating-actions {
    bottom: 1rem;
    left: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo), visibility 0.3s ease;
  }
  .floating-actions.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .fab {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .additional-grid {
    grid-template-columns: 1fr;
  }
  .mobile-menu__footer {
    grid-template-columns: 1fr;
  }
}

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