/* ============================================================
   DreamWeb Studios – Stylesheet v2
   ============================================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-bg, #0b0e1a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.45s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.page-loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-primary, #d71934);
  border-radius: 50%;
  animation: loader-spin 0.7s linear infinite;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

:root {
  --color-bg: #0b0e1a;
  --color-bg-alt: #111428;
  --color-surface: #161a30;
  --color-surface-2: #1c1f33;
  --color-primary: #d71934;
  --color-primary-light: #ff4d6a;
  --color-primary-dark: #a01228;
  --color-text: #f0f0f5;
  --color-text-muted: #9ca3b8;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.14);

  --color-white-bg: #f5f3f0;
  --color-white-bg-alt: #edeae6;
  --color-dark-text: #1a1a2e;
  --color-dark-text-secondary: #5a5a6e;
  --color-light-border: rgba(0, 0, 0, 0.08);

  --color-footer-bg: #f5f3f0;
  --color-footer-text: #2a2a2a;

  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Allura', cursive;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-btn: 6px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 40px rgba(215, 25, 52, 0.15);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --container-max: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
.text-accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient text – use on any element to get gradient-filled text */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient--reverse {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient--vertical {
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom gradient: pass your own via inline style or use a modifier */
.text-gradient-custom {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(215, 25, 52, 0.25);
  border-radius: var(--radius-btn);
  background: rgba(215, 25, 52, 0.06);
}

.section-tag--light {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title--white { color: #fff; }

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(215, 25, 52, 0.05);
}

.btn--white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn--white:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 22px; font-size: 0.8rem; }
.btn--lg { padding: 18px 40px; font-size: 1rem; }

.btn-arrow { transition: transform var(--transition-fast); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.services .btn--outline,
.projects .btn--outline {
  color: var(--color-dark-text);
  border-color: var(--color-light-border);
}

.services .btn--outline:hover,
.projects .btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============================================================
   PARTICLE CANVAS (inside hero)
   ============================================================ */
.hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   HERO BACKGROUND – REUSABLE (apply to any element)
   ============================================================
   Add class "hero-bg" to your container, then add these children:
   - .hero-bg__noise  (noise texture)
   - .hero-bg__grid   (grid overlay)
   - .hero-bg__canvas (for particle canvas – use with your JS)
   - .hero-bg__speckle (optional CSS-only red dots, no JS)
   ============================================================ */
.hero-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0e1a 0%, #111428 50%, #0f1222 100%);
}

.hero-bg__noise {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;
}

.hero-bg__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  z-index: 2;
}

.hero-bg__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* CSS-only red speckles (no JS) – use when you don't use the particle canvas */
.hero-bg__speckle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(215, 25, 52, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 30% 60%, rgba(215, 25, 52, 0.25), transparent),
    radial-gradient(1.2px 1.2px at 50% 30%, rgba(215, 25, 52, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(215, 25, 52, 0.2), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(215, 25, 52, 0.28), transparent),
    radial-gradient(1.2px 1.2px at 15% 85%, rgba(215, 25, 52, 0.22), transparent),
    radial-gradient(1.5px 1.5px at 65% 15%, rgba(215, 25, 52, 0.25), transparent),
    radial-gradient(1px 1px at 40% 50%, rgba(215, 25, 52, 0.18), transparent);
  background-size: 200% 180%, 220% 200%, 180% 220%, 200% 190%, 210% 200%, 190% 210%, 200% 200%, 185% 195%;
  background-position: 0% 0%, 40% 60%, 60% 20%, 80% 70%, 20% 80%, 50% 40%, 70% 30%, 30% 50%;
  animation: hero-bg-speckle 25s ease-in-out infinite;
}

@keyframes hero-bg-speckle {
  0%, 100% { opacity: 1; background-position: 0% 0%, 40% 60%, 60% 20%, 80% 70%, 20% 80%, 50% 40%, 70% 30%, 30% 50%; }
  33% { opacity: 0.9; background-position: 10% 10%, 50% 70%, 70% 30%, 90% 60%, 30% 70%, 60% 50%, 80% 40%, 40% 60%; }
  66% { opacity: 1; background-position: 5% 5%, 45% 50%, 65% 25%, 85% 75%, 25% 85%, 55% 45%, 75% 35%, 35% 55%; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border-radius: 0;
}

.navbar.scrolled {
  top: 12px;
  width: min(calc(100% - 32px), var(--container-max));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  height: 60px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 10;
}

.logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-base);
}

