/* ============================================
   ZAYAN Interior Design - Main Styles
   Global styles, base components, layout
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&family=Cairo:wght@300;400;500;600;700;800;900&display=swap");

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-gray);
  background-color: var(--color-primary);
  overflow-x: hidden;
}

/* Language-specific fonts */
html[lang="ar"] {
  font-family: var(--font-secondary);
}

html[lang="en"] {
  font-family: var(--font-primary);
}

/* Arabic pages (*-ar.html): Cairo everywhere (the English fonts have no
   Arabic glyphs). Letter-spacing breaks the joins between Arabic letters
   and Cairo has no true italics, so both are switched off. */
html[lang="ar"] {
  --font-primary: "Cairo", system-ui, sans-serif;
  --font-heading: "Cairo", sans-serif;
  --font-nav: "Cairo", sans-serif;
}

html[lang="ar"] body * {
  letter-spacing: normal !important;
  font-style: normal !important;
}

html[lang="ar"] :is(h1, h2, h3, h4) {
  line-height: 1.35;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-white);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-tight);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
}

h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
}

p {
  line-height: var(--lh-relaxed);
}

small {
  font-size: var(--fs-small);
}

/* Eyebrow label */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ============================================
   LINKS & TEXT SELECTION
   ============================================ */

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--color-gold-dark);
}

::selection {
  background-color: var(--color-gold);
  color: var(--color-primary);
}

::-moz-selection {
  background-color: var(--color-gold);
  color: var(--color-primary);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--spacing-2xl);
  }
}

/* ============================================
   FLEX & GRID UTILITIES
   ============================================ */

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.grid {
  display: grid;
}

.gap-sm {
  gap: var(--spacing-sm);
}
.gap-md {
  gap: var(--spacing-md);
}
.gap-lg {
  gap: var(--spacing-lg);
}
.gap-xl {
  gap: var(--spacing-xl);
}
.gap-2xl {
  gap: var(--spacing-2xl);
}

/* ============================================
   BUTTONS (Strategy-inspired pill buttons)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary Button - Gold */
.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  box-shadow: var(--shadow-gold-strong);
  transform: translateY(-2px);
}

/* Light sweep across gold buttons on hover */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s var(--motion-ease);
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 150%;
}

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

/* Secondary Button - Outline */
.btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-secondary:hover {
  background-color: rgb(var(--color-gold-rgb) / 0.1);
  border-color: var(--color-gold-dark);
  color: var(--color-gold-dark);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Button Sizes */
.btn-sm {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--fs-small);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: 1.125rem;
  border-width: 2px;
}

/* ============================================
   FORMS
   ============================================ */

input,
textarea,
select {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  color: var(--color-white);
  background-color: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: var(--transition-base);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-gray-dark);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgb(var(--color-gold-rgb) / 0.05);
  box-shadow: 0 0 0 3px rgb(var(--color-gold-rgb) / 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
  font-family: var(--font-primary);
}

/* ============================================
   PREMIUM LUXURY NAVBAR (Strategy-inspired pill header)
   ============================================ */

.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-sticky);
  background-color: transparent;
  padding: 20px 0;
}

/* The blurred backdrop lives on a pseudo-element: a backdrop-filter (or
   transform) on the header itself would become the containing block of
   the fixed mobile menu inside it and collapse the menu. */
.navbar-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgb(var(--color-primary-rgb) / 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--color-border-light);
  opacity: 0;
  transition:
    opacity var(--transition-slow),
    transform 0.5s var(--motion-ease);
}

.navbar-header.scrolled::before {
  opacity: 1;
}

.navbar {
  width: 100%;
  padding: 0;
  transition: transform 0.5s var(--motion-ease);
}

/* Hidden while scrolling down (components.js), back on scroll up */
.navbar-header.nav-hidden:not(:focus-within) .navbar,
.navbar-header.nav-hidden:not(:focus-within)::before {
  transform: translateY(-130%);
}

.navbar-container {
  max-width: 1320px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 25px 5px 30px;
  gap: var(--spacing-2xl);
  background: var(--color-tertiary);
  border-radius: var(--radius-pill);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

/* LOGO */
.navbar-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-base);
  padding: 8px 0;
}

.navbar-logo-link:hover {
  opacity: 0.9;
}

.navbar-logo-link:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.navbar-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* DESKTOP NAVIGATION */
.navbar-nav-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: clamp(0.25rem, 1.2vw, 1.5rem);
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-nav-item {
  position: relative;
}

.navbar-nav-link {
  color: var(--color-gray);
  font-family: var(--font-nav);
  font-weight: var(--fw-regular);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-base);
  padding: 18px 15px;
  display: block;
}

.navbar-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav-link:hover {
  color: var(--color-gold);
}

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

.navbar-nav-link:focus {
  outline: none;
  color: var(--color-gold);
}

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

.navbar-nav-link.active {
  color: var(--color-gold);
}

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

/* ---------- Services dropdown (desktop) ---------- */
.navbar-caret {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-inline-start: 0.35rem;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-base);
}

.has-dropdown.is-open .navbar-caret {
  transform: rotate(180deg);
}

.navbar-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 5;
  width: 300px;
  padding: 0.6rem;
  background: rgb(29 30 32 / 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border-gold);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base);
}

/* Invisible bridge so the pointer can travel from the link to the panel */
.navbar-dropdown::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.has-dropdown.is-open .navbar-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.navbar-dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-dropdown-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  font-family: var(--font-nav);
  font-size: 0.9rem;
  color: var(--color-gray);
  border-radius: 10px;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.navbar-dropdown-list a:hover,
.navbar-dropdown-list a:focus-visible,
.navbar-dropdown-list a.is-current {
  color: var(--color-gold);
  background: rgb(var(--color-gold-rgb) / 0.08);
  outline: none;
}

.navbar-dropdown-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--color-gold);
  border: 1px solid rgb(var(--color-gold-rgb) / 0.3);
  border-radius: 9px;
}

.navbar-dropdown-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navbar-dropdown-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding: 0.75rem 0.7rem 0.4rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  border-top: 1px solid var(--color-border);
}

.navbar-dropdown-all:hover {
  color: var(--color-gold-bright);
}

[dir="rtl"] .navbar-dropdown-all span {
  transform: scaleX(-1);
}

/* ---------- Services submenu (mobile menu) ---------- */
.navbar-mobile-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgb(var(--color-gold-rgb) / 0.1);
}

.navbar-mobile-row .navbar-mobile-nav-link {
  flex: 1;
  border-bottom: 0;
}

.navbar-mobile-submenu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--color-gold);
  background: rgb(var(--color-gold-rgb) / 0.08);
  border: 1px solid rgb(var(--color-gold-rgb) / 0.25);
  border-radius: 50%;
  cursor: pointer;
}

.navbar-mobile-submenu-toggle .navbar-caret {
  width: 18px;
  height: 18px;
  margin: 0;
}

.has-submenu.is-open .navbar-mobile-submenu-toggle .navbar-caret {
  transform: rotate(180deg);
}

.navbar-mobile-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow);
}

.has-submenu.is-open .navbar-mobile-submenu {
  grid-template-rows: 1fr;
}

