/* ============================================================
   SIDECREATIVE — Main Stylesheet
   style.css
   Studio Videografi & Fotografi · Lombok, Indonesia
   ============================================================ */

/* ========================
   1. DESIGN TOKENS
======================== */
:root {
  --black:        #080808;
  --charcoal:     #111111;
  --graphite:     #1a1a1a;
  --muted:        #2a2a2a;
  --border:       #2e2e2e;
  --gold:         #c8a96e;
  --gold-light:   #e2c990;
  --gold-dim:     rgba(200,169,110,0.15);
  --gold-glow:    rgba(200,169,110,0.08);
  --white:        #f5f2ee;
  --white-dim:    rgba(245,242,238,0.55);
  --white-ghost:  rgba(245,242,238,0.07);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Barlow', sans-serif;
  --font-label:   'Barlow Condensed', sans-serif;
  --ease-cinema:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-reveal:  cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h:        80px;
}

/* ========================
   2. RESET & BASE
======================== */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: none; border: none; background: none; font-family: inherit; }
select { -webkit-appearance: none; appearance: none; }

/* ========================
   3. NOISE OVERLAY
======================== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.025;
  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");
  background-size: 200px;
}

/* ========================
   4. SCROLLBAR
======================== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ========================
   5. CUSTOM CURSOR
======================== */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px; background: var(--white);
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 40px; height: 40px;
  border: 1px solid rgba(245,242,238,0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.3s var(--ease-cinema),
              height 0.3s var(--ease-cinema),
              border-color 0.3s;
}
.cursor-ring.expanded {
  width: 68px; height: 68px; border-color: var(--gold);
}
.cursor-ring.play-mode {
  width: 80px; height: 80px; border-color: var(--gold);
  background: var(--gold-dim);
}

/* ========================
   6. NAVIGATION
======================== */
nav#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 56px;
  transition: background 0.5s var(--ease-cinema), padding 0.4s;
}
nav#mainNav.scrolled {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 56px;
  border-bottom: 1px solid var(--border);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px; width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.nav-logo img:hover { opacity: 0.8; }
.nav-logo-fallback {
  display: none;
  font-family: var(--font-label);
  font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white);
}
.nav-logo-fallback span { color: var(--gold); }

/* Nav Links */
.nav-links {
  display: flex; align-items: center; gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white-dim);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-cinema);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Nav CTA */
.nav-cta {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 26px;
  transition: background 0.3s, color 0.3s;
  display: inline-block;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1px; background: var(--white);
  transition: transform 0.35s var(--ease-reveal), opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-reveal);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 300;
  color: var(--white); transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-logo {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
}
.mobile-logo img {
  height: 36px; filter: brightness(0) invert(1);
}

/* ========================
   7. BUTTONS
======================== */
.btn-primary {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  background: var(--gold); color: var(--black);
  padding: 16px 44px;
  transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  border: 1px solid rgba(245,242,238,0.4); color: var(--white);
  padding: 16px 44px;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ========================
   8. SECTION COMMONS
======================== */
section { position: relative; }
.section-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 56px;
}
.section-label {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::before {
  content: ''; display: block; width: 40px; height: 1px; background: var(--gold);
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 300; line-height: 1.08;
  color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* ========================
   9. REVEAL ANIMATION
======================== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease-reveal), transform 0.9s var(--ease-reveal);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ========================
   10. HERO SECTION
======================== */
#hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-media-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.42);
}
/* Placeholder shown when no video */
.hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1208 45%, #080808 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-placeholder-icon {
  opacity: 0.12;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.25) 0%,
    transparent 25%,
    transparent 60%,
    rgba(8,8,8,0.75) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 920px;
}
.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease-reveal) 0.4s forwards;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ''; display: block; width: 30px; height: 1px; background: var(--gold); opacity: 0.6;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  font-weight: 300; line-height: 1.04;
  letter-spacing: -0.01em; color: var(--white);
  opacity: 0; transform: translateY(32px);
  animation: fadeUp 1.2s var(--ease-reveal) 0.65s forwards;
}
.hero-headline em { font-style: italic; color: var(--gold-light); }
.hero-tagline {
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 300; letter-spacing: 0.06em;
  color: var(--white-dim);
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease-reveal) 0.95s forwards;
}
.hero-buttons {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 52px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease-reveal) 1.15s forwards;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: fadeIn 1s ease 2s forwards;
}
.hero-scroll span {
  font-family: var(--font-label); font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--white-dim);
}
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ========================
   11. ABOUT SECTION
