:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --alt: #eceae4;
  --ink: #111111;
  --muted: #5f5d58;
  --line: #d9d6ce;
  --accent: #f5821f;
  --green: #68bd45;
  --dark: #0e0e0e;
  --radius: 14px;
  --wrap: 1240px;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 52px); max-width: 18ch; }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--green); }
.lead { font-size: 19px; color: var(--muted); max-width: 46ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
  border: 1.5px solid var(--ink); cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; color: #fff !important; }
.btn--sm-ghost { padding: 10px 18px; font-size: 14px; flex: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; }
.footer .logo img { height: 32px; }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 0; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .25s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; margin-bottom: 28px; }
.hero h1 span { color: var(--accent); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__media { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.hero__img { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--alt); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero__img:hover img { transform: scale(1.04); }
.hero__img--a { grid-row: 1 / 2; }
.hero__img--b { grid-row: 2 / 3; }
.hero__img--c { grid-column: 2; grid-row: 1 / 3; }

.marquee { margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { padding: 22px 28px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 8px; height: 8px; background: var(--green); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--dark); color: #f3f2ee; }
.section--dark .eyebrow { color: #a09d96; }
.section__head { margin-bottom: 56px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* About */
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.about__grid h2 { max-width: 20ch; }
.about__grid p { color: var(--muted); font-size: 18px; }
.stats { list-style: none; padding: 32px 0 0; margin: 32px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats strong { display: block; font-size: 30px; letter-spacing: -0.03em; }
.stats span { font-size: 14px; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--surface); padding: 36px 32px 40px; transition: background .25s, color .25s; }
.service:hover { background: var(--ink); color: #fff; }
.service:hover li { color: #bdbab3; }
.service__no { display: block; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 44px; }
.service h3 { text-transform: uppercase; margin-bottom: 18px; }
.service ul { list-style: none; padding: 0; margin: 0; }
.service li { color: var(--muted); padding: 5px 0; font-size: 16px; transition: color .25s; }

/* Work */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  margin: 0; position: relative; cursor: zoom-in; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; background: var(--alt);
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s;
}
.tile.is-in { opacity: 1; transform: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff;
  font-size: 15px; font-weight: 600; opacity: 0; transition: opacity .3s;
}
.tile figcaption small { display: block; font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #ffc28f; }
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process li { border-top: 1px solid #2c2c2c; padding-top: 28px; }
.process span { color: var(--accent); font-weight: 600; font-size: 14px; }
.process h3 { font-size: 26px; margin: 18px 0 12px; }
.process p { color: #a09d96; font-size: 16px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; transition: transform .25s, color .25s;
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq__list details p { color: var(--muted); padding-right: 40px; margin-bottom: 24px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { margin-bottom: 20px; }
.contact__info { list-style: none; padding: 0; margin: 40px 0 0; }
.contact__info li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.contact__info span { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; margin-bottom: 2px; }
.contact__info a:hover { color: var(--accent); }
.form { background: var(--surface); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .btn { justify-self: start; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; min-height: 1.2em; }

/* Footer */
.footer { background: var(--dark); color: #a09d96; padding: 40px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer__top:hover { color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #ddd; margin-top: 14px; font-size: 15px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 44px; line-height: 1; padding: 12px; opacity: .8; }
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lightbox__close { top: 12px; right: 16px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

/* WhatsApp */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s;
}
.wa:hover { transform: scale(1.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid, .about__grid, .faq, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { height: 460px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .logo img { height: 32px; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 16px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__links .btn { margin-top: 18px; }
  .hero { padding-top: 32px; }
  .hero__media { height: 360px; gap: 10px; }
  .marquee { margin-top: 48px; }
  .marquee span { font-size: 18px; padding: 16px 20px; }
  .services, .process { grid-template-columns: 1fr; }
  .service__no { margin-bottom: 24px; }
  .stats strong { font-size: 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { aspect-ratio: 1; }
  .tile figcaption { opacity: 1; font-size: 13px; padding: 30px 10px 10px; }
  .form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .tile { opacity: 1; transform: none; }
}