.navbar.scrolled .logo-img {
  filter: none;
}

.logo-img--footer {
  filter: none;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-btn);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
  color: var(--color-dark-text-secondary);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--color-dark-text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-cta-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-btn);
  margin-left: 8px;
  transition: all var(--transition-base);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
}

.nav-drawer-close {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
  position: relative;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-dark-text);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-height) + 48px) 24px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0e1a 0%, #111428 50%, #0f1222 100%);
  color: #fff;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

/* Mouse-follow glow */
.hero-cursor-glow {
  position: absolute;
  width: min(90vw, 700px);
  height: min(90vw, 700px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 100, 246, 0.14) 0%,
    rgba(139, 92, 246, 0.08) 35%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  transition-property: opacity;
  will-change: transform;
}

.hero:not(.hero--hover) .hero-cursor-glow {
  opacity: 0.4;
}

.hero.hero--hover .hero-cursor-glow {
  opacity: 1;
}

.hero-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-gradient--1 {
  width: 600px;
  height: 600px;
  background: rgba(59, 100, 246, 0.12);
  top: -100px;
  right: -200px;
  animation: float-slow 20s ease-in-out infinite;
}

.hero-gradient--2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.08);
  bottom: -150px;
  left: -200px;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-gradient--3 {
  width: 400px;
  height: 400px;
  background: rgba(59, 100, 246, 0.06);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}

.hero-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
  flex-wrap: nowrap;
}

.hero-static { white-space: nowrap; }

.hero-rotating-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.2em;
  vertical-align: baseline;
  text-align: left;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-rotating {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-word {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  white-space: nowrap;
}

.hero-script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.8em;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: -.3em;
}

.hero-cta { margin-top: 8px; }

/* Trust bar */
.hero-trust {
  position: relative;
  z-index: 3;
  margin-top: 64px;
  width: 100%;
  max-width: 900px;
  padding-bottom: 48px;
}

.hero-trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  opacity: 0.6;
  font-weight: 400;
}

.hero-logos {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hero-logos-track {
  display: flex;
  gap: 48px;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.trust-logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.3;
  white-space: nowrap;
  letter-spacing: 0.03em;
  transition: opacity var(--transition-fast);
}

.trust-logo:hover { opacity: 0.9; }

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   WORK CAROUSEL – FULL WIDTH
   ============================================================ */
.work {
  position: relative;
  z-index: 3;
  padding: 20px 0 80px;
  overflow: hidden;
}

.work-carousel { width: 100%; }

.work-carousel-viewport {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

.work-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5;
}

.work-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.08);
}

.work-track-wrapper {
  flex: 1;
  overflow: hidden;
}

