*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.4rem;
}

body {
  font-family: "Figtree", "Segoe UI", -apple-system, sans-serif;
  font-weight: 400;
  color: #2c2622;
  background-color: #f1ece3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-attachment: fixed;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

h1, h2, h3 {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #2c2622;
  margin-bottom: 1.2rem;
}

.section__intro,
.section__head .section__intro {
  color: #5a5049;
  font-size: 1.08rem;
  max-width: 40rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a5340;
  font-weight: 400;
  margin-bottom: 1.1rem;
}

.btn {
  --btn-bg: #8a5340;
  --btn-fg: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: "Figtree", "Segoe UI", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary:hover {
  background: #6f4234;
  border-color: #6f4234;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #2c2622;
  border-color: #2c2622;
}
.btn--ghost:hover {
  background: #2c2622;
  color: #ffffff;
}
.btn--full {
  width: 100%;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(241, 236, 227, 0);
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding-block: 1.4rem;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 24px -8px rgba(44, 38, 34, 0.18);
  padding-block: 0.9rem;
}
.nav.is-menu-open {
  background: #f8f4ee;
  backdrop-filter: none;
  box-shadow: none;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__monogram {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #8a5340;
  border-radius: 50%;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8a5340;
}
.nav__name {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__menu {
  display: flex;
  gap: clamp(1.2rem, 2.2vw, 2.1rem);
}
.nav__link {
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding-block: 0.3rem;
  color: #2c2622;
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #8a5340;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__link:hover, .nav__link.is-active {
  color: #8a5340;
}
.nav__link:hover::after, .nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #2c2622;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(44, 38, 34, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.4s;
}
.nav__backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: 8rem 4rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto -10%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(168, 103, 78, 0.16), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: 100%;
}
.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: #2c2622;
  margin-bottom: 1.8rem;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #5a5049;
  max-width: 34rem;
  margin-bottom: 2.4rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__visual {
  position: relative;
}
.hero__frame {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(44, 38, 34, 0.35);
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: -1.5rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: #8a5340;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 20px 40px -20px rgba(138, 83, 64, 0.7);
}
.hero__badge-num {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero__badge-txt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  opacity: 0.85;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(44, 38, 34, 0.4);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: #2c2622;
  border-radius: 3px;
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
  }
}
.values {
  border-top: 1px solid #e2d8ca;
  border-bottom: 1px solid #e2d8ca;
  background: #f8f4ee;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.values__eyebrow {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.value {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: #ffffff;
  border: 1px solid #e2d8ca;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.value::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #8a5340, #c98f72);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.value__num {
  position: absolute;
  top: 0.6rem;
  right: 1.1rem;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 3.4rem;
  line-height: 1;
  color: #8a5340;
  opacity: 0.1;
  pointer-events: none;
}
.value__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.4rem;
  color: #8a5340;
  background: rgba(138, 83, 64, 0.07);
  border-radius: 50%;
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.value__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}
.value__title {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}
.value__text {
  color: #5a5049;
  font-size: 1rem;
}
.value:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 50px -30px rgba(44, 38, 34, 0.35);
}
.value:hover::before {
  transform: scaleX(1);
}
.value:hover .value__icon {
  background: #8a5340;
  color: #ffffff;
  transform: rotate(-6deg);
}

.spec__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.spec__visual {
  position: relative;
}
.spec__photo {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(44, 38, 34, 0.4);
}
.spec__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spec__stamp {
  position: absolute;
  right: -1.4rem;
  bottom: 2.2rem;
  display: grid;
  place-items: center;
  gap: 0.1rem;
  width: 7.5rem;
  height: 7.5rem;
  padding: 0.6rem;
  text-align: center;
  background: #8a5340;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 20px 40px -18px rgba(111, 66, 52, 0.8);
}
.spec__stamp b {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
}
.spec__stamp span {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
  opacity: 0.9;
}
.spec__text {
  color: #5a5049;
  margin-bottom: 1.1rem;
  max-width: 34rem;
}
.spec__list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2.4rem;
  display: grid;
  gap: 0.75rem;
}
.spec__list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
}
.spec__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 6px;
  border-left: 2px solid #8a5340;
  border-bottom: 2px solid #8a5340;
  transform: rotate(-45deg);
}

.steps {
  background: #f8f4ee;
  border-top: 1px solid #e2d8ca;
  border-bottom: 1px solid #e2d8ca;
}
.steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 46rem;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding-bottom: clamp(2rem, 4vw, 2.8rem);
}
.step::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 3.4rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #c98f72, rgba(201, 143, 114, 0.15));
}
.step:last-child {
  padding-bottom: 0;
}
.step:last-child::before {
  display: none;
}
.step__num {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #8a5340;
  background: #ffffff;
  border: 1px solid #c98f72;
  border-radius: 50%;
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.step__title {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  padding-top: 0.35rem;
}
.step__text {
  color: #5a5049;
  font-size: 1rem;
}
.step--highlight .step__num {
  background: #8a5340;
  color: #ffffff;
  border-color: #8a5340;
}
.step__badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.15rem 0.6rem;
  font-family: "Figtree", "Segoe UI", -apple-system, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: #7d8471;
  border-radius: 999px;
  vertical-align: middle;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.card {
  background: #f8f4ee;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.card__view {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(138, 83, 64, 0.55);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card__body {
  padding: 1.4rem 1.5rem 1.7rem;
}
.card__cat {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a5340;
  margin-bottom: 0.6rem;
}
.card__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.card__desc {
  color: #5a5049;
  font-size: 0.95rem;
}
.card:hover, .card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(44, 38, 34, 0.4);
}
.card:hover .card__media img, .card:focus-visible .card__media img {
  transform: scale(1.05);
}
.card:hover .card__view, .card:focus-visible .card__view {
  opacity: 1;
}
.card:focus-visible {
  outline: 2px solid #8a5340;
  outline-offset: 3px;
}