.navbar-mobile-submenu ul {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-mobile-submenu li:first-child {
  margin-top: 0.5rem;
}

.navbar-mobile-submenu li:last-child {
  margin-bottom: 0.75rem;
}

.navbar-mobile-submenu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.98rem;
  color: var(--color-gray);
  border-inline-start: 1px solid rgb(var(--color-gold-rgb) / 0.3);
  transition:
    color var(--transition-base),
    border-color var(--transition-base);
}

.navbar-mobile-submenu a:hover,
.navbar-mobile-submenu a.is-current {
  color: var(--color-gold);
  border-inline-start-color: var(--color-gold);
}

/* RIGHT SECTION */
.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-shrink: 0;
}

/* LANGUAGE SWITCH */
.navbar-lang-switch {
  display: flex;
  align-items: center;
  margin-right: var(--spacing-lg);
}

.navbar-lang-btn {
  display: inline-block;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color var(--transition-base);
  padding: 6px 8px;
  position: relative;
}

.navbar-lang-btn::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 8px;
  right: 8px;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-lang-btn:hover {
  color: var(--color-gold);
}

.navbar-lang-btn:hover::after {
  transform: scaleX(1);
}

.navbar-lang-btn:focus {
  outline: none;
  color: var(--color-gold);
}

.navbar-lang-btn:focus::after {
  transform: scaleX(1);
}

/* CTA BUTTON - PREMIUM (Strategy-inspired) */
.navbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--spacing-lg);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  padding: 8px 20px;
  white-space: nowrap;
  background-color: var(--color-gold);
  border: none;
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.navbar-cta:hover {
  background-color: var(--color-gold-bright);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.navbar-cta:focus {
  outline: none;
  box-shadow: 0 0 20px rgb(var(--color-gold-rgb) / 0.35);
}

/* MOBILE MENU TOGGLE */
.navbar-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-gold);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition-base);
  position: relative;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.navbar-menu-toggle:hover {
  color: var(--color-gold-dark);
}

.hamburger {
  display: block;
  position: relative;
  width: 22px;
  height: 16px;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  left: 0;
  transition: all var(--transition-base);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 7px;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.navbar-menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.navbar-menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.navbar-mobile-menu {
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  z-index: calc(var(--z-sticky) - 1);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-slow),
    visibility var(--transition-slow);
  overflow-y: auto;
}

.navbar-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.navbar-mobile-menu-content {
  padding: var(--spacing-3xl) var(--spacing-2xl);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  position: relative;
}

.navbar-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-mobile-nav-item {
  opacity: 0;
  animation: slideInUp 0.4s ease-out forwards;
}

.navbar-mobile-nav-link {
  display: block;
  font-size: 1.25rem;
  font-weight: var(--fw-medium);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
  text-decoration: none;
  transition: color var(--transition-base);
  border-bottom: 1px solid rgb(var(--color-gold-rgb) / 0.1);
}

.navbar-mobile-nav-link:hover {
  color: var(--color-gold);
}

/* Mobile Language */
.navbar-mobile-lang {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid rgb(var(--color-gold-rgb) / 0.15);
  border-bottom: 1px solid rgb(var(--color-gold-rgb) / 0.15);
}

.navbar-mobile-lang-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--spacing-lg);
  font-weight: var(--fw-semibold);
}

.navbar-mobile-lang-options {
  display: flex;
  gap: var(--spacing-lg);
}

.navbar-mobile-lang-option {
  display: block;
  text-align: center;
  text-decoration: none;
  flex: 1;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: var(--fw-medium);
  transition: var(--transition-base);
}

.navbar-mobile-lang-option:hover,
.navbar-mobile-lang-option.active {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgb(var(--color-gold-rgb) / 0.1);
}

/* Mobile CTA */
.navbar-mobile-cta {
  width: 100%;
  margin-top: auto;
  margin-bottom: var(--spacing-xl);
}

/* Gold decorative line */
.navbar-mobile-gold-line {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-gold),
    transparent
  );
  margin-top: var(--spacing-lg);
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-5xl) 0 var(--spacing-xl);
  background:
    radial-gradient(ellipse 50% 60% at 15% 0%, rgb(var(--color-gold-rgb) / 0.06), transparent 70%),
    var(--color-secondary);
  border-top: 1px solid var(--color-border-gold);
}

/* Gold hairline accent along the top edge */
.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(420px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: translateX(-50%);
}

.footer-watermark {
  position: absolute;
  bottom: -0.22em;
  left: 50%;
  font-family: var(--font-heading);
  font-size: clamp(7rem, 22vw, 20rem);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--color-gold-rgb) / 0.07);
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.25fr);
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.footer-brand p {
  max-width: 34ch;
  margin-bottom: var(--spacing-xl);
  font-size: 0.95rem;
}

.footer-section h4 {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  font-size: 1rem;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}

.footer-section ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: var(--color-gray);
  transition: color var(--transition-base);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition:
    width var(--transition-slow),
    margin var(--transition-slow);
}

.footer-section a:hover {
  color: var(--color-gold);
}

.footer-links a:hover::before {
  width: 14px;
  margin-inline-end: 8px;
}

.footer-hours {
  display: grid;
  gap: 0.4rem;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--fs-small);
  background: rgb(var(--color-primary-rgb) / 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.footer-hours-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
  font-size: var(--fs-tiny);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-gold);
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  color: var(--color-gray);
}

.footer-hours strong {
  font-weight: var(--fw-medium);
  white-space: nowrap;
  color: var(--color-white);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  color: var(--color-gray);
}

.social-links a:hover {
  background-color: rgb(var(--color-gold-rgb) / 0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
  color: var(--color-gray-dark);
}

.footer-bottom p {
  font-size: var(--fs-small);
}

.footer-credit {
  color: var(--color-gray-dark);
}

.footer-credit a {
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  color: var(--color-gold);
  transition: color var(--transition-base);
}

.footer-credit a:hover {
  color: var(--color-gold-bright);
}

@media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

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

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: var(--transition-base);
  overflow: hidden;
}

.card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}

.card-title {
  font-size: var(--fs-h4);
  margin-bottom: var(--spacing-md);
}

.card-description {
  color: var(--color-gray);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   ICON SYSTEM (SVG)
   ============================================ */

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon container for cards */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-gold);
  margin-bottom: var(--spacing-lg);
  transition: var(--transition-base);
}

.icon-box .icon {
  width: 24px;
  height: 24px;
}

.card:hover .icon-box {
  border-color: var(--color-gold);
  background-color: rgb(var(--color-gold-rgb) / 0.08);
}

/* ============================================
   SECTION SPACING
   ============================================ */

.section {
  padding: var(--spacing-5xl) var(--spacing-xl);
}

.section-small {
  padding: var(--spacing-3xl) var(--spacing-xl);
}

