/*
Theme Name: Prestige Consulting
Theme URI: https://prestigenepal.org
Author: Prestige Consulting Pvt. Ltd.
Description: Modern WordPress theme for Prestige Consulting — multidisciplinary research, consulting & IT. ACF Free · CF7 · Rank Math SEO.
Version: 2.0.0
Requires at least: 6.3
Text Domain: prestige
Tags: business, consulting, seo-friendly, custom-logo, featured-images
*/

/* ══════════════════════════════════════════════════
   DESIGN TOKENS
   Brand: Blue #1E3A8A · Red #CC2222 · Green #1A6B1A
   Fonts: Cormorant Garamond (display) · DM Sans (body)
══════════════════════════════════════════════════ */
:root {
  --brand-blue: #1e3a8a;
  --brand-blue-mid: #2a4fa0;
  --brand-blue-light: #3b63c0;
  --brand-blue-dark: #0f2260;
  --brand-red: #cc2222;
  --brand-red-light: #e03333;
  --brand-green: #1a6b1a;

  --white: #ffffff;
  --off-white: #f8f7f5;
  --cream: #f2efe8;
  --cream-dark: #e8e3d8;
  --navy: #080d1e;

  --text: #1a1f2e;
  --text-muted: #4b5568;
  --text-light: #718096;
  --border: #e2e0da;
  --border-light: #edebe5;

  --fd: "Cormorant Garamond", Georgia, serif;
  --fb: "DM Sans", system-ui, sans-serif;

  /* Logo height — change here to adjust globally */
  --logo-height: 100px;
  --logo-height-scrolled: 100px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(30, 58, 138, 0.07);
  --shadow-md: 0 6px 20px rgba(30, 58, 138, 0.1);
  --shadow-lg: 0 16px 48px rgba(30, 58, 138, 0.13);
  --shadow-xl: 0 28px 72px rgba(30, 58, 138, 0.18);

  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

body.nav-open {
  overflow: hidden;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fd);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-blue-dark);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
  font-size: 1.4rem;
  font-family: var(--fb);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.container--wide {
  max-width: 1440px;
}

.container--tight {
  max-width: 960px;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--sm {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.section--lg {
  padding-block: clamp(5rem, 10vw, 9rem);
}

/* ─── Eyebrow ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 99px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--fd);
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center .eyebrow {
  justify-content: center;
}

.section-header--center .section-sub {
  margin-inline: auto;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t-base);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

.btn--primary:hover {
  background: var(--brand-blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.35);
}

.btn--red {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
}

.btn--red:hover {
  background: var(--brand-red-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(204, 34, 34, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn--outline:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.btn--lg {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL SYSTEM — THE FIX
   
   Key insight: elements start with NO opacity
   set in CSS. Only .reveal-ready gets opacity:0.
   .in-view always wins. This prevents permanent
   invisible elements if JS is slow/blocked.
═══════════════════════════════════════════ */
.reveal-ready {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-ready.reveal {
  transform: translateY(28px);
}

.reveal-ready.reveal-left {
  transform: translateX(-32px);
}

.reveal-ready.reveal-right {
  transform: translateX(32px);
}

.reveal-ready.in-view,
.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays */
[data-delay="1"] {
  transition-delay: 0.1s;
}

[data-delay="2"] {
  transition-delay: 0.2s;
}

[data-delay="3"] {
  transition-delay: 0.3s;
}

[data-delay="4"] {
  transition-delay: 0.4s;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  padding-block: 18px;
  transition:
    background var(--t-base),
    padding var(--t-base),
    box-shadow var(--t-base);
}

.site-header.is-transparent {
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 12px;
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo — uses CSS variable for easy customisation */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img,
.site-logo .custom-logo {
  height: var(--logo-height);
  width: auto;
  transition: height var(--t-base);
  object-fit: contain;
}

.site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .custom-logo {
  height: var(--logo-height-scrolled);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo__name {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  letter-spacing: -0.01em;
  transition: color var(--t-base);
}

.site-logo__tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-red);
  transition: color var(--t-base);
}

.site-header.is-transparent .site-logo__name {
  color: var(--white);
}

.site-header.is-transparent .site-logo__tag {
  color: rgba(255, 255, 255, 0.65);
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-blue-dark);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  position: relative;
}

.site-header.is-transparent .primary-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.primary-nav a:hover,
.primary-nav .current-menu-item>a {
  color: var(--brand-red);
  background: rgba(204, 34, 34, 0.07);
}

.site-header.is-transparent .primary-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.primary-nav .menu-item-has-children {
  position: relative;
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-base);
  z-index: 300;
}

.primary-nav .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li a {
  display: block;
  color: var(--text) !important;
  background: none !important;
  padding: 9px 14px;
  font-size: 0.85rem;
  border-radius: var(--r-sm);
}

.primary-nav .sub-menu li a:hover {
  background: rgba(204, 34, 34, 0.06) !important;
  color: var(--brand-red) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-blue-dark);
  border-radius: 2px;
  transition: all var(--t-base);
}

