:root {
  --cream: #e7d9c9;
  --cream-light: #f3eadf;
  --taupe: #8f887e;
  --dark: #050505;
  --white: #ffffff;
  --muted: #5e554d;
  --line: rgba(0, 0, 0, 0.14);
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, height 0.25s ease;
}

.site-header.scrolled {
  height: 76px;
  background: rgba(231, 217, 201, 0.94);
  color: var(--dark);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.desktop-nav {
  display: flex;
  gap: 36px;
  font-size: 15px;
}

.header-cta {
  padding: 13px 22px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  position: relative;
}

.menu-button span {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 12px;
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 25px;
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-media img {
  filter: saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.56));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 160px 24px 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: #e8edf0;
  color: var(--dark);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
  padding: 96px 72px;
  background: var(--cream);
}

.split-image img {
  height: 620px;
}

.split-content {
  max-width: 620px;
}

.split-content h2,
.section-head h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(46px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.split-content p:not(.section-kicker),
.section-head p:not(.section-kicker),
.contact-copy p:not(.section-kicker) {
  margin: 28px 0 36px;
  font-size: 20px;
  line-height: 1.42;
  color: var(--dark);
}

.services {
  padding: 110px 72px;
  background: var(--cream-light);
}

.section-head {
  max-width: 900px;
  margin-bottom: 56px;
}

.centered {
  text-align: center;
  margin-inline: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 300px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card span {
  display: block;
  margin-bottom: 72px;
  font-size: 14px;
  color: var(--muted);
}

.service-card h3 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.projects {
  padding: 110px 72px;
  background: var(--cream);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #d5c7b8;
}

.project-grid img {
  height: 330px;
  transition: transform 0.45s ease;
}

.project-grid figure:hover img {
  transform: scale(1.04);
}

.project-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 15px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.72);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 58px;
}

.process {
  padding: 110px 72px;
  background: var(--dark);
  color: var(--white);
}

.process .section-head p,
.process .section-head h2 {
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.process-grid > div {
  background: var(--dark);
  padding: 34px;
  min-height: 260px;
}

.process-grid strong {
  color: var(--cream);
}

.process-grid h3 {
  margin: 78px 0 14px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  padding: 110px 72px;
  background: var(--cream);
}

.contact-copy {
  max-width: 620px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 17px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--dark);
  border-radius: 28px;
  background: transparent;
  color: var(--dark);
  padding: 18px 22px;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  border-radius: 28px;
}

.contact-form button {
  width: max-content;
}

.site-footer {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 60px;
  padding: 76px 72px;
  background: var(--taupe);
  color: var(--dark);
}

.site-footer h2 {
  margin: 0 0 42px;
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -0.07em;
  font-weight: 500;
}

.site-footer h3 {
  margin: 0 0 36px;
  font-size: 31px;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: var(--dark);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1040px) {
  .site-header {
    padding: 0 28px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    z-index: 70;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(231, 217, 201, 0.97);
    border: 1px solid var(--line);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.05);
  }

  .split-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-image img {
    height: 520px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 76px;
    padding: 0 18px;
  }

  .logo {
    font-size: 22px;
  }

  .hero-content {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .btn {
    width: 100%;
    min-height: 56px;
  }

  .split-section,
  .services,
  .projects,
  .process,
  .contact-section,
  .site-footer {
    padding: 74px 20px;
  }

  .split-image img {
    height: 360px;
  }

  .split-content h2,
  .section-head h2,
  .contact-copy h2 {
    font-size: 44px;
  }

  .service-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 44px;
  }

  .project-grid img {
    height: 360px;
  }

  .site-footer p {
    font-size: 19px;
  }

  .whatsapp-float {
    left: 18px;
    right: 18px;
    text-align: center;
  }
}

/* Project slider */
.project-slider-wrap {
  position: relative;
  margin-top: 36px;
}

.project-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.project-slider::-webkit-scrollbar {
  display: none;
}

.project-slider figure {
  position: relative;
  flex: 0 0 min(360px, 82vw);
  height: 310px;
  overflow: hidden;
  border-radius: 26px;
  background: #f4f1ec;
  scroll-snap-align: start;
  box-shadow: 0 20px 50px rgba(27, 38, 49, 0.12);
}

.project-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-slider figure:hover img {
  transform: scale(1.06);
}

.project-slider figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: rgba(20, 25, 30, 0.72);
  backdrop-filter: blur(10px);
}

.project-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #1f2933;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(27, 38, 49, 0.18);
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.project-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.project-prev {
  left: -18px;
}

.project-next {
  right: -18px;
}

@media (max-width: 760px) {
  .project-slider-wrap {
    margin-top: 26px;
  }

  .project-slider {
    gap: 16px;
    padding-bottom: 12px;
  }

  .project-slider figure {
    flex-basis: 84vw;
    height: 260px;
    border-radius: 22px;
  }

  .project-arrow {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .project-prev {
    left: 8px;
  }

  .project-next {
    right: 8px;
  }
}