.section-large {
  padding: var(--spacing-6xl) var(--spacing-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: var(--spacing-lg) auto 0;
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */

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

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: var(--transition-base);
}

.image-container:hover .image-overlay {
  background-color: rgb(var(--color-gold-rgb) / 0.2);
}

.image-container img {
  transition: transform var(--motion-duration) var(--motion-ease);
}

.image-container:hover img {
  transform: scale(1.03);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.text-gold {
  color: var(--color-gold);
}
.text-white {
  color: var(--color-white);
}
.text-gray {
  color: var(--color-gray);
}

.bg-primary {
  background-color: var(--color-primary);
}
.bg-secondary {
  background-color: var(--color-secondary);
}
.bg-tertiary {
  background-color: var(--color-tertiary);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}
.mt-md {
  margin-top: var(--spacing-md);
}
.mt-lg {
  margin-top: var(--spacing-lg);
}
.mt-xl {
  margin-top: var(--spacing-xl);
}
.mt-2xl {
  margin-top: var(--spacing-2xl);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}
.mb-md {
  margin-bottom: var(--spacing-md);
}
.mb-lg {
  margin-bottom: var(--spacing-lg);
}
.mb-xl {
  margin-bottom: var(--spacing-xl);
}
.mb-2xl {
  margin-bottom: var(--spacing-2xl);
}

.p-md {
  padding: var(--spacing-md);
}
.p-lg {
  padding: var(--spacing-lg);
}
.p-xl {
  padding: var(--spacing-xl);
}
.p-2xl {
  padding: var(--spacing-2xl);
}

.opacity-50 {
  opacity: 0.5;
}
.opacity-75 {
  opacity: 0.75;
}
.opacity-100 {
  opacity: 1;
}

/* ============================================
   PAGE-SPECIFIC SHARED COMPONENTS
   ============================================ */

/* Page Hero (used on inner pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(640px, 72vh);
  padding: 170px 0 96px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgb(var(--color-primary-rgb) / 0.98), rgba(23, 24, 26, 0.82)),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 34px,
      rgb(var(--color-gold-rgb) / 0.035) 35px,
      transparent 36px
    );
  border-bottom: 1px solid var(--color-border-gold);
}

/* Optional background photo (set per page from data.js) */
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05) brightness(0.7);
}

.page-hero-media:not(:has(img[src])) {
  display: none;
}

/* Colour grade over the photo: solid on the copy side */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--color-primary) 0%, rgb(var(--color-primary-rgb) / 0.88) 38%, rgb(var(--color-primary-rgb) / 0.45) 75%, rgb(var(--color-primary-rgb) / 0.3) 100%),
    linear-gradient(0deg, var(--color-primary) 0%, transparent 45%),
    linear-gradient(180deg, rgb(var(--color-primary-rgb) / 0.8) 0%, transparent 30%);
}

[dir="rtl"] .page-hero::before {
  background:
    linear-gradient(270deg, var(--color-primary) 0%, rgb(var(--color-primary-rgb) / 0.88) 38%, rgb(var(--color-primary-rgb) / 0.45) 75%, rgb(var(--color-primary-rgb) / 0.3) 100%),
    linear-gradient(0deg, var(--color-primary) 0%, transparent 45%),
    linear-gradient(180deg, rgb(var(--color-primary-rgb) / 0.8) 0%, transparent 30%);
}

/* Oversized outlined word (data-watermark="...") */
.page-hero::after {
  content: attr(data-watermark);
  position: absolute;
  inset-inline-end: -0.04em;
  bottom: -0.16em;
  z-index: -1;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--color-gold-rgb) / 0.14);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.page-hero .eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.page-hero h1 {
  max-width: 780px;
  margin: 18px 0 var(--spacing-lg);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.page-hero-subtitle {
  max-width: 620px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: var(--lh-relaxed);
}

.page-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
  padding: 0.45rem 1rem;
  font-size: var(--fs-small);
  color: var(--color-gray-dark);
  background: rgb(var(--color-primary-rgb) / 0.55);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-breadcrumbs a {
  color: var(--color-gold);
}

.page-breadcrumbs a:hover {
  color: var(--color-gold-bright);
}

/* Grid utility: 2 / 3 / 4 columns */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

/* About Story */
.about-story-text h2 {
  margin-bottom: var(--spacing-2xl);
}

.about-story-text p {
  margin-bottom: var(--spacing-lg);
  max-width: 540px;
}

.about-story-image {
  height: 460px;
}

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

/* Vision & Mission Cards */
.vision-mission-card {
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  transition: var(--transition-base);
  height: 100%;
}

.vision-mission-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.vision-mission-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-gold);
  margin-bottom: var(--spacing-lg);
}

.vision-mission-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vision-mission-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

/* Core Values Grid */
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.value-card {
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-gold);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Philosophy Grid */
.philosophy-grid {
  align-items: center;
}

.philosophy-image {
  height: 460px;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-text-block h2 {
  margin-bottom: var(--spacing-2xl);
}

.philosophy-text-block p {
  margin-bottom: var(--spacing-lg);
  max-width: 540px;
}

/* Why Choose Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.why-choose-grid .card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.why-choose-grid .card p {
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: var(--color-secondary);
  border-top: 1px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-border-gold);
  padding: var(--spacing-6xl) var(--spacing-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 70% at 50% 0%, rgb(var(--color-gold-rgb) / 0.12), transparent 70%),
    radial-gradient(ellipse 30% 60% at 100% 100%, rgb(var(--color-gold-rgb) / 0.06), transparent 70%),
    repeating-linear-gradient(135deg, transparent 0, transparent 34px, rgb(var(--color-gold-rgb) / 0.03) 35px, transparent 36px);
}

/* Gold hairline centred on the top edge */
.cta-section::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(360px, 50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: translateX(-50%);
}

.cta-section .eyebrow {
  display: block;
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  max-width: 560px;
  margin: calc(var(--spacing-2xl) * -0.5) auto var(--spacing-2xl);
  color: var(--color-gray);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  max-width: 820px;
  margin: 0 auto var(--spacing-2xl);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--color-white);
}

/* Light button (used on gold CTA sections) */
.btn-light {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
}

/* Services Page Grid */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  align-items: stretch;
}

.services-page-grid > .card,
.related-services-grid > .card {
  min-width: 0;
}

.services-page-grid > .card {
  display: flex;
  flex-direction: column;
}

.services-page-grid > .card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.service-card-data {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-elevated);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card-data:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--spacing-xl);
}

.service-card-body .icon-box {
  margin-bottom: var(--spacing-md);
}

.service-card-body .card-title a {
  color: var(--color-white);
}

.service-card-body .card-title a:hover {
  color: var(--color-gold);
}

/* Process Grid (Services page) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.process-step {
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: var(--transition-base);
  height: 100%;
}

.process-step:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.process-step p {
  font-size: 0.9rem;
}

.process-number {
  font-size: 2rem;
  font-weight: var(--fw-black);
  color: rgb(var(--color-gold-rgb) / 0.35);
  line-height: 1;
  margin-bottom: var(--spacing-md);
  transition: color var(--transition-base);
}

.process-step:hover .process-number {
  color: var(--color-gold);
}

/* Contact Page */
.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgb(var(--color-gold-rgb) / 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-hours-card {
  margin-top: var(--spacing-xl);
  border-color: var(--color-gold);
}

.contact-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.contact-form label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
  font-weight: var(--fw-medium);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.success-message,
.error-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  display: none;
  font-size: 0.95rem;
}

.success-message {
  background: rgb(var(--color-gold-rgb) / 0.1);
  border-left: 4px solid var(--color-gold);
}

.error-message {
  background: color-mix(in srgb, var(--color-error), transparent 88%);
  border-left: 4px solid var(--color-error);
}

.faq-grid .card {
  margin-bottom: var(--spacing-md);
}

.faq-grid .card:last-child {
  margin-bottom: 0;
}

/* Service Detail Page */
.service-details-grid {
  margin-bottom: var(--spacing-5xl);
  gap: var(--spacing-xl);
}

.service-features-column,
.service-benefits-column {
  padding: var(--spacing-2xl);
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  border-radius: 8px;
}

