:root {
  --black: #050505;
  --ink: #0d0d0d;
  --panel: #121212;
  --panel-2: #1b1b1b;
  --green: #8dff2f;
  --green-2: #7cff4f;
  --text: #f5f7f2;
  --muted: #a4aaa0;
  --line: rgba(255, 255, 255, 0.11);
  --glow: 0 0 34px rgba(141, 255, 47, 0.25);
  --radius: 8px;
  --font-display: "Bebas Neue", "Anton", Impact, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(141, 255, 47, 0.14), transparent 30rem),
    radial-gradient(circle at 16% 28%, rgba(124, 255, 79, 0.08), transparent 24rem),
    var(--black);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  opacity: 0.18;
  z-index: -1;
}

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

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

button {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 280px 280px, 4px 4px;
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  pointer-events: none;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(141, 255, 47, 0.18), transparent 68%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 250ms ease;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(5, 5, 5, 0.58);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.86);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: clamp(13.5rem, 18vw, 18rem);
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 100%;
  height: clamp(2.85rem, 3.4vw, 3.25rem);
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.6rem);
  color: #d9ded5;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a,
.nav-cta {
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: var(--green);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-cta {
  color: var(--green);
  background: rgba(141, 255, 47, 0.08);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  position: relative;
  place-items: center;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  width: 2.9rem;
  height: 2.9rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px rgba(141, 255, 47, 0.34);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 0.23rem;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(1) {
  transform: translateY(0.46rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  transform: translateY(-0.46rem) rotate(-45deg);
}

.nav-toggle i,
.nav-toggle svg {
  display: none;
}

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 7rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.6) 42%, rgba(5, 5, 5, 0.2) 100%),
    radial-gradient(circle at 70% 54%, rgba(141, 255, 47, 0.18), transparent 24rem),
    linear-gradient(145deg, #050505 20%, #151515 74%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 34%;
  z-index: 2;
  background: linear-gradient(to top, #050505, rgba(5, 5, 5, 0));
}

.hero-bg::after {
  inset: 0 auto 0 44%;
  width: 56%;
  height: auto;
  background: radial-gradient(ellipse at center, transparent 36%, rgba(5, 5, 5, 0.76) 78%, #050505 100%);
}

.hero-image {
  position: absolute;
  right: -2vw;
  bottom: 0;
  width: min(64vw, 58rem);
  height: min(92vh, 58rem);
  object-fit: cover;
  object-position: center 46%;
  opacity: 0.9;
  filter: saturate(1.08) contrast(1.14) brightness(0.72);
  mask-image:
    radial-gradient(ellipse at 62% 52%, black 30%, rgba(0, 0, 0, 0.88) 50%, transparent 80%),
    linear-gradient(to bottom, transparent, black 18%, black 76%, transparent);
}

.hero-fallback,
.course-media-fallback {
  display: none;
}

.image-missing .hero-fallback,
.image-missing .course-media-fallback {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  z-index: 1;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 13rem);
  letter-spacing: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(141, 255, 47, 0.18) 42% 45%, transparent 45%),
    radial-gradient(circle at 72% 48%, rgba(141, 255, 47, 0.2), transparent 20rem),
    linear-gradient(135deg, #050505, #161616 58%, #080808);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(141, 255, 47, 0.2);
  border-radius: 50%;
  filter: blur(0.2px);
  opacity: 0.58;
  animation: rotate 18s linear infinite;
}

.hero-orbit-a {
  right: 10%;
  top: 18%;
  width: 24rem;
  height: 24rem;
}

.hero-orbit-b {
  right: -6rem;
  bottom: 10%;
  width: 38rem;
  height: 38rem;
  animation-duration: 28s;
  animation-direction: reverse;
}

.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  width: min(100%, 92rem);
  margin-inline: auto;
}

.hero-copy {
  max-width: 62rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.8rem;
  height: 2px;
  background: var(--green);
  box-shadow: var(--glow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.55rem, 7.25vw, 7.7rem);
  text-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.72);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 7rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-subtitle {
  max-width: 50rem;
  margin-bottom: 2rem;
  color: #c8cec5;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-primary {
  color: var(--black);
  border-color: rgba(141, 255, 47, 0.64);
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 0 30px rgba(141, 255, 47, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.stats-panel {
  display: grid;
  gap: 0.8rem;
  min-width: min(17rem, 100%);
}

.stats-panel article {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 18, 18, 0.58);
  backdrop-filter: blur(16px);
}

.stats-panel article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 47, 0.12), transparent);
  translate: -100% 0;
  transition: translate 600ms ease;
}

.stats-panel article:hover::after {
  translate: 100% 0;
}