======================== */
#about { padding: 150px 0; background: var(--black); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 90px; align-items: center; margin-top: 0;
}
.about-visual {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
}
.about-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Placeholder if image not available */
.about-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a1208 0%, #0d0d0d 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 60%);
}
.about-img-text {
  font-family: var(--font-display); font-size: 6rem; font-weight: 300;
  color: rgba(200,169,110,0.15); letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.about-corner-br {
  position: absolute; bottom: -22px; right: -22px;
  width: 140px; height: 140px;
  border: 1px solid var(--border); z-index: -1;
}
.about-corner-tl {
  position: absolute; top: -20px; left: -20px;
  width: 70px; height: 70px;
  border: 1px solid rgba(200,169,110,0.35); z-index: -1;
}

.about-text { }
.about-body {
  font-size: 1.05rem; line-height: 1.9;
  color: var(--white-dim); margin: 28px 0 36px;
}
.about-body + .about-body { margin-top: -12px; }
.about-stats {
  display: flex; gap: 48px; margin-top: 52px;
  padding-top: 40px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { }
.stat-num {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 300; color: var(--gold); line-height: 1;
}
.stat-label {
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white-dim); margin-top: 8px;
}

/* ========================
   12. PORTFOLIO SECTION
======================== */
#portfolio { padding: 150px 0; background: var(--charcoal); }

.portfolio-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 52px; flex-wrap: wrap; gap: 28px;
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-btn {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white-dim);
  padding: 8px 20px; border: 1px solid transparent;
  transition: all 0.3s;
}
.filter-btn:hover { color: var(--white); border-color: var(--border); }
.filter-btn.active { color: var(--gold); border-color: var(--gold); }

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
/* Featured items */
.portfolio-item.wide { grid-column: span 2; }
.portfolio-item.tall { grid-row: span 2; }

.portfolio-item {
  position: relative; overflow: hidden;
  cursor: none; display: block;
  aspect-ratio: 16/10;
  background: var(--graphite);
}
.portfolio-item.tall { aspect-ratio: auto; }
.portfolio-thumb {
  width: 100%; height: 100%; position: relative; overflow: hidden;
}
/* The visual — image or gradient placeholder */
.portfolio-visual {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.75s var(--ease-cinema);
}
.portfolio-visual-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.75s var(--ease-cinema);
}
.portfolio-item:hover .portfolio-visual,
.portfolio-item:hover .portfolio-visual-placeholder {
  transform: scale(1.06);
}