.work-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.work-card {
  flex: 0 0 calc((100% - 60px) / 4);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.work-card-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1e2137;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chrome-dot:nth-child(1) { background: #ff5f57; }
.chrome-dot:nth-child(2) { background: #ffbd2e; }
.chrome-dot:nth-child(3) { background: #28c840; }

.chrome-url {
  margin-left: 10px;
  font-size: 0.68rem;
  color: var(--color-text-muted);
  opacity: 0.5;
}

.work-card-img {
  height: 300px;
  overflow: hidden;
}

.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.work-card:hover .work-card-img img {
  transform: translateY(-15%);
}

.work-card-info {
  padding: 16px 18px 18px;
}

.work-card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: 6px;
  display: block;
}

.work-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.work-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.work-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.work-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(215, 25, 52, 0.4);
}

.work-dot:hover { background: rgba(255, 255, 255, 0.4); }

/* ============================================================
   SERVICES (WHITE BG) — LEFT-RIGHT LAYOUT
   ============================================================ */
.services {
  position: relative;
  z-index: 1;
  padding: 100px 0 100px;
  background: var(--color-white-bg);
  color: var(--color-dark-text);
}

.services .section-title { color: var(--color-dark-text); }
.services .section-desc { color: var(--color-dark-text-secondary); margin-bottom: 28px; }

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.services-left {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.services-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-white-bg-alt);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: default;
}

.service-pill:hover {
  border-color: rgba(215, 25, 52, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.service-pill i {
  font-size: 0.95rem;
  color: var(--color-primary);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.service-pill span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-dark-text);
  line-height: 1.2;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  text-align: left;
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0 0 3px 3px;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-quote-icon {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 16px;
  display: block;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  font-size: 0.75rem;
  color: #ffbd2e;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 0.03em;
}

.testimonial-author strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-author span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 300;
  margin-top: 2px;
}

/* ============================================================
   FEATURED PROJECTS (WHITE BG)
   ============================================================ */
.projects {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--color-white-bg);
  color: var(--color-dark-text);
}

.projects .section-title {
  color: var(--color-dark-text);
  margin-bottom: 0;
}

.projects-header {
  text-align: center;
  margin-bottom: 48px;
}

.projects-header .section-tag { margin-bottom: 12px; }

.projects-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 4px;
}

.gallery-overlay h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  text-align: left;
  overflow: hidden;
  background: var(--color-bg);
}

.cta-noise {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.cta-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.cta-gradient--1 {
  width: 500px;
  height: 500px;
  background: rgba(215, 25, 52, 0.1);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.cta-gradient--2 {
  width: 400px;
  height: 400px;
  background: rgba(99, 30, 233, 0.06);
  bottom: -100px;
  right: -100px;
}

.cta-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-left {
  padding-top: 20px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-script {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 36px;
}

.cta-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cta-perk-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(215, 25, 52, 0.12);
  color: var(--color-primary-light);
  font-size: 1rem;
}

.cta-perk strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.cta-perk span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

.cta-right {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-btn);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  background: rgba(215, 25, 52, 0.04);
  box-shadow: 0 0 0 3px rgba(215, 25, 52, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239ca3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.form-submit {
  text-align: center;
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
}

.contact-form .form-group { margin-bottom: 16px; }

/* ============================================================
   FOOTER (CREAM BG – MATCHING OG)
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: #666;
  font-weight: 300;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: var(--color-footer-text);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
  font-weight: 400;
}

.footer-col a:hover { color: var(--color-primary); }

.footer-col a i {
  font-size: 0.82rem;
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  color: #999;
  font-weight: 400;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #999;
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--color-primary); }

/* ============================================================
   PAGE HERO BANNER (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 60px) 24px 60px;
  background: linear-gradient(180deg, #0b0e1a 0%, #111428 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero-breadcrumb {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.page-hero-breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.page-hero-breadcrumb a:hover { color: #fff; }

.page-hero-breadcrumb span { color: rgba(255,255,255,0.3); margin: 0 8px; }

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================================
   INNER PAGE SECTIONS
   ============================================================ */
.page-section {
  padding: 100px 0;
  background: var(--color-white-bg);
  color: var(--color-dark-text);
}

.page-section--dark {
  background: var(--color-bg);
  color: var(--color-text);
}

/* -- Project Cards Grid (projects page) -- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.project-card-img {
  height: 220px;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 24px;
}

.project-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.project-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 8px;
}

.project-card-desc {
  font-size: 0.85rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.project-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.project-card-link:hover { gap: 10px; }

.project-card-links .project-card-link { margin-bottom: 0; }

/* ============================================================
   CASE STUDY PAGE
   ============================================================ */
.case-study-hero {
  position: relative;
  padding: calc(var(--nav-height) + 48px) 0 0;
  background: linear-gradient(180deg, #0b0e1a 0%, #111428 100%);
  color: #fff;
  overflow: hidden;
}

.case-study-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
}

.case-study-hero .page-hero-breadcrumb {
  margin-bottom: 16px;
}

.case-study-hero .page-hero-breadcrumb a:hover {
  color: #fff;
}

.case-study-hero-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 12px;
}

.case-study-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.case-study-hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.case-study-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
}

.case-study-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.case-study-meta-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.case-study-meta-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.case-study-meta-link:hover {
  color: #fff;
  gap: 10px;
}

.case-study-hero-image {
  position: relative;
  z-index: 1;
  margin-top: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.3);
}

