:root {
  --bg: #fbf4ee;
  --paper: rgba(255, 250, 245, 0.72);
  --paper-strong: rgba(255, 252, 248, 0.9);
  --ink: #4d3930;
  --muted: #7e675d;
  --line: rgba(139, 104, 90, 0.22);
  --accent: #cf8179;
  --accent-strong: #bc6d67;
  --accent-soft: #f2c6be;
  --calc-accent: #C99A5B;
  --calc-accent-hover: #B88445;
  --calc-accent-text: #FFF9F1;
  --shadow: 0 20px 60px rgba(87, 58, 45, 0.12);
  --radius: 8px;
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(221, 180, 160, 0.2), transparent 25rem),
    radial-gradient(circle at 92% 42%, rgba(238, 211, 196, 0.48), transparent 30rem),
    linear-gradient(180deg, #fff8f3 0%, #fbf5ef 45%, #fffaf6 100%);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: url("imagi/organic-glassmorphism.png");
  background-size: cover;
  background-position: center top;
  opacity: 0.055;
  filter: blur(1px);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 640px;
  isolation: isolate;
  overflow: hidden;
  color: #fffaf7;
  background: url("imagi/hero-bg.png") center center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(91, 62, 49, 0.66) 0%, rgba(134, 96, 78, 0.38) 38%, rgba(248, 224, 210, 0.1) 66%, rgba(255, 244, 236, 0.03) 100%),
    linear-gradient(180deg, rgba(80, 52, 39, 0.06) 0%, rgba(251, 244, 238, 0.12) 72%, rgba(251, 244, 238, 0.98) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 -150px;
  z-index: 1;
  width: 100%;
  height: 420px;
  content: "";
  background:
    linear-gradient(180deg, rgba(251, 244, 238, 0) 0%, rgba(251, 244, 238, 0.32) 24%, rgba(251, 244, 238, 0.86) 58%, rgba(251, 244, 238, 0.98) 100%),
    radial-gradient(ellipse at 50% 48%, rgba(255, 250, 245, 0.8) 0%, rgba(255, 250, 245, 0.45) 48%, transparent 78%);
  filter: blur(14px);
}

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 12px clamp(24px, 8vw, 132px);
  gap: 24px;
  border: 0;
  border-bottom: 1px solid rgba(255, 250, 246, 0.3);
  border-radius: 0 0 24px 24px;
  background: linear-gradient(90deg, rgba(77, 50, 40, 0.46) 0%, rgba(121, 82, 67, 0.3) 46%, rgba(255, 250, 246, 0.1) 100%);
  box-shadow: 0 18px 46px rgba(57, 37, 29, 0.12), inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.88);
  box-shadow: 0 10px 28px rgba(67, 42, 33, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: saturate(1.08) contrast(1.08);
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.brand small {
  display: block;
  max-width: 190px;
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.25;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav__links a {
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(660px, calc(100% - 48px));
  max-width: 660px;
  padding: 58px 0 108px;
  margin-left: clamp(72px, 8vw, 132px);
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe3da;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.05rem, 4.15vw, 4.45rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
}

h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero__lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 250, 247, 0.94);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #dd9b92, var(--accent-strong));
  box-shadow: 0 14px 35px rgba(188, 109, 103, 0.32);
}

