:root {
  --bg: #08110f;
  --bg-soft: rgba(11, 20, 18, 0.84);
  --panel: rgba(19, 17, 14, 0.76);
  --panel-strong: rgba(20, 13, 9, 0.88);
  --line: rgba(228, 181, 107, 0.22);
  --text: #f2e3cb;
  --muted: rgba(242, 227, 203, 0.72);
  --gold: #efc36a;
  --gold-strong: #c8872b;
  --ember: #ff9a35;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

::selection {
  color: #130f07;
  background: rgba(241, 207, 135, 0.78);
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: rgba(241, 207, 135, 0.96) rgba(7, 12, 11, 0.92);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(40, 68, 67, 0.4), transparent 35%),
    linear-gradient(180deg, #07100e 0%, #0b120f 45%, #090f0d 100%);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
textarea::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(11, 18, 16, 0.98), rgba(6, 10, 9, 0.98));
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(214, 176, 109, 0.12),
    inset 0 0 18px rgba(0, 0, 0, 0.32);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb {
  min-height: 42px;
  background: #f1cf87;
  border-radius: 999px;
  border: 1px solid rgba(31, 23, 11, 0.88);
  box-shadow: 0 0 8px rgba(214, 176, 109, 0.18);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
  background: #ffe4a8;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
textarea::-webkit-scrollbar-corner {
  background: transparent;
}

textarea,
input {
  caret-color: var(--gold);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 8, 0.18), rgba(4, 8, 8, 0.58)),
    url("images/background.jpg") center top / cover no-repeat;
  filter: blur(8px) saturate(0.6) brightness(0.24);
  transform: scale(1.05);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 171, 76, 0.07), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(255, 171, 76, 0.1), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(22, 53, 48, 0.22), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

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

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

.page-shell {
  overflow: clip;
}

.hero {
  width: 100%;
  margin: 0 auto;
}

main,
.footer {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 0;
  padding: 108px 0 80px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 0 34px 34px;
  background:
    linear-gradient(180deg, rgba(6, 12, 13, 0.18) 0%, rgba(6, 8, 7, 0.28) 42%, rgba(6, 8, 7, 0.8) 100%),
    url("images/background.jpg") center center / cover no-repeat;
  box-shadow: var(--shadow);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(7, 10, 9, 0), rgba(7, 10, 9, 0.84) 68%, #090f0d 100%);
  border-radius: 0 0 34px 34px;
  pointer-events: none;
}

.hero__mist,
.hero__glow {
  position: absolute;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.8;
}

.hero__mist {
  width: 240px;
  height: 320px;
  top: 26%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.hero__mist--left {
  left: 2%;
}

.hero__mist--right {
  right: 4%;
}

.hero__glow {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 177, 64, 0.42), rgba(255, 177, 64, 0));
}

.hero__glow--one {
  left: 8%;
  bottom: 18%;
}

.hero__glow--two {
  right: 12%;
  bottom: 14%;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(7, 11, 10, 0.9), rgba(7, 11, 10, 0.62));
  border-bottom: 1px solid rgba(248, 210, 150, 0.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.94rem;
  color: var(--muted);
  border: 1px solid rgba(248, 210, 150, 0.12);
  border-radius: 999px;
  background: rgba(8, 12, 12, 0.22);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.topbar a:hover {
  color: var(--text);
  background: rgba(255, 224, 172, 0.08);
  border-color: rgba(248, 210, 150, 0.24);
  transform: translateY(-1px);
}

.hero__inner {
  width: min(840px, 100%);
  margin: auto;
  padding: 48px 28px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 13, 12, 0.7), rgba(8, 13, 12, 0.54)),
    radial-gradient(circle at top, rgba(255, 203, 126, 0.1), transparent 55%);
  border: 1px solid rgba(239, 195, 106, 0.22);
  border-radius: 32px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 236, 199, 0.12);
  backdrop-filter: blur(10px);
}

.hero__eyebrow,
.section-heading span {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(243, 213, 167, 0.76);
}

.hero h1,
.section-heading h2,
.product-card h3,
.quote-card p,
.contact-card dd {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7.6rem);
  line-height: 0.9;
  font-weight: 600;
  color: #ffd8a0;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

.hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(520px, 100%);
  margin: 22px auto 24px;
}

.hero__ornament span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(239, 195, 106, 0.75), transparent);
}

.hero__ornament i {
  width: 44px;
  height: 18px;
  position: relative;
}

.hero__ornament i::before,
.hero__ornament i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(239, 195, 106, 0.88);
  border-radius: 100% 100% 0 0;
}

.hero__ornament i::after {
  inset: 8px 10px 0;
}