.site-header.is-transparent .menu-toggle span {
  background: var(--white);
}

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

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-blue-dark);
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg,
      rgba(8, 12, 30, 0.96) 0%,
      rgba(30, 58, 138, 0.88) 50%,
      rgba(8, 12, 30, 0.8) 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(204, 34, 34, 0.16);
  top: -100px;
  right: -80px;
}

.hero__orb--2 {
  width: 420px;
  height: 420px;
  background: rgba(30, 58, 138, 0.22);
  bottom: -80px;
  left: -80px;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(26, 107, 26, 0.12);
  top: 40%;
  left: 30%;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 90px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding-block: 30px;
}

/* Hero text */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-red-light);
  margin-bottom: 20px;
}

.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1.5px;
  background: var(--brand-red-light);
}

.hero__title {
  font-family: var(--fd);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.hero__title strong {
  color: var(--brand-red-light);
  font-style: normal;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-num {
  font-family: var(--fd);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero__stat-num sup {
  font-size: 1.4rem;
  color: var(--brand-red-light);
  vertical-align: super;
}

.hero__stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.hero__img-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
}

.hero__img-item--main {
  grid-column: 1/-1;
  aspect-ratio: 16/7;
}

.hero__img-item--sub {
  aspect-ratio: 1/1;
}

.hero__img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.hero__img-item:hover img {
  transform: scale(1.04);
}

.hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(8, 12, 30, 0.65) 0%,
      transparent 55%);
}

.hero__badge {
  position: absolute;
  bottom: -18px;
  left: 20px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  z-index: 3;
}

.hero__badge-icon {
  width: 38px;
  height: 38px;
  background: rgba(204, 34, 34, 0.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hero__badge-num {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  line-height: 1;
}

.hero__badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero__spin-tag {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 88px;
  height: 88px;
  z-index: 3;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: heroScrollBounce 2.2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: rgba(255, 255, 255, 0.7);
  animation: scrollTravel 1.8s ease-in-out infinite;
}

/* ─── CLIENTS STRIP (old marquee) ─── */
.clients-strip {
  background: var(--cream);
  padding-block: 36px;
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.clients-strip__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 22px;
}

.clients-strip__track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee 22s linear infinite;
  width: max-content;
}

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

.clients-strip__item {
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  opacity: 0.38;
  white-space: nowrap;
  transition: opacity var(--t-base);
  cursor: default;
}

.clients-strip__item:hover {
  opacity: 0.75;
}

/* ══════════════════════════════════════════
   CLIENT FADE GRID — new 4×3 / 2×2 mobile
══════════════════════════════════════════ */
.clients-new-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.clients-new-section[data-pulse-dots] {}

/* positioning context */
.client-grid-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}

.client-grid__item {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  height: 0;
  opacity: 0;
  transition:
    opacity 0.05s,
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-base);
  will-change: opacity, transform;
}

.client-grid__item.is-visible {
  opacity: 1;
  min-height: 130px;
}

.client-grid__item:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.client-grid__item img {
  max-height: 100px;
  width: 100%;
  object-fit: contain;
  transition:
    filter var(--t-base),
    opacity var(--t-base);
}

.client-grid__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-grid__name {
  font-family: var(--fd);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  opacity: 0.5;
  text-align: center;
  transition: opacity var(--t-base);
  letter-spacing: 0.01em;
}

.client-grid__item:hover .client-grid__name {
  opacity: 0.9;
}