.button--ghost {
  color: #5f4238;
  border-color: rgba(255, 250, 246, 0.76);
  background: rgba(255, 250, 246, 0.72);
  box-shadow: 0 14px 34px rgba(57, 37, 29, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.button--ghost:hover {
  background: rgba(255, 250, 246, 0.9);
  box-shadow: 0 18px 40px rgba(57, 37, 29, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.calc-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid rgba(255, 249, 241, 0.48);
  border-radius: var(--radius);
  color: var(--calc-accent-text);
  background: linear-gradient(135deg, #C99A5B 0%, #B88445 100%);
  box-shadow: 0 12px 28px rgba(201, 154, 91, 0.24);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.calc-link-btn--order {
  width: fit-content;
  margin-top: 18px;
}

.calc-link-btn:hover {
  background: linear-gradient(135deg, #D2A566 0%, #B88445 100%);
  box-shadow: 0 16px 36px rgba(184, 132, 69, 0.32);
  transform: translateY(-2px);
}

.calc-link-btn:active {
  transform: translateY(0);
}

.calc-link-btn:focus-visible,
.calc-submit:focus-visible,
.back-link:focus-visible,
.calc-option input:focus-visible + span,
.calc-check input:focus-visible + span {
  outline: 2px solid rgba(201, 154, 91, 0.45);
  outline-offset: 4px;
}

.section {
  position: relative;
  padding: clamp(50px, 5.4vw, 76px) 0;
}

.section--intro {
  margin-top: -64px;
  padding-top: clamp(88px, 7.8vw, 116px);
  padding-bottom: clamp(36px, 4vw, 54px);
  z-index: 2;
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 54px) clamp(28px, 4vw, 54px) 0 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.8) 0%, rgba(255, 250, 246, 0.58) 18%, rgba(255, 247, 241, 0.72) 66%, #fbf4ee 100%),
    url("imagi/section-bg-2.png") center center / cover no-repeat;
  box-shadow: 0 -22px 70px rgba(255, 250, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#services {
  overflow: hidden;
  padding-block: clamp(44px, 4.8vw, 64px) clamp(42px, 4.6vw, 58px);
  background:
    linear-gradient(180deg, #fbf4ee 0%, rgba(255, 250, 246, 0.72) 18%, rgba(255, 250, 246, 0.76) 78%, #fbf4ee 100%),
    url("imagi/services-bg.png") center center / cover no-repeat;
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 253, 249, 0.78) 0%, rgba(255, 252, 248, 0.5) 34%, rgba(251, 244, 238, 0.14) 68%),
    linear-gradient(90deg, rgba(251, 244, 238, 0.34), rgba(255, 255, 255, 0.28), rgba(251, 244, 238, 0.34));
}

#services .container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
}

#services .section__heading {
  margin-bottom: 24px;
}

#services .feature-grid {
  gap: 16px;
}

.gallery .section__heading {
  margin-bottom: 24px;
}

.section--intro::before,
.section--intro::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  content: "";
}

.section--intro::before {
  inset: 0 0 auto;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.86), rgba(255, 250, 246, 0));
}

.section--intro::after {
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.66), transparent 62%);
}

.section--intro .container {
  position: relative;
  z-index: 1;
}

.section__heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section__heading--left {
  margin-inline: 0;
  text-align: left;
}

.section__heading p:last-child {
  max-width: 590px;
  margin: 12px auto 0;
  color: var(--muted);
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 252, 248, 0.74);
  box-shadow: 0 18px 48px rgba(87, 58, 45, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
}

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-grid--four {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.feature-grid--five {
  grid-template-columns: repeat(5, minmax(190px, 1fr));
}

.feature-card,
.service-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 18px 26px;
  text-align: center;
}

.service-card {
  min-height: 282px;
  padding: 28px 22px 30px;
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 251, 244, 0.62);
  box-shadow: 0 18px 44px rgba(112, 76, 58, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background 0.26s ease;
  will-change: transform;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 252, 248, 0.76);
  box-shadow: 0 26px 58px rgba(112, 76, 58, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
}

.line-icon,
.service-icon {
  display: block;
  margin-bottom: 14px;
}

.line-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 8px 14px rgba(129, 86, 71, 0.12));
}

.service-icon {
  width: auto;
  height: 116px;
  max-width: 148px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 14px 20px rgba(129, 86, 71, 0.14));
  transition: transform 0.26s ease, filter 0.26s ease;
}

.service-card:hover .service-icon {
  filter: drop-shadow(0 18px 24px rgba(129, 86, 71, 0.18));
  transform: translateY(-3px) scale(1.04);
}

.service-card h3 {
  margin-top: 0;
  line-height: 1.18;
}

.feature-card p,
.service-card p {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 230px;
}

