/* ==========================================================================
   STOP & GLOW — Futuristic Auto Studio Theme
   ========================================================================== */

:root {
  --red: #e80e18;
  --red-bright: #ff1a26;
  --red-glow: rgba(232, 14, 24, 0.55);
  --cyan: #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.25);
  --bg: #030308;
  --bg-card: rgba(12, 12, 18, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(232, 14, 24, 0.4);
  --text: #f0f0f5;
  --text-muted: #b8b8c7;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 76px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-bright); text-decoration: none; transition: color 0.3s var(--ease-out-expo); }
a:hover { color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.25rem);
}

/* ---- Ambient layers ---- */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 18s ease-in-out infinite;
}

.ambient--red {
  width: 55vw;
  height: 55vw;
  max-width: 600px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: -15%;
  right: -10%;
}

.ambient--cyan {
  width: 40vw;
  height: 40vw;
  max-width: 450px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  bottom: 10%;
  left: -15%;
  animation-delay: -8s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.4) 2px,
    rgba(0,0,0,0.4) 4px
  );
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  box-shadow: 0 0 12px var(--red-glow);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.2em;
}

.preloader__mark {
  width: 96px;
  height: 70px;
  margin-bottom: 0.85rem;
  border-radius: 16px;
  background: #000 url("assets/stop-glow-mark.png") center / contain no-repeat;
  border: 1px solid rgba(232, 14, 24, 0.32);
  box-shadow: 0 0 34px var(--red-glow);
}

.preloader__text { font-size: 1.5rem; color: var(--text); }
.preloader__glow { font-size: 1rem; color: var(--red-bright); text-shadow: 0 0 30px var(--red-glow); }

.preloader__bar {
  width: 200px;
  height: 3px;
  margin: 1.5rem 0 0.75rem;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  border-radius: 4px;
  animation: loadBar 1.4s var(--ease-out-expo) forwards;
  box-shadow: 0 0 20px var(--red-glow);
}

.preloader__tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes loadBar {
  to { width: 100%; }
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s var(--ease-out-expo), backdrop-filter 0.4s, box-shadow 0.4s;
}

.header.is-scrolled {
  background: rgba(3, 3, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  z-index: 2;
}

.logo__mark {
  position: relative;
  width: 62px;
  height: 46px;
  flex: 0 0 62px;
  border: 1px solid rgba(232, 14, 24, 0.28);
  border-radius: 10px;
  background: #000 url("assets/stop-glow-mark.png") center / contain no-repeat;
  box-shadow: 0 0 20px rgba(232, 14, 24, 0.32), inset 0 0 20px rgba(232, 14, 24, 0.08);
  overflow: hidden;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.18) 45%, transparent 68%);
  transform: translateX(-110%);
  transition: transform 0.55s var(--ease-out-expo);
}

.logo:hover .logo__mark::after {
  transform: translateX(110%);
}

.logo__icon {
  width: 36px;
  height: 36px;
  color: var(--red-bright);
  filter: drop-shadow(0 0 8px var(--red-glow));
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  white-space: nowrap;
}


.logo__stop { color: var(--text); }
.logo__glow { color: var(--red-bright); text-shadow: 0 0 20px var(--red-glow); }

.logo--footer .logo__mark {
  width: 76px;
  height: 54px;
  flex-basis: 76px;
}