.case-study-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.case-study-content {
  max-width: 720px;
}

.case-study-content .section-tag {
  margin-bottom: 12px;
}

.case-study-content .section-title {
  margin-bottom: 24px;
}

.case-study-content p {
  font-size: 1rem;
  color: var(--color-dark-text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.case-study-content p:last-child {
  margin-bottom: 0;
}

.case-study-content--narrow {
  max-width: 600px;
}

.case-study-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.case-study-split-text .section-tag {
  margin-bottom: 12px;
}

.case-study-split-text .section-title {
  margin-bottom: 20px;
}

.case-study-split-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 0;
}

.case-study-split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.case-study-split-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.case-study-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin-top: 32px;
}

.case-study-list li {
  font-size: 1rem;
  color: var(--color-dark-text-secondary);
  line-height: 1.75;
  font-weight: 300;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-light-border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.case-study-list li:last-child {
  border-bottom: none;
}

.case-study-list strong {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-dark-text);
  min-width: 100px;
}

.case-study-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.case-study-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.case-study-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-study-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.case-study-result-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-white-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-border);
}

.case-study-result-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.case-study-result-label {
  font-size: 0.9rem;
  color: var(--color-dark-text-secondary);
  font-weight: 500;
}

.case-study-quote {
  margin: 0;
  padding: 48px 0;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.case-study-quote-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 24px;
  font-style: italic;
}

