/* ============================================
   RUBY EXCITE — Glassmorphism Design System
   ============================================ */

/* --- Design Tokens --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a2e;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --accent: #e63946;
  --accent-dark: #c41e3a;
  --accent-light: #ff6b6b;
  --accent-glow: rgba(230, 57, 70, 0.3);
  --text-primary: #f0ede8;
  --text-secondary: rgba(240, 237, 232, 0.6);
  --text-muted: rgba(240, 237, 232, 0.35);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --text-hero: clamp(3.5rem, 9vw, 8rem);
  --text-h2: clamp(2rem, 4vw, 3.2rem);
  --text-h3: clamp(1.4rem, 2.5vw, 1.8rem);
  --text-body: 1.05rem;
  --text-small: 0.875rem;
  --container-width: 1200px;
  --container-pad: 2rem;
  --nav-height: 72px;
  --glass-blur: 20px;
  --glass-radius: 20px;
  --glass-radius-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Light Theme --- */
[data-theme='light'] {
  --bg-primary: #f0ede8;
  --bg-secondary: #f7f5f0;
  --bg-tertiary: #e6e2dc;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-hover: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-border-hover: rgba(255, 255, 255, 0.85);
  --text-primary: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.65);
  --text-muted: rgba(26, 26, 46, 0.35);
  --accent-glow: rgba(230, 57, 70, 0.18);
}
[data-theme='light'] .glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
[data-theme='light'] .glass-card:hover {
  border-color: rgba(255, 255, 255, 0.9);
}
[data-theme='light'] .glass-card-inner {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}
[data-theme='light'] .footer-logo {
  filter: none;
  opacity: 0.6;
}
[data-theme='light'] .footer-logo:hover {
  opacity: 1;
}
[data-theme='light'] .mobile-menu-overlay {
  background: rgba(240, 237, 232, 0.95);
}
[data-theme='light'] .glass-nav.scrolled {
  background: rgba(240, 237, 232, 0.7);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
[data-theme='light'] .modal-backdrop {
  background: rgba(240, 237, 232, 0.85);
}
[data-theme='light'] .team-photo-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(240, 237, 232, 0.4));
}
[data-theme='light'] .team-card:hover .team-photo-placeholder {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(255, 255, 255, 0.5));
}
[data-theme='light'] .service-card {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.7);
}
[data-theme='light'] .marker-diamond {
  background: var(--bg-secondary);
}
[data-theme='light'] .step-card {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.55);
}
[data-theme='light'] .logos-item {
  background: rgba(26, 26, 46, 0.04);
  border-color: rgba(26, 26, 46, 0.1);
}
[data-theme='light'] .logos-item:hover {
  background: rgba(26, 26, 46, 0.08);
  border-color: rgba(26, 26, 46, 0.18);
}
[data-theme='light'] .logos-img {
  filter: none;
}
[data-theme='light'] .logos-arrow {
  background: rgba(26, 26, 46, 0.06);
  border-color: rgba(26, 26, 46, 0.14);
  color: var(--text-primary);
}
[data-theme='light'] .logos-arrow:hover {
  background: rgba(26, 26, 46, 0.12);
  border-color: rgba(26, 26, 46, 0.25);
}
[data-theme='light'] .logos-carousel {
  --swiper-pagination-bullet-inactive-color: rgba(26, 26, 46, 0.2);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition:
    background 0.5s,
    color 0.5s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}
.section {
  padding: 8rem 0;
}
.section-label {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.section-subtitle {
  color: var(--text-secondary);
  max-width: 560px;
  font-size: var(--text-body);
}

/* --- Glass Utilities --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition:
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
}
.glass-card-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--glass-radius-sm);
  padding: 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 60px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.btn-ruby,
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-ruby:hover,
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline,
.btn-primary {
  margin-top: 1.5rem;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================
   NAVIGATION
   ============================================ */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  transition:
    background 0.5s,
    backdrop-filter 0.5s,
    border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.glass-nav.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}
.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo img {
  height: 40px;
  width: auto;
  transition: filter 0.3s;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: all 0.35s var(--ease);
  margin-left: 0.5rem;
}
.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--glass-bg-hover);
}
.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}
[data-theme='light'] .theme-toggle .icon-sun {
  display: block;
}
[data-theme='light'] .theme-toggle .icon-moon {
  display: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Top-level nav link */
.nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
  padding: 0.25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link.active {
  color: var(--accent);
}
.nav-link.active::after {
  width: 100%;
}

/* Nav item wrapper (only present when item has children) */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Dropdown chevron button */
.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 2px 0;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition:
    color 0.25s,
    transform 0.25s;
}
.has-dropdown:hover .nav-dropdown-toggle {
  color: var(--text-primary);
}
.has-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: rgba(12, 12, 18, 0.55);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius-sm);
  padding: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
  z-index: 500;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