.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1002;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.35s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(3, 3, 8, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
  z-index: 1001;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav__link {
  display: block;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.08em;
  transition: color 0.3s, transform 0.3s var(--ease-out-expo);
}

.nav__link span {
  display: block;
  font-size: 0.65rem;
  color: var(--red-bright);
  margin-bottom: 0.25rem;
}

.nav__link:hover {
  color: var(--red-bright);
  transform: translateX(8px);
}

.nav__link--active {
  color: var(--red-bright);
}

.header__actions { display: none; align-items: center; gap: 1rem; }
.header__phone {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.header__phone:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background 0.35s;
  position: relative;
  overflow: hidden;
}

.btn svg { width: 18px; height: 18px; }

.btn--glow {
  background: linear-gradient(135deg, var(--red) 0%, #b00a12 100%);
  color: #fff;
  box-shadow: 0 0 30px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.btn--glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px var(--red-glow), 0 12px 40px rgba(232,14,24,0.35);
  color: #fff;
}

.btn--glow:hover::before { transform: translateX(100%); }

.btn--glass {
  background: var(--bg-glass);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  border-color: var(--border-glow);
  background: rgba(232, 14, 24, 0.1);
  color: #fff;
  transform: translateY(-3px);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  color: #fff;
  box-shadow: 0 0 60px rgba(37, 211, 102, 0.5);
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.7rem; }
.btn--lg { padding: 1rem 2rem; font-size: 0.85rem; }
.btn--xl { padding: 1.15rem 2.5rem; font-size: 0.9rem; margin: 0 auto 2.5rem; }
.btn--block { width: 100%; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  z-index: 1;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img-wrap {
  position: absolute;
  inset: -5%;
  animation: kenBurns 22s ease-in-out infinite alternate;
}

.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes kenBurns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-2%, -1%); }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(3,3,8,0.96) 0%, rgba(3,3,8,0.76) 45%, rgba(3,3,8,0.52) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}

.hero__shine {
  position: absolute;
  top: 20%;
  left: -20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-bright), var(--cyan), transparent);
  opacity: 0.6;
  animation: shineSweep 6s ease-in-out infinite;
  filter: blur(1px);
}

@keyframes shineSweep {
  0%, 100% { transform: translateX(-30%) rotate(-5deg); opacity: 0; }
  50% { transform: translateX(120%) rotate(-5deg); opacity: 0.8; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem clamp(1rem, 4vw, 1.25rem) 6rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
}

.hero__line {
  display: block;
  font-size: clamp(2rem, 8vw, 4.2rem);
  letter-spacing: 0;
}

.hero__line--accent {
  background: linear-gradient(90deg, #fff 0%, var(--red-bright) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px var(--red-glow));
}

.hero__line--sub {
  font-size: clamp(0.9rem, 3vw, 1.35rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.hero__sub {
  max-width: 520px;
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-bright);
  text-shadow: 0 0 24px var(--red-glow);
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
}

.stat__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2.5s ease-in-out infinite;
}

.hero__scroll svg { width: 24px; height: 24px; opacity: 0.6; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Gallery page ---- */
.gallery-hero {
  position: relative;
  min-height: calc(82vh - var(--header-h));
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
  z-index: 1;
}

.gallery-hero__media {
  position: absolute;
  inset: 0;
}

.gallery-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.gallery-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(3,3,8,0.96) 0%, rgba(3,3,8,0.76) 48%, rgba(3,3,8,0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 42%);
}

.gallery-hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem clamp(1rem, 4vw, 1.25rem) 5rem;
}

.gallery-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 42px var(--red-glow);
}

.gallery-hero__sub {
  max-width: 620px;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.gallery-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-section {
  overflow: hidden;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -1rem 0 2rem;
}

.gallery-filter__btn {
  min-height: 40px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-glass);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease-out-expo), border-color 0.3s, color 0.3s, transform 0.3s var(--ease-spring);
}

.gallery-filter__btn:hover,
.gallery-filter__btn.is-active {
  color: #fff;
  border-color: var(--red);
  background: rgba(232,14,24,0.16);
  box-shadow: 0 0 22px var(--red-glow);
}

.gallery-filter__btn:hover {
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  grid-auto-flow: dense;
}

.gallery-card,
.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s, box-shadow 0.35s, opacity 0.3s;
}

.gallery-card {
  min-height: 260px;
  aspect-ratio: 4 / 3;
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card img,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out-expo), filter 0.45s;
}

.gallery-card::after,
.video-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,3,8,0.05) 20%, rgba(3,3,8,0.92) 100%);
}

.gallery-card:hover,
.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 0 44px var(--red-glow), 0 24px 46px rgba(0,0,0,0.42);
}

