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

:root {
  --black: #101010;
  --dark: #171717;
  --text: #202020;
  --muted: #707070;
  --light: #f5f5f3;
  --white: #fff;
  --line: rgba(0,0,0,.09);
  --radius: 22px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.no_scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; }
img { display: block; max-width: 100%; }

section { scroll-margin-top: 90px; }

.section {
  padding: 120px 6vw;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow.dark { color: #666; }

.section_heading h2,
.intro h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 600;
}

.section_heading h2 span,
.intro h2 span,
.hero_text h1 span,
.contact_info h2 span {
  color: #8a8a8a;
}

.centered { text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: 78px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  color: white;
  transition: background .35s, backdrop-filter .35s, height .35s;
}

.nav.scrolled {
  height: 68px;
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(18px);
}

.nav_left { display: flex; align-items: center; }
.logo { width: 125px; height: auto; border-radius: 5px; }

.nav_links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav_links a {
  font-size: 13px;
  font-weight: 500;
  position: relative;
}

.nav_links a:not(.nav_cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: white;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s;
}

.nav_links a:not(.nav_cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav_cta {
  padding: 11px 18px;
  background: white;
  color: black;
  border-radius: 999px;
}

.menu_icon {
  display: none;
  width: 34px;
  height: 28px;
  background: transparent;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}

.menu_icon span {
  height: 2px;
  width: 100%;
  background: white;
  transition: transform .35s, opacity .25s;
}

.menu_icon.active span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.menu_icon.active span:nth-child(2) { opacity: 0; }
.menu_icon.active span:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: #111;
}

.slides, .slide, .hero_overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
  filter: brightness(.55);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero_overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.25) 65%, rgba(0,0,0,.25));
}

.hero_text {
  position: absolute;
  left: 8vw;
  top: 50%;
  max-width: 820px;
  transform: translateY(-42%);
  color: white;
}

.hero_text h1 {
  font-size: clamp(48px, 7vw, 100px);
  line-height: .91;
  letter-spacing: -.055em;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero_text p {
  max-width: 520px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin-bottom: 32px;
}

.hero_actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s, background .3s, color .3s;
}

.btn span { font-size: 18px; transition: transform .3s; }
.btn:hover { transform: translateY(-3px); }
.btn:hover span { transform: translateX(4px); }

.btn_light { background: white; color: black; }
.btn_ghost { border: 1px solid rgba(255,255,255,.5); color: white; background: transparent; }
.btn_ghost:hover { background: white; color: black; }
.btn_dark { background: black; color: white; width: 100%; }

.hero_scroll {
  position: absolute;
  bottom: 32px;
  right: 5vw;
  color: rgba(255,255,255,.75);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero_scroll span { margin-left: 12px; font-size: 18px; }

/* INTRO */
.intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8vw;
  align-items: end;
  background: white;
}
.intro_text {
  max-width: 500px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* SERVICES */
.services { background: var(--light); }

.service_container {
  max-width: 1200px;
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service_box {
  position: relative;
  min-height: 360px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), background .45s, color .45s;
}

.service_box::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 70%;
  background: #111;
  border-radius: 50%;
  transform: translateY(100%);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.service_box:hover {
  color: white;
  transform: translateY(-8px);
}
.service_box:hover::before { transform: translateY(0); }

.service_box > * { position: relative; z-index: 1; }
.service_number { font-size: 12px; color: #888; }
.service_box h3 { font-size: 27px; letter-spacing: -.03em; margin-bottom: 15px; }
.service_box p { color: #777; line-height: 1.65; max-width: 300px; }
.service_box:hover p { color: #ccc; }
.service_arrow { align-self: flex-end; font-size: 24px; }

/* GALLERY */
.gallery { background: white; }

.gallery_container {
  max-width: 1200px;
  margin: 65px auto 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.gallery_item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #ddd;
  cursor: pointer;
  min-width: 0;
}

.gallery_large { grid-row: span 2; }

.gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s;
}

.gallery_item:hover img { transform: scale(1.07); filter: brightness(.72); }

.gallery_label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: black;
  font-size: 11px;
  opacity: 0;
  transform: translateY(8px);
  transition: .35s;
}
.gallery_item:hover .gallery_label { opacity: 1; transform: translateY(0); }
.gallery_label b { margin-left: 10px; }

/* CONTACT */
.contact { background: var(--light); }

.contact_wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 8vw;
  align-items: center;
}

.contact_info h2 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.05em;
  margin-bottom: 24px;
}

