/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #0ea5e9, #22d3ee);
  z-index: 1100;
  transition: width 0.08s linear;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(14,165,233,0.6);
}
body.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .scroll-progress { top: 46px; }
}

/* ===== REVEAL ON SCROLL ===== */
.mo-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.mo-reveal-in {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger card reveals nicely when in a grid */
.vn-grid .vn-card.mo-reveal { transition-delay: 0s; }
.vn-grid .vn-card.mo-reveal:nth-child(2) { transition-delay: 0.06s; }
.vn-grid .vn-card.mo-reveal:nth-child(3) { transition-delay: 0.12s; }
.vn-grid .vn-card.mo-reveal:nth-child(4) { transition-delay: 0.18s; }
.vn-grid .vn-card.mo-reveal:nth-child(5) { transition-delay: 0.06s; }
.vn-grid .vn-card.mo-reveal:nth-child(6) { transition-delay: 0.12s; }
.vn-grid .vn-card.mo-reveal:nth-child(7) { transition-delay: 0.18s; }
.vn-grid .vn-card.mo-reveal:nth-child(8) { transition-delay: 0.24s; }
.scroll-track .scroll-card.mo-reveal { transition-delay: 0s; }
.scroll-track .scroll-card.mo-reveal:nth-child(2) { transition-delay: 0.06s; }
.scroll-track .scroll-card.mo-reveal:nth-child(3) { transition-delay: 0.12s; }
.scroll-track .scroll-card.mo-reveal:nth-child(4) { transition-delay: 0.18s; }
.scroll-track .scroll-card.mo-reveal:nth-child(5) { transition-delay: 0.24s; }
.scroll-track .scroll-card.mo-reveal:nth-child(6) { transition-delay: 0.30s; }
.adv-grid .adv-card.mo-reveal:nth-child(2) { transition-delay: 0.06s; }
.adv-grid .adv-card.mo-reveal:nth-child(3) { transition-delay: 0.12s; }
.adv-grid .adv-card.mo-reveal:nth-child(4) { transition-delay: 0.18s; }
.adv-grid .adv-card.mo-reveal:nth-child(5) { transition-delay: 0.24s; }
.adv-grid .adv-card.mo-reveal:nth-child(6) { transition-delay: 0.30s; }
.action-magazine .am-item.mo-reveal:nth-child(2) { transition-delay: 0.05s; }
.action-magazine .am-item.mo-reveal:nth-child(3) { transition-delay: 0.10s; }
.action-magazine .am-item.mo-reveal:nth-child(4) { transition-delay: 0.15s; }
.action-magazine .am-item.mo-reveal:nth-child(5) { transition-delay: 0.20s; }
.action-magazine .am-item.mo-reveal:nth-child(6) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .mo-reveal { opacity: 1; transform: none; transition: none; }
}

:root {
  --dark: #0a0e17;
  --dark-blue: #0f1923;
  --teal: #0ea5e9;
  --teal-dark: #0284c7;
  --teal-light: #38bdf8;
  --cyan: #22d3ee;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

/* WP Admin bar offset */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}
.nav.nav-scrolled {
  background: rgba(10, 14, 23, 0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav.nav-scrolled .nav-inner { height: 66px; }

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
  max-width: 180px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--white); }

/* WP menu reset */
.nav-links .menu { display: flex; gap: 2rem; list-style: none; align-items: center; padding: 0; margin: 0; }
.nav-links .menu li { list-style: none; white-space: nowrap; }
.nav-links .menu a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links .menu a:hover,
.nav-links .menu .current-menu-item > a { color: var(--white); }
.nav-links .menu .menu-item-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--dark);
  box-shadow: 0 0 20px rgba(14,165,233,0.3);
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-links .menu .menu-item-cta a:hover {
  box-shadow: 0 0 30px rgba(14,165,233,0.5);
  transform: translateY(-2px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-glow {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--dark);
  box-shadow: 0 0 20px rgba(14,165,233,0.3);
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(14,165,233,0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-solid {
  background: var(--teal);
  color: white;
}
.btn-solid:hover { background: var(--teal-dark); }

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--dark);
  color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: white;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,14,23,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.active { display: flex; opacity: 1; }
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal-light); }
.mobile-menu .btn-glow { font-size: 1rem; padding: 0.8rem 2rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: var(--dark);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* Slight zoom so parallax translateY doesn't reveal edges */
  transform: scale(1.05);
  transition: transform 0.1s linear;
}
.hero-video-bg img,
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.05) saturate(1.2) contrast(1.08);
}