[data-theme='light'] .nav-dropdown {
  background: rgba(255, 255, 255, 0.35);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown links */
.nav-dropdown-link {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  color: var(--accent);
  background: rgba(230, 57, 70, 0.07);
}

/* Parent link highlighted when a child is the current page */
.has-dropdown.is-active .nav-link {
  color: var(--accent);
}
.has-dropdown.is-active .nav-link::after {
  width: 100%;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1002;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition:
    color 0.3s,
    transform 0.3s;
  transform: translateY(20px);
  opacity: 0;
}
.mobile-menu-overlay.open .mobile-link {
  transform: translateY(0);
  opacity: 1;
}
.mobile-link:hover,
.mobile-link.active {
  color: var(--accent);
}

/* Mobile item wrapper (items with sub-links) */
.mobile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.mobile-item-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.mobile-submenu-toggle {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--accent);
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
  margin-top: 0.15rem;
}
.mobile-item.open .mobile-submenu-toggle svg {
  transform: rotate(180deg);
}

/* Mobile sub-links revealed inside .mobile-submenu */
.mobile-submenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  width: 100%;
}
.mobile-sublink {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition:
    color 0.3s,
    transform 0.3s;
  transform: translateY(8px);
  opacity: 0;
}
.mobile-item.open .mobile-sublink {
  transform: translateY(0);
  opacity: 1;
}
.mobile-sublink:hover,
.mobile-sublink.active {
  color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-gradient-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--accent-glow) 0%,
    rgba(230, 57, 70, 0.08) 40%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.9;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}
.hero-heading {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner {
  display: inline-block;
  will-change: transform;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: var(--text-small);
  font-family: var(--font-heading);
  letter-spacing: 0.15em;
}
.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.section.bg-primary {
  background: var(--bg-primary);
}
.section.bg-secondary {
  background: var(--bg-secondary);
}
[data-theme='light'] .section.bg-primary {
  background: var(--bg-primary);
}
[data-theme='light'] .section.bg-secondary {
  background: var(--bg-secondary);
}

/* ============================================
   INTRO (Section 2)
   ============================================ */
.intro-section {
  background: var(--bg-secondary);
}
.intro-card {
  padding: clamp(2rem, 5vw, 4rem);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.intro-body {
  color: var(--text-secondary);
  font-size: var(--text-body);
  margin-top: 1rem;
}
.intro-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-light);
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}
.intro-supporting {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

/* ============================================
   SERVICES (Section 3 — Sticky Scroll)
   ============================================ */
.services-section {
  background: var(--bg-primary);
  padding: 0;
}
.services-section.bg-primary {
  background: var(--bg-primary);
}
.services-section.bg-secondary {
  background: var(--bg-secondary);
}
.services-sticky-container {
  position: relative;
}
.services-pinned {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
}
.services-pinned-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-height: 100vh;
  padding: calc(var(--nav-height) + 0.5rem) 0 1rem;
}
.services-header {
  text-align: center;
  padding-bottom: 0.5rem;
}
.services-header .section-subtitle {
  margin: 0 auto;
  max-width: 700px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  padding: 0 var(--container-pad);
}

/* SVG Icon Draw Animation */
.service-icon svg path,
.service-icon svg circle,
.service-icon svg rect,
.service-icon svg line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 0.8s var(--ease);
}
.service-icon.active svg path,
.service-icon.active svg circle,
.service-icon.active svg rect,
.service-icon.active svg line {
  stroke-dashoffset: 0;
}
.service-icon.active svg {
  animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 15px var(--accent-glow));
  }
  50% {
    filter: drop-shadow(0 0 30px var(--accent-glow));
  }
}

.services-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.services-icon-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}
.service-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.service-icon.active {
  opacity: 1;
  transform: scale(1);
}
.service-icon svg {
  width: 120px;
  height: 120px;
  color: var(--accent);
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.services-progress {
  display: flex;
  gap: 0.75rem;
}
.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.progress-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scale(1.3);
}

.services-label {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  color: var(--text-muted);
  text-align: center;
  min-height: 1.2em;
  transition: opacity 0.3s;
}

.services-right {
  position: relative;
  min-height: 280px;
  flex: 1;
}
.service-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.service-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.service-card {
  padding: 2.5rem;
  width: 100%;
}
.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-items {
  display: grid;
  gap: 0.75rem;
}
.service-items li {
  color: var(--text-secondary);
  font-size: var(--text-body);
  padding-left: 1.5rem;
  position: relative;
  transition: color 0.3s;
}
.service-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}
.service-items li:hover {
  color: var(--text-primary);
}
.service-description {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.8;
}

/* ============================================
   ABOUT (Section 4)
   ============================================ */
