/* Yahweh Tech Services — Blue + Dark Gray · Light / Dark themes */
:root {
  --bg-deep: #F4F7FB;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-soft: #E8EEF7;
  --surface-card: #FFFFFF;
  --surface-alt: #F8FAFC;
  --border-color: rgba(15, 23, 42, 0.12);
  --text-primary: #0F172A;
  --icon-filter: none;
  --blue-700: #1E3A8A;
  --blue-600: #1D4ED8;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-200: #1D4ED8;
  --blue-100: #DBEAFE;
  --gray-100: #0F172A;
  --gray-300: #334155;
  --gray-500: #64748B;
  --text: #0F172A;
  --text-muted: #475569;
  --accent: #1D4ED8;
  --accent-strong: #1E40AF;
  --accent-soft: rgba(29, 78, 216, 0.12);
  --growth: #16A34A;
  --growth-soft: rgba(22, 163, 74, 0.12);
  --line: rgba(15, 23, 42, 0.12);
  --header-bg: rgba(255, 255, 255, 0.86);
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  --hero-overlay: linear-gradient(105deg, rgba(244, 247, 251, 0.94) 0%, rgba(244, 247, 251, 0.78) 45%, rgba(244, 247, 251, 0.4) 100%);
  --img-overlay: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.7) 100%);
  --card-hover-border: rgba(29, 78, 216, 0.45);
  --form-bg: #F1F5F9;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Poppins", system-ui, sans-serif;
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg-deep: #0B1220;
  --bg-surface: #121A2B;
  --bg-elevated: #1A2438;
  --bg-soft: #152033;
  --surface-card: #182235;
  --surface-alt: #101827;
  --border-color: rgba(148, 163, 184, 0.24);
  --text-primary: #F8FAFC;
  --icon-filter: brightness(0) invert(1);
  --blue-700: #1E3A8A;
  --blue-600: #1D4ED8;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-200: #93C5FD;
  --blue-100: #DBEAFE;
  --gray-100: #E5E7EB;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --accent: #3B82F6;
  --icon-dark-filter: brightness(0) invert(1);
  --accent-strong: #2563EB;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --growth: #22C55E;
  --growth-soft: rgba(34, 197, 94, 0.14);
  --line: rgba(148, 163, 184, 0.2);
  --header-bg: rgba(11, 18, 32, 0.78);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --hero-overlay: linear-gradient(105deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.62) 48%, rgba(11, 18, 32, 0.35) 100%);
  --img-overlay: linear-gradient(180deg, transparent 40%, rgba(11, 18, 32, 0.85) 100%);
  --card-hover-border: rgba(59, 130, 246, 0.5);
  --form-bg: #0B1220;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Poppins", system-ui, sans-serif;
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

