/* ─── VARIABLES & DESIGN SYSTEM ───────────────────────── */
:root,
[data-theme="dark"] {
  --bg: #0d0d0d;
  --surface: #161616;
  --card: #1d1d1d;
  --border: #2a2a2a;
  --accent: #e8ff00;
  --accent-rgb: 232, 255, 0;
  --accent2: #ff5c35;
  --accent2-rgb: 255, 92, 53;
  --on-accent: #111111;
  --text: #f0f0f0;
  --muted: #a0a0a0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 6px;
  --tr: 0.28s cubic-bezier(.4, 0, .2, 1);
  /* Smooth theme transition duration — used globally */
  --theme-tr: 0.3s ease;

  /* Nav background tokens — adapt per theme */
  --nav-bg: rgba(13, 13, 13, 0.82);
  --nav-bg-scrolled: rgba(13, 13, 13, 0.97);

  /* Overlay / scrim tokens */
  --scrim: rgba(13, 13, 13, 0.92);
  --label-bg: rgba(0, 0, 0, 0.65);
  --photo-label-bg: rgba(0, 0, 0, 0.5);

  /* Placeholder ghost color (dark default) */
  --placeholder-ghost: rgba(255, 255, 255, 0.06);

  /* CTA card inner colors */
  --cta-desc: rgba(0, 0, 0, 0.7);
  --cta-btn-bg: #0d0d0d;
  --cta-btn-color: var(--accent);

  /* Dynamic shadows to adapt cleanly across themes */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --focus-ring: 0 0 0 3px rgba(var(--accent-rgb), 0.45);
}

/* ─── LIGHT MODE ─────────────────────────────────────── */
[data-theme="light"] {
  --bg: #f5f5f7;
  --surface: #ebebef;
  --card: #ffffff;
  --border: #d2d2d7;
  --accent: #8b0004;
  --accent-rgb: 139, 0, 4;
  --accent2: #c62828;
  --accent2-rgb: 198, 40, 40;
  --on-accent: #ffffff;
  --text: #0d0d0e;
  --muted: #48484c;

  /* Nav background tokens for light theme */
  --nav-bg: rgba(245, 245, 247, 0.92);
  --nav-bg-scrolled: rgba(245, 245, 247, 0.98);

  /* Overlay / scrim tokens for light theme */
  --scrim: rgba(245, 245, 247, 0.94);
  --label-bg: rgba(0, 0, 0, 0.45);
  --photo-label-bg: rgba(0, 0, 0, 0.35);

  /* Placeholder ghost color (light: very subtle dark tint) */
  --placeholder-ghost: rgba(0, 0, 0, 0.06);

  /* CTA card inner colors for light theme */
  --cta-desc: var(--muted);
  --cta-btn-bg: var(--accent);
  --cta-btn-color: var(--on-accent);

  /* Soft, light-mode compliant shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --focus-ring: 0 0 0 3px rgba(var(--accent-rgb), 0.35);
}

[data-theme="light"] #canvas {
  opacity: .18;
}

[data-theme="light"] .asset-preview.dark-bg {
  background: #1a1a1a;
}

[data-theme="light"] footer {
  background: var(--surface);
}

/* ─── GLOBAL UTILITIES & RESET ───────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Scrollbar styles to match active theme */
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg);
}

/* Custom Webkit scrollbar fallback */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
  transition: background var(--theme-tr);
}

::-webkit-scrollbar-thumb {
  background-color: var(--border);
  border-radius: var(--radius);
  border: 2px solid var(--bg);
  transition: background-color var(--theme-tr);
}

/* Selection highlights */
::selection {
  background-color: var(--accent);
  color: #000000;
}

[data-theme="light"] ::selection {
  color: #ffffff;
}

/*
 * ─── GLOBAL THEME TRANSITION ──────────────────────────────
 * Applied to all elements so the dark ↔ light switch is smooth
 * across EVERY component — desktop and mobile alike.
 * Only background, color, border-color and box-shadow transition;
 * layout properties are left untouched for performance.
 * ──────────────────────────────────────────────────────────
 */
*,
*::before,
*::after {
  transition:
    background-color var(--theme-tr),
    border-color var(--theme-tr),
    color var(--theme-tr),
    box-shadow var(--theme-tr),
    fill var(--theme-tr);
}

/*
 * Override: elements whose layout/visual transitions must NOT be
 * clobbered by the global theme transition get their own rule.
 */
nav,
.hamburger span,
.mobile-menu,
.mobile-menu a,
.mobile-panel,
.btn,
.service-card,
.why-card,
.product-card-home,
.hub-card,
.contact-card,
.mobile-footer-contact-card,
.gallery-item,
.gallery-lightbox,
.theme-toggle,
.site-logo,
.clients-scroll,
.client-logo-item img,
.stat-band-item,
.nav-links a,
.nav-links a.cta,
.product-nav a,
.service-nav a,
.service-bottom-nav a,
.mobile-footer-social a,
.panel-item,
.carousel-item {
  transition:
    background-color var(--theme-tr),
    border-color var(--theme-tr),
    color var(--theme-tr),
    box-shadow var(--theme-tr),
    fill var(--theme-tr),
    opacity var(--tr),
    transform var(--tr);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color var(--theme-tr), color var(--theme-tr);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

/* Cohesive Focus Outline System */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.portfolio-item:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ─── PARTICLES ──────────────────────────────────────── */
#canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 96px 0;
}

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--theme-tr), background-color var(--theme-tr);
}

nav.scrolled {
  border-bottom-color: var(--border);
  background: var(--nav-bg-scrolled);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: .06em;
  color: var(--accent);
  display: flex;
  align-items: center;
}

.nav-logo span {
  color: var(--text);
}

.site-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--tr), transform var(--tr);
  image-rendering: -webkit-optimize-contrast;
}

/* Hover effects */
a.nav-logo:hover .site-logo {
  opacity: 0.85;
  transform: scale(1.02);
}