.about-section {
  background: var(--bg-secondary);
}
.about-section.bg-primary {
  background: var(--bg-primary);
}
.about-section.bg-secondary {
  background: var(--bg-secondary);
}
.about-card {
  padding: clamp(2rem, 5vw, 4rem);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-body {
  color: var(--text-secondary);
  font-size: var(--text-body);
  margin-bottom: 1rem;
}
.about-highlight {
  color: var(--accent-light);
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.brand-values {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.brand-values--cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.brand-values--cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.brand-value {
  padding: 1.5rem;
  border-radius: var(--glass-radius-sm);
  border: 1px solid transparent;
  transition:
    border-color 0.4s,
    background 0.4s;
}
.brand-value:hover {
  border-color: var(--glass-border);
  background: var(--glass-bg);
}
.value-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.brand-value p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   TEAM (Section 5)
   ============================================ */
.team-section {
  background: var(--bg-primary);
}
.team-section.bg-primary {
  background: var(--bg-primary);
}
.team-section.bg-secondary {
  background: var(--bg-secondary);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.team-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.team-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.team-cta,
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.team-card {
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s,
    box-shadow 0.4s;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-glow);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.15);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s;
}
/* .team-card:hover .team-photo img {
  filter: grayscale(0);
} */
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: background 0.5s;
}
.team-card:hover .team-photo-placeholder {
  background: linear-gradient(135deg, var(--accent-dark), var(--bg-tertiary));
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.team-title {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.3;
  display: inline-block;
}

/* ============================================
   PROCESS / TIMELINE (Section 6)
   ============================================ */
.process-section {
  background: var(--bg-secondary);
}
.process-header {
  text-align: center;
  margin-bottom: 4rem;
}
.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 4px;
}
.timeline-svg {
  width: 100%;
  height: 100%;
  color: var(--glass-border);
}
.timeline-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 0.1s;
}

.process-step {
  position: relative;
  padding-left: 64px;
  margin-bottom: 3rem;
}
.process-step:last-child {
  margin-bottom: 0;
}
.step-marker {
  position: absolute;
  left: 12px;
  top: 1.5rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.marker-diamond {
  width: 16px;
  height: 16px;
  background: var(--bg-secondary);
  border: 2px solid var(--accent);
  transform: rotate(45deg);
  transition:
    background 0.4s,
    box-shadow 0.4s;
}
.process-step.revealed .marker-diamond {
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.step-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(230, 57, 70, 0.08);
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  line-height: 1;
}
.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.step-card p {
  color: var(--text-secondary);
  font-size: var(--text-body);
}

/* ============================================
   FOOTER (Section 7)
   ============================================ */
.footer-section {
  background: var(--bg-primary);
  padding: 0 0 2rem;
  position: relative;
}
.footer-gradient-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin-bottom: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-subheading {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.footer-cta p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  margin-bottom: 0.5rem;
}
.footer-divider {
  width: 60px;
  height: 2px;
  background: var(--glass-border);
  margin: 2rem 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-email {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  position: relative;
  display: inline-block;
  width: fit-content;
}
.footer-email::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.footer-email:hover::after {
  width: 100%;
}
.footer-address {
  color: var(--text-muted);
  font-size: var(--text-small);
}
.footer-logo-wrap {
  margin-top: 2rem;
}
.footer-logo {
  opacity: 0.4;
  transition: opacity 0.3s;
  height: auto;
}
.footer-logo:hover {
  opacity: 0.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: var(--text-small);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-social-label {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}
.footer-social-link svg {
  width: 16px;
  height: 16px;
}
.footer-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(230, 57, 70, 0.08);
  transform: translateY(-2px);
}
.footer_right_free_text {
    margin-top: 0.8rem;
}
.footer_right_free_text a {
    color: var(--accent);
	text-decoration: underline;
}

/* ============================================
   SHORTCODE BLOCK
   ============================================ */
.shortcode-section .shortcode-wrap {
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   SHORTCODE TABS BLOCK
   ============================================ */
.section-header--left {
  text-align: left;
  margin-bottom: 2.5rem;
}
.section-header--left .section-subtitle {
  margin-left: 0;
}

.shortcode-tabs-section {
  padding: 5rem 0;
}

.shortcode-tabs-list {
  display: flex;
  gap: 0.25rem;
  padding: 0.35rem;
  margin-bottom: 1.75rem;
  border-radius: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.shortcode-tabs-list::-webkit-scrollbar {
  display: none;
}

.shortcode-tab {
  flex: 1 1 auto;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 60px;
  background: none;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.shortcode-tab:hover {
  color: var(--text-primary);
}
.shortcode-tab[aria-selected='true'] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.shortcode-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shortcode-tab-panel {
  padding: 2.5rem;
  border-radius: var(--glass-radius);
}
.shortcode-tab-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .shortcode-tabs-section {
    padding: 3.5rem 0;
  }
  .shortcode-tabs-list {
    border-radius: var(--glass-radius-sm);
  }
  .shortcode-tab {
    flex: 0 0 auto;
    padding: 0.7rem 1.1rem;
  }
  .shortcode-tab-panel {
    padding: 1.5rem;
  }
}

/* ============================================
   CONTACT FORM 7
   ============================================ */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.wpcf7-form p {
  margin: 0;
}
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-form input[type='text'],
.wpcf7-form input[type='email'],
.wpcf7-form input[type='tel'],
.wpcf7-form input[type='url'],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  padding: 0.9rem 1.25rem;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s;
  outline: none;
  -webkit-appearance: none;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--text-muted);
}
.wpcf7-form select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.5rem;
  border-radius: 60px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  box-shadow: 0 4px 20px var(--accent-glow);
  align-self: flex-start;
  width: auto;
}
.wpcf7-form .wpcf7-submit:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.wpcf7-form .wpcf7-not-valid-tip {
  color: var(--accent-light);
  font-size: var(--text-small);
  margin-top: 0.3rem;
  display: block;
}
.wpcf7-form .wpcf7-response-output {
  border-radius: var(--glass-radius-sm);
  padding: 1rem 1.25rem;
  font-size: var(--text-small);
  border: 1px solid var(--glass-border);
  margin-top: 0.5rem;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: #4caf50;
  color: #4caf50;
  background: rgba(76, 175, 80, 0.08);
}
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(230, 57, 70, 0.08);
}
.cf7-row .cf7-label {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--text-secondary);
}
[data-theme='light'] .wpcf7-form input[type='text'],
[data-theme='light'] .wpcf7-form input[type='email'],
[data-theme='light'] .wpcf7-form input[type='tel'],
[data-theme='light'] .wpcf7-form select,
[data-theme='light'] .wpcf7-form textarea {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}
[data-theme='light'] .wpcf7-form input:focus,
[data-theme='light'] .wpcf7-form select:focus,
[data-theme='light'] .wpcf7-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FORM ELEMENTS — Checkbox & Radio
   ============================================ */