/* Subtle vignette: keep left readable for text, fade away on right where action is */
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,23,0.45) 0%, rgba(10,14,23,0.0) 22%, rgba(10,14,23,0.0) 65%, rgba(10,14,23,0.85) 100%),
    linear-gradient(90deg, rgba(10,14,23,0.86) 0%, rgba(10,14,23,0.55) 35%, rgba(10,14,23,0.15) 65%, rgba(10,14,23,0.0) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 60%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, black 0%, transparent 75%);
  pointer-events: none;
}

/* Kept for sub-page hero compatibility */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,14,23,0.05) 0%, rgba(10,14,23,0.7) 80%);
}
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  max-width: 720px;
  padding: 9rem 2rem 5rem;
  margin: 0 auto 0 max(4rem, 6vw);
  animation: fadeUp 0.9s ease 0.1s both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.35);
  color: var(--teal-light);
  padding: 0.45rem 1.1rem 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,211,238, 0.6);
  animation: pulse-glow 1.8s infinite;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(34,211,238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238, 0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.04;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--teal-light), var(--cyan) 60%, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.4rem;
  max-width: 560px;
  line-height: 1.7;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.hero p strong { color: var(--white); font-weight: 700; }

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.hm-item {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  border-left: 2px solid rgba(34,211,238,0.45);
}
.hm-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}
.hm-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  background: rgba(10,14,23,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  animation: bounce 2.2s infinite;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  z-index: 5;
}
.hero-scroll:hover { color: var(--white); background: rgba(14,165,233,0.85); border-color: rgba(14,165,233,0.6); }

/* Bottom fade so hero blends into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(10,14,23,0) 0%, var(--dark) 100%);
  pointer-events: none;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.hero-scroll:hover { animation-play-state: paused; }

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

/* ===== PAGE HERO (Subpages) ===== */
.page-hero {
  position: relative;
  padding: 10rem 2rem 4rem;
  background: var(--dark);
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-glow {
  width: 400px;
  height: 400px;
}
.page-hero .section-label { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gray-900);
  padding: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 5rem;
}
.stat-item { text-align: center; }
.stat-item .val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal-light);
  letter-spacing: -1px;
}
.stat-item .desc {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ===== SECTIONS ===== */
.section { padding: 7rem 2rem; }
.container { max-width: 1300px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* ===== SPLIT SECTIONS ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.split-img .tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(10,14,23,0.8);
  backdrop-filter: blur(10px);
  color: var(--teal-light);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(14,165,233,0.2);
}

.split-text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--gray-900);
}
.split-text p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--gray-800);
  font-size: 0.95rem;
}
.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== SCROLL CARDS ===== */
.scroll-section { background: var(--gray-50); }
.scroll-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.scroll-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--gray-900);
}
.scroll-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 500px;
}

.scroll-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.scroll-track.scroll-track-3 {
  grid-template-columns: repeat(3, 1fr);
}
.scroll-track.scroll-track-2 {
  grid-template-columns: repeat(2, 1fr);
}

.scroll-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--dark);
  text-decoration: none;
  box-shadow: 0 8px 28px -12px rgba(0,0,0,0.35);
  transition: box-shadow 0.4s, transform 0.4s;
}
.scroll-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.45), 0 0 0 1px rgba(14,165,233,0.25);
}
.scroll-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: all 0.6s ease;
}
.scroll-card:hover img {
  opacity: 1;
  transform: scale(1.07);
}
.scroll-card .sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,23,0.95) 0%, rgba(10,14,23,0.55) 40%, rgba(10,14,23,0.1) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.scroll-card .sc-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.32);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  position: absolute;
  top: 0.8rem;
  right: 1.3rem;
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.scroll-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.3rem;
}
.scroll-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ===== IMAGE DIVIDER ===== */
.image-divider {
  height: 400px;
  position: relative;
  overflow: hidden;
}
.image-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-divider .id-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--dark) 0%, rgba(10,14,23,0.3) 50%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-divider .id-content { text-align: center; color: white; }
.image-divider h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}
.image-divider p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

/* ===== ADVANTAGES (Dark) ===== */
.adv-section {
  background: var(--dark);
  color: white;
}
.adv-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.adv-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.adv-header p {
  font-size: 1.05rem;
  color: var(--gray-400);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.adv-grid.adv-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.adv-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.adv-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
}
.adv-card:hover::before { opacity: 1; }