[data-theme="dark"] img[src*="assets/icons/"],
[data-theme="dark"] img[src*="../assets/icons/"] {
  filter: brightness(0) invert(1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  border-radius: 10px;
  padding: 4px 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .brand img {
  background: transparent;
  box-shadow: none;
}

.brand > span {
  display: none;
}

.footer-brand .brand img {
  height: 56px;
  max-width: 180px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

.nav-desktop > a,
.nav-desktop .nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-desktop > a:hover,
.nav-desktop .nav-drop > button:hover,
.nav-desktop > a.active,
.nav-desktop .nav-drop > button[aria-expanded="true"] {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-desktop > a.active {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-drop {
  position: relative;
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 20;
}

.nav-drop.open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-panel a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.nav-drop-panel a:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-deep);
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  z-index: 90;
  border-top: 1px solid var(--line);
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a,
.nav-mobile button.accordion-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  text-align: left;
}

.nav-mobile .accordion-panel {
  display: none;
  padding: 0.25rem 0 0.75rem 0.75rem;
}

.nav-mobile .accordion-panel.open {
  display: block;
}

.nav-mobile .accordion-panel a {
  border: none;
  padding: 0.65rem 0.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

body.nav-open {
  overflow: hidden;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--accent-soft);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--blue-200);
}

[data-theme="light"] .btn-secondary {
  color: var(--blue-600);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--blue-400);
  color: var(--blue-200);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .header-actions .btn-primary.btn-sm {
    display: none;
  }
}

/* ——— Hero ——— */
.hero-slider {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}

.hero-slider .slides {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-slider .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 0;
}

.hero-slider .slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slider .slide-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), calc(var(--container) + 3rem));
  margin-inline: auto;
  padding: 4.5rem 0 5.5rem;
  max-width: none;
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.14), rgba(148, 163, 184, 0.08));
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-logo {
  height: clamp(88px, 16vw, 120px);
  width: auto;
  max-width: min(280px, 70vw);
  object-fit: contain;
  background: rgba(241, 245, 249, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .hero-logo {
  background: rgba(241, 245, 249, 0.36);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-slider h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1rem;
  color: #F8FAFC;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .hero-slider h1 {
  color: #0F172A;
  text-shadow: none;
}

.hero-slider h1 .accent {
  color: var(--growth);
}

[data-theme="light"] .hero-slider h1 .accent {
  color: var(--blue-600);
}

.hero-slider .lead {
  color: rgba(248, 250, 252, 0.88);
  font-size: clamp(1rem, 2vw, 1.12rem);
  max-width: 42ch;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

[data-theme="light"] .hero-slider .lead {
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 18, 32, 0.55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

[data-theme="light"] .slider-nav {
  background: rgba(255, 255, 255, 0.85);
  color: #0F172A;
  border-color: var(--line);
}

.slider-nav:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: max(0.75rem, calc((100% - var(--container)) / 2 - 0.5rem));
}

.slider-next {
  right: max(0.75rem, calc((100% - var(--container)) / 2 - 0.5rem));
}

.slider-nav svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.55rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s, background 0.25s;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--growth);
}

[data-theme="light"] .slider-dots button {
  background: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .slider-dots button.is-active {
  background: var(--blue-600);
}

@media (max-width: 640px) {
  .slider-prev,
  .slider-next {
    display: none;
  }
  .hero-slider .slide-inner {
    padding: 3.25rem 0 4.5rem;
  }
}

.page-hero {
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 0%, rgba(29, 78, 216, 0.22), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

.page-hero.with-media {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

.page-hero.with-media .hero-media-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

[data-theme="light"] .page-hero.with-media .hero-media-bg {
  opacity: 0.22;
}

.page-hero h1 {
  max-width: 18ch;
}

/* ——— Marquee ——— */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-surface);
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-track span {
  white-space: nowrap;
}

.marquee-track .dot {
  color: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), var(--bg-surface));
}

[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.05), var(--bg-surface));
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-head p,
.page-hero p {
  color: var(--text-muted);
}

/* ——— Bento ——— */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.bento-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 160px;
}

.bento-item:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.bento-item .icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.bento-item li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.bento-item li i {
  color: var(--accent);
}

.bento-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bento-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.bento-item .link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.bento-item.featured {
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.18), var(--bg-elevated));
}

.bento-media {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 220px;
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.bento-media .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: var(--img-overlay);
  color: #F8FAFC;
}

.bento-media .cap h3 {
  color: #F8FAFC;
}

.bento-media .cap p {
  color: #CBD5E1;
}

/* ——— Photo grids ——— */
.photo-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 220px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.photo-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.5s var(--ease);
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-card .label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.image-band {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}

.image-band img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.image-band .tall {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}

.media-feature {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.media-feature img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.media-feature .body {
  padding: 1.25rem 1.5rem;
}

.media-feature .body h3 {
  margin-bottom: 0.4rem;
}

.media-feature .body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ——— Why / Process ——— */
.proof-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.proof-item {
  padding: 1.35rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.proof-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.proof-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.audience-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.audience-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.audience-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow);
}