.contact_info > p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 450px;
  margin-bottom: 35px;
}

.contact_details { display: grid; gap: 15px; }
.info_item { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.info_item span { width: 30px; height: 30px; border: 1px solid #ddd; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }

.contact_form {
  background: white;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  box-shadow: 0 25px 70px rgba(0,0,0,.07);
}

.form_title { margin-bottom: 28px; }
.form_title span { font-size: 10px; letter-spacing: .16em; font-weight: 700; color: #777; }
.form_title h3 { font-size: 32px; letter-spacing: -.04em; margin-top: 8px; }

.contact_form label { display: block; margin-bottom: 18px; }
.contact_form label > span { display: block; font-size: 11px; font-weight: 600; margin-bottom: 8px; color: #555; }

.contact_form input,
.contact_form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  outline: none;
  background: #fafafa;
  transition: border .25s, box-shadow .25s, background .25s;
}
.contact_form textarea { min-height: 140px; resize: vertical; }
.contact_form input:focus,
.contact_form textarea:focus {
  background: white;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0,0,0,.05);
}
.form_message { min-height: 20px; text-align: center; font-size: 13px; margin-top: 14px; }

/* FEEDBACK */
.feedback { background: white; }

.feedback_container {
  max-width: 1000px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feedback_card {
  padding: 30px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s, box-shadow .35s;
}
.feedback_card:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(0,0,0,.07); }
.stars { letter-spacing: 4px; font-size: 12px; }
.feedback_card p { font-size: 18px; line-height: 1.55; }
.feedback_card h4 { font-size: 13px; font-weight: 600; }

/* CTA */
.cta {
  margin: 0 6vw 80px;
  padding: 70px;
  border-radius: 28px;
  background: #111;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta h2 { font-size: clamp(42px, 5vw, 70px); line-height: .95; letter-spacing: -.05em; }

/* FOOTER */
.footer {
  padding: 55px 6vw 30px;
  background: #111;
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
}
.footer strong { font-size: 16px; }
.footer p { color: #888; font-size: 12px; margin-top: 8px; }
.footer_links { display: flex; gap: 24px; font-size: 12px; }
.footer_links a:hover { text-decoration: underline; }
.copyright { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid #2d2d2d; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 50px 7vw;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: 1100px; max-height: 90vh; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: #aaa; font-size: 12px; margin-top: 14px; }
.lightbox_close, .lightbox_prev, .lightbox_next {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: white;
  cursor: pointer;
  font-size: 20px;
}
.lightbox_close { top: 25px; right: 25px; font-size: 30px; }
.lightbox_prev { left: 25px; top: 50%; }
.lightbox_next { right: 25px; top: 50%; }

/* MOBILE */
@media (max-width: 900px) {
  .nav { padding: 0 22px; }
  .menu_icon { display: flex; }
  .nav_links {
    position: fixed;
    inset: 0;
    height: 100svh;
    background: rgba(10,10,10,.97);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .nav_links.open { transform: translateX(0); }
  .nav_links a { font-size: 20px; }
  .nav_cta { padding: 13px 22px; font-size: 14px !important; }

  .hero_text { left: 7vw; right: 7vw; }
  .hero_scroll { display: none; }

  .intro, .contact_wrapper { grid-template-columns: 1fr; }
  .intro { gap: 35px; }

  .service_container, .feedback_container { grid-template-columns: 1fr; }
  .service_box { min-height: 290px; }

  .gallery_container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
  }
  .gallery_large { grid-row: auto; }

  .cta { margin: 0 22px 60px; padding: 45px 28px; flex-direction: column; align-items: flex-start; gap: 30px; }
  .footer { grid-template-columns: 1fr; }
  .footer_links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

@media (max-width: 560px) {
  .section { padding: 85px 22px; }
  .hero { min-height: 600px; }
  .hero_text h1 { font-size: clamp(45px, 14vw, 70px); }
  .hero_text p { font-size: 15px; }
  .btn { min-height: 49px; padding: 0 18px; }

  .gallery_container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 260px);
  }

  .contact_form { padding: 25px 20px; }
  .form_title h3 { font-size: 27px; }

  .lightbox { padding: 40px 15px; }
  .lightbox_prev, .lightbox_next { width: 40px; height: 40px; }
  .lightbox_prev { left: 10px; }
  .lightbox_next { right: 10px; }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
