/* ============================================
   NEON — Music Production Portfolio
   ============================================ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;

  --text-primary: #f0f0f5;
  --text-secondary: #9898a8;
  --text-muted: #5c5c6e;

  --accent-cyan: #00e5ff;
  --accent-magenta: #ff00aa;
  --accent-purple: #8b5cf6;
  --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  --gradient-subtle: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(255, 0, 170, 0.15));

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 229, 255, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --header-height: 72px;
  --container-max: 1200px;
  --section-padding: clamp(56px, 8vw, 96px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section + .section {
  padding-top: 0;
}

.hero + .section {
  padding-top: clamp(40px, 6vw, 72px);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--gradient-main);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

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

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

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

.btn-full {
  width: 100%;
}

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  height: var(--header-height);
  isolation: isolate;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.logo-mark {
  color: var(--accent-cyan);
  font-size: 1.4rem;
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 10px 20px !important;
  background: var(--gradient-subtle) !important;
  border: 1px solid var(--border-hover) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--accent-cyan) !important;
}

.nav-cta:hover {
  background: rgba(0, 229, 255, 0.15) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  background: var(--accent-cyan);
  top: -120px;
  right: -40px;
  opacity: 0.28;
}

.hero-glow--2 {
  width: 500px;
  height: 500px;
  background: var(--accent-magenta);
  bottom: -150px;
  left: -100px;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px 48px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.hero-headline {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: clamp(12px, 3vw, 28px);
  isolation: isolate;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-photo {
  position: absolute;
  z-index: 0;
  right: clamp(-32px, -2vw, 12px);
  bottom: clamp(-80px, -9vw, -36px);
  margin: 0;
  width: clamp(240px, 32vw, 420px);
  pointer-events: none;
  line-height: 0;
}

.hero-photo::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40%;
  width: 180%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(0, 190, 180, 0.32) 0%,
    rgba(0, 229, 255, 0.1) 38%,
    transparent 68%
  );
  filter: blur(56px);
  z-index: 0;
  pointer-events: none;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(
    ellipse 72% 68% at 46% 34%,
    #000 28%,
    rgba(0, 0, 0, 0.65) 52%,
    rgba(0, 0, 0, 0.25) 70%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 72% 68% at 46% 34%,
    #000 28%,
    rgba(0, 0, 0, 0.65) 52%,
    rgba(0, 0, 0, 0.25) 70%,
    transparent 100%
  );
  filter:
    saturate(0.9)
    brightness(0.96)
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  animation: hero-photo-float 8s ease-in-out infinite;
}

@keyframes hero-photo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-desc {
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat {
  min-width: 0;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1.15;
  margin-bottom: 8px;
}

.stat-value--text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 28ch;
}

/* ---- Services ---- */

.services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

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

.service-card--highlight {
  border-color: rgba(0, 229, 255, 0.25);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(255, 0, 170, 0.05));
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Portfolio ---- */

.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-tab {
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.portfolio-tab:hover {
  color: var(--text-primary);
}

.portfolio-tab.active {
  background: var(--gradient-subtle);
  color: var(--accent-cyan);
  border: 1px solid var(--border-hover);
}

.tracks-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tracks-loading[hidden],
.tracks-empty[hidden] {
  display: none;
}

.tracks-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tracks-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
}

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

@media (max-width: 767px) {
  .tracks-scroll-wrap {
    margin: 0 -24px;
    padding: 0 16px;
  }

  .tracks-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    padding: 4px 8px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.35) transparent;
  }

  .tracks-grid .track-card {
    flex: 0 0 min(78vw, 280px);
    width: min(78vw, 280px);
    scroll-snap-align: start;
  }

  .portfolio-load-more {
    display: none;
  }
}

