/* ============================================
   MAGIC PRINT — Design System
   ============================================ */
:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --white: #fafafa;
  --white-muted: rgba(250, 250, 250, 0.65);
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #b8860b;
  --gray: #888;
  --gray-dark: #333;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 80px;
  --container: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--black);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.gold { color: var(--gold); }

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* Custom cursor (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s var(--ease-out), opacity 0.3s;
  }
  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(212, 160, 23, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
  }
  .cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--gold);
  }
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  animation: logoPulse 1.5s ease-in-out infinite;
  margin: 0 auto 24px;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

.loader-bar {
  width: 160px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 12px;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: loadBar 1.8s var(--ease-out) forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

.loader-text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.nav-logo img {
  transition: transform 0.4s var(--ease-spring);
}

.nav-logo:hover img {
  transform: rotate(-5deg) scale(1.05);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.nav-logo-text small {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 50px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 160, 23, 0.4);
}

.btn-outline {
  border: 1.5px solid rgba(250, 250, 250, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(0.96);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(0.96); }
  to { transform: scale(0.92); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.2) 45%,
    rgba(10, 10, 10, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
}

.hero-sub {
  max-width: 520px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--white-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-dark);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  background: var(--gold);
  color: var(--black);
  padding: 18px 0;
  overflow: hidden;
}

.marquee {
  display: flex;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marquee-track .dot {
  font-size: 0.6rem;
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding-block: var(--section-pad);
}

.section-header {
  margin-bottom: 64px;
  max-width: 600px;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-header.center .section-tag {
  padding-left: 0;
}

.section-header.center .section-tag::before {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--white-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--black-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 0;
  background: var(--black);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black) 0%, transparent 50%);
  pointer-events: none;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-body {
  position: relative;
  padding: 28px 28px 36px;
  flex: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 160, 23, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  background: var(--black);
  border-color: rgba(212, 160, 23, 0.25);
}

.service-card.featured .service-body {
  background: linear-gradient(145deg, rgba(212, 160, 23, 0.08), transparent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-view {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out), letter-spacing 0.3s;
}

.service-card:hover .service-view {
  transform: translateX(4px);
  letter-spacing: 0.16em;
}

.service-num {
  position: absolute;
  top: -52px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(212, 160, 23, 0.35);
  line-height: 1;
  transition: color 0.4s;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.service-card:hover .service-num {
  color: var(--gold);
}

/* ============================================
   SHOWCASE
   ============================================ */
.showcase {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}

.showcase-inner {
  position: relative;
  height: 100%;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.68) 0%,
    rgba(10, 10, 10, 0.18) 48%,
    rgba(10, 10, 10, 0.32) 100%
  );
  display: flex;
  align-items: center;
}

.showcase-content {
  max-width: 600px;
}

.showcase-quote {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.showcase-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--white-muted);
}

.showcase-location svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.work-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.work-item.wide {
  grid-column: span 2;
}

.work-item.tall {
  grid-row: span 2;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
}

.work-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.work-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
}

.work-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

.work-cat {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.work-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--black-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--black);
  border: 1px solid var(--gray-dark);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-badge strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: block;
}

.about-badge span {
  font-size: 0.75rem;
  color: var(--gray);
}

.about-text {
  color: var(--white-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.pillar {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: rgba(212, 160, 23, 0.04);
  border-radius: 0 8px 8px 0;
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.6;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-tag {
  padding: 8px 16px;
  border: 1px solid var(--gray-dark);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.value-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================
   PROCESS
   ============================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(212, 160, 23, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s;
}

.step:hover .step-num {
  color: var(--gold);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.6;
}

.step-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-top: 48px;
  flex-shrink: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  color: var(--white-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--black-soft);
  border: 1px solid var(--gray-dark);
  border-radius: 12px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

a.contact-card:hover {
  transform: translateX(8px);
  border-color: rgba(212, 160, 23, 0.3);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.contact-card-icon.email {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold);
}

.contact-card-icon.location {
  background: rgba(250, 250, 250, 0.08);
  color: var(--white);
}

.contact-card-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-card strong {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.contact-form {
  padding: 48px;
  background: var(--black-soft);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--black);
  border: 1px solid var(--gray-dark);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--gray-dark);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  display: block;
}

.footer-brand span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  padding-top: 24px;
  border-top: 1px solid var(--gray-dark);
  margin-top: 8px;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s;
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--black-soft);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  border: 1px solid var(--gray-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.5s var(--ease-out);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}

.lightbox-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* ============================================
   SERVICE GALLERY CAROUSEL
   ============================================ */
.service-gallery {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0.45s;
}

.service-gallery.active {
  opacity: 1;
  visibility: visible;
}

.service-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
}

.service-gallery-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  background: var(--black-soft);
  border: 1px solid var(--gray-dark);
  border-radius: 20px;
  padding: 40px 32px 32px;
  transform: translateY(40px) scale(0.96);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.service-gallery.active .service-gallery-panel {
  transform: translateY(0) scale(1);
}

.service-gallery-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
  z-index: 2;
}

.service-gallery-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.service-gallery-header {
  text-align: center;
  margin-bottom: 28px;
  padding-right: 32px;
}

.service-gallery-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.service-gallery-header h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.service-gallery-header p {
  font-size: 0.95rem;
  color: var(--white-muted);
  max-width: 520px;
  margin: 0 auto;
}

.service-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--gray-dark);
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
}

.carousel-viewport.dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s var(--ease-out);
}

.carousel-track.no-transition {
  transition: none;
}

.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
  background: var(--black);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gray-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}

.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: scale(1.08);
}

.carousel-btn:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.carousel-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-dark);
  transition: background 0.3s, transform 0.3s, width 0.3s;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
  background: var(--gray);
}

.carousel-hint {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.carousel-counter {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

@media (max-width: 640px) {
  .service-gallery-panel {
    padding: 32px 16px 24px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .service-carousel {
    gap: 8px;
  }

  .carousel-slide {
    aspect-ratio: 4 / 3;
  }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .work-item.wide {
    grid-column: span 2;
  }

  .work-item.tall {
    grid-row: span 1;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-badge {
    right: 16px;
    bottom: -16px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links .nav-link {
    font-size: 1.25rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .work-item.wide {
    grid-column: span 1;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-line {
    width: 2px;
    height: 40px;
    margin: 0 auto;
    background: linear-gradient(to bottom, var(--gold), transparent);
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .cursor-dot, .cursor-ring {
    display: none;
  }

  .showcase {
    height: 50vh;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}