/* Default Dark Mode logo visibility (displays Light logo) */
.site-logo.light-logo {
  display: block;
}

.site-logo.dark-logo {
  display: none;
}

/* Light Mode logo visibility (displays Dark logo) */
[data-theme="light"] .site-logo.light-logo {
  display: none;
}

[data-theme="light"] .site-logo.dark-logo {
  display: block;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--tr);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.cta {
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform var(--tr), box-shadow var(--tr);
}

.nav-links a.cta:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-sm);
}

/* ─── THEME TOGGLE ───────────────────────────────────── */
.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--tr);
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.toggle-icon--sun {
  display: block;
}

.toggle-icon--moon {
  display: none;
}

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

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

/* ─── HAMBURGER ──────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding-top: 100px;
  padding-bottom: 40px;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5.5vh, 2.3rem);
  letter-spacing: .06em;
  padding: clamp(6px, 1.2vh, 10px) 0;
  color: var(--muted);
  transition: color var(--tr);
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu.open {
  display: flex;
}

/* ─── MOBILE THEME TOGGLE ────────────────────────────── */
.mobile-controls {
  display: none;
}

@media (max-width: 900px) {
  .mobile-controls {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--tr);
  }

  .mobile-theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

/* ─── SECTION HEADER ─────────────────────────────────── */
.sec-tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: .02em;
  line-height: 1;
}

.sec-body {
  color: var(--muted);
  margin-top: 18px;
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.75;
}

.sec-header {
  margin-bottom: 56px;
}

.sec-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.sec-header-center .sec-body {
  margin: 18px auto 0;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform var(--tr), box-shadow var(--tr);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}

.btn-accent2 {
  background: var(--accent2);
  color: #ffffff;
}

.btn-accent2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ─── PAGE HERO / BANNER ─────────────────────────────── */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}

.page-hero-tag {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: .02em;
  margin-bottom: 24px;
}

.page-hero-title em {
  color: var(--accent);
  font-style: normal;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.page-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FULL HERO (HOME) ───────────────────────────────── */
#home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: .95;
  letter-spacing: .02em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .9s .35s forwards;
}

.hero-title em {
  color: var(--accent);
  font-style: normal;
}

.hero-carousel {
  display: inline-grid;
  grid-template-columns: 1fr;
  justify-items: center;
  font-style: normal;
  vertical-align: bottom;
}

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

.carousel-item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(.4, 0, .2, 1), transform 0.5s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.carousel-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.carousel-item.exit {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp .9s .5s forwards;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s .65s forwards;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp .9s .8s forwards;
  flex-wrap: wrap;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--accent);
}

.stat-label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── CLIENT LOGOS STRIP ─────────────────────────────── */
.clients-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  /* Mask gradient dynamically softens hard horizontal edges */
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.clients-scroll {
  display: flex;
  gap: 40px;
  width: max-content;
  will-change: transform;
  animation: scrollX 60s linear infinite;
}

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

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  min-width: 150px;
  height: 80px;
  border: 1px solid var(--muted);
  border-radius: 12px;
  flex-shrink: 0;
  transition: border-color var(--tr);
}

.client-logo-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.client-logo-item img {
  max-width: 130px;
  max-height: 50px;
  height: auto;
  width: auto;
  object-fit: contain;
  transition: filter var(--tr), transform var(--tr);

  /* Dark mode default */
  filter: brightness(0) invert(1) opacity(1);
}

/* Light mode override */
[data-theme="light"] .client-logo-item img {
  filter: none;
}

.client-logo-item:hover img {
  filter: none;
  transform: scale(1.05);
}

@keyframes scrollX {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ─── ABOUT / INCEPTION ──────────────────────────────── */
#about-section {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
  width: 100%;
}

.about-img-box {
  position: relative;
  width: 90%;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  display: block;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-theme-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Theme-specific images */
.light-img {
  display: none;
}

.dark-img {
  display: block;
}

[data-theme="light"] .light-img {
  display: block;
}

[data-theme="light"] .dark-img {
  display: none;
}

.about-img-inner {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--accent);
  opacity: .12;
}

.about-badge {
  position: absolute;
  bottom: -12px;
  right: -24px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  /* Lift above any stacking siblings cleanly */
  z-index: 10;
}

.about-badge small {
  display: block;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-content-wrap {
  position: relative;
}

/* ─── CHECKLIST COMPONENT ────────────────────────────── */
.check-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0;
  font-size: .92rem;
  line-height: 1.4;
  color: var(--muted);
}

.check-item span {
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--muted);
}

.check-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.no-tick::before {
  content: none;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
  display: inline-block;
}

.check-icon svg,
.check-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── STATS BAND ─────────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.stat-band-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--tr);
}

.stat-band-item:last-child {
  border-right: none;
}

.stat-band-item:hover {
  background: var(--surface);
}

.stat-band-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--accent);
}

.stat-band-label {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ─── SERVICES GRID ──────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}

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

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

.service-num {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: 18px;
}

.service-icon,
.why-icon {
  width: 74px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 40px;
  color: var(--accent);
  transition: all var(--tr);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: .03em;
  margin-bottom: 10px;
}

.service-desc {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.65;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: .66rem;
  background: rgba(var(--accent-rgb), .08);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(var(--accent-rgb), .18);
}

.service-card-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent);
  border-color: var(--accent);
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr), background var(--tr);
}

.service-card-cta .cta-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .02em;
  color: var(--text);
  margin-bottom: 14px;
  transition: color var(--tr);
}

.service-card-cta .cta-desc {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 24px;
  transition: color var(--theme-tr);
}

.service-card-cta .cta-btn {
  background: var(--cta-btn-bg);
  color: var(--cta-btn-color);
  transition: background-color var(--theme-tr), color var(--theme-tr), transform var(--tr), box-shadow var(--tr);
}

.service-card-cta .cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-sm);
}

