:root {
  color-scheme: light;
  --paper: #f5f5f2;
  --surface: #fff;
  --ink: #242824;
  --muted: #737973;
  --line: #e2e4df;
  --accent: #c56d49;
  --dark: #252a26;
  --font: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(36, 40, 36, .07);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.header-inner,
.site-nav,
.brand,
.nav-contact,
.button,
.footer-inner,
.contact-action {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 76px;
  justify-content: space-between;
}

.brand {
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  box-shadow: 0 5px 14px rgba(197, 109, 73, .2);
  color: var(--surface);
  font-size: 19px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .12em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .03em;
}

.site-nav {
  gap: 32px;
  font-size: 13px;
  font-weight: 550;
}

.site-nav > a:not(.nav-contact),
.back-to-top {
  transition: color .2s ease;
}

.site-nav > a:not(.nav-contact):hover,
.back-to-top:hover {
  color: var(--accent);
}

.nav-contact {
  min-height: 42px;
  gap: 13px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nav-contact:hover {
  border-color: #c7cbc5;
  box-shadow: 0 4px 14px rgba(36, 40, 36, .07);
}

.nav-contact span {
  color: var(--accent);
  font-size: 17px;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 28px 0 70px;
}

.hero-panel {
  position: relative;
  height: clamp(500px, 68vh, 680px);
  overflow: hidden;
  border-radius: 18px;
  background: #414741;
  color: var(--surface);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

.hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 21, .86) 0%, rgba(20, 24, 21, .63) 38%, rgba(20, 24, 21, .12) 76%),
    linear-gradient(0deg, rgba(20, 24, 21, .54), transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: clamp(36px, 5vw, 64px);
  padding-bottom: 185px;
  pointer-events: none;
}

.hero-content .button {
  pointer-events: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 109, 73, .18);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -.04em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.06;
}

.hero-description {
  max-width: 420px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.75;
}

.button {
  width: fit-content;
  min-height: 49px;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 17px;
}

.button-dark {
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
  color: var(--surface);
}

.button-dark:hover {
  background: #d07b57;
}

.hero-bottom {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.hero-photo-title {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 550;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-stat {
  display: flex;
  min-width: 180px;
  min-height: 80px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  padding: 12px 15px;
  background: rgba(21, 25, 22, .82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  backdrop-filter: blur(12px);
}

.hero-stat strong {
  color: #e4e6e3;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.hero-stat span {
  color: #aeb5af;
  font-size: 11px;
  line-height: 1.3;
}

.section {
  padding: 92px 0;
}

.works {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .8), transparent 58%),
    #eeefeb;
}

.works::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(55, 59, 54, .12) .7px, transparent .7px);
  background-size: 20px 20px;
  content: '';
  opacity: .18;
  pointer-events: none;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading .eyebrow,
.services-intro .eyebrow,
.contact-panel .eyebrow {
  margin-bottom: 13px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.14;
}

.accent-dot {
  color: var(--accent);
}

.section-intro {
  max-width: 310px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 40, 36, .07);
  border-radius: 11px;
  padding: 8px 8px 13px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 5px 18px rgba(32, 35, 32, .035);
  transition: transform .22s ease, box-shadow .22s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(32, 35, 32, .1);
}

.work-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.3;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  padding: 0;
  background: #e2e3de;
  cursor: zoom-in;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.work-photo:hover img,
.work-photo:focus-visible img {
  transform: scale(1.045);
}

.work-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 11px 3px 0;
}

.work-title {
  min-width: 0;
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.015em;
}

.services {
  background: var(--surface);
}

.services-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 84px;
}

.services-intro h2 {
  font-size: clamp(34px, 3.8vw, 46px);
}

.services-intro > p:last-child {
  max-width: 310px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 10px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}

.service-item:hover {
  background: #f8f8f6;
}

.service-number {
  padding-top: 3px;
  color: var(--accent);
  font-size: 11px;
}

.service-item h3,
.process-step h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 650;
}

.service-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.process {
  background: var(--paper);
}

.process .section-heading {
  margin-bottom: 42px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.process-step {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
  background: rgba(255, 255, 255, .62);
  transition: border-color .2s ease, transform .2s ease;
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 109, 73, .5);
}

.process-step > span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 11px;
}

.process-step h3 {
  font-size: 17px;
}