.stats-panel strong {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.9;
}

.stats-panel span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 2rem;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 4rem;
  background: linear-gradient(to bottom, var(--green), transparent);
}

.section-heading {
  width: min(100%, 62rem);
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 92rem);
  margin-inline: auto;
}

.section-heading,
.split-layout,
.courses,
.contact {
  width: min(100%, 92rem);
  margin-inline: auto;
}

.service-card,
.social-card,
.testimonial-card,
.contact-panel,
.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(18, 18, 18, 0.86);
}

.service-card {
  min-height: 16.5rem;
  padding: 1.4rem;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.service-card::before,
.social-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 0%, rgba(141, 255, 47, 0.18), transparent 18rem);
  opacity: 0;
  transition: opacity 260ms ease;
}

.service-card:hover,
.social-card:hover,
.testimonial-card:hover {
  transform: translateY(-7px);
  border-color: rgba(141, 255, 47, 0.42);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.42), var(--glow);
}

.service-card:hover::before,
.social-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.service-card svg,
.contact-list svg {
  color: var(--green);
}

.service-card svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 2.6rem;
  filter: drop-shadow(0 0 16px rgba(141, 255, 47, 0.35));
}

.service-card h3,
.social-card strong,
.testimonial-card strong {
  position: relative;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.service-card p,
.social-card p,
.testimonial-card p,
.course-content p,
.contact-lead {
  position: relative;
  color: var(--muted);
  line-height: 1.65;
}

.service-card-wide {
  grid-column: span 2;
}

.gallery-shell {
  width: min(100%, 92rem);
  margin-inline: auto;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(14rem, calc((100vw - min(10vw, 10rem) - 3rem) / 4), 22.25rem);
  grid-auto-flow: dense;
  gap: 1rem;
  width: 100%;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(141, 255, 47, 0.11), transparent 34%),
    #121212;
  contain: paint;
  cursor: zoom-in;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.32);
}

.gallery-tile::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  text-transform: uppercase;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(5, 5, 5, 0.52), transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(141, 255, 47, 0.18), transparent 12rem);
  opacity: 0.72;
  transition: opacity 260ms ease;
}

.gallery-tile img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.12);
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-tile.engine-repair img {
  object-position: center 46%;
}

.gallery-tile.piston-detail img {
  object-position: center 48%;
}

.gallery-tile.blue-polishing img {
  object-position: center 54%;
}

.gallery-tile.chevrolet-detailing img {
  object-position: center 52%;
}

.gallery-tile:hover img {
  transform: scale(1.08);
  filter: saturate(1.18) contrast(1.2) brightness(1.05);
}

.gallery-tile:hover::after {
  opacity: 0.28;
}

.gallery-tile.tall {
  grid-row: span 2;
}

.gallery-tile.wide {
  grid-column: span 2;
}

.gallery-tile.square {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-controls {
  display: none;
}

.gallery-arrow,
.gallery-dot {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-arrow {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
}

.gallery-arrow:hover,
.gallery-dot.is-active {
  color: var(--green);
  border-color: rgba(141, 255, 47, 0.46);
}

.gallery-arrow:hover {
  transform: translateY(-2px);
}

.gallery-dot {
  width: 0.52rem;
  height: 0.52rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.gallery-dot.is-active {
  background: var(--green);
  box-shadow: 0 0 16px rgba(141, 255, 47, 0.5);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.social-shell {
  position: relative;
  padding-block: 0.15rem;
}

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

.social-card {
  min-height: 23rem;
  padding: 1rem;
}

.social-card-clone {
  display: none;
}

.social-controls {
  display: none;
}

.social-arrow,
.social-dot {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-arrow {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
}

.social-arrow:hover,
.social-dot.is-active {
  color: var(--green);
  border-color: rgba(141, 255, 47, 0.46);
}

.social-arrow:hover {
  transform: translateY(-2px);
}

.social-dot {
  width: 0.52rem;
  height: 0.52rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.social-dot.is-active {
  background: var(--green);
  box-shadow: 0 0 16px rgba(141, 255, 47, 0.5);
}

.video-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  height: 14rem;
  margin-bottom: 1.2rem;
  border-radius: 7px;
  color: var(--green);
  background:
    linear-gradient(145deg, rgba(141, 255, 47, 0.14), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 16px),
    #090909;
}

.video-placeholder svg {
  width: 2.8rem;
  height: 2.8rem;
  filter: drop-shadow(0 0 18px rgba(141, 255, 47, 0.42));
}

.video-placeholder span {
  color: #d9ded5;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.courses {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.course-media {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101010;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.42);
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 5, 5, 0.75), transparent 58%),
    radial-gradient(circle at 20% 20%, rgba(141, 255, 47, 0.16), transparent 18rem);
}

.course-media img {
  width: 100%;
  height: 100%;
  min-height: 39rem;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(1.06) contrast(1.15) brightness(0.78);
}

.course-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(141, 255, 47, 0.34);
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(14px);
  font-weight: 900;
  text-transform: uppercase;
}

.course-content h2 {
  margin-bottom: 1.3rem;
}

.course-content > p {
  max-width: 43rem;
  margin-bottom: 1.5rem;
  font-size: 1.04rem;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.check-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #dce2d8;
  font-weight: 700;
}

.check-grid svg {
  flex: 0 0 auto;
  width: 1.1rem;
  color: var(--green);
}

.testimonial-shell {
  display: grid;
  width: min(100%, 92rem);
  margin-inline: auto;
}

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

.testimonial-card {
  padding: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(18, 18, 18, 0.58);
  backdrop-filter: blur(18px);
}

.testimonial-card-clone {
  display: none;
}

.review-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.google-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  font-weight: 900;
}

.stars {
  color: var(--green);
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(141, 255, 47, 0.35);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.contact-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.contact-panel h2 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 6vw, 6rem);
}