/* CTA Card adapts automatically via CSS variables — no [data-theme] overrides needed */
[data-theme="light"] .service-card-cta {
  background: var(--card);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .service-card-cta:hover {
  box-shadow: var(--shadow-md);
}

/* ─── WHY US ─────────────────────────────────────────── */
#why-us {
  background: var(--bg);
}

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

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.why-title {
  font-weight: 700;
  font-size: .96rem;
  margin-bottom: 8px;
}

.why-desc {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── PRODUCTS CARDS ─────────────────────────────────── */

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

.product-card-home {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}

.product-card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 12px 12px 0 0;
}

.product-card-home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}

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

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

/* ─── HEADER ROW ─────────────────────────────────────── */
.product-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ─── ICON BOX ───────────────────────────────────────── */
.product-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), .08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── LABEL + NAME ───────────────────────────────────── */
.product-label {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .8;
  margin-bottom: 3px;
  line-height: 1;
}

.product-name-big {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 50;
  letter-spacing: .01em;
  line-height: 1;
  margin-bottom: 0;
  text-transform: none;
}

/* ─── DESCRIPTION ────────────────────────────────────── */
.product-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0px;
  flex: 1;
}

/* ─── TAGS ───────────────────────────────────────────── */

/* ─── CTA ────────────────────────────────────────────── */
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .35);
  padding: 9px 18px;
  border-radius: 6px;
  transition: all var(--tr);
  width: fit-content;
  align-self: flex-start;
  margin-top: auto;
}

.product-cta:hover {
  background: var(--accent);
  color: var(--on-accent);
}

/* ─── PROCESS STEPS ──────────────────────────────────── */
#process-section {
  background: var(--surface);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: border-color var(--tr), box-shadow var(--tr);
  flex-shrink: 0;
}

.process-step:hover .step-circle {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .1);
}

.step-name {
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── TESTIMONIALS ───────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: transform var(--tr), box-shadow var(--tr);
}

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

.testi-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-text {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

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

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-name {
  font-weight: 700;
  font-size: .9rem;
}

.testi-company {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--accent);
  margin-top: 2px;
}

.testi-role {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 2px;
}

.google-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 8px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-size: .9rem;
    color: var(--text);
}

.google-review-badge img {
    height: 24px;
    width: auto;
    display: block;
}

.google-review-badge strong {
    font-size: 1rem;
    font-weight: 700;
}

.google-review-badge .stars {
    color: #fbbc05;
    letter-spacing: 1px;
    margin: 0 4px;
}

.google-review-badge .dot {
    color: #bbb;
    margin: 0 6px;
}

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

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

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
  cursor: pointer;
}

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

.blog-thumb {
  height: 180px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--placeholder-ghost);
  position: relative;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: .66rem;
  background: var(--accent);
  color: var(--on-accent);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.blog-body {
  padding: 22px 24px;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.blog-title {
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.65;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--accent);
  transition: gap var(--tr);
}

.blog-card:hover .blog-link {
  gap: 8px;
}

/* ─── QUOTE / CONTACT FORM ───────────────────────────── */
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.quote-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-info .sec-title {
  margin-bottom: 12px;
  line-height: 1.1;
}

.quote-info .sec-body {
  margin-top: 10px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.quote-info .check-list {
  margin-top: 20px !important;
  gap: 8px !important;
}

.quote-info .check-item {
  font-size: 0.88rem;
  line-height: 1.4;
}

.quote-info div[style*="margin-top:24px"],
.quote-info div[style*="margin-top: 24px"] {
  margin-top: 20px !important;
}

.quote-info div[style*="margin-top:28px"],
.quote-info div[style*="margin-top: 28px"] {
  margin-top: 20px !important;
}

.quote-info div[style*="gap:8px"],
.quote-info div[style*="gap: 8px"] {
  gap: 6px !important;
}

.form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select option {
  background: var(--surface);
}

/* ─── CONTACT INFO BLOCKS ────────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform var(--tr), border-color var(--tr);
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.info-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.info-card-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.info-card-value {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.65;
}

.info-card-value a {
  transition: color var(--tr);
}

.info-card-value a:hover {
  color: var(--accent);
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
}

.hours-day {
  color: var(--muted);
}

.hours-time {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .78rem;
}

.hours-closed {
  color: var(--accent2);
}

/* ─── MAP PLACEHOLDER ────────────────────────────────── */
.map-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  font-size: 3rem;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-box p {
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
  max-width: 240px;
  line-height: 1.5;
}

/* ─── CONTACT PAGE ───────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.loc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

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

.loc-text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

.loc-text a {
  color: var(--text);
  transition: color var(--tr);
}

.loc-text a:hover {
  color: var(--accent);
}

/* ─── SERVICE / PRODUCT VISUALS ──────────────────────── */
.service-visual {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  /* Flex container so the image is always centred in the column */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Give the column a defined height so the image has room to expand */
  min-height: 440px;
}

.service-visual:hover {
  border: none;
  box-shadow: none;
}

.service-visual-bg {
  display: none;
}

.service-visual-icon {
  position: relative;
  z-index: 1;
  opacity: .35;
  transition: opacity var(--tr), transform var(--tr);
}

.service-visual:hover .service-visual-icon {
  opacity: .55;
  transform: scale(1.05);
}

.service-visual-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Generic service illustration base ───────────────── */
.service-image {
  display: block;
  /* Fill the column width; natural height is preserved via aspect ratio */
  width: 100%;
  height: auto;
  /* Never let it overflow on very wide screens */
  max-width: 560px;
  margin: 0 auto;
  /* Slight upscale to absorb transparent padding common in illustrations */
  transform: scale(1.12);
  transform-origin: center center;
}

/* ── Per-image fine-tuning ───────────────────────────── */
/* web-development.png  1536×1024 — standard ratio, needs modest boost */
.service-image[src*="web-development"] {
  transform: scale(1.20);
}

/* ecommerce-development.png  1536×1024 — similar, slight boost */
.service-image[src*="ecommerce-development"] {
  transform: scale(1.10);
}

/* online-delivery.png  1536×1024 — matching boost */
.service-image[src*="online-delivery"] {
  transform: scale(1.20);
}

/* software-development.png  1127×827 — slightly taller ratio,
   push a little harder so it visually matches the others */
.service-image[src*="software-development"] {
  transform: scale(1.18);
}

/* app-development.png  1408×1024 — tallest ratio, moderate boost */
.service-image[src*="app-development"] {
  height: 550px;
  width: auto;
}



/* ─── PROCESS 7 STEPS ────────────────────────────────── */
.process-steps-7 {
  grid-template-columns: repeat(7, 1fr);
}

.process-steps-7::before {
  left: 4%;
  right: 4%;
}

.process-container {
  max-width: 1400px;
  /* increase from your normal container width */
  width: 95%;
  margin: 0 auto;
}

/* ─── SUCCESS STORIES ────────────────────────────────── */
.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.success-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}