.gallery-card:hover img,
.video-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.08);
}

.gallery-card__body,
.video-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.25rem;
}

.gallery-card__body span,
.video-card__body span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red-bright);
  text-transform: uppercase;
}

.gallery-card__body h3,
.video-card__body h3 {
  margin: 0;
  max-width: 18rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3vw, 1.18rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.video-card {
  min-height: 330px;
  border-radius: 16px;
  cursor: pointer;
}

.video-card__poster {
  position: absolute;
  inset: 0;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  background: rgba(232,14,24,0.9);
  box-shadow: 0 0 34px var(--red-glow);
}

.video-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.youtube-modal[hidden] {
  display: none;
}

.youtube-modal:not([hidden]) {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 3100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.youtube-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,3,8,0.9);
  backdrop-filter: blur(14px);
}

.youtube-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  background: linear-gradient(160deg, rgba(20,20,28,0.98), rgba(8,8,12,0.99));
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: 0 0 80px var(--red-glow), 0 32px 64px rgba(0,0,0,0.5);
  padding: 1rem;
}

.youtube-modal__title {
  margin: 0 3rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.08em;
}

.youtube-modal__frame {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #050509;
}

.youtube-modal__frame iframe,
.youtube-modal__empty {
  width: 100%;
  height: 100%;
}

.youtube-modal__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 14px;
}