@media (min-width: 640px) {
  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tracks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.portfolio-load-more[hidden] {
  display: none;
}

.portfolio-load-more-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.track-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.track-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.track-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.track-card:hover .track-thumbnail {
  transform: scale(1.05);
}

.track-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

.track-play svg {
  width: 52px;
  height: 52px;
  color: white;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.track-card:hover .track-play {
  opacity: 1;
}

.track-info {
  padding: 20px;
}

.track-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.track-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.track-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-note code {
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.track-platform {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  z-index: 2;
}

.track-platform--youtube {
  background: rgba(255, 0, 0, 0.9);
  color: white;
}

.track-platform--spotify {
  background: rgba(29, 185, 84, 0.95);
  color: white;
}

.track-platform--dual {
  top: 42px;
}

.video-modal--spotify .video-modal-embed {
  aspect-ratio: auto;
  height: 352px;
  max-height: 80vh;
}

.video-modal--spotify .video-modal-embed iframe {
  position: relative;
  height: 352px;
}

@media (max-width: 480px) {
  .video-modal--spotify .video-modal-embed,
  .video-modal--spotify .video-modal-embed iframe {
    height: 280px;
  }
}

/* ---- Video modal ---- */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  z-index: 1;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-modal-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

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

/* ---- Portfolio (legacy cleanup) ---- */

/* ---- Pricing ---- */

.pricing {
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: transform 0.3s, border-color 0.3s;
}

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

.pricing-card--featured {
  border-color: rgba(0, 229, 255, 0.4);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, var(--bg-card) 40%);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 28px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
}

.price-currency {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-features li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

.pricing-note {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Booking ---- */

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.booking-info .section-tag,
.booking-info .section-title,
.booking-info .section-desc {
  text-align: left;
}

.booking-benefits {
  margin: 32px 0;
}

.booking-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.booking-benefits svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.booking-contact {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.booking-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-cyan);
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.8;
}

.booking-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

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

.form-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent-cyan);
}

.form-checkbox label {
  flex: 1;
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 6px;
  min-height: 0;
}

.form-error:not(:empty) {
  min-height: 1.2em;
}

.form-error--submit {
  text-align: center;
  margin-bottom: 12px;
}

.form-success[hidden] {
  display: none;
}

.form-success:not([hidden]) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-sm);
}

.form-success svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ---- Footer ---- */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  color: var(--accent-cyan);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-checkbox label a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-checkbox label a:hover {
  color: var(--text-primary);
}

.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ---- Legal / RODO ---- */

.legal-page {
  padding: calc(var(--header-height) + 48px) 0 var(--section-padding);
}

.legal-content {
  max-width: 760px;
}

.legal-header {
  margin-bottom: 40px;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.legal-body {
  color: var(--text-secondary);
}

.legal-body section {
  margin-bottom: 36px;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.legal-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.legal-body p {
  margin-bottom: 12px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 12px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--text-primary);
}

.legal-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ---- Privacy banner ---- */

.privacy-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.privacy-banner[hidden] {
  display: none;
}

.privacy-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.privacy-banner-text {
  flex: 1;
  min-width: min(100%, 280px);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.privacy-banner-text a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.privacy-banner-btn {
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ---- Animations on scroll ---- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 44px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .hero + .section {
    padding-top: 28px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-bottom: 8px;
  }

  .hero-content {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
    font-size: 0.78rem;
  }

  .hero-desc {
    display: none;
  }

  .hero-actions {
    margin-top: 4px;
    margin-bottom: 20px;
  }

  .hero-stats {
    gap: 16px 12px;
    margin-top: 0;
    padding-top: 20px;
  }

  .portfolio-tabs {
    width: 100%;
    flex-direction: column;
  }

  .portfolio-tab {
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .stat-label {
    max-width: none;
    font-size: 0.78rem;
  }

  .hero-photo img {
    animation: none;
  }

  .header {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .hero-headline {
    padding-bottom: 0;
    margin-bottom: 8px;
  }

  .hero-photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(200px, 62vw);
    margin: 0 auto 8px;
  }

  .hero-title {
    text-align: center;
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .booking-form {
    padding: 24px;
  }

  .privacy-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-banner-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

  .stat-label {
    font-size: 0.78rem;
  }
}