.case-study-quote-author {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.case-study-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.case-study-cta-buttons .btn--outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* -- About Page -- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story-text .section-title { color: var(--color-dark-text); }
.about-story-text .section-desc { color: var(--color-dark-text-secondary); }

.about-story-text p {
  font-size: 0.95rem;
  color: var(--color-dark-text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

.about-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-story-img img {
  width: 100%;
  height: auto;
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
}

.value-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(215, 25, 52, 0.1);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* -- Contact Page (light variant form) -- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 12px;
}

.contact-info > p {
  font-size: 0.95rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(215, 25, 52, 0.08);
  color: var(--color-primary);
  font-size: 1rem;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: 2px;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.85rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
}

.contact-detail-text a:hover { color: var(--color-primary); }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-dark-text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.contact-socials a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-card .form-group label {
  color: var(--color-dark-text-secondary);
}

.contact-form-card .form-group input,
.contact-form-card .form-group textarea,
.contact-form-card .form-group select {
  color: var(--color-dark-text);
  background: var(--color-white-bg-alt);
  border-color: var(--color-light-border);
}

.contact-form-card .form-group input::placeholder,
.contact-form-card .form-group textarea::placeholder {
  color: var(--color-dark-text-secondary);
  opacity: 0.5;
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group textarea:focus,
.contact-form-card .form-group select:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(215, 25, 52, 0.08);
}

.contact-form-card .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a5a6e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form-card .form-group select option {
  background: #fff;
  color: var(--color-dark-text);
}

/* -- Page bottom CTA strip -- */
.page-cta-strip {
  padding: 80px 0;
  background: var(--color-bg);
  text-align: center;
}

.page-cta-strip h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.page-cta-strip p {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: 28px;
}

/* ============================================================
   INNER PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-story-img { order: -1; }
  .contact-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .case-study-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .case-study-split-visual { order: -1; }
  .case-study-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-study-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--nav-height) + 40px) 20px 40px;
  }
  .page-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .page-section {
    padding: 60px 0;
  }
  .page-cta-strip {
    padding: 60px 0;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .project-card-img { height: 180px; }
  .project-card-body { padding: 18px; }
  .case-study-hero {
    padding: calc(var(--nav-height) + 32px) 0 0;
  }
  .case-study-hero-meta {
    gap: 20px 32px;
  }
  .case-study-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .case-study-result-item {
    padding: 24px 20px;
  }
  .case-study-quote {
    padding: 36px 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-form-card { padding: 24px; }
}

@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card-img { height: 200px; }
  .case-study-hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  .case-study-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .case-study-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .case-study-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .page-cta-strip h2 { font-size: 1.5rem; }
  .page-cta-strip .btn--lg {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
  .contact-form-card { padding: 20px; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: var(--color-dark-text-secondary);
  font-weight: 400;
}

.blog-card-meta .blog-category {
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card-meta .blog-date { opacity: 0.7; }

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.blog-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.blog-card-link:hover { gap: 10px; }

.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  transition: all var(--transition-base);
}

.blog-featured:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.blog-featured-img {
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-body {
  padding: 40px 40px 40px 0;
}

.blog-featured-body .blog-card-meta { margin-bottom: 16px; }
.blog-featured-body .blog-card-title {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.blog-featured-body .blog-card-excerpt {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

/* ── Blog Post / Article ── */
.blog-article {
  max-width: 740px;
  margin: 0 auto;
}

.blog-article-header {
  margin-bottom: 40px;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--color-dark-text-secondary);
}

.blog-article-meta .blog-category {
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-article-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-dark-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.blog-article-subtitle {
  font-size: 1.1rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

.blog-article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.blog-article-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-article-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}

.blog-article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin: 32px 0 12px;
}

.blog-article-content p {
  font-size: 1rem;
  color: var(--color-dark-text-secondary);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 20px;
}

.blog-article-content ul,
.blog-article-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.blog-article-content li {
  font-size: 1rem;
  color: var(--color-dark-text-secondary);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 8px;
}

.blog-article-content blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 20px 24px;
  margin: 28px 0;
  background: var(--color-white-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-article-content blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-dark-text);
  font-weight: 400;
  margin-bottom: 0;
}

.blog-article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  margin-top: 40px;
  border-top: 1px solid var(--color-light-border);
}

.blog-article-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(215, 25, 52, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.blog-article-author-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-dark-text);
}

.blog-article-author-bio {
  font-size: 0.82rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  margin-top: 2px;
}

.blog-related {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--color-light-border);
}

.blog-related .section-title {
  color: var(--color-dark-text);
  font-size: 1.4rem;
  margin-bottom: 28px;
}

/* ── Blog responsive ── */
@media (max-width: 1100px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-img { min-height: 240px; }
  .blog-featured-body { padding: 32px; }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .blog-card-img { height: 170px; }
  .blog-card-body { padding: 20px; }
  .blog-featured-body .blog-card-title { font-size: 1.25rem; }
  .blog-article-content h2 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-img { height: 200px; }
  .blog-featured-body { padding: 24px; }
}

/* ============================================================
   HOSTING PAGE
   ============================================================ */
.hosting-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hosting-feature {
  background: #fff;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
}

.hosting-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(215, 25, 52, 0.2);
}

.hosting-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(215, 25, 52, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.hosting-feature h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 8px;
}

.hosting-feature p {
  font-size: 0.82rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.65;
}

.hosting-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.hosting-split--reverse {
  grid-template-columns: 1.2fr 1fr;
}

.hosting-split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hosting-split-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hosting-split-text .section-title { margin-bottom: 20px; }

.hosting-split-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

.hosting-split-text p:last-of-type { margin-bottom: 0; }

/* ============================================================
   PRICING HIGHLIGHT (single featured card)
   ============================================================ */