.success-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.success-metric {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.success-title {
  font-weight: 700;
  font-size: .96rem;
  margin-bottom: 8px;
}

.success-desc {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── GALLERY LIGHTBOX ───────────────────────────────── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr), background-color var(--theme-tr);
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 720px;
  width: 100%;
  padding: 40px 36px;
  text-align: center;
  position: relative;
  transform: scale(.95);
  transition: transform var(--tr);
}

.gallery-lightbox.open .gallery-lightbox-inner {
  transform: scale(1);
}

.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--tr);
}

.gallery-lightbox-close:hover {
  color: var(--accent);
}

.gallery-lightbox-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.gallery-lightbox-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.gallery-lightbox-cat {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: .12em;
}

/* ─── SOCIAL CARDS ───────────────────────────────────── */
.social-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: all var(--tr);
  text-decoration: none;
  color: inherit;
}

.social-card:hover {
  border-color: var(--accent);
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.social-card-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-card-name {
  font-weight: 600;
  font-size: .9rem;
}

.social-card-handle {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--accent);
  margin-top: 2px;
}

.social-card-arrow {
  margin-left: auto;
  color: var(--muted);
  transition: transform var(--tr);
}

.social-card:hover .social-card-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ─── TIMELINE ───────────────────────────────────────── */
.timeline {
  position: relative;
  padding: 0 0 0 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--bg);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline-title {
  font-weight: 700;
  font-size: .96rem;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.6;
}

.timeline-progress-dot {
  position: absolute;
  left: 0px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);

  box-shadow: 0 0 20px var(--accent);
  z-index: 10;
  transition: top var(--tr);
}



/* ─── TIMELINE IMAGE ─────────────────────────────────── */
.timeline-left-img {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 3 / 4;
  margin: auto;
  overflow: hidden;
  transform: translate(-20px, -90px);
}

.timeline-left-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--tr);
}

/* default: light visible */
.img-light {
  opacity: 1;
}

.img-dark {
  opacity: 0;
}

/* dark mode switch */
[data-theme="dark"] .img-light {
  opacity: 0;
}

[data-theme="dark"] .img-dark {
  opacity: 1;
}

/* ═════════ DIRECTOR SECTION ═══════════════════════════ */

/* ── Director grid override ─────────────────────────────────────────────── */
.director-grid {
  align-items: stretch;
  /* both cols same height */
  gap: 0;
  /* no gap — columns touch */
  border-radius: 16px;
  overflow: hidden;
}

/* ── Photo column ───────────────────────────────────────────────────────── */
.director-photo-col {
  background: var(--bg);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 1.5rem 1.75rem;
  min-height: 420px;
}

/* If using the real image instead of placeholder */
.director-photo-col .director-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin-bottom: auto;
}

.director-photo-placeholder {
  width: 170px;
  height: 210px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: auto;
}

.director-initials {
  font-size: 54px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -2px;
}

.director-photo-label {
  margin-top: 1.25rem;
  text-align: center;
}

.director-photo-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.director-role-pill {
  display: inline-block;
  margin-top: 6px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10.5px;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.director-edu-badge {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}

/* ── Info column ────────────────────────────────────────────────────────── */
.director-info {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 1.75rem;
  background: var(--surface);
}

.director-info .sec-title {
  margin-bottom: 4px;
}

.director-info .sec-body {
  margin: 8px 0 20px;
  max-width: 380px;
}

/* ── Tabs ───────────────────────────────────────────────────────────────── */
.director-tabs {
  margin-top: 0;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 9px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.tab-content {
  display: none;
  animation: fadeTab 0.22s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeTab {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Check list (highlights tab) ───────────────────────────────────────── */

.director-info .check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  padding: 0;
  min-height: auto;
}

/* ── Role cards (roles tab) ─────────────────────────────────────────────── */
.role-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.role-card-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--accent);
}

.role-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.role-card-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Stats row ──────────────────────────────────────────────────────────── */
.director-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 1.75rem;
}