.service-features-column h2,
.service-benefits-column h2 {
  margin: var(--spacing-sm) 0 var(--spacing-xl);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.service-info-image {
  height: 460px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

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

.service-meta {
  padding: var(--spacing-2xl);
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.service-meta h2 {
  margin: var(--spacing-sm) 0 var(--spacing-2xl);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.service-process-block {
  margin-top: var(--spacing-5xl);
  padding-top: var(--spacing-3xl);
  border-top: 1px solid var(--color-border);
}

.service-process-block > h2 {
  margin: var(--spacing-md) 0 var(--spacing-2xl);
}

.service-process-grid .process-step {
  background: transparent;
  padding: var(--spacing-lg) 0;
  border-width: 1px 0 0;
  border-radius: 0;
}

.service-process-grid .process-step:hover {
  border-color: var(--color-gold);
  box-shadow: none;
  transform: translateY(-2px);
}

.service-meta-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.service-meta-label {
  display: block;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--spacing-xs);
}

.related-services-grid > .card {
  display: flex;
  flex-direction: column;
}

.related-services-grid > .card .btn {
  margin-top: auto;
}

/* Feature list items (SVG check) */
.features-list,
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-xl);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.feature-item .icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Footer contact item */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.footer-contact-item .icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Testimonial star ratings & avatar placeholder */
.rating {
  display: flex;
  gap: var(--spacing-2xs);
  color: var(--color-gold);
}

.rating .icon {
  width: 16px;
  height: 16px;
}

.author-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tertiary);
  color: var(--color-gold);
}

/* ============================================
   STRATEGY-INSPIRED SECTION STYLES
   ============================================ */

/* Global Sections */
section,
.section {
  overflow: clip;
  scroll-margin-top: 90px;
}
@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/* Global Section Titles (Strategy pattern) */
.section-title-strategy {
  padding-bottom: 60px;
  position: relative;
  text-align: center;
}
.section-title-strategy h2 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-gray), transparent 50%);
  position: relative;
}
.section-title-strategy h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--color-gold);
  margin: 4px 10px;
  transform-origin: left;
}

[dir="rtl"] .section-title-strategy h2::after {
  transform-origin: right;
}

html.motion-ready .section-title-strategy.animate-visible h2::after {
  animation: drawRule 1.1s var(--reveal-ease) 0.35s backwards;
}

@keyframes drawRule {
  from {
    transform: scaleX(0);
  }
}

/* Second kicker word in gold on every strategy title */
.section-title-strategy div span:last-child {
  color: var(--color-gold);
}
.section-title-strategy div {
  margin: 0;
  color: var(--color-white);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.services-strategy .section-title-strategy div span:first-child {
  color: var(--color-white);
}
.services-strategy .section-title-strategy div span:last-child {
  color: var(--color-gold);
}

/* Hero Section (Strategy-inspired) */
.hero-strategy {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
}
.hero-strategy::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 10px
  );
  z-index: 1;
}
.hero-strategy .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-strategy .hero-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 3rem;
}
@media (min-width: 992px) {
  .hero-strategy .hero-content-col {
    position: relative;
    top: 1.75rem;
  }
}
@media (max-width: 991px) {
  .hero-strategy .hero-content-col {
    padding-right: 15px;
    margin-bottom: 3rem;
  }
}
.hero-strategy .hero-agency-name h5 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-gold);
  margin: 0 0 1.5rem;
}
.hero-strategy .hero-main-heading h1 {
  font-size: clamp(3.25rem, 4.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 640px;
  margin: 0 0 2rem;
  color: var(--color-white);
}
@media (max-width: 1200px) {
  .hero-strategy .hero-main-heading h1 {
    font-size: clamp(3rem, 5vw, 3.75rem);
  }
}
@media (max-width: 767px) {
  .hero-strategy .hero-main-heading h1 {
    font-size: 3rem;
  }
}
@media (max-width: 480px) {
  .hero-strategy .hero-main-heading h1 {
    font-size: 2.5rem;
  }
}
.hero-strategy .hero-divider {
  width: 60%;
  height: 1px;
  background-color: color-mix(in srgb, var(--color-white), transparent 85%);
  margin-bottom: 2rem;
}
@media (max-width: 767px) {
  .hero-strategy .hero-divider {
    width: 100%;
  }
}
.hero-strategy .hero-description p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-white), transparent 20%);
  margin: 0 0 2.5rem;
  max-width: 580px;
}
.hero-strategy .hero-cta .btn-hero {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  border: 1px solid color-mix(in srgb, var(--color-white), transparent 40%);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.hero-strategy .hero-cta .btn-hero span {
  margin-right: 0.5rem;
}
.hero-strategy .hero-cta .btn-hero i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.hero-strategy .hero-cta .btn-hero:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-primary);
}
.hero-strategy .hero-cta .btn-hero:hover i {
  transform: translateX(5px);
}
.hero-strategy .hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991px) {
  .hero-strategy .hero-visual {
    flex-direction: column;
  }
}
.hero-strategy .hero-stats-card {
  position: absolute;
  bottom: 10%;
  right: 0;
  background-color: color-mix(in srgb, var(--color-tertiary), transparent 50%);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--color-white), transparent 90%);
  border-radius: 10px;
  padding: 1.5rem;
  width: 210px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
@media (max-width: 991px) {
  .hero-strategy .hero-stats-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
    width: 90%;
  }
}
.hero-strategy .hero-stats-card .stats-number h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}
.hero-strategy .hero-stats-card .stats-label p {
  font-size: 0.9rem;
  margin: 0;
}

/* About Section (Strategy-inspired) */
.about-strategy .about-image {
  position: relative;
}
/* The photo is clipped by its own frame so the badge can overhang it */
.about-image-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-2xl);
}
.about-strategy .about-image .experience-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: var(--color-gold);
  color: var(--color-primary);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 140px;
}
.about-strategy .about-image .experience-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 5px;
}
.about-strategy .about-image .experience-badge .text {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .about-strategy .about-image .experience-badge {
    right: 0;
    bottom: 20px;
    padding: 1rem;
    min-width: 120px;
  }
  .about-strategy .about-image .experience-badge .years {
    font-size: 2rem;
  }
}
.about-strategy .about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .about-strategy .about-content h2 {
    font-size: 1.8rem;
  }
}
.about-strategy .about-content .lead {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: color-mix(in srgb, var(--color-white), transparent 30%);
}