.process-step p {
  max-width: 275px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-section {
  padding: 70px 0;
  background:
    radial-gradient(ellipse at 90% 12%, rgba(197, 109, 73, .16), transparent 40%),
    var(--dark);
  color: var(--surface);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr .65fr;
  align-items: end;
  gap: 70px;
}

.contact-panel .eyebrow {
  color: #bdc2bc;
}

.contact-panel h2 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.contact-action {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.contact-action > p {
  max-width: 330px;
  margin: 0;
  color: #d0d4cf;
  font-size: 13px;
}

.contact-action .contact-placeholder {
  color: #aeb4ad;
  font-size: 11px;
}

.contact-phone {
  color: var(--surface);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.contact-phone:hover {
  color: #f0b495;
}

.contact-messengers {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-messenger {
  display: flex;
  width: 140px;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  transition: transform .2s ease, opacity .2s ease;
}

.contact-messenger:hover {
  transform: translateY(-2px);
  opacity: .84;
}

.contact-messenger-whatsapp {
  color: #fff;
}

.contact-messenger.contact-messenger-whatsapp img {
  width: 145px;
  max-width: none;
  max-height: none;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  transform: translateX(-4px);
}

.contact-messenger img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer {
  padding: 20px 0;
  background: var(--dark);
  color: var(--surface);
}

.footer-inner {
  min-height: 56px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 19px;
}

.brand-footer .brand-copy small,
.footer-inner > p,
.back-to-top {
  color: #b7bdb6;
}

.footer-inner > p,
.back-to-top {
  margin: 0;
  font-size: 11px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.7fr) minmax(240px, .8fr) 64px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 0 20px;
  padding: 55px 28px 42px;
  background: rgba(20, 21, 19, 0);
  color: var(--surface);
  transition: background .42s ease;
}

.lightbox.is-open {
  background: rgba(20, 21, 19, .94);
}

.lightbox-figure {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 1120px;
  max-height: 100%;
  margin: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 125px);
  margin: auto;
  border: 0;
  border-radius: 6px;
  outline: 0;
  box-shadow: none;
  object-fit: contain;
  clip-path: inset(0);
  transition: transform .72s cubic-bezier(.2, .75, .25, 1), clip-path .36s cubic-bezier(.2, .75, .25, 1);
}

.lightbox-image.is-refreshing {
  clip-path: inset(0 100% 0 0);
  transition: none;
}

.lightbox-details {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  width: 100%;
  max-width: 420px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .75s cubic-bezier(.2, .75, .25, 1) .14s;
}

.lightbox.is-open .lightbox-details {
  clip-path: inset(0);
}

.lightbox.is-open .lightbox-details.is-refreshing {
  clip-path: inset(0 100% 0 0);
  transition: none;
}

.lightbox-caption {
  margin: 0 0 16px;
  color: #f0f0ec;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.2;
}

.lightbox-description {
  margin: 0;
  color: #b7bdb6;
  font-size: 14px;
  line-height: 1.8;
}

.lightbox-close,
.lightbox-arrow {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--surface);
  cursor: pointer;
  transition: background .2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, .15);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 28px;
}

.lightbox-arrow {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 1;
}

.lightbox-next {
  grid-column: 4;
  grid-row: 1;
}

.lightbox-count {
  grid-column: 2 / 4;
  grid-row: 2;
  margin: 12px 0 0;
  color: #aaa;
  font-size: 11px;
  letter-spacing: .1em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 44px, 760px);
  }

  .hero-panel {
    height: min(66vh, 620px);
    min-height: 500px;
  }

  .services-layout {
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 68px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--ink);
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav > a:not(.nav-contact) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-contact {
    justify-content: space-between;
    margin-top: 14px;
  }

  .hero {
    padding: 14px 0 52px;
  }

  .hero-panel {
    height: min(56svh, 500px);
    min-height: 460px;
    border-radius: 13px;
  }

  .hero-photo {
    object-position: 70% center;
    object-fit: cover;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(20, 24, 21, .76), rgba(20, 24, 21, .15)),
      linear-gradient(0deg, rgba(20, 24, 21, .64), transparent 65%);
  }

  .hero-content {
    padding: 24px 23px 0;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(34px, 8.8vw, 44px);
  }

  .hero-description {
    max-width: 360px;
    font-size: 13px;
  }

  .hero-bottom {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .hero-info {
    gap: 7px;
  }

  .hero-photo-title {
    max-width: 100%;
    font-size: 11px;
  }

  .hero-stats {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-stat {
    min-width: 0;
    min-height: 68px;
    gap: 4px;
    border-radius: 9px;
    padding: 9px 10px;
  }

  .hero-stat strong {
    font-size: 20px;
  }

  .hero-stat span {
    font-size: 9px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  h2 {
    font-size: 36px;
  }

  .section-intro {
    max-width: 390px;
    margin-top: 13px;
    font-size: 12px;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .work-card {
    border-radius: 9px;
    padding: 5px 5px 10px;
  }

  .work-photo {
    aspect-ratio: .95;
    border-radius: 5px;
  }

  .work-info {
    flex-direction: column;
    gap: 3px;
    margin-top: 8px;
  }

  .work-title {
    font-size: 11px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .services-intro h2 {
    font-size: 36px;
  }

  .services-intro > p:last-child {
    margin-top: 13px;
  }

  .service-item {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 18px 8px;
  }

  .process .section-heading {
    margin-bottom: 27px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-step {
    min-height: auto;
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    padding: 17px;
  }

  .process-step > span {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .process-step h3 {
    margin-bottom: 4px;
  }

  .contact-section {
    padding: 55px 0;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .contact-messenger {
    width: 126px;
    height: 44px;
    padding: 3px 6px;
  }

  .contact-messenger.contact-messenger-whatsapp img {
    width: 130px;
    transform: translateX(-4px);
  }

  .contact-panel h2 {
    font-size: 41px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .back-to-top {
    justify-self: end;
  }

  .lightbox {
    grid-template-columns: 42px minmax(0, 1fr) minmax(200px, .8fr) 42px;
    gap: 0 10px;
    padding: 58px 10px 32px;
  }

  .lightbox-arrow {
    width: 36px;
    height: 36px;
  }

  .lightbox-image {
    max-height: calc(100vh - 120px);
  }

  .lightbox-close {
    top: 10px;
    right: 12px;
  }
}

@media (max-width: 680px) {
  .lightbox {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 12px 8px;
    padding: 58px 12px 20px;
  }

  .lightbox-figure {
    grid-column: 2;
    grid-row: 1;
  }

  .lightbox-image {
    max-height: calc(100dvh - 290px);
  }

  .lightbox-details {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    max-width: none;
  }

  .lightbox-caption {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .lightbox-description {
    font-size: 12px;
    line-height: 1.6;
  }

  .lightbox-prev {
    grid-column: 1;
    grid-row: 1;
  }

  .lightbox-next {
    grid-column: 3;
    grid-row: 1;
  }

  .lightbox-count {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