input[type='checkbox'],
input[type='radio'] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  outline: none;
  vertical-align: middle;
}

input[type='checkbox'] {
  border-radius: 4px;
  position: relative;
}

input[type='radio'] {
  border-radius: 50%;
  position: relative;
}

/* Hover */
input[type='checkbox']:hover,
input[type='radio']:hover {
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.08);
}

/* Focus visible */
input[type='checkbox']:focus-visible,
input[type='radio']:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Checked — Checkbox */
input[type='checkbox']:checked {
  background: var(--accent);
  border-color: var(--accent);
}

input[type='checkbox']:checked::after {
  content: '';
  width: 0.35rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px) translateX(-6px);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

/* Checked — Radio */
input[type='radio']:checked {
  border-color: var(--accent);
}

input[type='radio']:checked::after {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

/* Labels next to checkbox/radio */
label:has(input[type='checkbox']),
label:has(input[type='radio']) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
}

/* Checkbox/radio groups (WP CF7 and general) */
.wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 6px 10px;
}

.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* Light theme */
[data-theme='light'] input[type='checkbox'],
[data-theme='light'] input[type='radio'] {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme='light'] input[type='checkbox']:hover,
[data-theme='light'] input[type='radio']:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.25);
}

[data-theme='light'] input[type='checkbox']:focus-visible,
[data-theme='light'] input[type='radio']:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

[data-theme='light'] input[type='checkbox']:checked {
  background: var(--accent);
  border-color: var(--accent);
}

[data-theme='light'] input[type='radio']:checked {
  border-color: var(--accent);
}