/* Services Section (Strategy-inspired service cards) */
.services-strategy .service-card {
  min-height: 330px;
  padding: 36px;
  margin-bottom: 0;
  border: 1px solid var(--color-border-gold);
  transition: all 0.3s ease;
  background: linear-gradient(
    145deg,
    var(--color-tertiary),
    color-mix(in srgb, var(--color-secondary), transparent 18%)
  );
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.services-strategy .service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}
.services-strategy .service-card .service-icon {
  margin-bottom: 24px;
  background-color: color-mix(in srgb, var(--color-gold), transparent 90%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--color-gold), transparent 65%);
  border-radius: 8px;
  width: 64px;
  height: 64px;
  color: var(--color-gold);
}
.services-strategy .service-card .service-icon svg {
  width: 30px;
  height: 30px;
}
.services-strategy .service-card .service-icon i {
  font-size: 32px;
  color: var(--color-gold);
  transition: all 0.3s ease;
}
.services-strategy .service-card:hover .service-icon i {
  transform: scale(1.1);
}
.services-strategy .service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}
.services-strategy .service-card h3 a {
  color: var(--color-white);
}
.services-strategy .service-card h3 a:hover {
  color: var(--color-gold);
}
.services-strategy .service-card .card-action {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: var(--color-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.services-strategy .service-card:hover .card-action {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .services-strategy .service-card {
    min-height: 290px;
    padding: 28px 25px 25px;
  }
  .services-strategy .service-card h3 {
    font-size: 24px;
  }
  .services-strategy .service-card .service-icon {
    position: static;
  }
}

/* Call To Action (Strategy-inspired advertise-1) */
.call-to-action-strategy {
  position: relative;
  background-color: color-mix(in srgb, var(--color-gold), transparent 97%);
  border-radius: 1rem;
  overflow: hidden;
  padding: 80px 0;
}
.call-to-action-strategy .badge {
  background-color: color-mix(in srgb, var(--color-gold), transparent 90%);
  color: var(--color-gold);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 2rem;
}
.call-to-action-strategy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--color-white);
}
.call-to-action-strategy p {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.9;
}
.call-to-action-strategy .features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--color-tertiary);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.call-to-action-strategy .features .feature-item:hover {
  transform: translateY(-2px);
}
.call-to-action-strategy .features .feature-item i {
  color: var(--color-gold);
  font-size: 1.25rem;
}
.call-to-action-strategy .cta-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.call-to-action-strategy .cta-buttons .btn.btn-outline {
  border: 2px solid color-mix(in srgb, var(--color-gold), transparent 70%);
  color: var(--color-gold);
}
.call-to-action-strategy .cta-buttons .btn.btn-outline:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.call-to-action-strategy .content-right {
  flex-shrink: 0;
  max-width: 100%;
  width: 450px;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.call-to-action-strategy .content-right img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
}
.call-to-action-strategy .decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.call-to-action-strategy .decoration .circle-1,
.call-to-action-strategy .decoration .circle-2 {
  position: absolute;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-gold), transparent 90%);
}
.call-to-action-strategy .decoration .circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  opacity: 0.5;
}
.call-to-action-strategy .decoration .circle-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  opacity: 0.3;
}
@media (max-width: 991.98px) {
  .call-to-action-strategy {
    padding: 2rem;
  }
  .call-to-action-strategy .content-right {
    width: 100%;
    margin-top: 2rem;
  }
}

/* Testimonials (Strategy-inspired) */
.testimonials-strategy .testimonial-item {
  background-color: var(--color-tertiary);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}
@media (max-width: 575px) {
  .testimonials-strategy .testimonial-item {
    padding: 20px;
  }
}
.testimonials-strategy .testimonial-item h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}
.testimonials-strategy .testimonial-item p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
}
.testimonials-strategy .testimonial-item .rating {
  color: var(--color-gold-bright);
}
.testimonials-strategy .testimonial-item .profile .profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonials-strategy .testimonial-item .profile .profile-info h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

/* Portfolio (Strategy-inspired) */
.portfolio-strategy .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0 0 40px;
  list-style: none;
}
.portfolio-strategy .portfolio-filters li {
  font-size: 15px;
  font-weight: 500;
  padding: 12px 25px;
  cursor: pointer;
  background: var(--color-tertiary);
  color: var(--color-gray);
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.portfolio-strategy .portfolio-filters li:hover {
  color: var(--color-gold);
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--color-gold), transparent 92%);
}
.portfolio-strategy .portfolio-filters li.filter-active {
  background: var(--color-gold);
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .portfolio-strategy .portfolio-filters li {
    padding: 8px 20px;
    font-size: 14px;
  }
}
.portfolio-strategy .portfolio-entry {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition:
    border-color var(--transition-slow),
    box-shadow var(--transition-slow),
    transform var(--transition-slow);
}
.portfolio-strategy .portfolio-entry:hover {
  border-color: var(--color-border-gold);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(-6px);
}
.portfolio-strategy .portfolio-entry .entry-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
}
.portfolio-strategy .portfolio-entry .entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--motion-ease);
}
.portfolio-strategy .portfolio-entry .entry-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  background: linear-gradient(180deg, transparent 35%, rgb(var(--color-primary-rgb) / 0.92) 100%);
}
.portfolio-strategy .portfolio-entry .entry-overlay > div {
  flex: 1;
  transform: translateY(8px);
  transition: transform var(--transition-slower);
}
.portfolio-strategy .portfolio-entry:hover .entry-overlay > div {
  transform: none;
}
.portfolio-strategy .portfolio-entry:hover .entry-image img {
  transform: scale(1.07);
}
.portfolio-strategy .portfolio-entry .entry-meta {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
}
.portfolio-strategy .portfolio-entry .entry-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
}
.portfolio-strategy .portfolio-entry .entry-arrow {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--color-primary);
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}
.portfolio-strategy .portfolio-entry:hover .entry-arrow {
  opacity: 1;
  transform: rotate(-45deg);
}
[dir="rtl"] .portfolio-strategy .portfolio-entry .entry-arrow svg {
  transform: scaleX(-1);
}
@media (hover: none) {
  .portfolio-strategy .portfolio-entry .entry-arrow {
    opacity: 1;
    transform: rotate(-45deg) scale(0.85);
  }
}

/* Projects Directory and Detail Pages */
.project-list-hero,
.project-detail-hero {
  min-height: 390px;
}

.project-page-intro {
  max-width: 650px;
  margin-bottom: var(--spacing-3xl);
}

.project-page-intro h2 {
  margin: var(--spacing-sm) 0 var(--spacing-md);
  font-size: clamp(2rem, 4vw, 3rem);
}

.project-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
}

.project-directory-card {
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-base);
}

.project-directory-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-directory-image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-directory-image img,
.project-more-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-directory-card:hover .project-directory-image img,
.project-more-card:hover img {
  transform: scale(1.04);
}

.project-directory-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 1.25rem;
}

.project-directory-content {
  padding: var(--spacing-xl);
}

.project-directory-content h3 {
  margin: var(--spacing-sm) 0 var(--spacing-md);
  font-size: 1.5rem;
}

.project-directory-content h3 a {
  color: var(--color-white);
}

.project-directory-content h3 a:hover {
  color: var(--color-gold);
}

.text-link {
  display: inline-flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  color: var(--color-gold);
  font-weight: var(--fw-semibold);
}

.project-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.75fr);
  gap: var(--spacing-4xl);
  align-items: start;
  margin-bottom: var(--spacing-4xl);
}

.project-story-copy h2 {
  margin: var(--spacing-sm) 0 var(--spacing-lg);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.project-story-copy p {
  max-width: 680px;
  margin-bottom: var(--spacing-lg);
}

.project-story-copy .project-lead {
  color: var(--color-white);
  font-size: 1.15rem;
  line-height: 1.8;
}

.project-facts {
  border-top: 2px solid var(--color-gold);
  background: var(--color-tertiary);
  padding: var(--spacing-xl);
  border-radius: 8px;
}

.project-facts div {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.project-facts div:last-child {
  border-bottom: 0;
}

.project-facts span {
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.project-facts strong {
  color: var(--color-white);
  font-weight: var(--fw-medium);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.project-gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.project-gallery-featured {
  grid-column: span 2;
  aspect-ratio: 16 / 8;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.03);
}

.project-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.project-more-card {
  display: block;
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-tertiary);
}

.project-more-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgb(var(--color-primary-rgb) / 0.95));
}

