/* BBL Sound — redesign mockup */

:root {
  --bg: #08080d;
  --bg-elevated: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f2f7;
  --text-muted: #9b9bab;
  --text-dim: #6b6b7b;
  --accent: #ff3d57;
  --accent-soft: rgba(255, 61, 87, 0.14);
  --accent-glow: rgba(255, 61, 87, 0.35);
  --teal: #00d4aa;
  --teal-soft: rgba(0, 212, 170, 0.12);
  --gradient-hero: linear-gradient(135deg, #0a0a12 0%, #12101a 40%, #1a0f18 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 76px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

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

.section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

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

.section-header p {
  font-size: 1.125rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--link {
  padding: 0;
  background: none;
  border: none;
  color: var(--teal);
  font-weight: 600;
}

.btn--link:hover { color: #33e0be; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: var(--transition);
}

.site-header.is-scrolled {
  background: rgba(8, 8, 13, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo img {
  height: 42px;
  width: auto;
}

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

.nav-desktop a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dropdown__toggle:hover,
.nav-dropdown.is-open .nav-dropdown__toggle {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-dropdown__menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

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

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  padding: 1.5rem;
  background: rgba(8, 8, 13, 0.97);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: var(--transition);
  overflow-y: auto;
}

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

.nav-mobile a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 500;
}

.nav-mobile__group-title {
  padding-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 8, 13, 0.3), var(--bg) 92%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 61, 87, 0.18), transparent 60%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #fff 30%, #ff8a9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: left;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Services */

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

.service-card {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.service-card:nth-child(2) .service-card__icon { background: var(--teal-soft); color: var(--teal); }
.service-card:nth-child(3) .service-card__icon { background: rgba(255, 180, 50, 0.12); color: #ffb432; }
.service-card:nth-child(4) .service-card__icon { background: rgba(120, 140, 255, 0.12); color: #8b9dff; }
.service-card:nth-child(5) .service-card__icon { background: rgba(180, 120, 255, 0.12); color: #b478ff; }
.service-card:nth-child(6) .service-card__icon { background: rgba(80, 200, 255, 0.12); color: #50c8ff; }
.service-card:nth-child(7) .service-card__icon { background: rgba(100, 220, 150, 0.12); color: #64dc96; }

.service-card h3 { margin-bottom: 0.65rem; }

.service-card p {
  font-size: 0.975rem;
  margin-bottom: 1.25rem;
}

/* Why us */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 1.25rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.why-item__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}

.why-item h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.why-item p { font-size: 0.95rem; margin: 0; }

.why-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-visual__overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 1rem 1.25rem;
  background: rgba(8, 8, 13, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* Gallery */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

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

.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__label {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: none;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.92);
  backdrop-filter: blur(4px);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: calc(100vh - 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__figure {
  margin: 0;
  width: 100%;
  text-align: center;
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox__caption {
  margin-top: 1rem;
  color: #f2f2f7;
  font-size: 0.95rem;
  font-weight: 500;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 61, 87, 0.85);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lightbox__close {
  top: -0.25rem;
  right: 0;
}

.lightbox__nav--prev {
  left: -3.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: -3.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev:hover,
.lightbox__nav--next:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox__nav[hidden],
.lightbox__close[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .lightbox__nav--prev {
    left: 0.5rem;
    top: auto;
    bottom: -3.5rem;
    transform: none;
  }

  .lightbox__nav--next {
    right: 0.5rem;
    top: auto;
    bottom: -3.5rem;
    transform: none;
  }

  .lightbox__nav--prev:hover,
  .lightbox__nav--next:hover {
    transform: none;
  }

  .lightbox__panel {
    padding-bottom: 3rem;
  }
}

/* CTA */

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-box {
  display: grid;
  gap: 2.5rem;
  padding: 3rem;
  background:
    linear-gradient(135deg, rgba(255, 61, 87, 0.08), rgba(0, 212, 170, 0.06)),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}

.cta-box h2 { margin-bottom: 0.75rem; }

.contact-form {
  display: grid;
  gap: 1rem;
}

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

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

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

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

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-info__item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.contact-info__item span,
.contact-info__item a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info__item a:hover { color: var(--teal); }

/* Footer */

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-brand .logo img { margin-bottom: 1rem; }

.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-nav a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--teal); }

/* Page hero (subpages) */

.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.page-hero .breadcrumb a:hover { color: var(--teal); }

.page-hero .breadcrumb span { color: var(--text-dim); }

.page-content {
  padding: 4rem 0 5rem;
}

.content-grid {
  display: grid;
  gap: 3rem;
}

.content-main h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-main h2:first-child { margin-top: 0; }

.content-main ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.content-main li { margin-bottom: 0.5rem; }

.steps {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}

.sidebar-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.sidebar-card h3 { margin-bottom: 1rem; }

.sidebar-card .btn { width: 100%; margin-top: 1rem; }

/* Responsive */

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr 1fr; align-items: start; }
  .content-grid { grid-template-columns: 1fr 320px; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid .service-card:last-child {
    grid-column: span 1;
  }
}

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