.services__calculator-link {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.services__note {
  width: min(680px, 100%);
  margin: 24px auto 0;
  padding: 18px 24px;
  text-align: center;
}

.services__note strong {
  display: block;
  color: #6a4536;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.42rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.services__note p {
  max-width: 560px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.48;
}

.services__calculator-link .calc-link-btn {
  min-height: 52px;
  padding-inline: 30px;
  border-color: rgba(255, 248, 236, 0.7);
  border-radius: 999px;
  background: linear-gradient(135deg, #d9ad78 0%, #bd8159 52%, #a96d55 100%);
  box-shadow: 0 14px 32px rgba(160, 102, 78, 0.24);
}

.services__calculator-link .calc-link-btn:hover {
  background: linear-gradient(135deg, #e1bb8a 0%, #c88c64 54%, #ad7057 100%);
  box-shadow: 0 18px 38px rgba(160, 102, 78, 0.28);
  transform: translateY(-2px);
}

.about {
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(52px, 5.6vw, 76px) clamp(56px, 5.8vw, 84px);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 253, 249, 0.82) 0%, rgba(255, 250, 246, 0.56) 42%, rgba(251, 244, 238, 0.26) 72%),
    linear-gradient(90deg, rgba(251, 244, 238, 0.58) 0%, rgba(255, 250, 246, 0.7) 48%, rgba(251, 244, 238, 0.72) 100%),
    linear-gradient(180deg, rgba(251, 244, 238, 0.88) 0%, rgba(255, 248, 242, 0.38) 30%, rgba(255, 247, 241, 0.48) 76%, #fbf4ee 100%),
    url("imagi/team-bg.png") center center / cover no-repeat;
}

.about::before,
.gallery::after,
.order-reviews::before {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  filter: blur(26px);
}

.about::before {
  z-index: 0;
  left: -12rem;
  top: 10%;
  width: 34rem;
  height: 34rem;
  opacity: 0.58;
}

.about::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251, 244, 238, 0.18) 0%, rgba(255, 252, 248, 0.34) 44%, rgba(251, 244, 238, 0.34) 100%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0) 58%);
}

.about__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.4fr) minmax(420px, 0.6fr);
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  gap: clamp(28px, 4vw, 48px);
  margin-inline: auto;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 32px;
  background: rgba(255, 250, 244, 0.68);
  box-shadow: 0 26px 72px rgba(92, 64, 43, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.about__media {
  display: grid;
  gap: 12px;
}

.about__photo {
  position: relative;
  display: grid;
  min-height: 360px;
  aspect-ratio: 0.88;
  place-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.44);
  box-shadow: 0 20px 52px rgba(87, 58, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.about__photo::before {
  position: absolute;
  inset: auto -24% -30% -24%;
  z-index: 0;
  content: "";
  height: 72%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 246, 0.86), rgba(244, 209, 193, 0.48) 46%, rgba(251, 244, 238, 0) 76%);
  filter: blur(18px);
}

.about__photo::after {
  position: absolute;
  inset: auto -8% -4%;
  z-index: 2;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 250, 246, 0), rgba(255, 244, 238, 0.58) 60%, rgba(251, 244, 238, 0.95) 100%);
  filter: blur(8px);
}

.about__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 42% 24%;
  filter: none;
  mask-image: none;
}

.about__text {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.about__content .section__heading {
  max-width: 620px;
  margin-bottom: 18px;
}

.about__content h2 {
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  line-height: 1.08;
}

.about__text p {
  margin: 0;
}

.about__quote {
  margin-top: 2px;
  padding: 14px 18px 14px 20px;
  border-left: 2px solid rgba(201, 154, 91, 0.58);
  border-radius: var(--radius);
  color: #6a4536;
  background: rgba(255, 247, 238, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.24;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
}

.value-card {
  display: block;
  padding: 16px 18px;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 252, 248, 0.56);
  box-shadow: 0 12px 28px rgba(87, 58, 45, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.value-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.08;
}

.value-card__photo {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255, 250, 246, 0.94);
  box-shadow: 0 8px 18px rgba(87, 58, 45, 0.11);
}

.value-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.gallery::after {
  right: -14rem;
  top: 8rem;
  width: 36rem;
  height: 36rem;
  opacity: 0.5;
}

.gallery {
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(52px, 5.4vw, 78px) clamp(44px, 4.8vw, 62px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 253, 249, 0.78) 0%, rgba(255, 250, 246, 0.46) 46%, rgba(251, 244, 238, 0.24) 78%),
    linear-gradient(180deg, rgba(251, 244, 238, 0.92) 0%, rgba(255, 250, 246, 0.72) 46%, #fbf4ee 100%);
}

.gallery .container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
}

.order .container {
  width: min(1180px, calc(100% - 48px));
}

.gallery__carousel {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 50px;
}

.gallery__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery__grid::-webkit-scrollbar {
  display: none;
}

.work-card {
  position: relative;
  display: flex;
  min-width: calc((100% - 40px) / 3);
  height: 470px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.62);
  box-shadow: 0 22px 58px rgba(87, 58, 45, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  scroll-snap-align: start;
  opacity: 1;
  transform: none;
  backdrop-filter: blur(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.25s ease;
}

.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card img {
  width: 100%;
  height: 310px;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.work-card:hover img {
  transform: scale(1.04);
}

.work-card__body {
  position: relative;
  min-height: 160px;
  padding: 20px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.82) 0%, rgba(255, 248, 242, 0.72) 100%);
}