.pricing-highlight {
  display: flex;
  justify-content: center;
}

.pricing-highlight-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(12px);
}

.pricing-highlight-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
  background: rgba(215, 25, 52, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.pricing-highlight-price {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-highlight-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.pricing-highlight-period {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-highlight-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
}

.pricing-highlight-list {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-highlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-highlight-list li:last-child { border-bottom: none; }

.pricing-highlight-list li i {
  color: var(--color-primary-light);
  font-size: 0.75rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

/* ============================================================
   PRICING GRID (plans page)
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
}

.pricing-card--featured {
  background: rgba(215, 25, 52, 0.06);
  border-color: rgba(215, 25, 52, 0.3);
  box-shadow: 0 0 40px rgba(215, 25, 52, 0.1);
}

.pricing-card--featured:hover {
  border-color: rgba(215, 25, 52, 0.5);
}

.pricing-card-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  padding: 5px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 10px;
}

.pricing-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.pricing-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.pricing-card-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.pricing-card-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-card-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.pricing-card-features li i {
  color: var(--color-primary-light);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.pricing-card-feature--muted {
  opacity: 0.4;
}

.pricing-card-feature--muted i {
  color: var(--color-text-muted) !important;
}

.pricing-card-btn {
  width: 100%;
  justify-content: center;
}

.pricing-card .btn--outline {
  color: rgba(255, 255, 255, 0.8);
  border-color: var(--color-border);
}

.pricing-card .btn--outline:hover {
  border-color: var(--color-primary);
  color: #fff;
  background: rgba(215, 25, 52, 0.1);
}

/* ============================================================
   PLANS FOUNDATION CARD
   ============================================================ */
.plans-foundation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #fff;
  border: 2px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.plans-foundation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.plans-foundation-badge i {
  font-size: 0.8rem;
}

.plans-foundation-left h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 8px;
}

.plans-foundation-left p {
  font-size: 0.85rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.65;
  max-width: 440px;
}

.plans-foundation-right {
  text-align: center;
  flex-shrink: 0;
}

.plans-foundation-price {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.plans-foundation-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-dark-text);
  letter-spacing: -0.03em;
}

.plans-foundation-period {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-dark-text-secondary);
}

/* ============================================================
   PLANS COMPARISON TABLE
   ============================================================ */
.plans-compare-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plans-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.plans-compare th,
.plans-compare td {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-light-border);
}

.plans-compare th {
  font-weight: 700;
  color: var(--color-dark-text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-white-bg-alt);
  padding: 16px 20px;
}

.plans-compare th:first-child,
.plans-compare td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-dark-text);
}

.plans-compare td {
  color: var(--color-dark-text-secondary);
  font-weight: 400;
}

.plans-compare td i.fa-check {
  color: var(--color-primary);
  font-size: 0.85rem;
}

.plans-compare td i.fa-minus {
  color: var(--color-dark-text-secondary);
  font-size: 0.75rem;
}

.plans-compare-price-row td {
  padding-top: 20px;
  border-bottom: none;
}

.plans-compare-price-row td strong {
  font-size: 1rem;
  color: var(--color-dark-text);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-light-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark-text);
  transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question:hover { color: var(--color-primary); }

.faq-question span { flex: 1; }