.project-more-card span,
.project-more-card h3 {
  position: absolute;
  left: var(--spacing-lg);
  z-index: 1;
}

.project-more-card span {
  bottom: 58px;
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.project-more-card h3 {
  bottom: 18px;
  margin: 0;
  color: var(--color-white);
  font-size: 1.15rem;
}
.portfolio-strategy .portfolio-entry .entry-links a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tertiary);
  color: var(--color-gold);
  border-radius: 12px;
  font-size: 20px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}
.portfolio-strategy .portfolio-entry:hover .entry-links a {
  opacity: 1;
  transform: translateY(0);
}

/* Team Section (Strategy-inspired) */
.team-strategy .team-member {
  position: relative;
  background-color: var(--color-tertiary);
  border: 1px solid color-mix(in srgb, var(--color-white), transparent 90%);
  border-radius: 8px;
  transition: 0.3s;
  overflow: hidden;
  display: flex;
}
.team-strategy .team-member:hover {
  border-color: color-mix(in srgb, var(--color-gold), transparent 70%);
}
.team-strategy .team-member .member-img {
  flex: 0 0 200px;
  overflow: hidden;
}
.team-strategy .team-member .member-img img {
  width: 200px;
  height: 100%;
  object-fit: cover;
}
.team-strategy .team-member .member-info {
  padding: 25px;
  text-align: left;
  flex: 1;
}
.team-strategy .team-member .member-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-white);
}
.team-strategy .team-member .member-info span {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--color-white), transparent 30%);
  display: block;
  margin-bottom: 15px;
}
.team-strategy .team-member .member-info .social {
  display: flex;
  gap: 10px;
}
.team-strategy .team-member .member-info .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-white);
  transition: 0.3s;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--color-white), transparent 90%);
}
.team-strategy .team-member .member-info .social a:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}
@media (max-width: 767px) {
  .team-strategy .team-member {
    flex-direction: column;
  }
  .team-strategy .team-member .member-img {
    flex: auto;
  }
  .team-strategy .team-member .member-img img {
    width: 100%;
    border-radius: 8px 8px 0 0;
  }
  .team-strategy .team-member .member-info {
    text-align: center;
  }
  .team-strategy .team-member .member-info .social {
    justify-content: center;
  }
}

/* Pricing Section (Strategy-inspired) */
.pricing-strategy .pricing-card {
  height: 100%;
  background: var(--color-tertiary);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  transition: all 0.4s;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--color-white), transparent 90%);
}
.pricing-strategy .pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.pricing-strategy .pricing-card.popular {
  border: 2px solid var(--color-gold);
}
.pricing-strategy .popular-tag {
  position: absolute;
  top: 20px;
  right: -35px;
  background-color: var(--color-gold);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 40px;
  transform: rotate(45deg);
}
.pricing-strategy .plan-header {
  padding: 30px 30px 20px;
  text-align: center;
}
.pricing-strategy .plan-header .plan-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-gold), transparent 90%);
}
.pricing-strategy .plan-header .plan-icon i {
  font-size: 28px;
  color: var(--color-gold);
}
.pricing-strategy .plan-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pricing-strategy .plan-header p {
  font-size: 15px;
  color: color-mix(in srgb, var(--color-white), transparent 30%);
}
.pricing-strategy .plan-pricing {
  text-align: center;
  padding: 10px 30px 20px;
}
.pricing-strategy .plan-pricing .currency {
  font-size: 24px;
  vertical-align: top;
  line-height: 1;
  color: var(--color-white);
  font-weight: 600;
}
.pricing-strategy .plan-pricing .amount {
  font-size: 60px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}
.pricing-strategy .plan-pricing .period {
  font-size: 16px;
  color: color-mix(in srgb, var(--color-white), transparent 40%);
}
.pricing-strategy .plan-features {
  padding: 20px 30px;
  flex: 1;
}
.pricing-strategy .plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-strategy .plan-features ul li {
  padding: 12px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--color-white), transparent 20%);
}
.pricing-strategy .plan-features ul li.disabled {
  color: color-mix(in srgb, var(--color-white), transparent 60%);
}
.pricing-strategy .plan-cta {
  padding: 10px 30px 30px;
  text-align: center;
}
.pricing-strategy .plan-cta .btn-plan {
  display: inline-block;
  width: 100%;
  padding: 14px 32px;
  background-color: color-mix(in srgb, var(--color-white), transparent 95%);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}
@media (max-width: 992px) {
  .pricing-strategy .pricing-card {
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .pricing-strategy .plan-pricing .amount {
    font-size: 48px;
  }
}

/* FAQ Section (Strategy-inspired) */
.faq-strategy .faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
}
.faq-strategy .faq-description {
  font-size: 1rem;
  color: var(--color-gray);
  margin-bottom: 2rem;
}
.faq-strategy .faq-container .faq-item {
  background-color: var(--color-tertiary);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}
.faq-strategy .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.faq-strategy .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.faq-strategy .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}
.faq-strategy .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
  color: var(--color-gray);
}
.faq-strategy .faq-container .faq-item .faq-toggle:hover {
  color: var(--color-gold);
}
.faq-strategy .faq-container .faq-active h3 {
  color: var(--color-gold);
}
.faq-strategy .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}
.faq-strategy .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--color-gold);
}

/* RTL: toggle on the left, arrow pointing the reading direction */
[dir="rtl"] .faq-strategy .faq-container .faq-item h3 {
  margin: 0 0 0 30px;
}
[dir="rtl"] .faq-strategy .faq-container .faq-item .faq-toggle {
  right: auto;
  left: 20px;
  transform: scaleX(-1);
}
[dir="rtl"] .faq-strategy .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
}

/* Contact Info Box (Strategy-inspired) */
.contact-strategy .contact-info-box {
  background-color: var(--color-tertiary);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  padding: 25px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.contact-strategy .contact-info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.contact-strategy .contact-info-box .icon-box {
  background-color: color-mix(in srgb, var(--color-gold), transparent 90%);
  color: var(--color-gold);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-strategy .contact-info-box .icon-box i {
  font-size: 24px;
}
.contact-strategy .contact-info-box .info-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-strategy .contact-info-box .info-content p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-white), transparent 20%);
  font-size: 15px;
  line-height: 1.5;
}
.contact-strategy .map-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .contact-strategy .map-section {
    height: 450px;
  }
}
@media (max-width: 576px) {
  .contact-strategy .map-section {
    height: 400px;
  }
}

/* ============================================
   STRATEGY LAYOUT HELPERS (Zayan pages)
   ============================================ */

/* Hero layout: content left, visual right */
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}
@media (max-width: 991px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}
.hero-strategy .hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* About grid alignment */
.about-grid {
  align-items: center;
}
.about-strategy .about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.about-strategy .about-content .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 1.25rem;
  background-color: var(--color-tertiary);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}