/* Gradient placeholders per category color */
.grad-wedding   { background: linear-gradient(135deg, #1a0f0a 0%, #2a1810 100%); }
.grad-tourism   { background: linear-gradient(135deg, #0a0f1a 0%, #081628 100%); }
.grad-commercial{ background: linear-gradient(135deg, #0f1a0a 0%, #122008 100%); }
.grad-social    { background: linear-gradient(135deg, #1a1208 0%, #25180a 100%); }
.grad-photo     { background: linear-gradient(135deg, #1a0a14 0%, #25081a 100%); }

/* Overlay & info */
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.45s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-type-badge {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: rgba(8,8,8,0.7); border: 1px solid var(--border);
  padding: 5px 12px;
  font-family: var(--font-label); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-dim);
  display: flex; align-items: center; gap: 6px;
  transition: border-color 0.3s;
}
.portfolio-item:hover .portfolio-type-badge { border-color: var(--gold); }

.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 64px; height: 64px;
  border: 1px solid rgba(245,242,238,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease-reveal),
              background 0.3s, border-color 0.3s;
  z-index: 4;
}
.play-btn svg { margin-left: 4px; }
.portfolio-item:hover .play-btn {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}
.play-btn:hover { background: var(--gold-dim); border-color: var(--gold); }

.portfolio-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 24px;
  z-index: 3;
  transform: translateY(10px); opacity: 0;
  transition: all 0.45s var(--ease-reveal);
}
.portfolio-item:hover .portfolio-info { transform: translateY(0); opacity: 1; }

.portfolio-cat {
  font-family: var(--font-label); font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.portfolio-name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 300;
  color: var(--white); margin-top: 4px;
}
.portfolio-desc {
  font-size: 0.8rem; color: var(--white-dim); margin-top: 4px;
}

/* ========================
   13. VIDEO MODAL
======================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
  padding: 24px;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal-inner { width: 100%; max-width: 1060px; position: relative; }
.modal-video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; background: #000;
}
.modal-video-wrap iframe,
.modal-video-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.modal-close {
  position: absolute; top: -52px; right: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.modal-close:hover { border-color: var(--gold); }
.modal-close svg { color: var(--white-dim); transition: color 0.3s; }
.modal-close:hover svg { color: var(--gold); }
.modal-title {
  margin-top: 20px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 300;
  color: var(--white-dim);
}

/* ========================
   14. IMAGE LIGHTBOX
======================== */
.lightbox-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
  padding: 24px;
}
.lightbox-backdrop.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain; display: block;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.lightbox-close:hover { border-color: var(--gold); }
.lightbox-close svg { color: var(--white-dim); transition: color 0.3s; }
.lightbox-close:hover svg { color: var(--gold); }
.lightbox-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-dim);
  white-space: nowrap;
}

/* ========================
   15. SERVICES SECTION
======================== */
#services { padding: 150px 0; background: var(--black); }

.services-header { text-align: center; margin-bottom: 64px; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--graphite);
  padding: 60px 52px; position: relative; overflow: hidden;
  transition: background 0.4s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.55s var(--ease-cinema);
}
.service-card:hover::before { width: 100%; }
.service-card:hover { background: #1e1e1e; }
.service-num {
  font-family: var(--font-display); font-size: 5.5rem; font-weight: 300;
  color: var(--white-ghost); line-height: 1; margin-bottom: 28px;
  user-select: none;
}
.service-icon-wrap {
  width: 48px; height: 48px; margin-bottom: 28px;
  color: var(--gold);
}
.service-title {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 300;
  color: var(--white); margin-bottom: 18px; line-height: 1.2;
}
.service-desc {
  font-size: 0.9rem; line-height: 1.85; color: var(--white-dim);
}
.service-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px;
}
.service-tag {
  font-family: var(--font-label); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-dim); padding: 5px 13px;
}

/* ========================
   16. TESTIMONIALS
======================== */
#testimonials { padding: 150px 0; background: var(--charcoal); overflow: hidden; }

.testimonials-header { text-align: center; margin-bottom: 72px; }

.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track {
  display: flex; gap: 20px;
  transition: transform 0.65s var(--ease-cinema);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc(50% - 10px);
  background: var(--graphite);
  border: 1px solid var(--border); padding: 52px;
}
.t-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; font-weight: 300; line-height: 1.75;
  color: var(--white); margin-bottom: 36px;
}
.t-quote::before {
  content: '\201C';
  font-size: 4.5rem; color: var(--gold); line-height: 0.5;
  display: block; margin-bottom: 20px;
}
.t-author { display: flex; align-items: center; gap: 18px; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--muted); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--gold);
  flex-shrink: 0;
}
.t-name {
  font-family: var(--font-label); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--white);
}
.t-role { font-size: 11px; color: var(--white-dim); margin-top: 4px; }

.carousel-controls {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; margin-top: 52px;
}
.carousel-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-dim);
  transition: border-color 0.3s, color 0.3s;
}
.carousel-btn:hover { border-color: var(--gold); color: var(--gold); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 24px; height: 2px; background: var(--border);
  transition: background 0.3s, width 0.35s var(--ease-cinema);
}
.dot.active { background: var(--gold); width: 42px; }