.audience-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.audience-card .body {
  padding: 1.25rem;
}

.audience-card h3 {
  margin-bottom: 0.4rem;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.process {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.process-step:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow);
}

.process-step .num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ——— Split ——— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: var(--bg-elevated) center/cover no-repeat;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.values {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.value h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

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

/* ——— Testimonials ——— */
.quote-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.quote-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.quote-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.quote-card strong {
  display: block;
  font-size: 0.92rem;
}

.quote-card span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ——— CTA band ——— */
.cta-band {
  margin: 0 0 5rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(29, 78, 216, 0.22), rgba(30, 58, 138, 0.12)), var(--bg-elevated);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 48ch;
}

/* ——— Forms ——— */
.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 1.15rem;
}

.field {
  position: relative;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--form-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #ef4444;
}

.field .error-msg {
  display: none;
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.field.error .error-msg {
  display: block;
}

.form-success {
  display: none;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--growth-soft);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--growth);
}

.form-success.show {
  display: block;
}

.form-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-info h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-list a {
  color: var(--blue-200);
}

.contact-list a:hover {
  color: var(--accent);
}

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
  background: var(--bg-surface);
}

.map-placeholder iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* ——— Social ——— */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.social-btn:hover {
  color: var(--text);
  border-color: var(--blue-400);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* ——— Products ——— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-chip {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--accent-soft);
  border-color: rgba(59, 130, 246, 0.45);
  color: var(--accent);
}

.product-grid,
.blog-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.product-card,
.blog-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}

.product-card:hover,
.blog-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-3px);
}

.product-card .thumb,
.blog-card .thumb {
  aspect-ratio: 16/10;
  background: var(--bg-surface) center/cover no-repeat;
}

.blog-card .thumb {
  aspect-ratio: 16/9;
}

.product-card .body,
.blog-card .body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-card .cat {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-card h3,
.blog-card h3 {
  font-size: 1.05rem;
}

.product-card p,
.blog-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
}

.product-card.hidden {
  display: none;
}

.blog-card .meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 0.2rem;
}

/* ——— Blog article ——— */
.article {
  max-width: 720px;
  margin-inline: auto;
}

.article .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.article p {
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.article ul {
  margin: 0 0 1.25rem 1.25rem;
  list-style: disc;
  color: var(--gray-300);
}

.article li {
  margin-bottom: 0.4rem;
}

.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
}

.article-hero-img img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

/* ——— Service detail ——— */
.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 2rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--gray-300);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3.5' stroke='%233B82F6' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--blue-200);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-surface);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 32ch;
}

.footer-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0.3rem 0;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}
.reveal-delay-5 {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-slider .slide {
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .bento-item:hover,
  .product-card:hover,
  .blog-card:hover,
  .photo-card:hover img {
    transform: none;
  }
}

/* ——— Responsive ——— */
@media (min-width: 640px) {
  .hero-slider .slide-inner {
    padding-inline: 1.5rem;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-item.span-2,
  .bento-item.wide {
    grid-column: span 2;
  }
  .proof-grid,
  .process,
  .quote-grid,
  .audience-cards,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid .span-2 {
    grid-column: span 2;
  }
  .image-band {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .nav-desktop {
    display: flex;
  }
  .nav-mobile {
    display: none;
  }
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
  }
  .audience-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }
  .bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento-item.wide {
    grid-column: span 2;
  }
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .photo-grid .wide {
    grid-column: span 2;
  }
  .photo-grid .tall {
    grid-row: span 2;
  }
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-slider .slide-inner {
    width: min(calc(100% - 1rem), var(--container));
    padding: 3rem 1rem 4rem;
  }

  .services-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .services-rail .bento-item {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .image-band {
    grid-template-columns: 1fr 1fr;
  }
  .image-band .tall {
    grid-column: span 2;
    grid-row: auto;
    min-height: 200px;
  }
}