.work-card__body h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.work-card__body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

.gallery__next {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(190, 142, 118, 0.22);
  border-radius: 50%;
  color: #9a643a;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: 0 12px 26px rgba(87, 58, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery__next:hover {
  background: rgba(255, 247, 238, 0.94);
  box-shadow: 0 16px 34px rgba(160, 102, 78, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transform: translateY(-50%) translateX(2px);
}

.order-reviews::before {
  left: 8%;
  bottom: 10%;
  width: 24rem;
  height: 18rem;
  opacity: 0.54;
}

.section-anchor {
  position: absolute;
  top: 0;
}

.review-slider {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  max-width: 100%;
  min-height: 0;
  margin: 12px 0 0;
  padding: 0;
}

.slider-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #9a643a;
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 10px 24px rgba(87, 58, 45, 0.1);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.slider-button:hover {
  background: rgba(255, 247, 238, 0.92);
  box-shadow: 0 14px 30px rgba(160, 102, 78, 0.16);
  transform: translateY(-1px);
}

.review {
  display: none;
  min-height: 318px;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.62);
  box-shadow: 0 18px 42px rgba(87, 58, 45, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  text-align: left;
  backdrop-filter: blur(16px);
}

.review.is-active {
  display: flex;
  flex-direction: column;
}

.review img {
  width: min(100%, 310px);
  height: 150px;
  flex: 0 0 auto;
  align-self: center;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 24%;
  box-shadow: 0 14px 30px rgba(87, 58, 45, 0.1);
}

.review figcaption {
  display: grid;
  gap: 8px;
}

.review strong {
  display: block;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.review__occasion {
  color: #a96d55;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.review-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(188, 109, 103, 0.25);
}

.review-dots span.is-active {
  width: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9ad78, #cf8179);
}

.review-badge {
  display: inline-flex;
  width: fit-content;
  margin: 14px auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(190, 142, 118, 0.24);
  border-radius: 999px;
  color: #8d514b;
  background: rgba(255, 250, 244, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.order {
  padding-top: clamp(42px, 4.6vw, 62px);
  padding-bottom: clamp(42px, 4.8vw, 64px);
}

.order__panel {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(14px, 1.7vw, 20px);
}

.order__panel--combo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: clamp(14px, 1.6vw, 20px);
  background: rgba(255, 250, 244, 0.6);
  box-shadow: 0 26px 76px rgba(87, 58, 45, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.order__heading {
  max-width: 520px;
  margin: 0 auto 12px;
  text-align: center;
}

.order__heading h2 {
  font-size: clamp(1.86rem, 2.38vw, 2.34rem);
  line-height: 1.08;
}

.order__heading p {
  margin-top: 8px;
  margin-bottom: 0;
}

.order__heading p:last-child {
  margin-inline: auto;
}

.order__section {
  min-width: 0;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 252, 248, 0.66);
  box-shadow: 0 16px 42px rgba(87, 58, 45, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
}

.order__reviews {
  display: flex;
  flex-direction: column;
}

.order__form-side {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.order__form-side .order__heading {
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.order__form-side .order__heading h2 {
  max-width: 520px;
}

.order__form-side .order__heading p:last-child {
  margin-left: 0;
}

.order__form-note {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(139, 104, 90, 0.14);
  color: var(--muted);
  font-size: 0.9rem;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 22px;
}

.preferred-contact {
  display: grid;
  gap: 9px;
}

.preferred-contact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.preferred-contact .contacts {
  justify-content: flex-start;
  margin: 0;
  flex-wrap: nowrap;
  gap: 12px;
}

.contact-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-choice {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 142, 118, 0.28);
  border-radius: 14px;
  color: #6f5b50;
  background: rgba(255, 250, 244, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-option__icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-option__image {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: saturate(0.72) contrast(0.92);
}

.contact-choice:hover,
.contact-choice.is-active {
  border-color: rgba(199, 126, 118, 0.55);
  color: #8d514b;
  background: rgba(199, 126, 118, 0.14);
  box-shadow: 0 10px 24px rgba(160, 102, 78, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.contact-choice:hover {
  transform: translateY(-1px);
}

.contact-choice:focus-visible {
  outline: 2px solid rgba(201, 154, 91, 0.42);
  outline-offset: 3px;
}

.contacts a {
  display: grid;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contacts a:hover {
  filter: saturate(1.06);
  transform: translateY(-3px);
}

.contact-icon {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.preferred-contact .contacts a,
.preferred-contact .contact-icon {
  width: 42px;
  height: 42px;
}

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.9fr);
  gap: 12px;
}

.form label {
  position: relative;
}

.form .phone-field {
  display: block;
  min-width: 210px;
}

.form label:not(.consent-checkbox) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form input,
.form select,
.form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(139, 104, 90, 0.2);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 252, 248, 0.74);
  outline: none;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(201, 154, 91, 0.55);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 0 0 3px rgba(207, 129, 121, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form input.is-invalid {
  border-color: rgba(188, 82, 73, 0.62);
  box-shadow: 0 0 0 3px rgba(188, 82, 73, 0.1);
}

.field-error {
  display: block;
  min-height: 18px;
  margin: 6px 0 0 16px;
  color: #bc5249;
  font-size: 0.82rem;
  line-height: 1.3;
}

.field-error:empty {
  min-height: 0;
  margin: 0;
}

.form input,
.form select {
  height: 46px;
  padding: 0 16px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(126, 103, 93, 0.72);
}

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.form select:required:invalid {
  color: rgba(126, 103, 93, 0.72);
}

.form select option {
  color: var(--ink);
}

.form textarea {
  min-height: 84px;
  resize: vertical;
  padding: 14px 16px;
}

.consent-wrapper {
  position: static;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 2px;
  font-size: 0.86rem;
  line-height: 1.48;
  color: rgba(47, 38, 32, 0.72);
}

.consent-checkbox input {
  margin-top: 2px;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #C99A5B;
}

.consent-checkbox span {
  position: static;
  color: inherit;
  font-size: inherit;
}

.consent-checkbox a {
  color: #9A643A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-error {
  display: none;
  margin-top: -8px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #9d4d43;
}

.form-field.has-error .consent-error,
.consent-wrapper.has-error .consent-error {
  display: block;
}

.form-success {
  display: none;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(144, 122, 83, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 249, 241, 0.82);
  color: #6a4536;
  font-size: 0.92rem;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.form-success.is-visible {
  display: block;
}

.form-success.is-error {
  border-color: rgba(188, 82, 73, 0.35);
  background: rgba(255, 245, 243, 0.9);
  color: #9d4038;
}

.form__wide {
  grid-column: 1 / -1;
}

.order__submit {
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.order__form-side .calc-link-btn--order {
  min-height: 46px;
  padding-inline: 24px;
  border-color: rgba(255, 248, 236, 0.7);
  border-radius: 999px;
  background: linear-gradient(135deg, #d9ad78 0%, #bd8159 52%, #a96d55 100%);
  box-shadow: 0 14px 32px rgba(160, 102, 78, 0.22);
}

.order__form-side .calc-link-btn--order:hover {
  background: linear-gradient(135deg, #e1bb8a 0%, #c88c64 54%, #ad7057 100%);
  box-shadow: 0 18px 38px rgba(160, 102, 78, 0.28);
}

.footer {
  padding: 8px 0 8px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 246, 0.82);
}

.footer .container {
  width: min(100% - 32px, 1360px);
}

.footer__layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(330px, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.brand--footer .brand__mark {
  width: 42px;
  height: 42px;
  background: rgba(255, 250, 246, 0.94);
}

.footer__contacts {
  display: grid;
  justify-items: start;
  gap: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.footer__contacts a {
  color: var(--ink);
}

.footer__socials {
  display: flex;
  gap: 7px;
  margin-top: 4px;
}

.footer__social-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 142, 118, 0.24);
  border-radius: 12px;
  color: #6f5b50;
  background: rgba(255, 250, 244, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.footer__social-icon .contact-option__icon {
  width: 15px;
  height: 15px;
}

.footer__social-icon .contact-option__image {
  width: 19px;
  height: 19px;
}

.footer__map {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
  min-height: 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(227, 222, 202, 0.45) 12%, transparent 12% 16%, rgba(227, 222, 202, 0.45) 16% 24%, transparent 24%),
    linear-gradient(20deg, transparent 44%, rgba(205, 187, 154, 0.75) 45% 48%, transparent 49%),
    linear-gradient(105deg, transparent 40%, rgba(188, 109, 103, 0.55) 41% 43%, transparent 44%),
    #eef1e9;
}

.footer__map::before {
  position: absolute;
  top: 42%;
  left: 56%;
  width: 16px;
  height: 16px;
  content: "";
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--accent-strong);
  transform: rotate(-45deg);
  box-shadow: 0 5px 16px rgba(87, 58, 45, 0.18);
}

.footer__map span {
  position: absolute;
  top: 44%;
  left: calc(56% + 20px);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.76rem;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 6px;
}

.privacy-policy {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: right;
}

.privacy-modal-open {
  overflow: hidden;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.privacy-modal.is-open {
  display: block;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 28, 24, 0.55);
}

.privacy-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1100px, calc(100% - 24px));
  height: min(88vh, 860px);
  margin: clamp(14px, 3vh, 28px) auto;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 28px 78px rgba(43, 32, 26, 0.32);
  overflow: hidden;
}

.privacy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.privacy-modal__header h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.1;
}

.privacy-modal__close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.calculator-body {
  background:
    radial-gradient(circle at 9% 12%, rgba(201, 154, 91, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 28%, rgba(207, 129, 121, 0.18), transparent 30rem),
    linear-gradient(180deg, #fff8f3 0%, #fbf4ee 52%, #fffaf6 100%);
}

.calculator-header {
  position: relative;
  z-index: 4;
  padding-top: 1px;
}

.calculator-nav {
  color: var(--ink);
  background: rgba(255, 252, 248, 0.68);
  border-color: rgba(255, 255, 255, 0.76);
}

.calculator-nav .nav__links a.is-active {
  color: var(--calc-accent-hover);
}

.calculator-page {
  position: relative;
  padding: clamp(42px, 6vw, 76px) 0 clamp(74px, 8vw, 110px);
  overflow: hidden;
}

.calculator-page .container {
  width: min(1280px, calc(100% - 48px));
}

.calculator-page::before,
.calculator-page::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  filter: blur(30px);
}

.calculator-page::before {
  top: 8rem;
  left: -14rem;
  width: 34rem;
  height: 34rem;
}

.calculator-page::after {
  right: -16rem;
  bottom: 10rem;
  width: 38rem;
  height: 38rem;
}

.calculator-hero {
  max-width: none;
  margin-bottom: clamp(28px, 4vw, 42px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255, 252, 248, 0.66), rgba(255, 252, 248, 0.28)),
    radial-gradient(circle at 82% 28%, rgba(201, 154, 91, 0.14), transparent 24rem);
  box-shadow: 0 20px 56px rgba(87, 58, 45, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-align: center;
  backdrop-filter: blur(14px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.calculator-hero h1 {
  max-width: 860px;
  margin-inline: auto;
  color: var(--ink);
}

.calculator-hero p:not(.eyebrow) {
  max-width: 800px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.calculator-hero span {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 154, 91, 0.2);
  border-radius: 999px;
  color: #76542d;
  background: rgba(255, 249, 241, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.92fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}

.calculator-side {
  display: grid;
  gap: 0;
  align-items: start;
  overflow: hidden;
}

.calculator-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 252, 248, 0.68);
  box-shadow: 0 22px 58px rgba(87, 58, 45, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.calculator-controls,
.calculator-order-section {
  padding: clamp(22px, 3vw, 34px);
}

.calculator-card__heading {
  margin-bottom: 24px;
}

.calculator-card__heading h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

.calculator-card__heading p:last-child {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.calc-group {
  min-width: 0;
  padding: 0;
  margin: 0 0 26px;
  border: 0;
}

.calc-group legend,
.calc-select-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 800;
}

.calc-options {
  display: grid;
  gap: 12px;
}

.calc-options--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-options--checks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-option,
.calc-check {
  position: relative;
  display: block;
}

.calc-option input,
.calc-check input {
  position: absolute;
  opacity: 0;
}

.calc-option span,
.calc-check span {
  display: flex;
  min-height: 62px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 15px 16px;
  border: 1px solid rgba(139, 104, 90, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.calc-check span {
  min-height: 54px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-weight: 700;
}

.calc-check span::before {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(139, 104, 90, 0.3);
  border-radius: 7px;
  content: "";
  color: #fff;
  background: rgba(255, 255, 255, 0.78);
}

.calc-option strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.calc-option small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.calc-option input:checked + span,
.calc-check input:checked + span {
  border-color: rgba(201, 154, 91, 0.66);
  background: rgba(255, 249, 241, 0.82);
  box-shadow: 0 12px 28px rgba(201, 154, 91, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.calc-option input:checked + span::after {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--calc-accent);
  box-shadow: 0 0 0 4px rgba(201, 154, 91, 0.18);
}

.calc-check input:checked + span::before {
  content: "✓";
  border-color: var(--calc-accent);
  background: var(--calc-accent);
  font-size: 0.86rem;
  font-weight: 900;
}

.calc-option:hover span,
.calc-check:hover span {
  transform: translateY(-1px);
}

.calc-row {
  margin-bottom: 26px;
}

.calc-row select,
.calculator-order-form input[readonly] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  outline: none;
}

.calc-row select {
  padding: 0 16px;
}

.calc-note,
.summary-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.calculator-summary__inner {
  padding: clamp(22px, 3vw, 30px);
}

.calculator-summary h2 {
  color: #6b4721;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(139, 104, 90, 0.16);
}

.summary-list dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.summary-list dd {
  margin: 0;
  font-weight: 800;
}

.calc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 249, 241, 0.48);
  border-radius: 999px;
  color: var(--calc-accent-text);
  background: linear-gradient(135deg, #C99A5B 0%, #B88445 100%);
  box-shadow: 0 12px 28px rgba(201, 154, 91, 0.24);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.calc-submit:hover {
  background: linear-gradient(135deg, #D2A566 0%, #B88445 100%);
  box-shadow: 0 16px 36px rgba(184, 132, 69, 0.32);
  transform: translateY(-2px);
}

.calculator-order-form .calc-submit {
  color: var(--calc-accent-text);
  background: linear-gradient(135deg, #C99A5B 0%, #B88445 100%);
  box-shadow: 0 12px 28px rgba(201, 154, 91, 0.24);
}

.calculator-order-form .calc-submit:hover {
  background: linear-gradient(135deg, #D2A566 0%, #B88445 100%);
  box-shadow: 0 16px 36px rgba(184, 132, 69, 0.32);
}

.calculator-order-section {
  margin: 0;
  border-top: 1px solid rgba(139, 104, 90, 0.16);
  scroll-margin-top: 24px;
}

.calculator-order-section .calculator-card__heading {
  margin-bottom: 18px;
}

.calculator-order-section .calculator-card__heading h2 {
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}

.calculator-order-form {
  grid-template-columns: 1fr;
}

.calculator-order-form label:not(.consent):not(.consent-checkbox) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.calculator-order-form input,
.calculator-order-form select {
  height: 52px;
  padding: 0 16px;
}

.calculator-order-form textarea {
  padding: 15px 16px;
}

.calculator-contact-field {
  display: grid;
  gap: 12px;
}

.calculator-contact-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calculator-contact-icons a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.calculator-contact-icons a:hover {
  filter: saturate(1.06);
  transform: translateY(-2px);
}

.calculator-contact-icons .contact-icon {
  width: 48px;
  height: 48px;
}

.calculator-order-form textarea {
  min-height: 210px;
}

.calculator-order-form input[readonly] {
  padding: 0 16px;
}

@media (max-width: 1080px) {
  .feature-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about__layout {
    grid-template-columns: minmax(320px, 0.45fr) minmax(0, 0.55fr);
    gap: 26px;
  }

  .about__photo {
    min-height: 360px;
  }

  .feature-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card {
    min-width: calc((100% - 20px) / 2);
    height: 450px;
  }

  .gallery__next {
    right: 2px;
  }

  .order__panel--combo {
    grid-template-columns: 1fr;
  }

  .order__form-side {
    grid-template-columns: 1fr;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-summary {
    position: static;
  }
}

@media (max-width: 820px) {
  .container,
  .nav,
  .copyright {
    width: min(100% - 32px, var(--container));
  }

  .nav {
    width: 100%;
    padding-inline: 16px;
    border-radius: 0 0 20px 20px;
  }

  .hero {
    min-height: auto;
    background-position: 62% center;
  }

  .hero__video {
    object-position: 62% center;
  }

  .nav {
    align-items: flex-start;
  }

  .nav__toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav__links {
    position: absolute;
    inset: 88px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    background: rgba(77, 57, 48, 0.82);
    backdrop-filter: blur(18px);
  }

  .nav.is-open .nav__links {
    display: flex;
  }

  .calculator-nav .nav__links {
    background: rgba(255, 252, 248, 0.94);
  }

  .nav__links a {
    padding: 14px 12px;
  }

  .hero__content {
    width: min(100% - 32px, 560px);
    padding: 52px 0 92px;
    margin-inline: auto;
  }

  h1 {
    font-size: clamp(2.55rem, 10.5vw, 4.2rem);
  }

  .section {
    padding: 56px 0;
  }

  .section--intro {
    margin-top: -58px;
    padding-top: 96px;
  }

  .section--intro::before,
  .section--intro::after {
    display: block;
  }

  .feature-grid--four,
  .feature-grid--five,
  .about__layout,
  .footer__layout {
    grid-template-columns: 1fr;
  }

  #services .feature-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 286px;
  }

  .about {
    padding-block: 56px 66px;
  }

  .about__layout {
    width: min(100% - 32px, 680px);
    gap: 24px;
    padding: 24px;
  }

  .about__photo {
    width: min(100%, 460px);
    max-width: 460px;
    min-height: 430px;
    margin-inline: auto;
  }

  .about__media {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .section__heading--left {
    text-align: center;
  }

  .about__content .section__heading {
    margin-inline: auto;
    text-align: left;
  }

  .order__heading {
    text-align: center;
  }

  .order__form-side .order__heading {
    text-align: left;
  }

  .order__panel {
    width: min(100%, 760px);
  }

  .review-slider {
    min-height: 0;
  }

  .review {
    min-height: 0;
  }

  .review img {
    width: min(100%, 330px);
    height: 160px;
  }

  .about__values,
  .form {
    grid-template-columns: 1fr;
  }

  .order__submit {
    grid-column: auto;
  }

  .calc-options--cards,
  .calc-options--checks {
    grid-template-columns: 1fr;
  }

  .calculator-hero span {
    border-radius: 20px;
  }
}

@media (max-width: 620px) {
  .brand__mark {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 1.42rem;
  }

  .brand small {
    max-width: 150px;
    font-size: 0.68rem;
  }

  .hero__actions,
  .button,
  .calc-link-btn {
    width: 100%;
  }

  .calc-link-btn--order {
    width: 100%;
  }

  .hero__lead {
    margin-top: 22px;
  }

  .feature-card,
  .service-card {
    min-height: 268px;
    padding: 26px 20px;
  }

  .line-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon {
    width: auto;
    height: 104px;
    max-width: 132px;
  }

  #services .feature-grid--five {
    grid-template-columns: 1fr;
  }

  .service-card p {
    max-width: 300px;
  }

  .services__calculator-link .calc-link-btn {
    width: 100%;
  }

  .about {
    padding-block: 48px 58px;
  }

  .about__layout {
    width: min(100% - 32px, 460px);
    padding: 16px;
    border-radius: 24px;
  }

  .about__photo {
    width: 100%;
    min-height: 340px;
    border-radius: 22px;
  }

  .about__photo img {
    object-position: 43% 22%;
  }

  .about__values {
    gap: 8px;
  }

  .value-card {
    padding: 12px;
  }

  .value-card__photo {
    width: 40px;
    height: 40px;
  }

  .about__content h2 {
    font-size: clamp(1.95rem, 10vw, 2.45rem);
  }

  .about__text {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .gallery .container,
  .order .container {
    width: min(100% - 32px, var(--container));
  }

  .gallery {
    padding-block: 48px 56px;
  }

  .gallery__carousel {
    padding-inline: 42px;
  }

  .work-card {
    min-width: 100%;
    height: 455px;
  }

  .work-card img {
    height: 292px;
  }

  .work-card__body {
    min-height: 163px;
    padding: 18px 18px 20px;
  }

  .review-slider {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    min-height: 0;
    margin-top: 12px;
    padding: 4px 0;
  }

  .review {
    gap: 14px;
    padding: 14px;
  }

  .review img {
    width: min(100%, 300px);
    height: 148px;
    border-radius: 999px;
  }

  .slider-button {
    width: 30px;
    height: 30px;
    font-size: 1.35rem;
  }

  .order__panel {
    padding: 18px 14px;
  }

  .order__section {
    padding: 18px 14px;
  }

  .contact-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order__form-note {
    text-align: left;
  }

  .contacts {
    gap: 10px;
    margin-bottom: 24px;
  }

  .contacts a,
  .contact-icon {
    width: 58px;
    height: 58px;
  }

  .preferred-contact .contacts a,
  .preferred-contact .contact-icon {
    width: 42px;
    height: 42px;
  }

  .calculator-controls,
  .calculator-order-section,
  .calculator-summary__inner {
    padding: 20px 14px;
  }

  .calculator-card {
    border-radius: 24px;
  }

  .summary-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .privacy-modal__dialog {
    width: calc(100% - 12px);
    height: calc(100vh - 12px);
    margin: 6px auto;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}