.director-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.director-stat .stat-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.director-stat .stat-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .director-grid {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .director-photo-col {
    min-height: 280px;
    padding: 1.5rem 1.25rem 1.25rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .director-photo-placeholder {
    width: 100px;
    height: 120px;
    margin-bottom: 0;
  }

  .director-initials {
    font-size: 32px;
  }

  .director-photo-label {
    margin-top: 0;
    align-self: flex-end;
    text-align: left;
  }

  .director-edu-badge {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .director-info {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .director-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ─── TEAM CARDS ─────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}

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

.team-photo {
  height: 220px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  opacity: .25;
  position: relative;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.team-photo-label {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: .58rem;
  color: var(--muted);
  background: var(--photo-label-bg);
  padding: 3px 8px;
  border-radius: 4px;
}

.team-body {
  padding: 20px 22px;
}

.team-name {
  font-weight: 700;
  font-size: .96rem;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.team-bio {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.team-socials {
  display: flex;
  gap: 4px;
  margin-top: 14px;
}

.team-socials a {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}

.team-socials a:hover {
  background: var(--surface);
  transform: translateY(-3px);
}

/* ─── AWARDS GRID ────────────────────────────────────── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}

.award-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.award-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.award-name {
  font-weight: 700;
  font-size: .96rem;
  margin-bottom: 6px;
}

.award-org {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.award-year {
  font-size: .78rem;
  color: var(--muted);
}

/* ─── INSTITUTION LOGO ────────────────────────────────────── */


.institution-section {
  padding: 80px 0;
  background: var(--bg);
}

.college-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.college-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  min-height: 140px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: var(--tr);
}

.college-card:hover {
  transform: translateY(-4px);
}

.college-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@media (max-width: 992px) {
  .college-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .college-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── PORTFOLIO GRID ─────────────────────────────────── */
.portfolio-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all var(--tr);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ─── VIDEO PORTFOLIO ────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-body {
  padding: 20px 22px;
}

.video-title {
  font-weight: 700;
  font-size: .96rem;
  margin-bottom: 6px;
}

.video-desc {
  font-size: .82rem;
  color: var(--muted);
}

/* ─── GALLERY GRID ───────────────────────────────────── */
.gallery-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all var(--tr);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
}

.gallery-item {
  background: var(--card);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--placeholder-ghost);
  transition: transform var(--tr), border-color var(--theme-tr), box-shadow var(--tr);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(5) {
  grid-column: span 2;
}

.gallery-item:nth-child(7) {
  grid-row: span 2;
}

.gallery-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: .58rem;
  color: var(--muted);
  background: var(--label-bg);
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity var(--tr), background-color var(--theme-tr);
  z-index: 2;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
}

.gallery-placeholder-text {
  font-size: .68rem;
  font-family: var(--font-mono);
  color: var(--border);
  margin-top: 8px;
  letter-spacing: .06em;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 0.6fr 0.8fr 1.5fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.75;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.fa-facebook-f {
  color: #1877F2;
}

.fa-instagram {
  color: #E4405F;
}

.fa-linkedin-in {
  color: #0A66C2;
}

.fa-youtube {
  color: #FF0000;
}

/* X adapts to theme */
.fa-x-twitter {
  color: var(--text);
}

.fa-whatsapp {
  color: #20c75d;
}

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

.footer-links a {
  font-size: .87rem;
  color: var(--muted);
  transition: color var(--tr);
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  box-sizing: border-box;

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);

  color: var(--muted);
  transition: all var(--tr);
  cursor: pointer;

  flex-shrink: 0;
}

.footer-social-btn i {
  font-size: 20px;
  line-height: 1;
}

.footer-social-btn:hover {
  border-color: var(--accent);
  color: var(--on-accent);
  transform: translateY(-2px);
}

.footer-address {
  display: block;
  padding-left: 20px;
  text-indent: -20px;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--muted);
}

.footer-bottom em {
  color: var(--accent);
  font-style: normal;
}

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── ACCESSIBILITY: REDUCED MOTION ───────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}



/* ─── RESPONSIVE ─────────────────────────────────────── */
@media(max-width:1024px) {
  .site-logo {
    height: 40px;
  }

  nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .services-grid,
  .products-grid-home,
  .testi-grid,
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .footer-grid,
  .quote-wrap {
    grid-template-columns: 1fr;
  }

  /* When grid stacks, badge stays anchored to the left column (.about-image),
     no risk of overlapping the content column */
  .about-image {
    padding-bottom: 16px;
  }

  .about-badge {
    right: 0;
    bottom: 0;
  }

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

  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(4) {
    grid-column: span 1;
  }

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

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

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

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

  .stats-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-band .stat-band-item:nth-child(4),
  .stats-band .stat-band-item:nth-child(5) {
    border-top: 1px solid var(--border);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-wrap,
  .contact-forms-grid {
    grid-template-columns: 1fr;
  }

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

  .process-steps-7 {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .process-steps-7::before {
    display: none;
  }

  .quote-section {
    display: none !important;
  }
}

@media(max-width:640px) {
  .site-logo {
    height: 32px;
  }

  nav {
    padding: 12px 16px;
  }

  section {
    padding: 48px 0;
  }

  /* Typography scale down for small screens */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.8rem);
    margin-bottom: 20px;
  }

  .page-hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 16px;
  }

  .sec-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-sub,
  .page-hero-sub {
    font-size: .95rem;
    margin-bottom: 32px;
  }

  .hero-stats {
    gap: 20px;
    margin-top: 48px;
    padding-top: 36px;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  /* Grids collapse to single columns */
  .services-grid,
  .products-grid-home,
  .testi-grid,
  .awards-grid,
  .why-grid,
  .blog-grid,
  .success-grid,
  .process-steps,
  .process-steps-7 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .portfolio-item:nth-child(n) {
    grid-column: span 1;
  }

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

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .about-badge {
    bottom: -10px;
    right: 0;
    padding: 12px 16px;
    font-size: 1.5rem;
  }

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

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stats-band .stat-band-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 16px;
  }

  .stats-band .stat-band-item:last-child {
    border-bottom: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-forms-grid {
    grid-template-columns: 1fr;
  }

  /* Full width responsive inputs */
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
  }

  .btn {
    padding: 12px 24px;
    font-size: .85rem;
    width: 100%;
    justify-content: center;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .page-hero-btns {
    flex-direction: column;
    width: 100%;
  }
}

@media(max-width:480px) {
  .mobile-menu a {
    font-size: clamp(1.4rem, 5.5vh, 1.8rem);
    padding: clamp(4px, 1vh, 8px) 0;
  }
}

/* .why-icon styles merged into .service-icon above */


/* ================================================================
   V7LANCERS — MOBILE OPTIMIZATIONS
   Scope: @media (max-width: 768px) only.
   Desktop layout is completely untouched.
   ================================================================ */

/* Utility Classes for Responsive Toggles */
/* =================================================================
   1. BASE CSS (No media query - Desktop/Default Styles)
================================================================= */
/* =================================================================
   A. UTILITIES — Desktop defaults
================================================================= */

.mobile-only {
  display: none;
}

/* Removed .desktop-only { display: block; } to not break grid/flex layouts on desktop */

/* =================================================================
   B. BASE — Desktop defaults
================================================================= */

.mobile-footer {
  display: none;
}



/* =================================================================
   C. COMPONENTS — Device-agnostic shared styles
================================================================= */
.mobile-service-header {
  padding: 60px 20px 40px;
  text-align: center;
  background: var(--bg);
}

/* Small red "OUR SERVICES" style */
.mobile-service-header h1 {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

/* Large black description */
.mobile-service-header p {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

/* ==========================================================
   SERVICE CARD
========================================================== */

.service-card{
    margin:14px 18px;
    background:var(--card);
    border:1px solid rgba(var(--accent-rgb),.08);
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.35s ease;
}

.service-card.active{
    transform:translateY(-3px);
    border-color:rgba(var(--accent-rgb),.18);
    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

/* ==========================================================
   PREVIEW
========================================================== */

.service-preview{
    padding:22px 20px 16px;
}

/* ==========================================================
   TITLE
========================================================== */

.service-preview h3{
    margin:0 0 18px;
    display:flex;
    align-items:center;
    gap:10px;

    font-family:var(--font-display);
    font-size:1.2rem;
    font-weight:700;
    color:var(--text);
}

.service-preview h3::after{
    content:"";
    flex:1;
    height:2px;
    border-radius:10px;
    background:linear-gradient(
        to right,
        rgba(var(--accent-rgb),.9),
        transparent
    );
}

/* ==========================================================
   FEATURE PILLS
========================================================== */

.product-features{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.product-features li{
    padding:8px 14px;
    border-radius:999px;

    background:rgba(var(--accent-rgb),.08);
    border:1px solid rgba(var(--accent-rgb),.15);

    color:var(--accent);

    font-size:.72rem;
    font-weight:600;

    transition:.25s;
}

.product-features li:hover{
    transform:translateY(-2px);
    background:rgba(var(--accent-rgb),.12);
}

.product-features i{
    display:none;
}

/* ==========================================================
   READ MORE
========================================================== */

.read-more{
    display:flex;
    justify-content:flex-end;
    margin-top:14px;
    cursor:pointer;
}

.read-more i{
    width:30px;
    height:30px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(var(--accent-rgb),.08);

    color:var(--accent);

    font-size:10px;

    transition:.3s;
}

.service-card.active .read-more i{
    transform:rotate(180deg);
    background:var(--accent);
    color:#fff;
}

/* ==========================================================
   ACCORDION
========================================================== */

.service-expand{
    max-height:0;
    overflow:hidden;
    opacity:0;

    padding:0 20px;

    transition:
        max-height .45s ease,
        opacity .3s ease,
        padding .3s ease;
}

.service-card.active .service-expand{
    max-height:450px;
    opacity:1;
    padding:12px 20px 20px;
}

/* ==========================================================
   DESCRIPTION
========================================================== */

.service-expand p{
    margin:0 0 16px;
    line-height:1.7;
    color:var(--muted);
}

/* ==========================================================
   TAGS
========================================================== */

.service-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
}

.service-tags span{
    padding:7px 14px;
    border-radius:999px;
    background:var(--surface);
    border:1px solid var(--border);
    font-size:.78rem;
    font-weight:600;
}

/* ==========================================================
   BUTTON
========================================================== */

.service-btn{
    display:block;
    width:100%;

    padding:14px;

    text-align:center;
    text-decoration:none;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent2)
    );

    color:#fff;

    font-weight:700;

    transition:.3s;
}

.service-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(var(--accent-rgb),.25);
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:480px){

    .service-card{
        margin:12px;
    }

    .service-preview{
        padding:18px;
    }

    .service-expand{
        padding:0 18px;
    }

    .service-card.active .service-expand{
        padding:10px 18px 18px;
    }

    .service-preview h3{
        font-size:1.1rem;
    }

    .product-features{
        gap:8px;
    }

    .product-features li{
        font-size:.7rem;
        padding:7px 12px;
    }

    .service-btn{
        padding:13px;
    }
}
/* ── Hub Card ───────────────────────────────────────────────────── */
.hub-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 14px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.hub-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;

  background: var(--accent);
  color: var(--on-accent);

}

.hub-card h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.hub-card p {
  font-size: 12px;
  color: var(--muted);
}

/* ── Mobile Panel ───────────────────────────────────────────────── */
.mobile-panel {
  position: fixed;
  top: 50%;
  left: 50%;

  width: calc(100% - 30px);
  max-width: 420px;
  max-height: 80vh;

  padding: 20px;
  overflow-y: auto;

  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transform: translate(-50%, -45%);
  transition: opacity .3s ease, transform .3s ease;
}

.mobile-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

body.no-scroll {
  overflow: hidden;
}

body.no-scroll::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.08), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(var(--accent2-rgb), 0.06), transparent 45%),
    var(--bg);
  z-index: 9998;
  transition: background-color var(--theme-tr);
}