.adv-card .a-icon {
  width: 44px;
  height: 44px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  margin-bottom: 1.2rem;
}
.adv-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.adv-card p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===== PHOTO GRID ===== */
.photo-section { background: var(--white); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 1rem;
}
.pg-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.pg-item:hover img { transform: scale(1.06); }
.pg-item:nth-child(1) { grid-column: 1 / 5; }
.pg-item:nth-child(2) { grid-column: 5 / 9; }
.pg-item:nth-child(3) { grid-column: 9 / 13; }
.pg-item:nth-child(4) { grid-column: 1 / 7; }
.pg-item:nth-child(5) { grid-column: 7 / 10; }
.pg-item:nth-child(6) { grid-column: 10 / 13; }

.pg-item .pg-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.pg-item:hover .pg-label { opacity: 1; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
}
.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.12), transparent 70%);
  bottom: -200px;
  right: -100px;
  border-radius: 50%;
}
.cta-content {
  position: relative;
  text-align: center;
}
.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.cta-content p {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.contact-left h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.contact-left > p {
  color: var(--gray-500);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.ci {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.ci-icon {
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.ci h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.ci p { font-weight: 500; color: var(--gray-800); }

.contact-form {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.3rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--gray-50);
  transition: all 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--dark);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
}
.btn-submit:hover {
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form Messages */
.form-message {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-message.success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #059669;
}
.form-message.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #dc2626;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer p { font-size: 0.82rem; }
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

/* WP footer menu reset */
.footer-links .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links .menu a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links .menu a:hover { color: white; }

/* ===== PROSE (for generic pages) ===== */
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.prose h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--gray-900); }
.prose h2 { font-size: 1.8rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--gray-900); }
.prose h3 { font-size: 1.4rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--gray-900); }
.prose p { margin-bottom: 1.2rem; color: var(--gray-600); line-height: 1.8; }
.prose ul, .prose ol { margin-bottom: 1.2rem; padding-left: 1.5rem; color: var(--gray-600); }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose a { color: var(--teal); text-decoration: underline; }
.prose a:hover { color: var(--teal-dark); }
.prose strong { color: var(--gray-800); }
.prose blockquote {
  border-left: 4px solid var(--teal);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--gray-500);
  font-style: italic;
}

/* ===== VORHER / NACHHER SLIDER ===== */
.vn-section {
  position: relative;
  padding: 7rem 2rem;
  background: radial-gradient(ellipse at 80% 0%, #0c1421 0%, #060912 60%);
  color: white;
  overflow: hidden;
}
.vn-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,165,233,0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.vn-section .container { position: relative; }

.vn-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}
.vn-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0.4rem 0 1.3rem;
}
.vn-head .muted { color: rgba(255,255,255,0.4); font-weight: 700; }
.vn-head p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* Featured large slider with sidebar */
.vn-featured {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
.vn-featured .ba-slider {
  aspect-ratio: 4/3;
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(14,165,233,0.18);
}
.vn-featured-info { padding: 1rem 0; }
.vn-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.3rem;
}
.vn-featured-info h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  color: white;
}
.vn-featured-info p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.vn-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.vn-list li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.vn-list li strong { color: var(--teal-light); font-weight: 700; }

/* Grid of smaller sliders */
.vn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.vn-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.vn-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,165,233,0.35);
}
.vn-card .ba-slider {
  aspect-ratio: 4/3;
  border-radius: 0;
}
.vn-card-info { padding: 1rem 1.2rem 1.3rem; }
.vn-mini-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.4rem;
}
.vn-card-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}

.vn-foot {
  text-align: center;
  margin-top: 3rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
}
.vn-foot-emoji { color: var(--teal-light); font-size: 1.1rem; margin-right: 0.4rem; }

/* ── Before/After Slider Component ── */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px;
  user-select: none;
  cursor: ew-resize;
  background: #0a0e17;
  touch-action: pan-y; /* allow vertical scroll, capture horizontal */
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
/* The wrap is a horizontal mask: width changes 0–100% but the image inside
   stays at full slider size so it never stretches. */
.ba-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  will-change: width;
  z-index: 2;
}
.ba-before-wrap .ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw; /* will be overridden in JS to match the slider's pixel width */
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  max-width: none;
  display: block;
}