/* ---- Marquee ---- */
.marquee {
  position: relative;
  z-index: 2;
  padding: 1rem 0;
  background: rgba(232, 14, 24, 0.08);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.marquee__track span:nth-child(odd) { color: var(--red-bright); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section--deep {
  background: linear-gradient(180deg, transparent 0%, rgba(232,14,24,0.03) 50%, transparent 100%);
}

.section--cta {
  padding-bottom: 6rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  margin-bottom: 0.75rem;
}

.section-head__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-head__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--red-bright), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head__desc {
  margin: 0 auto;
  max-width: 480px;
  color: var(--text-muted);
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

/* ---- Package & service grids (clean layout) ---- */
.package-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.service-grid--wide {
  grid-template-columns: 1fr;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.neo-card__simple {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Image placeholder when photo fails to load */
.img-fallback {
  background: linear-gradient(135deg, #1a1a24 0%, #2a1014 100%);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Modal — easy-to-read service details */
.modal__dialog {
  max-width: 580px;
}

.modal__body {
  color: #d8d8e4;
  font-size: 1rem;
  line-height: 1.75;
}

.detail-block {
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.detail-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.detail-block p {
  margin: 0 0 0.75rem;
}

.detail-block ul,
.detail-block ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.35rem;
}

.detail-block ol {
  list-style: decimal;
}

.detail-block li {
  margin-bottom: 0.5rem;
}

.detail-block li::marker {
  color: var(--red-bright);
}

.detail-highlight {
  padding: 0.85rem 1rem;
  background: rgba(232, 14, 24, 0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  margin: 0.75rem 0;
}

/* ---- 3D carousel (disabled — kept minimal for reference) ---- */
.carousel-3d {
  position: relative;
  padding: 0 clamp(2.5rem, 8vw, 4.5rem) 2.5rem;
  margin-top: 0.5rem;
}

.carousel-3d__viewport {
  position: relative;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  overflow: visible;
  height: 540px;
  user-select: none;
  cursor: grab;
}

.carousel-3d.is-dragging .carousel-3d__viewport {
  cursor: grabbing;
}

.carousel-3d__viewport::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: 15%;
  right: 15%;
  height: 60px;
  background: radial-gradient(ellipse, var(--red-glow) 0%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.carousel-3d__track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-3d__slide {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(88%, 420px);
  max-width: 420px;
  transform-style: preserve-3d;
  transform: translateX(-50%) translateZ(-280px) rotateY(0deg) scale(0.72);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition:
    transform 0.85s var(--ease-out-expo),
    opacity 0.7s var(--ease-out-expo),
    filter 0.7s var(--ease-out-expo);
  filter: blur(4px) brightness(0.55);
  will-change: transform, opacity;
}

.carousel-3d__slide.is-prev {
  transform: translateX(-50%) translateX(-58%) translateZ(-60px) rotateY(32deg) scale(0.88);
  opacity: 0.72;
  z-index: 5;
  pointer-events: auto;
  filter: blur(1px) brightness(0.85);
}

.carousel-3d__slide.is-next {
  transform: translateX(-50%) translateX(58%) translateZ(-60px) rotateY(-32deg) scale(0.88);
  opacity: 0.72;
  z-index: 5;
  pointer-events: auto;
  filter: blur(1px) brightness(0.85);
}

.carousel-3d__slide.is-active {
  transform: translateX(-50%) translateZ(100px) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  filter: none;
}

.carousel-3d__slide.is-far-prev {
  transform: translateX(-50%) translateX(-95%) translateZ(-180px) rotateY(42deg) scale(0.78);
  opacity: 0.25;
  z-index: 2;
}

.carousel-3d__slide.is-far-next {
  transform: translateX(-50%) translateX(95%) translateZ(-180px) rotateY(-42deg) scale(0.78);
  opacity: 0.25;
  z-index: 2;
}

.carousel-3d__slide.is-active .neo-card,
.carousel-3d__slide.is-active .holo-card,
.carousel-3d__slide.is-active .feature {
  box-shadow: 0 0 60px var(--red-glow), 0 30px 60px rgba(0, 0, 0, 0.45);
}

.carousel-3d__slide .neo-card:hover,
.carousel-3d__slide .holo-card:hover {
  transform: none;
}

.carousel-3d--compact .carousel-3d__viewport { height: 340px; }
.carousel-3d--compact .carousel-3d__slide { width: min(78%, 340px); max-width: 340px; }

.carousel-3d--wide .carousel-3d__viewport { height: 360px; }
.carousel-3d--wide .carousel-3d__slide { width: min(72%, 300px); max-width: 300px; }

.carousel-3d--features .carousel-3d__viewport { height: 220px; }
.carousel-3d--features .carousel-3d__slide {
  width: min(85%, 480px);
  max-width: 480px;
}

.carousel-3d--features .carousel-3d__slide.is-prev {
  transform: translateX(-50%) translateX(-52%) translateZ(-40px) rotateY(22deg) scale(0.92);
}

.carousel-3d--features .carousel-3d__slide.is-next {
  transform: translateX(-50%) translateX(52%) translateZ(-40px) rotateY(-22deg) scale(0.92);
}

.carousel-3d__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border-glow);
  border-radius: 50%;
  background: rgba(3, 3, 8, 0.85);
  color: var(--text);
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-spring), background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.carousel-3d__nav svg { width: 26px; height: 26px; }

.carousel-3d__nav:hover {
  background: var(--red);
  border-color: var(--red-bright);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 30px var(--red-glow);
}

.carousel-3d__nav--prev { left: 0; }
.carousel-3d__nav--next { right: 0; }

.carousel-3d__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.carousel-3d__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), background 0.35s, box-shadow 0.35s;
}

.carousel-3d__dot.is-active {
  background: var(--red-bright);
  transform: scale(1.35);
  box-shadow: 0 0 14px var(--red-glow);
}

.carousel-3d__hint {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.carousel-3d.is-dragging .carousel-3d__slide {
  transition-duration: 0.15s;
}

/* Hero 3D depth rings */
.hero__depth {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  transform-style: preserve-3d;
}

.hero__depth-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 14, 24, 0.25);
  box-shadow: 0 0 40px var(--red-glow), inset 0 0 30px rgba(232, 14, 24, 0.08);
  transition: transform 0.15s ease-out;
}

.hero__depth-ring--1 {
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  animation: ringSpin 24s linear infinite;
}

.hero__depth-ring--2 {
  width: min(70vw, 380px);
  height: min(70vw, 380px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 30px var(--cyan-glow);
  animation: ringSpin 18s linear infinite reverse;
}

.hero__depth-ring--3 {
  width: min(50vw, 260px);
  height: min(50vw, 260px);
  animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringSpin {
  from { transform: rotateX(65deg) rotateZ(0deg); }
  to { transform: rotateX(65deg) rotateZ(360deg); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: rotateX(70deg) scale(1); }
  50% { opacity: 0.9; transform: rotateX(70deg) scale(1.05); }
}

@media (min-width: 640px) {
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .service-grid--wide { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-card {
    min-height: auto;
    aspect-ratio: auto;
  }
  .gallery-card--large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-card--tall {
    grid-row: span 2;
  }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .service-grid--wide { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Neo package cards ---- */

.neo-card {
  position: relative;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}

.neo-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 60px var(--red-glow), 0 24px 48px rgba(0,0,0,0.4);
}

.neo-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--red-glow), transparent 40%, var(--cyan-glow));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
  pointer-events: none;
}

.neo-card:hover .neo-card__glow { opacity: 1; }

.neo-card__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.neo-card:hover .neo-card__scan {
  animation: cardScan 2.5s ease-in-out infinite;
}

@keyframes cardScan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.neo-card__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.neo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.neo-card:hover .neo-card__media img { transform: scale(1.08); }

.neo-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: rgba(3,3,8,0.8);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.neo-card__tag--hot {
  border-color: var(--red);
  color: var(--red-bright);
  box-shadow: 0 0 16px var(--red-glow);
}

.neo-card__body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.neo-card__body h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.neo-card__price {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-block__label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-block__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red-bright);
  text-shadow: 0 0 20px var(--red-glow);
}

.neo-card__strike {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.neo-card__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.neo-card__list li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--red);
  margin-bottom: 0.35rem;
}

/* ---- Chip nav ---- */
.chip-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.chip {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.35s var(--ease-out-expo);
}

.chip:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(232,14,24,0.15);
  box-shadow: 0 0 24px var(--red-glow);
}

.service-block { margin-bottom: 3.5rem; }

.service-block__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--red-bright);
  letter-spacing: 0.15em;
  margin: 0 0 0.25rem;
}