.panel-close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 22px;
}

.panel-title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  color: var(--accent);

}

.panel-title span {
  color: var(--accent);
}

.panel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.panel-item>div {
  flex: 1;
  margin: 0;
}

.panel-item strong,
.panel-item small {
  display: block;
  margin: 0;
  padding: 0;
  text-align: left;
}

.panel-item strong {
  display: block;
  font-size: 14px;
}

.panel-item small {
  color: var(--muted);
}

/* ── Bottom Service Nav ─────────────────────────────────────────── */
.service-bottom-nav a {
  text-decoration: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
}

.service-bottom-nav i {
  font-size: 1rem;
}

.service-bottom-nav a.active,
.service-bottom-nav a:hover {
  color: var(--accent);
}

/* ── Footer Shared ──────────────────────────────────────────────── */
.mobile-footer-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.mobile-footer-contact-card span {
  margin-left: auto;
  color: var(--muted);
}

.mobile-footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;

  background: var(--accent);
  color: var(--on-accent);

  flex-shrink: 0;
}

.mobile-footer-contact-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text);
}

.mobile-footer-contact-card p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.mobile-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 12px;
  font-weight: 700;
  color: var(--text);
}

.mobile-footer-brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.mobile-footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mobile-footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.mobile-footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* =================================================================
   D. MEDIA QUERIES