[data-theme='light'] label:has(input[type='checkbox']),
[data-theme='light'] label:has(input[type='radio']) {
  color: var(--text-primary);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-content {
  position: relative;
  max-width: 720px;
  width: 100%;
  padding: 3rem;
  z-index: 1;
  transform: scale(0.92);
  transition: transform 0.4s var(--ease);
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-overlay.open .modal-content {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-muted);
  transition: color 0.3s;
  z-index: 2;
  line-height: 1;
}
.modal-close:hover {
  color: var(--accent);
}
.modal-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
.modal-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
}
.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-photo-placeholder {
  font-size: 3rem;
}
.modal-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.modal-title {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}
.modal-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.modal-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.modal-email,
.modal-phone {
  color: var(--text-secondary);
  font-size: var(--text-small);
  transition: color 0.3s;
}
.modal-email:hover,
.modal-phone:hover {
  color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .intro-grid,
  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .team-grid,
  .team-grid--cols-3,
  .team-grid--cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-values--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-left {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .services-icon-wrap {
    width: 120px;
    height: 120px;
  }
  .service-icon svg {
    width: 80px;
    height: 80px;
  }
  .services-grid {
    gap: 2rem;
  }
  .services-header .section-subtitle {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .team-grid,
  .team-grid--cols-2,
  .team-grid--cols-3,
  .team-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-values--cols-2,
  .brand-values--cols-3 {
    grid-template-columns: 1fr;
  }
  .modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }
  .modal-content {
    padding: 1.75rem;
    max-height: calc(100dvh - 2rem);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .modal-photo {
    max-width: 160px;
  }
  .hero-gradient-orb {
    width: 300px;
    height: 300px;
  }
  :root {
    --text-hero: clamp(2.5rem, 12vw, 4.5rem);
  }
}
@media (max-width: 480px) {
  :root {
    --container-pad: 1.25rem;
  }
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-content {
    padding: 1.25rem 1.25rem 2rem;
    max-height: 92dvh;
    border-radius: var(--glass-radius-sm) var(--glass-radius-sm) 0 0;
  }
  .modal-close {
    top: 0.75rem;
    right: 1rem;
  }
  .modal-name {
    font-size: 1.25rem;
  }
  .modal-photo {
    max-width: 120px;
  }
  .team-grid,
  .team-grid--cols-2,
  .team-grid--cols-3,
  .team-grid--cols-4 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Visibility helpers for GSAP --- */
/* GSAP sets initial opacity via JS — no CSS hiding */

/* --- Compact services on medium-height viewports where pinning is active --- */
@media (max-height: 900px) and (min-height: 601px) and (min-width: 769px) {
  .services-pinned-inner {
    gap: 0.75rem;
    padding: calc(var(--nav-height) + 0.25rem) 0 0.5rem;
  }
  .services-header {
    padding-bottom: 0.25rem;
  }
  .services-header .section-heading {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
  }
  .services-header .section-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .services-grid {
    gap: 2rem;
  }
  .services-icon-wrap {
    width: 130px;
    height: 130px;
  }
  .service-icon svg {
    width: 90px;
    height: 90px;
  }
  .services-left {
    gap: 1rem;
  }
  .services-right {
    min-height: 240px;
  }
  .service-card {
    padding: 1.5rem;
  }
  .service-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  .service-items {
    gap: 0.4rem;
  }
  .service-items li {
    font-size: 0.9rem;
  }
}

/* --- Disable sticky on small/short viewports — just scroll normally --- */
@media (max-height: 600px), (max-width: 768px) {
  .services-section {
    padding: 0;
  }
  .services-pinned {
    height: auto;
    min-height: auto;
    overflow: visible;
  }
  .services-pinned-inner {
    padding: 3rem 0;
    max-height: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  /* Hide the left column entirely — icons/dots/label aren't useful without sticky scroll */
  .services-left {
    display: none;
  }
  /* Show all panels stacked instead of absolute-positioned */
  .services-right {
    min-height: auto;
  }
  .service-panel {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    margin-bottom: 1.5rem;
  }
  .service-panel:last-child {
    margin-bottom: 0;
  }
}

/* ============================================
   MAIN CONTENT — Interior Pages
   ============================================ */
.main-content {
  padding-top: var(--nav-height);
}
.home .main-content {
  padding-top: 0;
}

/* ============================================
   PAGE BLOCKS — ACF Flexible Content
   ============================================ */

/* --- Page Hero Banner --- */
.page-hero-section {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
}
.page-hero-section.bg-primary {
  background: var(--bg-primary);
}
.page-hero-section.bg-secondary {
  background: var(--bg-secondary);
}
.page-hero-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--accent-glow) 0%,
    rgba(230, 57, 70, 0.08) 40%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero--center .page-hero-content {
  text-align: center;
}
.page-hero--left .page-hero-content {
  text-align: left;
}
.page-hero--center .page-hero-subtext {
  margin-left: auto;
  margin-right: auto;
}
.page-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.page-hero-subtext {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  line-height: 1.7;
}
.page-hero-section .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

/* --- Text Section --- */
.text-section {
  background: var(--bg-secondary);
}
.text-section.bg-primary {
  background: var(--bg-primary);
}
.text-block-card {
  padding: clamp(2rem, 5vw, 4rem);
}
.text-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.text-block-single {
  max-width: 760px;
  margin: 0 auto;
}
.text-block-body {
  color: var(--text-secondary);
  font-size: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.text-block-highlight {
  color: var(--accent-light);
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.text-block-quote-wrap {
  display: flex;
  align-items: center;
}
.text-block-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-light);
  font-style: italic;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

/* --- Cards Grid --- */
.cards-section {
  background: var(--bg-primary);
}
.cards-section.bg-secondary {
  background: var(--bg-secondary);
}
.cards-header {
  text-align: center;
  margin-bottom: 3rem;
}
.cards-header .section-subtitle {
  margin: 0 auto;
}
.cards-grid-layout {
  display: grid;
  gap: 1.5rem;
}
.cards-grid-layout.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cards-grid-layout.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-grid-layout.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.block-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.block-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--glass-radius-sm);
  margin-bottom: 1rem;
}
.block-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.block-card-text {
  color: var(--text-secondary);
  font-size: var(--text-body);
  flex: 1;
  line-height: 1.7;
}
.block-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: gap 0.3s var(--ease);
  margin-top: 1.5rem;
}
.block-card-link:hover {
  gap: 0.7rem;
}

/* --- Timeline Steps (reuses process styles) --- */
.timeline-section {
  background: var(--bg-secondary);
}
.timeline-section.bg-primary {
  background: var(--bg-primary);
}
.timeline-section.bg-primary .marker-diamond {
  background: var(--bg-primary);
}

/* --- Quote Block --- */
.quote-section {
  padding: 6rem 0;
}
.quote-section.bg-primary {
  background: var(--bg-primary);
}
.quote-section.bg-secondary {
  background: var(--bg-secondary);
}
.quote-block-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}
.quote-block-mark {
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.2;
  display: block;
  margin-bottom: 1rem;
  user-select: none;
}
.quote-block-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
}
.quote-block-attribution {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.1em;
  display: block;
}
.quote-block-attribution-title {
  color: var(--text-muted);
  font-size: var(--text-small);
  display: block;
  margin-top: 0.25rem;
}