/* ─── SERVICES ─── */
.services {
  background: var(--white);
}

.services__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}

.services__tabs::-webkit-scrollbar {
  display: none;
}

.services__tab {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.services__tab:hover {
  color: var(--brand-blue);
}

.services__tab.is-active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.services__panel {
  display: none;
}

.services__panel.is-active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  animation: fadeIn 0.4s ease both;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

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

.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-5px);
}

.service-card__icon {
  width: 50px;
  height: 50px;
  background: rgba(30, 58, 138, 0.08);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition:
    transform var(--t-base),
    background var(--t-base);
}

.service-card:hover .service-card__icon {
  background: rgba(30, 58, 138, 0.14);
  transform: scale(1.08) rotate(-4deg);
}

.service-card__title {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── ABOUT ─── */
.about {
  background: var(--brand-blue-dark);
  overflow: hidden;
  position: relative;
}

.about::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(204, 34, 34, 0.1) 0%,
      transparent 70%);
  pointer-events: none;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about__eyebrow {
  color: rgba(255, 120, 120, 0.85);
}

.about__eyebrow::before {
  background: rgba(255, 120, 120, 0.85);
}

.about__title {
  color: var(--white);
  margin-bottom: 18px;
}

.about__body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  margin-bottom: 30px;
}

.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.about__pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--t-base);
}

.about__pillar:hover {
  background: rgba(255, 255, 255, 0.09);
}

.about__pillar-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__pillar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

Ô .about__pillar-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.skill {
  margin-bottom: 16px;
}

.skill__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 7px;
}

.skill__track {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
  overflow: hidden;
}

.skill__fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--brand-blue-light), var(--brand-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__visual {
  position: relative;
}

.about__img-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}

.about__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.about__accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(204, 34, 34, 0.35);
  border-radius: var(--r-xl);
  z-index: 0;
}

.about__float-card {
  position: absolute;
  bottom: 32px;
  left: -28px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.about__float-num {
  font-family: var(--fd);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  line-height: 1;
}

.about__float-num span {
  color: var(--brand-red);
}

.about__float-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── PROJECTS ─── */
.projects {
  background: var(--cream);
}

.projects__filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 7px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t-fast);
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-btn.is-active {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Project card */
.project-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition:
    transform var(--t-slow),
    box-shadow var(--t-slow);
  display: flex;
  flex-direction: column;
}

.project-card--featured {
  grid-column: span 2;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-card__media {
  position: relative;
  overflow: hidden;
}

.project-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: bottom;
  transition: transform var(--t-slow);
  display: block;
}

.project-card--featured .project-card__media img {
  height: 280px;
}

.project-card:hover .project-card__media img {
  transform: scale(1.06);
}

.project-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

/* Placeholder when no image */
.project-card__media--placeholder {
  background: linear-gradient(135deg,
      var(--brand-blue-dark) 0%,
      var(--brand-blue) 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--fd);
  font-size: 5rem;
  font-weight: 700;
}

.project-card--featured .project-card__media--placeholder {
  height: 280px;
}

.project-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__client {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.project-card__title {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  transition:
    color var(--t-fast),
    gap var(--t-fast);
}

.project-card__link:hover {
  color: var(--brand-red);
  gap: 10px;
}

.projects__footer {
  text-align: center;
  margin-top: 48px;
}

/* ─── PROJECT SINGLE (gallery) ─── */
.project-single {
  background: var(--white);
}

.project-hero {
  background: var(--brand-blue-dark);
  padding: clamp(100px, 12vw, 140px) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(30, 58, 138, 0.9) 0%,
      rgba(8, 12, 30, 0.95) 100%);
}

.project-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.project-hero__content {
  position: relative;
  z-index: 1;
}

.project-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  transition: color var(--t-fast);
}

.project-hero__back:hover {
  color: var(--white);
}