================================================================= */

/* .quote-section tablet hide consolidated into @media(max-width:1024px) above */

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Prevent horizontal scrolling */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  #navbar {
    min-height: 80px;
    padding: 10px 16px;
  }

  .nav-logo .site-logo {
    height: 40px;
    width: auto;
  }

  /* Hamburger & Navbar Fix */
  .hamburger {
    display: flex !important;
  }

  .nav-links {
    display: none !important;
  }

  nav {
    top: 0 !important;
    margin: 0 !important;

  }

  /* Utility overrides */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  div.mobile-only {
    display: block !important;
  }

  nav.mobile-only {
    display: flex !important;
  }

  /* Layout */
  section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Hide desktop nav links not needed on mobile */
  #mobileMenu a[href="portfolio.html"],
  #mobileMenu a[href="testimonials.html"],
  #mobileMenu a[href="gallery.html"],
  #mobileMenu a[href="about.html"] {
    display: none !important;
  }

  /*
   * CRITICAL: These sections contain .desktop-only children
   * but the sections themselves must remain visible so their
   * mobile-only children (hub, panels) can render.
   * Only hide sections that have NO mobile content at all.
   */
  #about-section {
    display: none !important;
  }

  #products-section {
    display: none !important;
  }

  /* #services has mobile hub as a sibling — keep it hidden,
     the hub div.mobile-only outside it handles mobile display */
  #services {
    display: none !important;
  }

  /* Hero */
  #home-hero {
    padding-top: 120px !important;
    padding-bottom: 32px !important;
    min-height: auto;
  }

  @media (max-width: 768px) {
    .hero-eyebrow {
      display: none;
    }
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-carousel {
    min-height: 120px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-btns .btn-outline {
    display: none !important;
  }

  .hero-sub {
    display: none !important;
  }

  /* Mobile hub */
  .mobile-hub-title,
  .hub-card h3,
  .hub-card p,
  .panel-title,
  .panel-item strong,
  .panel-item small,
  .panel-close {
    font-family: var(--font-display);
  }

  .mobile-hub {
    padding: 30px 20px;
    text-align: center;
  }

  .mobile-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .mobile-hub-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Services page */
  .mobile-services-page {
    padding: 20px 16px 120px; /* 120px bottom padding to prevent bottom nav from covering content */
    background: var(--bg);
  }

  .mobile-service-header {
    padding: 60px 16px 30px;
    text-align: center;
    background: var(--bg);
  }

  .mobile-service-header h1 {
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 12px;
  }

  .mobile-service-header p {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0;
  }

  /* Product nav styles moved out of fixed positioning */


  /* Footer swap */
  .desktop-footer {
    display: none !important;
  }

  .mobile-footer {
    display: block !important;
    padding: 40px 16px 80px;
    background: var(--bg);
  }

  .mobile-footer-title {
    font-family: var(--font-display);
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Canvas perf */
  #canvas {
    opacity: 0.5;
  }

  /* ── Service Card — mobile accordion ───────────────── */
  .service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px; /* only bottom margin to avoid clashing with container padding */
    box-shadow: var(--shadow-sm);
    transition: var(--tr);
  }

  .service-card:active {
    transform: scale(0.99);
  }

  .service-card img.service-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .service-preview {
    padding: 20px;
  }

  .service-preview h3.service-section-title {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--text);
  }

  .service-preview h3.service-section-title::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(
      to right,
      rgba(var(--accent-rgb), 0.9),
      transparent
    );
  }

  .service-preview .sec-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 16px;
  }

  .service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }

  .show-more-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
  }

  .show-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }

  /* Accordion Feature Block */
  .feature-block {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .feature-title{
  margin: 4px 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .3px;
}

  .service-card.expanded .feature-block {
    max-height: 1000px;
    opacity: 1;
    margin-top: 4px;
  }

  .service-card.expanded .show-more-btn i {
    transform: rotate(180deg);
  }

  .feature-block .check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 20px;
  }

  .feature-block .check-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text);
  }

  .feature-block .check-item::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
  }

  /* Floating Bottom Navigation */
  .service-nav {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(calc(100vw - 32px), 400px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12), inset 0 1px rgba(255,255,255,0.08);
    z-index: 9999;
    box-sizing: border-box;
  }

  .service-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
    text-decoration: none;
    color: var(--muted);
    transition: 0.3s;
  }

  .service-nav a i {
    font-size: 1.1rem;
    transition: 0.3s;
  }

  .service-nav a span {
    font-size: 0.65rem;
    font-weight: 600;
  }

  .service-nav a.active,
  .service-nav a:hover {
    color: var(--accent);
  }

  .service-nav a.active i {
    transform: translateY(-2px);
  }

  .service-nav a:active {
    transform: scale(0.95);
  }

  /* ── Contact page mobile overrides ───────────────────────────── */
  .mobile-contact-info {
    display: block;
    padding: 30px 20px;
  }

  .contact-info-grid {
    display: none;
  }

  .desktop-contact-section {
    display: none;
  }

  .contact-forms-grid>div:last-child {
    display: none;
  }

  .contact-forms-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-sub {
    display: none;
  }

  .contact-map-section {
    display: none;
  }
}