/* --- CTA Block --- */
.cta-section {
  background: var(--bg-secondary);
}
.cta-section.bg-primary {
  background: var(--bg-primary);
}
.cta-block-inner {
  padding: clamp(2rem, 5vw, 4rem);
}
.cta-block-inner.align-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-block-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-block-text {
  color: var(--text-secondary);
  font-size: var(--text-body);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --- Image + Text --- */
.image-text-section {
  background: var(--bg-primary);
}
.image-text-section.bg-secondary {
  background: var(--bg-secondary);
}
.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.image-text-img-col.img-left {
  order: -1;
}
.image-text-img-col.img-right {
  order: 1;
}
.image-text-img-wrap {
  border-radius: var(--glass-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.image-text-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-text-body {
  color: var(--text-secondary);
  font-size: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.image-text-highlight {
  color: var(--accent-light);
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   BLOG — Single Post
   ============================================ */
.post-hero {
  background: var(--bg-primary);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.post-hero-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}
.post-hero-inner {
  position: relative;
  z-index: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.post-category {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-date {
  color: var(--text-muted);
  font-size: var(--text-small);
}
.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.post-excerpt {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 680px;
  line-height: 1.7;
}
.post-featured-image {
  border-radius: var(--glass-radius);
  overflow: hidden;
  margin-top: 3rem;
  aspect-ratio: 16/6;
}
.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content-section {
  background: var(--bg-secondary);
  padding: 6rem 0;
}
.entry-content {
  max-width: 720px;
  margin: 0 auto;
}
.entry-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.entry-content h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.entry-content p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.entry-content ul,
.entry-content ol {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.entry-content ul {
  list-style: disc;
}
.entry-content ol {
  list-style: decimal;
}
.entry-content li {
  margin-bottom: 0.5rem;
}
.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s;
}
.entry-content a:hover {
  text-decoration-color: var(--accent);
}
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--accent-light);
  font-size: 1.1rem;
}
.entry-content img {
  border-radius: var(--glass-radius-sm);
  margin: 2rem 0;
  max-width: 100%;
}
.entry-content hr {
  border: none;
  height: 1px;
  background: var(--glass-border);
  margin: 3rem 0;
}
.entry-content pre {
  background: var(--bg-tertiary);
  border-radius: var(--glass-radius-sm);
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}
.entry-content code {
  font-family: 'Courier New', monospace;
  background: var(--bg-tertiary);
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-size: 0.9rem;
}
.entry-content pre code {
  padding: 0;
  background: none;
}

.post-nav {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--glass-border);
}
.post-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 45%;
}
.post-nav-next {
  text-align: right;
  margin-left: auto;
}
.post-nav-dir {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.post-nav-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.3s;
}
.post-nav-link:hover .post-nav-title {
  color: var(--accent-light);
}

/* ============================================
   BLOG — Archive
   ============================================ */
.archive-hero {
  background: var(--bg-primary);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.archive-hero-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}
.archive-hero-inner {
  position: relative;
  z-index: 1;
}
.archive-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.archive-description {
  color: var(--text-secondary);
  font-size: var(--text-body);
  max-width: 560px;
  margin-top: 1rem;
}
.archive-posts {
  background: var(--bg-secondary);
  padding: 6rem 0;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.archive-card {
  display: flex;
  flex-direction: column;
}
.archive-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--glass-radius-sm) var(--glass-radius-sm) 0 0;
}
.archive-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.archive-card:hover .archive-card-image img {
  transform: scale(1.05);
}
.archive-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.archive-card-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.archive-card-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.archive-card-date {
  color: var(--text-muted);
  font-size: var(--text-small);
}
.archive-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.archive-card-title a {
  color: inherit;
}
.archive-card:hover .archive-card-title {
  color: var(--accent);
}
.archive-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}
.archive-card-excerpt p {
  margin: 0;
}
.archive-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  margin-top: 1.25rem;
  transition: gap 0.3s var(--ease);
}
.archive-card-link:hover {
  gap: 0.7rem;
}
.no-posts {
  color: var(--text-secondary);
  text-align: center;
  padding: 4rem 0;
}
.archive-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}
.page-numbers:hover,
.page-numbers.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.page-numbers.dots {
  background: none;
  border: none;
  width: auto;
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  background: var(--bg-primary);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-404-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}
.page-404-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
}
.page-404-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  display: block;
}
.page-404-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.page-404-text {
  color: var(--text-secondary);
  font-size: var(--text-body);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ============================================
   RESPONSIVE — Page Blocks
   ============================================ */
@media (max-width: 1024px) {
  .text-block-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid-layout.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .image-text-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .image-text-img-col.img-left,
  .image-text-img-col.img-right {
    order: 0;
  }
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .page-hero-section {
    padding: 6rem 0 4rem;
  }
  .cards-grid-layout.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .post-nav-links {
    flex-direction: column;
  }
  .post-nav-next {
    text-align: left;
    margin-left: 0;
  }
  .post-nav-link {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .cards-grid-layout.cols-2,
  .cards-grid-layout.cols-3,
  .cards-grid-layout.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WORDPRESS ADMIN BAR — Fixed nav offset
   ============================================ */
.admin-bar .glass-nav {
  top: 32px;
}
.admin-bar .mobile-menu-overlay {
  padding-top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .glass-nav {
    top: 46px;
  }
  .admin-bar .mobile-menu-overlay {
    padding-top: 46px;
  }
}

/* ============================================
   WYSIWYG / Rich Text Content
   ============================================ */
.wysiwyg-content p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.wysiwyg-content p:last-child {
  margin-bottom: 0;
}
.wysiwyg-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.75rem 0 0.75rem;
  line-height: 1.2;
}
.wysiwyg-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.6rem;
  line-height: 1.25;
}
.wysiwyg-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.25rem 0 0.4rem;
}
.wysiwyg-content strong {
  color: var(--text-primary);
  font-weight: 600;
}
.wysiwyg-content em {
  font-style: italic;
}
.wysiwyg-content a {
  color: var(--accent);
  transition: opacity 0.3s;
}
.wysiwyg-content a:hover {
  opacity: 0.75;
}
.wysiwyg-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wysiwyg-content ul li {
  color: var(--text-secondary);
  font-size: var(--text-body);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}
