:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-light: #1f2630;
  --text: #f5f7fa;
  --muted: #b8c2cc;
  --accent: #2dd4bf;
  --accent-strong: #14b8a6;
  --gradient: linear-gradient(135deg, #2dd4bf, #3b82f6);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(8px);
  background: rgba(13, 17, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 50;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  /* Only constrain height — a max-width on wide logos was shrinking the
     graphic to ~15–20px tall. Width follows the file’s aspect ratio. */
  height: clamp(48px, 5.5vw, 68px);
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  line-height: 1.1;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url("hack_squat.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 560px;
  height: 560px;
  background: var(--gradient);
  opacity: 0.2;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  padding-bottom: 48px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
}

.hero-subtitle,
.section-intro {
  color: var(--muted);
  max-width: 700px;
}

.hero-slogan {
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
}

.lead-copy {
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 16px;
}

.lead-copy:last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--gradient);
  color: #041317;
  border: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
  border: 1px solid #25d366;
}

.whatsapp-btn:hover {
  background: #1ebe5b;
}

.btn-sm {
  font-size: 0.9rem;
  padding: 10px 16px;
}

.section {
  padding: 84px 0;
}

.services-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 500ms ease, opacity 500ms ease, border-color 220ms ease;
}

.service-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(45, 212, 191, 0.55);
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.testimonial-card p:first-child {
  font-style: italic;
}

.testimonial-name {
  margin-top: 14px;
  color: var(--text);
  font-weight: 700;
}

#testimonialsList {
  transition: opacity 300ms ease;
}

#testimonialsList.is-fading {
  opacity: 0;
}

.testimonials-dots {
  margin-top: 24px;
}

.testimonial-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  margin: 0 0 10px;
  font-size: 1rem;
}

.testimonial-source {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.testimonials-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 8px 0 4px;
}

.summary-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

.summary-text {
  color: var(--muted);
}

.summary-text strong {
  color: var(--text);
}

/* ── Before / After slider ─────────────────────── */
.ba-slider-section {
  margin: 48px 0 12px;
}

.ba-slider-heading {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  margin-bottom: 8px;
}

.ba-slider-intro {
  margin-bottom: 24px;
}

.ba-slider {
  max-width: 900px;
  margin: 0 auto;
}

.ba-slider-viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.ba-slider-track {
  display: flex;
  transition: transform 600ms ease;
}

.ba-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 20px;
}

.ba-slide-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ba-slide-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ba-slide-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: var(--surface-light);
}

.ba-slide-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.ba-slide-caption {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.ba-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.ba-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.ba-slider-btn:hover {
  border-color: var(--accent);
  background: var(--surface-light);
}

.ba-slider-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.ba-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.ba-slider-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.ba-slider-empty {
  text-align: center;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 620px) {
  .ba-slide-pair {
    grid-template-columns: 1fr;
  }

  .ba-slide {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ba-slider-track {
    transition: none;
  }
}

.section-highlight {
  background: linear-gradient(180deg, rgba(31, 38, 48, 0.7), rgba(13, 17, 23, 0.2));
}

.about-split {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.25fr;
  gap: 28px;
  align-items: start;
}

.about-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-copy {
  text-align: left;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.studio-split {
  margin-top: 28px;
  display: grid;
  /* Photo column ~30% wider than 1.05fr : 1fr + min 280px baseline */
  grid-template-columns: 1.05fr minmax(364px, 1.3fr);
  gap: 28px;
  align-items: start;
}

.studio-copy {
  text-align: left;
}

.studio-copy p:last-child {
  margin-bottom: 0;
}

.studio-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.studio-gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.studio-gallery-item-wide {
  aspect-ratio: 16 / 9;
}

.studio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  align-items: center;
}

.benefits {
  padding-left: 18px;
  margin: 0;
}

.benefits li {
  margin-bottom: 8px;
}

.stat-box,
.contact-box {
  background: var(--surface-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
}

.stat-label {
  color: var(--muted);
  margin: 0 0 10px;
}

.stat-number {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  margin: 0;
  color: var(--accent);
}

.stat-copy {
  margin-top: 8px;
  color: var(--muted);
}

.contact-box {
  text-align: center;
}

.contact-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-email {
  margin: 16px 0 0;
  color: var(--muted);
}

.contact-email a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* ── FAQ ───────────────────────────────────────── */
.faq-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--muted);
  margin: 14px 0 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.footer-nap {
  margin: 0 0 10px;
}

.footer-nap a {
  color: var(--accent);
  text-decoration: none;
}

.footer-nap a:hover {
  text-decoration: underline;
}

/* ── Intake Form ─────────────────────────────── */
.intake-form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  transition: border-color 180ms ease;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 4px 0 0;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .studio-split {
    grid-template-columns: 1fr;
  }

  .studio-gallery {
    max-width: 728px;
    margin: 0 auto;
  }

  .about-photo {
    max-height: 420px;
    margin: 0 auto;
    max-width: 400px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    min-height: 64px;
  }

  .btn-sm {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .hero-content {
    padding-bottom: 28px;
  }
}