/* ===========================================
   PRODUCT HEADER
=========================================== */

.mobile-product-header {
  text-align: center;
  padding: 56px 20px 28px;

}

.mobile-product-header h1 {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.mobile-product-header p {
  max-width: 300px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--text);
}

.product-tip {
  text-align: center;
  font-size: .78rem;
  font-weight: 500;
  color: var(--accent);
  margin: 12px 0 20px;
  letter-spacing: .02em;
  animation: slideHint 1.8s ease-in-out infinite;
}

@keyframes slideHint {

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

  50% {
    transform: translateX(6px);
  }
}

.mobile-products-page {
  background: var(--bg);
  padding: 20px 16px 40px;
}


/* =====================================================
   MOBILE PRODUCTS
===================================================== */
/* =====================================================
   PRODUCT BOTTOM NAVIGATION
===================================================== */

.product-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-around;

    padding: 0 10px;

    background: var(--card);
    border-top: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 -10px 30px rgba(0,0,0,.12),
        inset 0 1px rgba(255,255,255,.08);

    z-index: 9999;
    box-sizing: border-box;
}

/* Navigation Item */

.product-nav a {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    height: 100%;

    text-decoration: none;
    color: var(--muted);

    transition: var(--tr);
}

/* Icon */

.product-nav a i {
    font-size: 1.2rem;
    transition: var(--tr);
}

/* Label */

.product-nav a span {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
}

/* Active */

.product-nav a.active {
    color: var(--accent);
}

.product-nav a.active i {
    transform: translateY(-2px);
}

.product-nav a.active::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: 2px;

    border-radius: 50%;
    background: var(--accent);
}

/* Hover */

.product-nav a:hover {
    color: var(--accent);
}

.product-nav a:hover i {
    transform: translateY(-2px);
}

/* Click */

.product-nav a:active {
    transform: scale(.96);
}

/* Safe area for iPhone */

@supports (padding-bottom: env(safe-area-inset-bottom)) {

    .product-nav {
        height: calc(72px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }

}

/* Prevent page content from being hidden */

.mobile-products-page {
    padding-bottom: 95px;
}
/* =====================================================
   MOBILE PRODUCTS
===================================================== */

.mobile-products-page {
    padding: 1.5rem 0 6rem;
    background: var(--bg);
}

/* =====================================================
   SLIDER
===================================================== */

.product-slider {
    display: flex;
    gap: 1rem;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    padding: 0 1rem 2rem;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

/* =====================================================
   CARD
===================================================== */

.product-slide {
    flex: 0 0 calc(100% - 2rem);

    scroll-snap-align: center;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;

    overflow: hidden;

    box-shadow: var(--shadow-sm);
    transition: var(--tr);
}

.product-slide:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* =====================================================
   IMAGE
===================================================== */

.product-slide img {
    display: block;

    width: calc(100% - 2rem);
    margin: 1rem;

    aspect-ratio: 16/9;
    object-fit: cover;

    border-radius: 14px;
    border: 1px solid var(--border);
}

/* =====================================================
   CONTENT
===================================================== */

.product-slide-content {
    padding: 0 1.25rem 1.25rem;
}

.tagline {
    display: inline-block;
    margin-bottom: .6rem;

    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--accent);
}

.product-slide h2 {
    margin: 0 0 .75rem;

    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;

    color: var(--text);
}

.product-slide p {
    margin: 0;

    font-size: .95rem;
    line-height: 1.7;

    color: var(--muted);
}

/* =====================================================
   TAGS
===================================================== */

.product-slide ul {
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: .65rem;

    margin: 1.75rem 0 0;
    padding: 0;
}

.product-slide ul::before {
    content: "SUITABLE FOR";
    width: 100%;

    margin-bottom: .25rem;

    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--muted);
}

.product-slide li {
    padding: .55rem .9rem;

    border-radius: 999px;

    background: rgba(var(--accent-rgb), .08);
    border: 1px solid rgba(var(--accent-rgb), .18);

    color: var(--accent);

    font-size: .8rem;
    font-weight: 600;
}

.product-slide li::before {
    display: none;
}

/* =====================================================
   BUTTONS
===================================================== */

.slide-actions {
    display: flex;
    flex-direction: column;

    gap: .75rem;

    margin-top: 1.75rem;
}

.slide-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 50px;

    border-radius: 12px;

    font-weight: 600;
    text-decoration: none;

    transition: var(--tr);
}

.slide-actions .btn-primary {
    background: var(--accent);
    color: var(--on-accent);
}

.slide-actions .btn-outline {
    background: transparent;
    color: var(--text);

    border: 1px solid var(--border);
}

.slide-actions .btn:hover {
    transform: translateY(-2px);
}

.slide-actions .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:768px) {

    .product-slider {
        padding: 0 .875rem 2rem;
    }

    .product-slide {
        flex: 0 0 calc(100% - 1.75rem);
    }

    .product-slide img {
        margin: .875rem;
        width: calc(100% - 1.75rem);
    }

    .product-slide-content {
        padding: 0 1rem 1rem;
    }

    .product-slide h2 {
        font-size: 1.25rem;
    }

    .product-slide p {
        font-size: .92rem;
    }

}


.mobile-contact-info {
  display: none;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  margin-bottom: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: var(--tr);
}

.contact-card i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.6;
}

.desktop-contact-heading {
  display: block;
}

/* Contact page mobile overrides — consolidated into @media (max-width: 768px) at line ~3447 */
/* Rules moved: .mobile-contact-info, .contact-info-grid, .desktop-contact-section,
   .contact-forms-grid > div:last-child, .contact-forms-grid, .page-hero-sub,
   .sec-body (contact page), .contact-map-section */

/* ─── SERVICE SECTION TITLE ──────────────────────────── */
/* Replaces repeated inline style on <h3> blocks in services.html */
.service-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: .02em;
  margin-bottom: 16px;
}