.wysiwyg-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.wysiwyg-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wysiwyg-content ol li {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.7;
}
.wysiwyg-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--accent-light);
  font-size: 1.05rem;
}

/* ============================================
   NEW BLOCKS
   ============================================ */

/* --- Full Image Block --- */
.full-image-section {
  background: var(--bg-primary);
}
.full-image-section.bg-secondary {
  background: var(--bg-secondary);
}
.full-image-section.size-full .container {
  max-width: 100%;
  padding: 0;
}
.full-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--glass-radius);
}
.full-image-section.size-full .full-image-wrap {
  border-radius: 0;
}
.full-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.full-image-wrap.ratio-16-9 img {
  aspect-ratio: 16/9;
}
.full-image-wrap.ratio-4-3 img {
  aspect-ratio: 4/3;
}
.full-image-wrap.ratio-3-2 img {
  aspect-ratio: 3/2;
}
.full-image-wrap.ratio-21-9 img {
  aspect-ratio: 21/9;
}
.full-image-wrap.ratio-original img {
  aspect-ratio: auto;
}
.full-image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(10, 10, 15, 0.75));
}
.full-image-overlay-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.full-image-overlay-caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-small);
}
.full-image-caption {
  color: var(--text-muted);
  font-size: var(--text-small);
  margin-top: 0.75rem;
  text-align: center;
}

/* --- Icon List Block --- */
.icon-list-section {
  background: var(--bg-primary);
}
.icon-list-section.bg-secondary {
  background: var(--bg-secondary);
}
.icon-list-section .section-header {
  text-align: left;
}
.icon-list-header {
  text-align: center;
  margin-bottom: 3rem;
}
.icon-list-header .section-subtitle {
  margin: 0 auto;
}
.icon-list-grid {
  display: grid;
  gap: 1.5rem;
}
.icon-list-grid.icon-list-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.icon-list-grid.icon-list-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.icon-list-grid.icon-list-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.icon-list-item {
  padding: 2rem;
}
.icon-list-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--accent);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}
.icon-list-icon svg {
  width: 100%;
  height: 100%;
}
.icon-list-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.icon-list-icon-default {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-list-icon-default::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.icon-list-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

/* --- Pricing Tiers Block --- */
.pricing-section {
  background: var(--bg-primary);
}
.pricing-section.bg-secondary {
  background: var(--bg-secondary);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
  padding-top: 1.5rem;
}
.pricing-tier {
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s;
}
.pricing-tier.pricing-tier--featured {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(230, 57, 70, 0.2);
  transform: translateY(-6px);
}
.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}
.pricing-tier-name {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.pricing-tier-body {
  flex: 1;
  margin-bottom: 2rem;
}
.pricing-cta {
  margin-top: auto;
}

/* --- Stats Row Block --- */
.stats-section {
  background: var(--bg-primary);
}
.stats-section.bg-secondary {
  background: var(--bg-secondary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.stats-item {
  padding: 2rem;
  text-align: center;
}
.stats-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--accent-glow);
}
.stats-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.4rem;
}
.stats-description {
  color: var(--text-muted);
  font-size: var(--text-small);
  line-height: 1.5;
}

/* --- Accordion Block --- */
.accordion-section {
  background: var(--bg-secondary);
}
.accordion-section.bg-primary {
  background: var(--bg-primary);
}
.accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.accordion-item {
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  transition: border-color 0.3s;
}
.accordion-item.accordion-open {
  border-color: rgba(230, 57, 70, 0.3);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  background: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.3s;
}
.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}
.accordion-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.accordion-item.accordion-open .accordion-icon {
  transform: rotate(180deg);
}
.accordion-panel {
  overflow: hidden;
}
.accordion-panel-inner {
  padding: 1.25rem 2rem 1.75rem;
  border-top: 1px solid var(--glass-border);
}

/* --- Logos Grid Block --- */
.logos-section {
  background: var(--bg-primary);
}
.logos-section.bg-secondary {
  background: var(--bg-secondary);
}
.logos-section .section-header {
  text-align: center;
}