/* ========================
   17. CTA SECTION
======================== */
#cta {
  padding: 180px 0; background: var(--black);
  text-align: center; position: relative; overflow: hidden;
}
#cta::before {
  content: 'SIDE';
  position: absolute; font-family: var(--font-display);
  font-size: 32vw; font-weight: 300; line-height: 1;
  color: rgba(255,255,255,0.018);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; white-space: nowrap; user-select: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 6rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); max-width: 860px; margin: 0 auto 56px;
}
.cta-title em { font-style: italic; color: var(--gold-light); }

/* ========================
   18. CONTACT SECTION
======================== */
#contact { padding: 150px 0; background: var(--charcoal); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 90px; margin-top: 60px;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 22px; margin-bottom: 36px;
}
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-info-label {
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white-dim); margin-bottom: 6px;
}
.contact-info-value { font-size: 0.95rem; color: var(--white); line-height: 1.5; }
.contact-info-value a { color: var(--gold); transition: opacity 0.3s; }
.contact-info-value a:hover { opacity: 0.8; }

.wa-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366; color: #000;
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 34px; margin-top: 24px;
  transition: background 0.3s, transform 0.3s;
  font-weight: 500;
}
.wa-btn:hover { background: #1fbe5a; transform: translateY(-2px); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--white-dim);
}
.form-input {
  background: var(--graphite); border: 1px solid var(--border);
  color: var(--white); padding: 14px 18px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 300;
  outline: none; transition: border-color 0.3s, background 0.3s;
  width: 100%;
}
.form-input:focus { border-color: var(--gold); background: #1f1f1f; }
.form-input::placeholder { color: rgba(245,242,238,0.22); }
textarea.form-input { resize: vertical; min-height: 130px; }
.form-submit {
  background: var(--gold); color: var(--black);
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.25em; text-transform: uppercase;
  padding: 18px 44px; align-self: flex-start;
  transition: background 0.3s, transform 0.3s;
  font-weight: 500;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.form-success {
  display: none; padding: 16px 20px;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
}

/* ========================
   19. FOOTER
======================== */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 52px; margin-bottom: 72px;
}
.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-logo-fallback {
  display: none;
  font-family: var(--font-label); font-size: 14px;
  letter-spacing: 0.22em; color: var(--white); margin-bottom: 20px;
}
.footer-logo-fallback span { color: var(--gold); }
.footer-tagline { font-size: 0.875rem; color: var(--white-dim); line-height: 1.75; max-width: 260px; }
.footer-heading {
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.875rem; color: var(--white-dim); transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-dim);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-contact-item { font-size: 0.85rem; color: var(--white-dim); margin-bottom: 8px; }
.footer-contact-item a { color: var(--gold); transition: opacity 0.3s; }
.footer-contact-item a:hover { opacity: 0.8; }

.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.8rem; color: rgba(245,242,238,0.3); }
.footer-copy a { color: var(--gold); }
.footer-made { font-size: 0.75rem; color: rgba(245,242,238,0.15); }

/* ========================
   20. KEYFRAMES
======================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 1; }
  50% { transform: scaleY(0.5) translateY(10px); opacity: 0.3; }
}

/* ========================
   21. RESPONSIVE — TABLET
======================== */
@media (max-width: 1100px) {
  .section-inner { padding: 0 36px; }
  nav#mainNav { padding: 22px 36px; }
  nav#mainNav.scrolled { padding: 16px 36px; }
  .about-grid { gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item.wide { grid-column: span 1; }
  .testimonial-card { flex: 0 0 calc(100% - 20px); }
}

/* ========================
   22. RESPONSIVE — MOBILE
======================== */
@media (max-width: 768px) {
  nav#mainNav { padding: 18px 24px; }
  nav#mainNav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .section-inner { padding: 0 20px; }
  #about, #portfolio, #services, #testimonials, #contact { padding: 100px 0; }
  #cta { padding: 130px 0; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 28px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .service-card { padding: 44px 32px; }
  .testimonial-card { padding: 40px 32px; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-outline { padding: 14px 32px; }
  .hero-headline { font-size: 2.6rem; }
  .cta-title { font-size: 2.2rem; }
}