.service-block__sub {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

/* ---- Holo service cards ---- */
.holo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}

.holo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-bright), var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.holo-card:hover {
  border-color: rgba(232, 14, 24, 0.5);
  box-shadow: 0 0 40px var(--red-glow), inset 0 0 60px rgba(232,14,24,0.05);
  transform: translateY(-6px);
}

.holo-card:hover::before { opacity: 1; }

.holo-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--red-bright);
  background: rgba(232,14,24,0.1);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
}

.holo-card__icon svg { width: 24px; height: 24px; }

.holo-card h4 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.holo-card p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.holo-card__link {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red-bright);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s;
}

.feature:hover {
  transform: translateX(8px);
  border-color: var(--border-glow);
  box-shadow: -8px 0 32px var(--red-glow);
}

.feature__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red-bright);
  opacity: 0.6;
  line-height: 1;
}

.feature p { margin: 0; font-weight: 500; }

/* ---- Contact ---- */
.contact-panel {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-panel__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.info-card span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.info-card a, .info-card p { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--text); }

.contact-form {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.form-row { margin-bottom: 1rem; }

.contact-form label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-row--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message { margin-top: 0.75rem; font-size: 0.9rem; min-height: 1.4em; }
.form-message.success { color: #4ade80; }
.form-message.error { color: #f87171; }

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  margin: 0 0 1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul a { color: var(--text-muted); display: block; padding: 0.2rem 0; }
.footer ul a:hover { color: var(--text); }

.footer__brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 260px; }

.social-row { display: flex; gap: 0.5rem; }

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.35s var(--ease-out-expo);
}

.social-btn:hover {
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}

.social-btn--wa:hover { border-color: #25d366; box-shadow: 0 0 20px rgba(37,211,102,0.4); }

.footer__group {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer__bar {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- FAB WhatsApp ---- */
.fab-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
  animation: fabPulse 3s ease-in-out infinite;
}

.fab-wa svg { width: 28px; height: 28px; }

.fab-wa:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 0 50px rgba(37, 211, 102, 0.6);
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 0 50px rgba(37, 211, 102, 0.7); }
}

/* ---- Modal ---- */
.modal[hidden] { display: none; }

.modal:not([hidden]) {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.88);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.4s var(--ease-out-expo);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(20,20,28,0.98) 0%, rgba(8,8,12,0.99) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: 0 0 80px var(--red-glow), 0 32px 64px rgba(0,0,0,0.5);
  animation: modalIn 0.5s var(--ease-out-expo);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal__glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
}