.about-strategy .about-content .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.about-strategy .about-content .feature-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-strategy .about-content .feature-item h5 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-white);
}
.about-strategy .about-content .feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Why ZAYAN cards */
.why-card {
  background-color: var(--color-tertiary);
  border: 1px solid color-mix(in srgb, var(--color-white), transparent 90%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  transition: all 0.3s ease;
  height: 100%;
}
.why-card:hover {
  border-color: color-mix(in srgb, var(--color-gold), transparent 60%);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}
.why-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Testimonials grid & profile placeholder */
.testimonials-grid {
  align-items: stretch;
}
.testimonials-strategy .testimonial-item .profile {
  display: flex;
  align-items: center;
}
.testimonials-strategy .testimonial-item .profile-img-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-gold), transparent 90%);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonials-strategy .testimonial-item .profile-info {
  margin-left: 15px;
}
.testimonials-strategy .testimonial-item .profile-info span {
  font-size: 14px;
  opacity: 0.7;
}

/* FAQ layout: title left, items right */
.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--spacing-3xl);
  align-items: flex-start;
}
@media (max-width: 991px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

/* CTA container: content left, image right */
.cta-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-3xl);
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .cta-container {
    flex-direction: column;
  }
}
.call-to-action-strategy .features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.call-to-action-strategy .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ============================================
   HOME HERO REFINEMENTS
   ============================================ */

.hero-strategy .hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.hero-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 1px;
  color: var(--color-white);
}

.hero-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform var(--transition-slower);
}

[dir="rtl"] .hero-link::after {
  transform-origin: right;
}

.hero-link:hover {
  color: var(--color-gold);
}

.hero-link:hover::after {
  transform: scaleX(1);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 2.75rem 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  color: var(--color-gray);
}

.hero-highlights li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--color-gold);
  transform: rotate(45deg);
}

/* Framed hero photo with a gold offset border and slow parallax */
.hero-strategy .hero-visual {
  isolation: isolate;
}

.hero-strategy .hero-visual::before {
  content: "";
  position: absolute;
  inset-block: 28px -28px;
  inset-inline: 28px -28px;
  z-index: -1;
  border: 1px solid rgb(var(--color-gold-rgb) / 0.4);
  border-radius: 24px;
}

.hero-strategy .hero-visual::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  background: radial-gradient(circle at 50% 50%, rgb(var(--color-gold-rgb) / 0.12), transparent 60%);
  pointer-events: none;
}

.hero-visual-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-strategy .hero-visual-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.hero-strategy .hero-stats-card {
  z-index: 2;
  inset-inline-start: -36px;
  /* logical, not "right: auto" - a physical side declared after the
     logical one would cancel it in RTL */
  inset-inline-end: auto;
  bottom: 12%;
  border-color: var(--color-border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Arrow icons point the reading direction */
[dir="rtl"] .btn-hero svg,
[dir="rtl"] .hero-link svg,
[dir="rtl"] .founder-teaser-cta svg,
[dir="rtl"] .text-link span {
  transform: scaleX(-1);
}

.hero-strategy .hero-stats-card .stats-number h2 {
  color: var(--color-gold);
}

/* Generic scroll cue (home hero) */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gray);
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--color-border);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 14px;
  background: var(--color-gold);
  animation: scrollCue 1.8s var(--motion-ease) infinite;
}

.scroll-cue:hover {
  color: var(--color-gold);
}

@keyframes scrollCue {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(320%);
  }
}

@media (max-width: 991px) {
  .hero-strategy .hero-visual::before {
    inset-block: 16px -16px;
    inset-inline: 16px -16px;
  }

  .hero-strategy .hero-visual-frame img {
    aspect-ratio: 4 / 3.4;
  }

  /* Keep the stat card overlapping the photo instead of dropping below
     it (which stretched the offset frame around an empty gap) */
  .hero-strategy .hero-stats-card {
    position: absolute;
    bottom: 16px;
    inset-inline-start: 16px;
    inset-inline-end: auto;
    width: auto;
    min-width: 170px;
    margin-top: 0;
    padding: 1rem 1.25rem;
  }

  .hero-strategy .hero-stats-card .stats-number h2 {
    font-size: 2.2rem;
  }

  .scroll-cue {
    display: none;
  }
}

/* Mobile / tablet: the hero photo becomes a full-bleed background behind
   the copy, like the inner page heroes (about.html etc.) */
@media (max-width: 991px) {
  .hero-strategy {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 4.5rem;
  }

  /* Let the photo layer anchor to the whole section */
  .hero-strategy .hero-container {
    position: static;
  }

  .hero-strategy .hero-content-col {
    position: relative;
    z-index: 2;
    padding: 0;
  }

  .hero-strategy .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: auto;
  }

  .hero-strategy .hero-visual::before {
    display: none;
  }

  /* Colour grade for legibility, same feel as .page-hero */
  .hero-strategy .hero-visual::after {
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(
        180deg,
        rgb(var(--color-primary-rgb) / 0.85) 0%,
        rgb(var(--color-primary-rgb) / 0.55) 30%,
        rgb(var(--color-primary-rgb) / 0.78) 65%,
        var(--color-primary) 100%
      );
  }

  .hero-strategy .hero-visual-frame {
    position: absolute;
    inset: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-strategy .hero-visual-frame img {
    height: 100%;
    aspect-ratio: auto;
    filter: grayscale(0.35) contrast(1.05) brightness(0.75);
  }

  .hero-strategy .hero-stats-card {
    display: none;
  }
}

/* ============================================
   MARQUEE BAND (service names ticker)
   ============================================ */

.marquee-band {
  padding: 1.6rem 0;
  background:
    linear-gradient(90deg, rgb(var(--color-gold-rgb) / 0.04), transparent 40%, rgb(var(--color-gold-rgb) / 0.04)),
    var(--color-secondary);
  border-block: 1px solid var(--color-border-gold);
}

.marquee-item {
  padding-inline: 1.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-white);
}

.marquee-item:nth-child(4n + 3) {
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--color-gold-rgb) / 0.75);
}

.marquee-sep {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

.marquee-sep svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ============================================
   NUMBERED CARDS (home services & why ZAYAN)
   ============================================ */

.services-grid,
.why-grid {
  counter-reset: card;
}

.services-strategy .service-card,
.why-card {
  position: relative;
  counter-increment: card;
}

.services-strategy .service-card::before,
.why-card::before {
  content: counter(card, decimal-leading-zero);
  position: absolute;
  top: 26px;
  inset-inline-end: 30px;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--color-gold-rgb) / 0.28);
  transition: -webkit-text-stroke-color var(--transition-slow);
  pointer-events: none;
}

.services-strategy .service-card:hover::before,
.why-card:hover::before {
  -webkit-text-stroke-color: var(--color-gold);
}

/* Home service cards: features + link pinned to the bottom */
.services-strategy .service-card {
  display: flex;
  flex-direction: column;
}

.service-card-features {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem 0 0;
  list-style: none;
  border-top: 1px solid var(--color-border-light);
}

.service-card-features li {
  position: relative;
  padding-inline-start: 1.35rem;
  font-size: 0.92rem;
  color: var(--color-gray);
}

.service-card-features li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  inset-inline-start: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--color-gold);
  transform: rotate(45deg);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  color: var(--color-gold);
}

.service-card-link span {
  transition: transform var(--transition-base);
}

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

[dir="rtl"] .service-card-link span {
  transform: scaleX(-1);
}

[dir="rtl"] .service-card-link:hover span {
  transform: scaleX(-1) translateX(4px);
}

/* The card-action corner covers the number on hover */
.services-strategy .service-card .card-action {
  z-index: 1;
}

.why-card {
  overflow: hidden;
}

.why-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slower);
}