.about {
  background: #2c2622;
  color: #f8f4ee;
}
.about .eyebrow {
  color: #c98f72;
}
.about .section__title {
  color: #ffffff;
}
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.about__visual {
  position: relative;
}
.about__photo {
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__mono {
  position: absolute;
  right: -1.2rem;
  top: -1.2rem;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #8a5340;
  color: #ffffff;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}
.about__text {
  color: rgba(248, 244, 238, 0.85);
  margin-bottom: 1.2rem;
  max-width: 34rem;
}
.about__list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.5rem;
}
.about__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.98rem;
  color: rgba(248, 244, 238, 0.9);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c98f72;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__text {
  color: #5a5049;
  margin-bottom: 2.2rem;
  max-width: 32rem;
}
.contact__details {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.3rem;
}
.contact__details li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact__details a {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.4rem;
  line-height: 1.35;
  color: #2c2622;
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  width: fit-content;
}
.contact__details a:hover {
  color: #8a5340;
}
.contact__label {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a5340;
}
.contact__note {
  font-size: 0.88rem;
  color: #5a5049;
  margin-top: 0.15rem;
}
.contact__form {
  position: relative;
  background: #f8f4ee;
  border: 1px solid #e2d8ca;
  border-radius: 16px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
}

.field {
  margin-bottom: 1.3rem;
}
.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5049;
  margin-bottom: 0.5rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: "Figtree", "Segoe UI", -apple-system, sans-serif;
  font-size: 1rem;
  color: #2c2622;
  background: #ffffff;
  border: 1px solid #e2d8ca;
  border-radius: 8px;
  transition: border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(44, 38, 34, 0.35);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #8a5340;
  box-shadow: 0 0 0 3px rgba(138, 83, 64, 0.12);
}
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #b23b3b;
  box-shadow: 0 0 0 3px rgba(178, 59, 59, 0.1);
}

.form__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.2rem;
}
.form__note.is-success {
  color: #7d8471;
}
.form__note.is-error {
  color: #b23b3b;
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__gdpr {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(90, 80, 73, 0.85);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.footer {
  background: #221d19;
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.2rem;
}
.footer__logo .nav__monogram {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 0.95rem;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}
.footer__tag {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.footer__copy {
  font-size: 0.82rem;
  opacity: 0.55;
  margin-top: 0.4rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 38, 34, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: hidden;
  background: #f8f4ee;
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(44, 38, 34, 0.6);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.is-open .modal__dialog {
  transform: none;
}
.modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  color: #2c2622;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s cubic-bezier(0.22, 1, 0.36, 1), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal__close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}
.modal__gallery {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #2c2622;
}
.modal__main {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0.7rem 0.7rem 0;
  overflow: hidden;
}
.modal__main img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.modal__thumbs {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 0.6rem;
  padding: 0.7rem;
  background: #2c2622;
}
.modal__thumbs button {
  flex: 0 0 calc(25% - 0.45rem);
  aspect-ratio: 4/3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal__thumbs button:hover {
  opacity: 0.85;
}
.modal__thumbs button.is-active {
  opacity: 1;
  border-color: #c98f72;
}
.modal__info {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  overflow-y: auto;
}
.modal__cat {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a5340;
}
.modal__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.5rem 0 1rem;
}
.modal__desc {
  color: #5a5049;
  margin-bottom: 1.6rem;
}
.modal__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.modal__meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e2d8ca;
  font-size: 0.95rem;
}
.modal__meta span:first-child {
  color: #5a5049;
  letter-spacing: 0.04em;
}
.modal__meta span:last-child {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.05rem;
  color: #2c2622;
}

body.no-scroll {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    display: none;
  }
  .hero {
    min-height: auto;
    padding-block: 7rem 6.5rem;
  }
  .hero__scroll {
    bottom: 1.4rem;
  }
  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__visual {
    max-width: 26rem;
  }
  .spec__inner {
    grid-template-columns: 1fr;
  }
  .spec__visual {
    max-width: 26rem;
  }
  .spec__stamp {
    right: 1rem;
    width: 6.5rem;
    height: 6.5rem;
  }
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .values__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 720px) {
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: #f8f4ee;
    box-shadow: -20px 0 60px -20px rgba(44, 38, 34, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav__menu.is-open {
    transform: translateX(0);
  }
  .nav__link {
    font-size: 1.3rem;
    font-family: "Fraunces", "Georgia", serif;
  }
  .nav__toggle {
    display: flex;
    z-index: 110;
  }
  .nav.is-menu-open .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.is-menu-open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-menu-open .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .about__list {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    flex: 1;
  }
  .step {
    gap: 1.1rem;
  }
  .step::before {
    left: 1.3rem;
    top: 3rem;
  }
  .step__num {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 0.95rem;
  }
  .modal__dialog {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal__main img {
    max-height: 44vh;
  }
}
