/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 250ms var(--ease);
  text-align: center;
  min-height: 44px;
  box-sizing: border-box;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--orange); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--dark); }
.btn-ghost:hover { border-color: var(--dark); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--orange); color: #fff; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--orange); z-index: 1000; transform-origin: left;
}

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: 400ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.nav-inner {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--orange);
  transition: width 250ms var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 16px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  place-items: center;
}
.menu-toggle span {
  display: block; height: 1.5px; background: var(--dark); margin: 6px 0; transition: 250ms var(--ease);
}

.mobile-nav {
  position: fixed; inset: 0; background: var(--dark); color: #fff;
  z-index: 95; display: flex; flex-direction: column; justify-content: center;
  padding: 40px; transform: translateY(-100%);
  transition: transform 600ms var(--ease);
}
.mobile-nav.open { transform: none; }
.mobile-nav a {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 600; letter-spacing: -0.04em; display: block; margin: 8px 0;
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: transparent; border: 0; color: #fff; font-size: 32px; cursor: pointer;
}

/* Footer */
.footer { background: var(--dark); color: #cfcfcf; padding: 80px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.footer a { display: block; margin: 8px 0; font-size: 15px; }
.footer a:hover { color: var(--orange); }
.footer-brand p { max-width: 28ch; margin-top: 16px; }
.footer-bottom {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid #2a2a2a;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom a { display: inline; margin-right: 16px; }

/* Service rows */
.service-row {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 24px;
  align-items: center; padding: 32px 0;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: 400ms var(--ease);
}
.service-row:last-child { border-bottom: 1px solid var(--border); }
.service-row .num { font-size: 14px; color: var(--muted); font-weight: 600; }
.service-row h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.04em; }
.service-row p { max-height: 0; overflow: hidden; color: var(--muted); margin-top: 0; transition: 400ms var(--ease); }
.service-row:hover { background: var(--bg-soft); padding-left: 16px; padding-right: 16px; }
.service-row:hover .num { color: var(--orange); }
.service-row:hover p { max-height: 80px; margin-top: 8px; }
.service-row .arrow { transition: transform 400ms var(--ease); }
.service-row:hover .arrow { transform: translateX(8px); color: var(--orange); }

/* Work cards */
.work-card { position: relative; overflow: hidden; display: block; background: #000; }
.work-card img, .work-card video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform 900ms var(--ease);
}
.work-card:hover img, .work-card:hover video { transform: scale(1.04); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 55%);
  opacity: 0; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; transition: opacity 400ms var(--ease);
}
.work-card:hover .work-overlay { opacity: 1; }
.work-meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { transition: transform 250ms var(--ease); color: var(--orange); font-size: 24px; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height 400ms var(--ease); }
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 20px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1px solid var(--border); background: #fff; padding: 14px 16px; border-radius: 10px; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--orange); outline-offset: 1px;
}
.form-error { color: #b42318; font-size: 14px; }
.form-ok { color: #067647; font-size: 14px; }

/* Cursor */
.cursor {
  position: fixed; width: 12px; height: 12px; border: 1px solid var(--dark);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%); mix-blend-mode: difference; transition: width 200ms, height 200ms, background 200ms;
}
.cursor.expand { width: 56px; height: 56px; background: var(--orange); border-color: var(--orange); }
.cursor.view::after { content: "VIEW"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 10px; letter-spacing: .12em; }

/* Marquee */
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee img { height: 42px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; }
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  overflow: hidden;
  background: var(--orange);
  transform: translate3d(0, -101%, 0);
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
}
/* One wipe only: orange slides top → bottom, then new page shows */
.page-transition.is-covering {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    display: none !important;
  }
}

.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4);
}
.wa-float:hover { transform: scale(1.06); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.open { display: grid; place-items: center; }
.modal-bg { position: absolute; inset: 0; background: rgba(17,17,17,.55); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; width: min(520px, calc(100% - 32px)); background: #fff;
  border-radius: 20px; padding: 32px; z-index: 1;
}
.modal-close { position: absolute; top: 14px; right: 14px; border: 0; background: var(--bg-soft); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