.hero__lead {
  width: min(650px, 100%);
  margin: 0 auto 28px;
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  color: rgba(252, 241, 221, 0.92);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero__benefits li {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(244, 206, 143, 0.16);
  background: rgba(15, 18, 15, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 230, 188, 0.08);
  backdrop-filter: blur(10px);
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.ritual-button {
  --button-border: rgba(236, 196, 116, 0.78);
  --button-highlight: rgba(255, 233, 189, 0.26);
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 186px;
  padding: 16px 30px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1;
  border-radius: 10px;
  border: 1px solid var(--button-border);
  box-shadow:
    inset 0 1px 0 var(--button-highlight),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 14px 28px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  isolation: isolate;
}

.ritual-button::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 225, 174, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.ritual-button--gold {
  color: #4a2809;
  background:
    linear-gradient(180deg, rgba(255, 217, 125, 0.98), rgba(221, 159, 53, 0.94));
}

.ritual-button--dark {
  color: #f3ddbe;
  background:
    linear-gradient(180deg, rgba(49, 35, 33, 0.94), rgba(27, 19, 18, 0.96));
}

.ritual-button:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 215, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 18px 32px rgba(0, 0, 0, 0.34);
  filter: brightness(1.05);
}

.ritual-button:active {
  transform: translateY(1px);
}

main {
  padding: 42px 0 32px;
}

section {
  margin-bottom: 34px;
}

.panel,
.showcase__frame,
.product-card,
.gallery-card,
.quote-card,
.contact,
.footer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 19, 16, 0.82), rgba(10, 12, 10, 0.92));
  box-shadow: var(--shadow);
}

.panel,
.contact,
.footer {
  border-radius: var(--radius);
}

.panel,
.catalog,
.gallery,
.showcase {
  padding: 34px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading--center {
  text-align: center;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.94;
  font-weight: 600;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.intro__text {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(39, 28, 18, 0.44), rgba(14, 16, 14, 0.72));
  border: 1px solid rgba(231, 183, 103, 0.18);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 600;
}

.feature-card p,
.service-grid p,
.contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.showcase__frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.showcase__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.88);
}

.showcase__caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(7, 10, 9, 0.68);
  backdrop-filter: blur(10px);
}

.showcase__caption strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.showcase__caption p {
  margin: 0;
  color: var(--muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  padding: 24px;
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(239, 195, 106, 0.38);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
  outline: none;
}

.product-card--accent {
  background:
    linear-gradient(180deg, rgba(56, 35, 12, 0.56), rgba(11, 11, 9, 0.94)),
    url("images/logo-small.png") right -10px bottom -20px / 170px auto no-repeat;
}

.product-card--wide {
  grid-column: span 2;
}

.product-card h3 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 600;
}

.product-card__desc {
  margin: 10px 0 18px;
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  display: grid;
  gap: 6px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(235, 191, 112, 0.14);
}

.product-card li strong,
.service-grid strong,
.contact-card dt {
  font-weight: 600;
  color: #f7d69c;
}

.product-card li span {
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 212, 141, 0.04);
  border: 1px solid rgba(238, 198, 122, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 24px;
  min-height: 260px;
}

.gallery-card--large {
  grid-row: span 2;
  min-height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.9);
  transition: transform 240ms ease, filter 240ms ease;
}

.gallery-card:hover img {
  transform: scale(1.025);
  filter: brightness(0.96) saturate(0.98);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote-card {
  padding: 24px;
  border-radius: 24px;
}

.quote-card p {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.quote-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 34px;
}

.contact__content {
  align-self: center;
}

.contact__actions {
  margin-top: 22px;
}

.contact-card {
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(42, 30, 18, 0.35), rgba(10, 12, 10, 0.88));
  border: 1px solid rgba(231, 183, 103, 0.18);
}

.contact-card img {
  width: min(100%, 280px);
  margin: 0 auto 18px;
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-card div {
  padding-top: 14px;
  border-top: 1px solid rgba(235, 191, 112, 0.14);
}

.contact-card dt {
  margin-bottom: 6px;
}

.contact-card dd {
  margin: 0;
  font-size: 1.55rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  margin-bottom: 28px;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer a {
  color: #f7d69c;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 1080px) {
  .catalog-grid,
  .quotes,
  .gallery-grid,
  .intro__grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-card--wide,
  .gallery-card--large {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 760px) {
  .hero,
  main,
  .footer {
    width: min(calc(100% - 20px), var(--content));
  }

  .hero {
    width: 100%;
    min-height: auto;
    display: block;
    padding-top: 92px;
    padding-bottom: 32px;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero__mist,
  .hero__glow {
    display: none;
  }

  .topbar {
    gap: 10px;
    padding: 12px;
    flex-wrap: wrap;
  }

  .hero__inner {
    width: 100%;
    padding: 56px 18px;
    padding-bottom: 56px;
    margin: 0;
    border-radius: 26px;
  }

  .hero__lead {
    font-size: 1.06rem;
  }

  .hero__benefits li {
    width: 100%;
  }

  .topbar a {
    flex: 1 1 calc(50% - 10px);
    min-width: 136px;
  }

  .ritual-button {
    width: min(100%, 280px);
    min-width: 0;
    font-size: 1.9rem;
  }

  .panel,
  .catalog,
  .gallery,
  .showcase,
  .contact {
    padding: 22px;
  }

  .showcase__caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .ritual-button,
  .gallery-card img {
    transition: none;
  }
}