.faq-icon {
  font-size: 0.75rem;
  color: var(--color-dark-text-secondary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 12px;
}

.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.faq-answer ul li {
  font-size: 0.88rem;
  color: var(--color-dark-text-secondary);
  font-weight: 300;
  line-height: 1.7;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.faq-answer ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ── Hosting / Plans responsive ── */
@media (max-width: 1100px) {
  .hosting-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hosting-split,
  .hosting-split--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hosting-split-visual { order: -1; }
  .plans-foundation-card {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .plans-foundation-left p { max-width: none; }
}

@media (max-width: 768px) {
  .hosting-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hosting-feature { padding: 22px 20px; }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-highlight-card { padding: 36px 28px; }
  .pricing-highlight-amount { font-size: 2.8rem; }
  .plans-foundation-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hosting-features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card { padding: 28px 22px 24px; }
  .pricing-card-amount { font-size: 2.2rem; }
  .pricing-highlight-amount { font-size: 2.4rem; }
  .pricing-highlight-card { padding: 28px 20px; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================
   .reveal is only hidden after JS adds .js-reveal-ready to html,
   so if the script doesn't run, content still shows.
*/
.reveal {
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

html.js-reveal-ready .reveal:not(.visible) {
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .work-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-left { position: static; }

  .services-compact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cta-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── Mobile overlay backdrop ── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 26, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-backdrop { display: block; }

  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .nav-toggle span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
  }

  .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle span:nth-child(2) { transform: translateY(0); }
  .nav-toggle span:nth-child(3) { transform: translateY(7px); }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(0);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(0);
  }

  .navbar.scrolled .nav-toggle span { background: var(--color-dark-text); }
  .nav-toggle.active span { background: #fff; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 4px;
    padding: 80px 28px 40px;
    background: var(--color-bg);
    z-index: 1001;
    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-btn);
    color: var(--color-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
  }

  .nav-drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }

  .nav-link {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    text-align: right;
    border-radius: var(--radius-btn);
    opacity: 0;
    transform: translateX(20px);
    transition: color var(--transition-fast),
                background var(--transition-fast),
                opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-text-muted);
  }

  .nav-links.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.open .nav-link:nth-of-type(1) { transition-delay: 0.08s; }
  .nav-links.open .nav-link:nth-of-type(2) { transition-delay: 0.13s; }
  .nav-links.open .nav-link:nth-of-type(3) { transition-delay: 0.18s; }
  .nav-links.open .nav-link:nth-of-type(4) { transition-delay: 0.23s; }
  .nav-links.open .nav-link:nth-of-type(5) { transition-delay: 0.28s; }

  .nav-links.open .nav-link:hover,
  .nav-links.open .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-cta-btn {
    margin-left: 0;
    margin-top: 20px;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-self: flex-end;
    padding: 14px 32px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open .nav-cta-btn {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.33s;
  }

  /* ── Hero mobile ── */
  .hero {
    padding-top: calc(var(--nav-height) + 32px);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero-title-line {
    flex-wrap: wrap;
    gap: 0.15em;
    justify-content: center;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
  }

  .hero-trust { margin-top: 40px; padding-bottom: 32px; }

  /* ── Carousel mobile ── */
  .work { padding: 10px 0 48px; }

  .work-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .work-card-img { height: 200px; }
  .work-arrow { width: 36px; height: 36px; }
  .work-carousel-viewport { gap: 10px; padding: 0 16px; }
  .work-dots { margin-top: 20px; gap: 6px; }

  /* ── Sections mobile ── */
  .services { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }

  .services-compact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials { padding: 60px 0; }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial-card { padding: 28px 24px 24px; }

  .projects { padding: 60px 0; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item { height: 220px; }

  .cta { padding: 60px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .services-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-trust-label { font-size: 0.65rem; }
  .hero-trust { margin-top: 32px; }

  .work-card { flex: 0 0 100%; }
  .work-card-img { height: 220px; }
  .work-arrow { display: none; }
  .work-carousel-viewport { padding: 0 20px; }
  .work-dots { flex-wrap: wrap; gap: 5px; margin-top: 16px; }
  .work-dot { width: 6px; height: 6px; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item { height: 240px; }

  .gallery-overlay { opacity: 1; }

  .cta { padding: 60px 0; }

  .cta-right {
    padding: 24px;
  }

  .hero-cta { font-size: 0.88rem; padding: 14px 28px; }
  .btn--lg { padding: 14px 28px; font-size: 0.9rem; }

  .testimonial-card { padding: 24px 20px 20px; }
  .testimonial-text { font-size: 0.85rem; }
}