/* Shared logo item card */
.logos-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition:
    opacity 0.3s,
    filter 0.3s,
    background 0.3s,
    border-color 0.3s;
  flex-shrink: 0;
}
.logos-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
}
.logos-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logos-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  max-width: 140px;
  display: block;
  filter: grayscale(100%) invert(1);
}

/* Static grid */
.logos-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  grid-template-columns: repeat(5, 1fr);
}
.logos-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.logos-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.logos-grid--cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.logos-grid--cols-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Carousel — Swiper */
.logos-carousel {
  overflow: hidden;
  position: relative;
  /* Swiper CSS vars */
  --swiper-theme-color: var(--accent);
  --swiper-navigation-size: 20px;
  --swiper-navigation-color: var(--accent);
  --swiper-pagination-color: var(--accent);
  --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.25);
  --swiper-pagination-bullet-inactive-opacity: 1;
}
/* Edge fade — only when arrows are hidden */
.logos-carousel--masked {
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}
.logos-carousel .swiper-wrapper {
  align-items: stretch;
  transition-timing-function: linear !important;
}
.logos-carousel .swiper-slide {
  height: auto;
}
/* Arrows */
.logos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.logos-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.logos-arrow--prev {
  left: -18px;
}
.logos-arrow--next {
  right: -18px;
}
.logos-arrow::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  display: block;
}
.logos-arrow--prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}
.logos-arrow--next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}
/* Disable Swiper's built-in arrow pseudo-elements */
.logos-arrow.swiper-button-prev::after,
.logos-arrow.swiper-button-next::after {
  font-family: unset;
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
}
.logos-arrow.swiper-button-prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}
.logos-arrow.swiper-button-next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}
/* Dots */
.logos-pagination {
  position: relative !important;
  bottom: unset !important;
  margin-top: 1.5rem;
  text-align: center;
}
.logos-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 4px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.logos-pagination .swiper-pagination-bullet-active {
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .logos-grid--cols-6 {
    grid-template-columns: repeat(4, 1fr);
  }
  .logos-grid--cols-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .logos-grid--cols-6,
  .logos-grid--cols-5,
  .logos-grid--cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .logos-grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .logos-grid--cols-6,
  .logos-grid--cols-5,
  .logos-grid--cols-4,
  .logos-grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ACF admin — logo repeater preview */
.acf-field .acf-image-value img {
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE — New Blocks
   ============================================ */
@media (max-width: 1024px) {
  .icon-list-grid.icon-list-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-tier.pricing-tier--featured {
    transform: none;
  }
}
@media (max-width: 768px) {
  .icon-list-grid.icon-list-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .icon-list-grid.icon-list-cols-2,
  .icon-list-grid.icon-list-cols-3,
  .icon-list-grid.icon-list-cols-4 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .accordion-trigger {
    padding: 1.25rem 1.5rem;
  }
  .accordion-body-inner {
    padding: 1rem 1.5rem 1.5rem;
  }
}

/* ============================================
   BLOG POSTS GRID
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.blog-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s,
    box-shadow 0.4s;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-glow);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.15);
}

.blog-card-image-wrap {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}
.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}
.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.blog-card-category {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 100px;
  padding: 0.2em 0.75em;
  text-decoration: none;
  line-height: 1.5;
  transition: background 0.3s, border-color 0.3s;
}
.blog-card-category:hover {
  background: rgba(230, 57, 70, 0.18);
  border-color: var(--accent);
}
.blog-card-date {
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.blog-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}
.blog-card-title a:hover {
  color: var(--accent);
}

.blog-card-excerpt {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-card-link {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: gap 0.25s var(--ease);
  margin-top: auto;
}
.blog-card-link:hover {
  gap: 0.55em;
}

/* ── Blog grid loading state ─────────────────────────────────────────────── */
.blog-grid--loading {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.25s;
}

@keyframes blog-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.blog-card--entering {
  animation: blog-card-in 0.35s var(--ease) both;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.blog-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: var(--glass-radius-sm, 8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  line-height: 1;
}
.blog-pager__btn:hover:not(:disabled) {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.4);
  color: var(--accent);
}
.blog-pager__btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  cursor: default;
}
.blog-pager__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.blog-pager__prev,
.blog-pager__next {
  font-size: 1rem;
}
.blog-pager__ellipsis {
  color: var(--text-secondary);
  font-size: var(--text-small);
  padding: 0 0.25rem;
  line-height: 2.5rem;
}

/* ── Load More ───────────────────────────────────────────────────────────── */
.blog-load-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.blog-load-more {
  position: relative;
  min-width: 10rem;
  transition: opacity 0.2s;
}
.blog-load-more.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.blog-load-more.is-loading::after {
  content: '';
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  margin-left: 0.5em;
  vertical-align: middle;
  animation: blog-spinner 0.6s linear infinite;
}
@keyframes blog-spinner {
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .blog-grid,
  .blog-grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-grid,
  .blog-grid--cols-2,
  .blog-grid--cols-3 {
    grid-template-columns: 1fr;
  }
}