.contact-lead {
  font-size: 1.04rem;
}

.contact-list {
  display: grid;
  gap: 0.72rem;
  margin-top: 2rem;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: #dbe0d8;
  line-height: 1.35;
}

.map-frame {
  min-height: 32rem;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 32rem;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.05) brightness(0.8);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050505;
}

.footer p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 42;
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 50%;
  color: var(--black);
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 0 30px rgba(141, 255, 47, 0.4);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 5vw;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.lightbox img {
  max-width: min(100%, 86rem);
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.image-missing > img,
img.image-missing {
  opacity: 0;
  visibility: hidden;
}

@keyframes rotate {
  to {
    rotate: 360deg;
  }
}

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

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

@-webkit-keyframes socialMarquee {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { -webkit-transform: translate3d(calc(-50% - 0.5rem), 0, 0); transform: translate3d(calc(-50% - 0.5rem), 0, 0); }
}

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

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

@-webkit-keyframes testimonialMarquee {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { -webkit-transform: translate3d(calc(-50% - 0.5rem), 0, 0); transform: translate3d(calc(-50% - 0.5rem), 0, 0); }
}

@media (hover: hover) and (pointer: fine) {
  .social-shell:hover .social-grid,
  .testimonial-shell:hover .testimonial-grid {
    animation-play-state: paused;
  }
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .masonry-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(13rem, calc((100vw - 10vw - 2rem) / 3), 19rem);
  }

  .split-layout,
  .courses,
  .contact {
    grid-template-columns: 1fr;
  }

  .social-card {
    flex-basis: auto;
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding-right: 5rem;
  }

  .nav-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.9rem !important;
    height: 2.9rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999;
    border-color: rgba(141, 255, 47, 0.48);
    background: rgba(5, 5, 5, 0.76);
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
  }

  .nav-toggle::before {
    content: "";
    position: absolute;
    inset: -0.35rem;
  }

  .main-nav {
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    width: 100vw;
    display: grid;
    gap: 0;
    padding: 0.65rem 1rem 1rem;
    background: rgba(5, 5, 5, 0.94);
    border-bottom: 1px solid var(--line);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .main-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-self: end;
    padding-bottom: clamp(1.5rem, 5svh, 3rem);
  }

  .scroll-cue {
    display: none;
  }

  .hero-bg::after {
    inset: 0;
    width: auto;
    height: auto;
    background:
      linear-gradient(to bottom, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.18) 36%, rgba(5, 5, 5, 0.82) 100%),
      radial-gradient(ellipse at 50% 66%, transparent 22%, rgba(5, 5, 5, 0.58) 74%, #050505 100%);
  }

  .hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.38;
    object-position: center 48%;
    mask-image: none;
  }

  h1 {
    font-size: clamp(3.4rem, 14vw, 5.2rem);
  }

  .stats-panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    min-width: 0;
  }

  .stats-panel article {
    min-width: 0;
    padding: 0.75rem 0.6rem;
  }

  .stats-panel strong {
    font-size: 2.05rem;
  }

  .stats-panel span {
    font-size: 0.62rem;
  }

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

  .testimonial-shell {
    overflow: hidden;
    width: auto;
    margin-inline: -1rem;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }

  .testimonial-grid {
    display: flex;
    width: max-content;
    gap: 1rem;
    transform: translate3d(0, 0, 0);
    animation: testimonialMarquee 24s linear infinite;
    animation-fill-mode: none;
    -webkit-animation: testimonialMarquee 24s linear infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

  .testimonial-card {
    flex: 0 0 min(76vw, 20rem);
    min-height: 13.5rem;
  }

  .testimonial-card-clone {
    display: block;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .masonry-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(17.5rem, 82%);
    grid-template-columns: none;
    grid-auto-rows: auto;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1rem 0.35rem;
    margin-inline: -1rem;
    scroll-padding-inline: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .masonry-gallery::-webkit-scrollbar {
    display: none;
  }

  .gallery-shell {
    position: relative;
    margin-bottom: 2.25rem;
  }

  .gallery-tile,
  .gallery-tile.tall,
  .gallery-tile.wide {
    grid-column: auto;
    grid-row: auto;
    height: 23rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .gallery-tile img {
    transform: none;
  }

  .gallery-tile.engine-repair img {
    object-position: center 44%;
  }

  .gallery-tile.blue-polishing img {
    object-position: center 50%;
  }

  .gallery-tile.chevrolet-detailing img {
    object-position: center 50%;
  }

  .gallery-tile.piston-detail img {
    object-position: center 46%;
  }

  .gallery-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 23rem;
    padding-inline: 0.15rem;
    pointer-events: none;
  }

  .gallery-dots {
    position: absolute;
    left: 50%;
    bottom: -1.45rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 5.5rem;
    pointer-events: auto;
  }

  .gallery-arrow {
    pointer-events: auto;
    box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.42);
  }

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

  .social-shell {
    overflow: hidden;
    margin-inline: -1rem;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }

  .social-grid {
    display: flex;
    width: max-content;
    gap: 1rem;
    transform: translate3d(0, 0, 0);
    animation: socialMarquee 24s linear infinite;
    animation-fill-mode: none;
    -webkit-animation: socialMarquee 24s linear infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

  .social-card-clone {
    display: block;
  }

  .social-card {
    flex: 0 0 min(76vw, 20rem);
    flex-basis: min(76vw, 20rem);
    min-height: 21.5rem;
  }

  .social-controls {
    display: none;
  }

  .social-dots {
    position: absolute;
    left: 50%;
    bottom: -1.45rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 3rem;
    pointer-events: auto;
  }

  .course-media,
  .course-media img {
    min-height: 28rem;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 540px) {
  .section {
    padding-inline: 1rem;
  }

  .brand-logo {
    width: 80%;
    height: clamp(3.2rem, 12vw, 3.8rem);
  }

  .brand {
    width: clamp(11.75rem, 44vw, 15rem);
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding-top: 5.8rem;
    padding-bottom: 2.25rem;
  }

  .hero-inner {
    gap: 1rem;
    padding-bottom: clamp(1rem, 4svh, 2.5rem);
  }

  .hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.38;
    object-position: center 46%;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(3rem, 12.2vw, 3.8rem);
  }

  .hero-subtitle {
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  h2 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .socials h2 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 11.4vw, 3.35rem);
    line-height: 0.92;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .stats-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .stats-panel article {
    padding: 0.65rem 0.45rem;
  }

  .stats-panel strong {
    font-size: 1.8rem;
  }

  .stats-panel span {
    font-size: 0.54rem;
  }

  .masonry-gallery {
    grid-auto-columns: minmax(16.5rem, 84%);
  }

  .gallery-tile.wide,
  .gallery-tile.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-tile,
  .gallery-tile.tall,
  .gallery-tile.wide {
    height: 22rem;
  }

  .gallery-controls {
    height: 22rem;
  }

  .social-grid {
    animation-duration: 21s;
  }

  .social-card {
    flex-basis: min(78vw, 19rem);
    min-height: 20.5rem;
  }

  .testimonial-grid {
    animation-duration: 21s;
  }

  .testimonial-card {
    flex-basis: min(78vw, 19rem);
  }

  .video-placeholder {
    height: 12rem;
  }

  .contact-list a,
  .contact-list span {
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header .nav-toggle[data-nav-toggle] {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 820px), (max-device-width: 820px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 5rem;
  }

  .site-header .nav-toggle[data-nav-toggle] {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.9rem !important;
    height: 2.9rem !important;
    border-color: rgba(141, 255, 47, 0.48);
    background: rgba(5, 5, 5, 0.76);
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999;
  }

  .site-header .nav-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .social-grid,
  .testimonial-grid {
    animation: none !important;
    transform: translateX(0) !important;
  }
}

/* Lazy Loading Styles */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.lazy-loading {
  opacity: 0;
  filter: blur(2px);
}

img.lazy-loaded {
  opacity: 1;
  filter: blur(0);
}