[dir="rtl"] .why-card::after {
  background: linear-gradient(270deg, var(--color-gold), transparent);
  transform-origin: right;
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-card .icon-box {
  color: var(--color-gold);
}

.why-card .icon-box svg {
  width: 26px;
  height: 26px;
}

/* Centered "view all" link under a grid */
.section-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-3xl);
}

/* ============================================
   PROCESS STEPS (home + services page)
   ============================================ */

.process-strategy {
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgb(var(--color-gold-rgb) / 0.06), transparent 70%),
    var(--color-secondary);
}

.process-intro {
  max-width: 640px;
  margin: calc(var(--spacing-2xl) * -0.5) auto var(--spacing-3xl);
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step-item {
  position: relative;
  padding: 2.5rem 2.25rem 2.75rem;
  background: var(--color-secondary);
  transition: background-color var(--transition-slow);
}

.process-step-item::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slower);
}

[dir="rtl"] .process-step-item::before {
  transform-origin: right;
}

.process-step-item:hover {
  background: var(--color-tertiary);
}

.process-step-item:hover::before {
  transform: scaleX(1);
}

.process-step-num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--color-gold-rgb) / 0.7);
}

.process-step-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.process-step-item p {
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step-item {
    padding: 2rem 1.5rem;
  }
}

/* ============================================
   FILTER CHIPS (projects page)
   ============================================ */

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 var(--spacing-2xl);
  padding: 0;
  list-style: none;
}

.filter-chips button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-gray);
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-chips button span {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  color: var(--color-gold);
  background: rgb(var(--color-gold-rgb) / 0.1);
  border-radius: var(--radius-pill);
}

.filter-chips button:hover {
  color: var(--color-gold);
  border-color: var(--color-border-gold);
}

.filter-chips button.is-active {
  color: var(--color-primary);
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.filter-chips button.is-active span {
  color: var(--color-primary);
  background: rgb(var(--color-primary-rgb) / 0.15);
}

.project-directory-card[hidden] {
  display: none;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--spacing-3xl);
  align-items: start;
}

.contact-form-panel {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

.contact-form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.contact-form-panel h2,
.contact-info-panel h2 {
  margin: 0.75rem 0 2rem;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.contact-form .form-group label {
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
}

.contact-form-note {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--color-gray-dark);
}

.contact-info-item a {
  color: var(--color-gold);
}

.contact-info-item h4 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.contact-info-item .contact-info-note {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  color: var(--color-gray-dark);
}

.contact-hours-card ul {
  margin-top: 1rem;
  list-style: none;
}

.contact-hours-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  color: var(--color-gray);
  border-bottom: 1px solid var(--color-border-light);
}

.contact-hours-card li:last-child {
  border-bottom: 0;
}

.contact-hours-card strong {
  color: var(--color-white);
}

.contact-social {
  margin-top: 2rem;
}

.contact-social .social-links {
  margin-top: 1rem;
}

/* "What happens next" steps */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.next-step {
  position: relative;
  padding: 2rem;
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  counter-increment: step;
  transition:
    border-color var(--transition-slow),
    transform var(--transition-slow);
}

.next-step:hover {
  border-color: var(--color-border-gold);
  transform: translateY(-5px);
}

.next-step::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
}

.next-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.next-step p {
  font-size: 0.95rem;
}

/* Location band (replaces the old map placeholder) */
.location-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: var(--color-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.location-copy {
  padding: clamp(2rem, 5vw, 3.5rem);
}

.location-copy h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.location-copy .btn {
  margin-top: 2rem;
}

.location-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.location-meta li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-gray);
}

.location-meta .icon {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

/* Stylised "map": fine grid, soft roads and a pulsing pin */
.location-visual {
  position: relative;
  min-height: 340px;
  background:
    radial-gradient(circle at 55% 48%, rgb(var(--color-gold-rgb) / 0.16), transparent 32%),
    linear-gradient(115deg, transparent 47%, rgb(var(--color-gold-rgb) / 0.12) 47.3%, rgb(var(--color-gold-rgb) / 0.12) 48%, transparent 48.3%),
    linear-gradient(28deg, transparent 58%, rgb(255 255 255 / 0.06) 58.3%, rgb(255 255 255 / 0.06) 59.3%, transparent 59.6%),
    linear-gradient(160deg, transparent 30%, rgb(255 255 255 / 0.05) 30.3%, rgb(255 255 255 / 0.05) 31%, transparent 31.3%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 38px),
    var(--color-secondary);
  border-inline-start: 1px solid var(--color-border);
}

.location-pin {
  position: absolute;
  top: 48%;
  left: 55%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--color-primary);
  background: var(--color-gold);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 30px rgb(var(--color-gold-rgb) / 0.35);
  transform: translate(-50%, -100%) rotate(-45deg);
}

.location-pin svg {
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
}

.location-pin::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgb(var(--color-gold-rgb) / 0.6);
  border-radius: 50%;
  animation: pinPulse 2.4s ease-out infinite;
}

.location-label {
  position: absolute;
  top: calc(48% + 18px);
  left: 55%;
  padding: 0.45rem 0.9rem;
  font-size: var(--fs-small);
  color: var(--color-white);
  white-space: nowrap;
  background: rgb(var(--color-primary-rgb) / 0.85);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-pill);
  transform: translateX(-50%);
}

@keyframes pinPulse {
  from {
    opacity: 1;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(1.8);
  }
}

@media (max-width: 991px) {
  .contact-grid,
  .location-band {
    grid-template-columns: 1fr;
  }

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

  .location-visual {
    min-height: 260px;
    border-inline-start: 0;
    border-top: 1px solid var(--color-border);
  }
}

/* ============================================
   HIDDEN SECTIONS
   ============================================ */

section[hidden] {
  display: none !important;
}

.filter-chips[hidden],
.hero-highlights[hidden] {
  display: none;
}

/* Numbers like "150+" keep their order in Arabic (bidi would print "+150") */
.hero-stats-card .stats-number h2,
.experience-badge .years,
[data-count-up] {
  direction: ltr;
  unicode-bidi: isolate;
}

.success-message p {
  margin: 0;
  color: var(--color-gold);
}

.error-message p {
  margin: 0;
  color: var(--color-error);
}

.faq-grid .card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--color-secondary);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-gold-dark);
}

/* ============================================
   SCROLL TO TOP BUTTON
   (created by components.js on every page; the ring shows scroll
   progress via --scroll-progress from js/animations.js)
   ============================================ */

.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: calc(var(--z-modal) - 1); /* below modals (300), above navbar (200) */
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  color: var(--color-gold);
  background-color: rgb(29 30 32 / 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--transition-slow),
    visibility var(--transition-slow),
    transform var(--transition-slow),
    background-color var(--transition-base),
    color var(--transition-base);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-to-top svg {
  grid-area: 1 / 1;
}

.scroll-to-top-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-base);
}

.scroll-to-top-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-to-top-ring circle {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--scroll-progress, 0));
}

.scroll-to-top:hover {
  color: var(--color-primary);
  background-color: var(--color-gold);
}

.scroll-to-top:hover .scroll-to-top-arrow {
  transform: translateY(-2px);
}

.scroll-to-top:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

html[dir="rtl"] .scroll-to-top {
  right: auto;
  left: 1.5rem;
}

@media (max-width: 767px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 2.85rem;
    height: 2.85rem;
  }

  html[dir="rtl"] .scroll-to-top {
    right: auto;
    left: 1rem;
  }
}