.project-hero__title {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.project-hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.project-hero__meta-item {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.project-hero__meta-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.project-body h3 {
  font-family: var(--fd);
  font-size: 1.5rem;
  color: var(--brand-blue-dark);
  margin: 0 0 16px; /* Reset margin, using project-section for spacing */
}

.project-section {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.project-section:last-child {
  margin-bottom: 0;
}

/* Restore list styles for WYSIWYG content */
.rich-text ul,
.rich-text ol,
.entry-content ul,
.entry-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.rich-text ul,
.entry-content ul {
  list-style: disc;
}

.rich-text ol,
.entry-content ol {
  list-style: decimal;
}

.rich-text li,
.entry-content li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.project-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.project-sidebar {
  position: sticky;
  top: 100px;
}

.project-sidebar__box {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.project-sidebar__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.project-sidebar__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.project-sidebar__item:last-child {
  margin-bottom: 0;
}

.project-sidebar__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-sidebar__value {
  font-size: 0.9rem;
  color: var(--text);
}

.project-quote {
  background: var(--brand-blue-dark);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.project-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: var(--fd);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.project-quote__text {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.project-quote__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.project-quote__role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Gallery */
.project-gallery {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.project-gallery__title {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-thumb {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--t-slow),
    filter var(--t-base);
}

.gallery-thumb::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity var(--t-base);
}

.gallery-thumb:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.gallery-thumb:hover::after {
  opacity: 1;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials__deco {
  position: absolute;
  top: -60px;
  left: 2%;
  font-family: var(--fd);
  font-size: 28rem;
  color: var(--cream-dark);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.testimonials__inner {
  position: relative;
  z-index: 1;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid var(--border-light);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

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

.testi-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testi-card__star {
  color: #f59e0b;
  font-size: 0.9rem;
}

.testi-card__quote {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--brand-blue-dark);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 22px;
}

.testi-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 18px;
}

.testi-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.testi-card__avatar--init {
  background: rgba(30, 58, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1rem;
}

.testi-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

.testi-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ─── TEAM ─── */
.team {
  background: var(--brand-blue-dark);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(26, 107, 26, 0.12) 0%,
      transparent 70%);
  pointer-events: none;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: default;
}

.team-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition:
    filter var(--t-slow),
    transform var(--t-slow);
}

.team-card:hover .team-card__img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(8, 12, 30, 0.92) 0%,
      transparent 55%);
  transition: background var(--t-base);
}

.team-card:hover .team-card__overlay {
  background: linear-gradient(to top,
      rgba(204, 34, 34, 0.85) 0%,
      transparent 60%);
}

.team-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  transform: translateY(4px);
  transition: transform var(--t-base);
}

.team-card:hover .team-card__info {
  transform: translateY(0);
}

.team-card__name {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.team-card__role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

.team-card__socials {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--t-base),
    transform var(--t-base);
}

.team-card:hover .team-card__socials {
  opacity: 1;
  transform: translateY(0);
}

.team-card__social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
  transition: background var(--t-fast);
}

.team-card__social:hover {
  background: var(--brand-red);
}

/* ─── BLOG ─── */
.blog-section {
  background: var(--off-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post-card__media {
  overflow: hidden;
  position: relative;
}

.post-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--t-slow);
  display: block;
}

.post-card:hover .post-card__media img {
  transform: scale(1.06);
}

/* Placeholder for posts without image */
.post-card__media--placeholder {
  height: 200px;
  background: linear-gradient(135deg,
      var(--brand-blue) 0%,
      var(--brand-blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card__media--placeholder svg {
  opacity: 0.2;
}

.post-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.post-card__title {
  font-family: var(--fd);
  font-size: 1.2rem;
  color: var(--brand-blue-dark);
  margin-bottom: 8px;
  line-height: 1.35;
  flex: 1;
}

.post-card__title a {
  transition: color var(--t-fast);
}

.post-card__title a:hover {
  color: var(--brand-red);
}

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.post-card__read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition:
    color var(--t-fast),
    gap var(--t-fast);
}

.post-card__read-more:hover {
  color: var(--brand-red);
  gap: 8px;
}

/* Single post */
.post-single {
  background: var(--white);
}

.post-single__hero {
  background: var(--brand-blue-dark);
  padding: clamp(100px, 12vw, 140px) 0 clamp(2rem, 4vw, 3.5rem);
  position: relative;
}

.post-single__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.post-single__hero-content {
  position: relative;
  z-index: 1;
}

.post-single__cat {
  display: inline-block;
  background: var(--brand-red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

.post-single__title {
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.post-single__meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.post-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.post-content {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--fd);
  color: var(--brand-blue-dark);
  margin: 28px 0 10px;
}

.entry-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.entry-content img {
  border-radius: var(--r-md);
  margin-block: 24px;
}

.entry-content a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  border-left: 3px solid var(--brand-red);
  padding: 12px 0 12px 20px;
  margin: 24px 0;
  font-family: var(--fd);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brand-blue-dark);
}

.post-sidebar {
  position: sticky;
  top: 100px;
}

.post-sidebar__box {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.post-sidebar__title {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 16px;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
  padding-block: 90px;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.cta-banner__title {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}

.cta-banner__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.75;
}

.cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}



.btn--white {
  background: var(--white);
  color: var(--brand-blue);
  padding: 14px 30px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--t-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--white);
}

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy);
  padding-block: 68px 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer__logo img {
  height: var(--logo-height);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: height var(--t-base);
}

.footer__logo-name {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__logo-tag {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.8;
  max-width: 290px;
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--t-fast);
  text-decoration: none;
}

.footer__social:hover {
  background: var(--brand-red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.footer__contact-icon {
  color: var(--brand-red-light);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer__contact-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
}

.footer__contact-text a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__contact-text a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: all var(--t-base);
  z-index: 150;
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.back-to-top.is-visible::before,
.back-to-top.is-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #1e3a8a;
  animation: btt-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

.back-to-top.is-visible::after {
  animation-delay: 0.8s;
}

.back-to-top:hover::before,
.back-to-top:hover::after {
  border-color: #cc2222;
}

@keyframes btt-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ─── CF7 ─── */
.wpcf7-form .form-row {
  margin-bottom: 18px;
}

.wpcf7-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--fb);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  background: var(--brand-blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--t-base);
  border: 2px solid var(--brand-blue);
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204, 34, 34, 0.3);
}

/* ─── KEYFRAMES ─── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes heroScrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(9px);
  }
}

@keyframes scrollTravel {
  0% {
    transform: translateY(-100%);
    opacity: 1;
  }

  100% {
    transform: translateY(300%);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }

  100% {
    background-position: 600px 0;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__visual {
    display: none;
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card--featured {
    grid-column: span 1;
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-content-grid,
  .post-content-wrap {
    grid-template-columns: 1fr;
  }

  .project-sidebar,
  .post-sidebar {
    position: static;
  }

  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .primary-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 70px;
    background: var(--white);
    padding: 24px;
    gap: 6px;
    overflow-y: auto;
    z-index: 199;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    margin-top: 4px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero__stats {
    gap: 20px;
  }

  .about__pillars {
    grid-template-columns: 1fr;
  }

  .services__panel.is-active {
    grid-template-columns: 1fr 1fr;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services__panel.is-active {
    grid-template-columns: 1fr;
  }

  .team__grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__deco {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .clients-strip__track {
    animation: none;
  }
}

/* ── Shadow breathe — primary CTA buttons ── */
.btn--ghost-white:hover {
  animation: shadow-breathe 2.5s ease-in-out infinite;
}

@keyframes shadow-breathe {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(236, 236, 236, 0.35);
  }

  50% {
    box-shadow:
      0 8px 36px rgba(236, 236, 236, 0.65),
      0 0 0 8px rgba(200, 200, 200, 0.1);
  }
}

/* Red Button Hover - Red Glow */
.btn--red:hover {
  animation: shadow-breathe-red 2.5s ease-in-out infinite;
}

@keyframes shadow-breathe-red {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(204, 34, 34, 0.35);
  }

  50% {
    box-shadow:
      0 8px 36px rgba(204, 34, 34, 0.65),
      0 0 0 8px rgba(204, 34, 34, 0.1);
  }
}

.btn--outline:hover {
  animation: shadow-breathe-outline 2.5s ease-in-out infinite;
}

@keyframes shadow-breathe-outline {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(15, 34, 96, 0.35);
  }

  50% {
    box-shadow:
      0 8px 36px rgba(15, 34, 96, 0.65),
      0 0 0 8px rgba(15, 34, 96, 0.1);
  }
}

@media(max-width: 1024px) {
  .cta-banner__actions a {
    width: 100%;
    justify-content: center;
  }
}