.modal__close:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.modal__content { padding: 1.75rem; position: relative; z-index: 1; }

.modal__icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.modal__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding-right: 2.5rem;
  letter-spacing: 0.05em;
}

.modal__image-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.modal__image-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.modal__body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal__body ul { margin: 0.75rem 0; padding-left: 1.2rem; }
.modal__body li { margin-bottom: 0.35rem; }

.modal__price {
  margin: 1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--red-bright);
  text-shadow: 0 0 16px var(--red-glow);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal__actions .btn { flex: 1; min-width: 130px; }

#service-modal .modal__dialog {
  max-width: min(820px, calc(100vw - 2rem));
}

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .contact-panel { grid-template-columns: 1fr 1.3fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .nav {
    position: static;
    inset: auto;
    opacity: 1;
    visibility: visible;
    background: transparent;
    backdrop-filter: none;
    display: block;
  }

  .nav__list { display: flex; gap: 0.25rem; }

  .nav__link {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }

  .nav__link span { display: none; }

  .header__actions { display: flex; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img-wrap, .marquee__track, .hero__shine, .fab-wa, .preloader__bar span,
  .hero__depth-ring { animation: none; }
  .neo-card:hover, .holo-card:hover, .feature:hover, .btn--glow:hover { transform: none; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 74px;
  }

  .container,
  .hero__content,
  .gallery-hero__content {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .header__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo {
    gap: 0.55rem;
  }

  .logo__mark {
    width: 70px;
    height: 50px;
    flex-basis: 70px;
    border-radius: 12px;
  }

  .logo__text {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero__media::after {
    background:
      linear-gradient(100deg, rgba(3,3,8,0.93) 0%, rgba(3,3,8,0.72) 58%, rgba(3,3,8,0.56) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 45%);
  }

  .hero__content {
    padding-top: 5rem;
    padding-bottom: 5.5rem;
  }

  .hero__badge {
    max-width: 100%;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }

  .hero__title {
    margin-bottom: 1rem;
    line-height: 1.08;
  }

  .hero__line {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
    line-height: 1.12;
  }

  .hero__line--accent {
    font-size: clamp(2rem, 9.5vw, 2.9rem);
  }

  .hero__line--sub {
    font-size: 0.82rem;
    line-height: 1.45;
    letter-spacing: 0.11em;
    color: #e3e3eb;
  }

  .hero__sub {
    max-width: 34rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
  }

  .hero__actions {
    gap: 0.85rem;
    margin-bottom: 2.25rem;
  }

  .hero__actions .btn {
    width: min(100%, 23rem);
    min-height: 58px;
    padding: 1rem 1.25rem;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding-top: 1.15rem;
  }

  .stat__num {
    font-size: clamp(1.75rem, 8.5vw, 2.35rem);
  }

  .stat__suffix {
    font-size: 0.9rem;
  }

  .stat__label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .section {
    padding: 4rem 0;
  }

  .section-head {
    text-align: left;
  }

  .section-head__desc {
    margin-left: 0;
    color: #d6d6e2;
  }

  .neo-card__simple,
  .holo-card p,
  .service-block__sub,
  .feature p,
  .footer__brand p {
    color: #d5d5df;
  }
}

@media (max-width: 480px) {
  .modal__content {
    padding: 1.35rem;
  }

  .modal__title {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .modal__body {
    font-size: 0.92rem;
  }

  .detail-block h3 {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .gallery-card__body,
  .video-card__body {
    padding: 1rem;
  }
}