/* Labels */
.ba-slider::before,
.ba-slider::after {
  position: absolute;
  top: 1rem;
  z-index: 5;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(10,14,23,0.75);
  color: white;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.ba-slider::before {
  content: "Vorher";
  left: 1rem;
}
.ba-slider::after {
  content: "Nachher";
  right: 1rem;
  background: rgba(14,165,233,0.92);
  color: var(--dark);
  border-color: rgba(14,165,233,0.5);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.95) 12%, rgba(255,255,255,0.95) 88%, transparent 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 0 25px rgba(14,165,233,0.6);
  z-index: 4;
  pointer-events: none;
}
.ba-handle .ba-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 0 0 4px rgba(255,255,255,0.18);
  transition: transform 0.15s;
}
.ba-slider:hover .ba-handle .ba-arrows { transform: translate(-50%, -50%) scale(1.06); }
.ba-slider.dragging .ba-handle .ba-arrows { transform: translate(-50%, -50%) scale(0.95); }
.ba-slider.dragging .ba-before-wrap { transition: none; }

/* ===== ACTION MAGAZINE GRID ===== */
.action-section { background: var(--gray-50); }
.action-magazine {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.am-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.3);
  transition: box-shadow 0.4s, transform 0.4s;
}
.am-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(0,0,0,0.45);
}
.am-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.4s;
  filter: saturate(1.05);
}
.am-item:hover img { transform: scale(1.07); filter: saturate(1.15); }
.am-item .am-overlay {
  position: absolute;
  inset: 0;
  padding: 1.3rem;
  background: linear-gradient(to top, rgba(10,14,23,0.94) 0%, rgba(10,14,23,0.35) 50%, rgba(10,14,23,0.0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.4s;
}
.am-item:hover .am-overlay {
  background: linear-gradient(to top, rgba(10,14,23,0.94) 0%, rgba(14,165,233,0.18) 60%, rgba(10,14,23,0.0) 100%);
}
.am-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}
.am-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.am-item.am-large {
  grid-column: span 6;
  grid-row: span 2;
}
.am-item.am-large h3 { font-size: 1.6rem; }
.am-item.am-wide { grid-column: span 6; }
.am-item:not(.am-large):not(.am-wide) { grid-column: span 3; }

/* Dark section for einsatzgebiete */
.dark-section {
  background: var(--dark);
  color: white;
}
.scroll-header.light h2 { color: var(--white); }
.scroll-header.light p { color: rgba(255,255,255,0.55); }
.dark-section .scroll-card { background: rgba(255,255,255,0.03); }

/* Section that contains the verfahren split with light bg */
.split-section { background: var(--white); padding-top: 8rem; padding-bottom: 8rem; }

/* CTA upgrade */
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */

/* ── Tablet & narrow laptop (≤1024px) ── */
@media (max-width: 1024px) {
  /* VN sliders */
  .vn-featured { grid-template-columns: 1fr; gap: 2rem; }
  .vn-grid { grid-template-columns: repeat(2, 1fr); }

  /* Action magazine: keep the large/wide hero items, smaller items in 2-col */
  .action-magazine {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
  }
  .am-item.am-large { grid-column: span 6; grid-row: span 2; }
  .am-item.am-wide { grid-column: span 6; }
  .am-item:not(.am-large):not(.am-wide) { grid-column: span 3; }

  /* Split sections stack */
  .split { grid-template-columns: 1fr; gap: 3rem; }

  /* Scroll & adv grids become 2 columns */
  .scroll-track,
  .scroll-track.scroll-track-3 { grid-template-columns: repeat(2, 1fr); }
  .adv-grid,
  .adv-grid.adv-grid-2 { grid-template-columns: repeat(2, 1fr); }

  /* Photo gallery becomes 2 columns */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .pg-item { grid-column: auto !important; height: 240px; }

  /* Contact stacks */
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  /* Featured info: a bit tighter so the bottom of the page doesn't feel cramped */
  .vn-featured-info { padding: 0; }
  .vn-featured-info h3 { font-size: 1.7rem; }

  /* Stats bar gap */
  .stats-inner { gap: 3rem; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Nav: hamburger */
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-inner { padding: 0 1.25rem; height: 70px; }
  .nav.nav-scrolled .nav-inner { height: 60px; }
  .logo img { height: 32px; max-width: 150px; }

  /* Hero: centered layout & uniform vignette */
  .hero { text-align: center; align-items: center; min-height: 92vh; }
  .hero-content {
    margin: 0 auto;
    padding: 6rem 1.25rem 4.5rem;
    max-width: 100%;
  }
  /* Stronger centered vignette so text is readable on any video frame */
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(10,14,23,0.55) 0%, rgba(10,14,23,0.15) 25%, rgba(10,14,23,0.15) 60%, rgba(10,14,23,0.95) 100%),
      radial-gradient(ellipse at center, rgba(10,14,23,0.55) 0%, rgba(10,14,23,0.85) 100%);
  }
  .hero-grid-overlay {
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); letter-spacing: -1px; line-height: 1.08; }
  .hero p { font-size: 1rem; line-height: 1.6; margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; gap: 0.7rem; margin-bottom: 2.4rem; }
  .hero-btns .btn { padding: 0.75rem 1.4rem; font-size: 0.92rem; }
  .hero-tag { margin-bottom: 1.2rem; font-size: 0.72rem; padding: 0.4rem 0.95rem 0.4rem 0.8rem; }

  /* Hero stats: centered, no left-border (looks weird when wrapped) */
  .hero-meta {
    gap: 1rem 1.6rem;
    justify-content: center;
    text-align: center;
  }
  .hm-item {
    padding-left: 0;
    border-left: 0;
    border-bottom: 2px solid rgba(34,211,238,0.45);
    padding-bottom: 0.4rem;
    min-width: 90px;
  }
  .hm-item strong { font-size: 1.4rem; }
  .hm-item span { font-size: 0.7rem; letter-spacing: 1px; }

  /* Hero scroll button */
  .hero-scroll { bottom: 1.4rem; font-size: 0.7rem; padding: 0.6rem 1.1rem; }

  /* Stats bar */
  .stats-bar { padding: 1.5rem 1rem; }
  .stats-inner { gap: 1.5rem 2.5rem; flex-wrap: wrap; }
  .stat-item .val { font-size: 1.8rem; }
  .stat-item .desc { font-size: 0.74rem; }

  /* Section spacing */
  .section { padding: 4.5rem 1.25rem; }
  .vn-section { padding: 4.5rem 1.25rem; }

  /* VN section */
  .vn-head { margin-bottom: 2.5rem; }
  .vn-head h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .vn-head p { font-size: 0.95rem; }
  .vn-grid { grid-template-columns: 1fr; gap: 1rem; }
  .vn-featured-info h3 { font-size: 1.45rem; }
  .vn-featured-info p { font-size: 0.95rem; }
  .vn-featured .ba-slider { aspect-ratio: 4/3; border-radius: 18px; }
  .vn-list li { padding: 0.7rem 0.95rem; font-size: 0.88rem; }
  .ba-handle .ba-arrows { width: 42px; height: 42px; }
  .ba-slider::before,
  .ba-slider::after { top: 0.7rem; font-size: 0.65rem; padding: 0.28rem 0.7rem; }
  .ba-slider::before { left: 0.7rem; }
  .ba-slider::after { right: 0.7rem; }
  .vn-foot { font-size: 0.82rem; padding: 0 0.5rem; margin-top: 2rem; }

  /* Action magazine: large hero on top full-width, then 2-col grid of small items */
  .action-magazine {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 0.8rem;
  }
  .am-item.am-large { grid-column: span 2; grid-row: span 2; }
  .am-item.am-wide  { grid-column: span 2; }
  .am-item:not(.am-large):not(.am-wide) { grid-column: span 1; }
  .am-item .am-overlay { padding: 1rem; }
  .am-item h3 { font-size: 0.9rem; }
  .am-item.am-large h3 { font-size: 1.3rem; }
  .am-item.am-wide h3 { font-size: 1.05rem; }
  .am-cat { font-size: 0.62rem; margin-bottom: 0.3rem; letter-spacing: 1.2px; }

  /* Split sections */
  .split-section { padding: 4.5rem 1.25rem; }
  .split-text h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .split-text p { font-size: 0.98rem; line-height: 1.7; }
  .split-img img { height: 320px; }
  .split-img .tag { top: 1rem; left: 1rem; font-size: 0.75rem; padding: 0.4rem 0.85rem; }

  /* Scroll cards: still 1 col but smaller aspect to avoid super-tall cards */
  .scroll-track,
  .scroll-track.scroll-track-3 { grid-template-columns: 1fr; gap: 1rem; }
  .scroll-card { aspect-ratio: 16/11; }
  .scroll-card .sc-overlay { padding: 1.2rem; }
  .scroll-card .sc-num { font-size: 2.6rem; top: 0.5rem; right: 1rem; }
  .scroll-card h3 { font-size: 1.05rem; }
  .scroll-header { margin-bottom: 1.8rem; gap: 0.6rem; }
  .scroll-header h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .scroll-header p { font-size: 0.95rem; }

  /* Advantages */
  .adv-section { padding: 4.5rem 1.25rem; }
  .adv-grid,
  .adv-grid.adv-grid-2 { grid-template-columns: 1fr; gap: 1rem; }
  .adv-header { margin-bottom: 2.5rem; }
  .adv-header h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .adv-card { padding: 1.5rem; }

  /* Photo grid */
  .photo-grid { grid-template-columns: 1fr; }
  .pg-item { height: 230px; }
  .pg-item .pg-label { opacity: 1; padding: 0.9rem 1rem; font-size: 0.82rem; }
  .feature-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-content h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .cta-content p { font-size: 1rem; max-width: 100%; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { width: 100%; justify-content: center; padding: 0.9rem 1.5rem !important; font-size: 0.95rem !important; }

  /* Image divider */
  .image-divider { height: 300px; }
  .image-divider .id-overlay { padding: 0 1.25rem; }
  .image-divider h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .image-divider p { font-size: 0.95rem; margin-bottom: 1.2rem; }

  /* Contact */
  .contact-section { padding: 4.5rem 1.25rem; }
  .contact-left h2 { font-size: 1.7rem; }
  .contact-form { padding: 1.6rem 1.25rem; border-radius: 18px; }
  .contact-form h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
  .field-row { grid-template-columns: 1fr; gap: 0.6rem; }
  /* Use 16px font on inputs to prevent iOS zoom on focus */
  .field input,
  .field select,
  .field textarea { font-size: 16px; padding: 0.85rem 1rem; }

  /* Page hero */
  .page-hero { padding: 8rem 1.25rem 3rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .page-hero p { font-size: 1rem; }

  /* Footer */
  .footer { padding: 2rem 1.25rem; }
  .footer-inner { flex-direction: column; gap: 1.25rem; text-align: center; }
  .footer-links { gap: 1.5rem; }
  .footer-links .menu { gap: 1.5rem; }

  /* Prose */
  .prose { padding: 3rem 1.25rem; }
  .prose h1 { font-size: 1.9rem; }
  .prose h2 { font-size: 1.5rem; }
  .prose h3 { font-size: 1.2rem; }

  /* Slightly relax stagger animations on mobile */
  .vn-grid .vn-card.mo-reveal,
  .vn-grid .vn-card.mo-reveal:nth-child(n) { transition-delay: 0s; }
  .scroll-track .scroll-card.mo-reveal,
  .scroll-track .scroll-card.mo-reveal:nth-child(n) { transition-delay: 0s; }
  .adv-grid .adv-card.mo-reveal,
  .adv-grid .adv-card.mo-reveal:nth-child(n) { transition-delay: 0s; }
}

/* ── Phone (≤480px) ── ultra-small refinements */
@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .logo img { height: 28px; max-width: 130px; }

  .hero-content { padding: 5.5rem 1rem 4rem; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.3rem); }
  .hero p { font-size: 0.95rem; }

  /* Buttons stack on tiny screens */
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* Stats: 3 items in a row, smaller */
  .hero-meta { gap: 0.8rem; }
  .hm-item { min-width: 80px; }
  .hm-item strong { font-size: 1.25rem; }
  .hm-item span { font-size: 0.65rem; letter-spacing: 0.8px; }

  /* Section padding */
  .section, .vn-section, .split-section, .adv-section, .contact-section { padding: 3.5rem 1rem; }

  /* Action magazine becomes single column for clarity at very small width */
  .action-magazine {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 0.7rem;
  }
  .am-item.am-large, .am-item.am-wide,
  .am-item:not(.am-large):not(.am-wide) { grid-column: span 1; grid-row: span 1; }
  .am-item.am-large { grid-row: span 1; }

  /* Image divider buttons */
  .image-divider { height: 270px; }

  /* Scroll cards a touch smaller */
  .scroll-card { aspect-ratio: 16/10; }
  .scroll-card .sc-num { font-size: 2.2rem; }

  /* Photo grid */
  .pg-item { height: 200px; }
}
