@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant.woff") format("woff");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --ground: #191a17;
  --panel: #22231e;
  --ink: #f5efe3;
  --muted: #c0beb2;
  --gold: #d8bf90;
  --line: #404039;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  font: 100%/1.5 var(--sans);
  color: var(--ink);
  background: var(--ground);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 500; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #ecd19c; outline-offset: 4px; }
button:disabled { opacity: .45; cursor: default; }
[hidden] { display: none !important; }
.skip { position: fixed; top: 6px; left: 6px; z-index: 10; padding: .6rem 1rem; color: var(--ground); background: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(86.5%, 1270px); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.masthead { background: #181915; border-bottom: 1px solid #35352e; }
.topbar, .topbar nav, .nav-actions, .brand, .account-link, .cart-link, .consult-link { display: flex; align-items: center; }
.topbar { min-height: 76px; justify-content: space-between; gap: 2rem; }
.brand { gap: .68rem; font-size: 2.22rem; line-height: 1; letter-spacing: -.045em; }
.brand img { width: 34px; height: 34px; }
.topbar nav { gap: 2.25rem; }
.topbar nav a, .nav-actions a { font-size: .9rem; line-height: 1.3; }
.topbar nav a, .account-link { color: #d2d0c5; }
.topbar nav a:hover, .account-link:hover, .cart-link:hover, .service-name:hover { color: var(--gold); }
.nav-actions { gap: 1.2rem; }
.account-link, .cart-link { gap: .55rem; min-height: 44px; }
.nav-separator { width: 1px; height: 20px; background: var(--line); }
#cart-count { display: grid; place-items: center; height: 21px; min-width: 21px; padding-inline: 4px; border-radius: 50%; background: #35362d; color: var(--gold); font-size: .75rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #1d1e18; border-bottom: 1px solid var(--line); }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 77%; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 17%; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#1d1e18 0%,rgba(29,30,24,.94) 8%,rgba(29,30,24,.31) 37%,transparent 61%); }
.hero-inner { position: relative; min-height: clamp(450px, 35.5vw, 570px); padding-block: 4.7rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { display: flex; align-items: center; gap: .85rem; color: var(--gold); font-size: .77rem; font-weight: 550; letter-spacing: .18em; text-transform: uppercase; }
.rule { width: 32px; height: 1px; background: #a89168; }
h1 { font-size: clamp(6rem, 8.5vw, 9rem); font-weight: 400; letter-spacing: -.058em; line-height: 1.03; margin: .52rem 0 .83rem -.045em; }
.hero-description { color: #d2d1c6; font-size: 1.05rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.7rem; margin-top: 2.05rem; }
.button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; gap: .5rem; padding: .7rem 1.55rem; border-radius: 4px; font-family: var(--sans); font-size: .95rem; font-weight: 550; line-height: 1.4; text-align: center; }
.primary { background: var(--gold); color: #24231d; }
.primary:hover { background: #e6cfa4; }
.secondary { background: transparent; border: 1px solid #686452; }
.secondary:hover, .round:hover, .stepper button:hover:not(:disabled) { background: #35352d; }
.consult-link { gap: .55rem; min-height: 44px; font-size: .91rem; color: #ece7db; }
.consult-link .icon { color: var(--gold); }
.consult-link span { text-decoration: underline; text-decoration-color: #797767; text-underline-offset: .34rem; }
.consult-link:hover span { text-decoration-color: var(--gold); }
.catalog { padding-block: 3rem 3.75rem; scroll-margin-top: 1.4rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.45rem; }
h2 { font-size: clamp(2.8rem, 4vw, 4.2rem); letter-spacing: -.045em; line-height: 1.06; }
.section-heading p, .footer { color: var(--muted); font-size: .87rem; }
.service { border-top: 1px solid var(--line); display: grid; grid-template-columns: 106px minmax(0,1fr) auto 130px; gap: 1.65rem; align-items: center; padding-block: 1.17rem; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-image { width: 106px; height: 76px; border-radius: 3px; overflow: hidden; background: #36332b; }
.service-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.service-image:hover img { transform: scale(1.04); }
.service h3 { font-size: clamp(1.6rem, 2.25vw, 2.15rem); line-height: 1.1; letter-spacing: -.022em; }
.detail-link { display: inline-flex; align-items: center; min-height: 28px; margin-top: .2rem; color: var(--muted); font-size: .84rem; text-decoration: underline; text-decoration-color: #68685c; text-underline-offset: 3px; }
.detail-link:hover { color: var(--gold); }
.service-price { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; letter-spacing: -.035em; white-space: nowrap; }
.service-controls { justify-self: end; }
.add, .stepper { border: 1px solid #635e4e; border-radius: 4px; background: transparent; }
.add { display: flex; justify-content: center; align-items: center; gap: .42rem; min-height: 44px; padding: .48rem .85rem; color: #e3d3b6; font-size: .9rem; }
.add:hover { border-color: var(--gold); background: #303029; }
.add .icon { width: 15px; height: 15px; }
.stepper { display: inline-flex; align-items: center; }
.stepper button { display: grid; place-items: center; width: 38px; min-height: 42px; background: transparent; color: var(--gold); }
.stepper .icon { width: 15px; height: 15px; }
.stepper output { min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0 1.7rem; }
.footer-dot { padding-inline: .25rem; color: #868477; }
.demo-label { display: inline-flex; align-items: center; gap: .5em; font-size: .83rem; color: var(--muted); }
.demo-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.mobile-cart { display: none; }
dialog { width: min(460px, calc(100% - 28px)); max-height: calc(100dvh - 32px); border: 1px solid #555246; border-radius: 9px; padding: 0; background: var(--panel); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(5 6 4 / .76); }
.panel-inner { padding: 1.9rem; position: relative; }
.round { display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.close { position: absolute; top: .9rem; right: .9rem; z-index: 1; background: var(--panel); }
.close .icon, .remove .icon { width: 17px; height: 17px; }
.dialog-title { font-size: 2.55rem; margin: .9rem 1.4rem 1rem 0; }
.panel-copy { color: var(--muted); }
.panel-copy + .panel-copy { margin-top: .7rem; }
.panel-actions { display: grid; gap: .65rem; margin-top: 1.4rem; }
.panel-price { font-family: var(--serif); font-size: 2.2rem; }
.price-hint { color: var(--muted); font-size: .875rem; }
.detail-image { width: 100%; height: 145px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 1.15rem; }
.detail-quantity, .total { display: flex; justify-content: space-between; gap: .8rem; align-items: center; }
.detail-quantity { border-block: 1px solid var(--line); padding-block: .9rem; margin-block: 1.3rem; }
.text-action { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 40px; padding-inline: .15rem; background: transparent; color: var(--gold); font-size: .92rem; }
.text-action:hover { text-decoration: underline; }
.text-action .icon { width: 16px; height: 16px; }
.demo-number { display: block; margin-top: 1rem; }
.code-label { display: block; margin: 1.1rem 0 .4rem; }
.code-input, .share-input { width: 100%; height: 46px; padding-inline: .8rem; border-radius: 4px; border: 1px solid #747260; background: var(--ground); color: var(--ink); }
.code-input { letter-spacing: .24em; }
.hint, .order-date { margin-top: .45rem; color: var(--muted); font-size: .88rem; }
.error { margin-top: .45rem; color: #ffc1ab; }
.cart-item, .order { border-top: 1px solid var(--line); padding-block: .85rem; }
.cart-title { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
.cart-item-tools { display: flex; align-items: center; gap: .6rem; margin-top: .65rem; }
.cart-item-tools strong { margin-left: auto; }
.remove { border-color: transparent; color: var(--muted); }
.total { border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: .8rem; }
.total strong { font-size: 1.25rem; }
.order h3 { font-size: 1.65rem; }
.order ul { margin: .8rem 0; padding-left: 1.2rem; color: var(--muted); }
.order-state { color: var(--gold); font-size: .89rem; }
.message-preview { margin: 1.1rem 0; padding: .85rem 1rem; border-left: 2px solid var(--gold); background: #2d3027; }
.toast { position: fixed; z-index: 2; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); padding: .65rem 1rem; background: var(--ink); color: var(--ground); border-radius: 4px; font-size: .9rem; pointer-events: none; }
.toast:empty, .inline-status:empty { display: none; }
.workspace { max-width: 900px; padding-block: 2.5rem 4rem; }
.workspace h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.workspace h2 { margin: 2rem 0 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.workspace .order { margin-top: 1rem; }
.workspace .order p, .workspace .total { margin-block: .5rem; }
.work-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .7rem; margin-block: 1rem; }
.work-form label { color: var(--muted); font-size: .9rem; }
.work-form input { display: block; min-height: 46px; margin-top: .3rem; padding: .5rem; border-radius: 4px; color: var(--ink); background: var(--ground); border: 1px solid var(--line); }
.inline-status { color: var(--gold); margin-top: .65rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .intro, .hero-image { animation: enter-from-top .65s ease-out both; }
  .hero-actions { animation: enter-from-bottom .5s ease-out both; }
  @keyframes enter-from-top { from { opacity: .15; transform: translateY(-9px); } to { opacity: 1; transform: none; } }
  @keyframes enter-from-bottom { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .service-image img { transition: none; }
  .service-image:hover img { transform: none; }
}
@media (max-width: 1000px) {
  .wrap { width: 89%; }
  .hero-image { width: 76%; }
  .service { grid-template-columns: 86px minmax(0,1fr) auto 114px; gap: 1rem; }
  .service-image { width: 86px; height: 68px; }
  .hero-actions { gap: 1rem; }
}
@media (max-width: 710px) {
  .wrap { width: calc(100% - 40px); }
  .topbar { min-height: 62px; gap: .7rem; }
  .topbar nav { display: none; }
  .brand { font-size: 2rem; gap: .45rem; }
  .brand img { width: 29px; height: 29px; }
  .nav-actions { gap: .65rem; }
  .account-link { width: 40px; justify-content: center; }
  .account-link span { display: none; }
  .hero { background: #1c1d17; }
  .hero-image { inset: 0 0 auto; width: 100%; height: clamp(330px, 85vw, 430px); }
  .hero-image img { object-position: 50% 19%; }
  .hero-image::after { background: linear-gradient(0deg,#1c1d17 0%,rgba(28,29,23,.89) 10%,rgba(28,29,23,.25) 31%,transparent 53%); }
  .hero-inner { min-height: 0; padding-top: clamp(244px, 59vw, 320px); padding-bottom: 1.85rem; }
  .eyebrow { font-size: .75rem; gap: .6rem; letter-spacing: .13em; }
  .rule { width: 23px; }
  h1 { font-size: clamp(4.4rem, 16.5vw, 6.4rem); margin: .35rem 0 .53rem -.04em; line-height: .98; }
  .hero-description { font-size: 1rem; line-height: 1.5; }
  .hero-actions { margin-top: 1.15rem; gap: .6rem 1.2rem; }
  .hero-actions .button { min-height: 46px; }
  .consult-link { font-size: .87rem; }
  .catalog { padding-block: 2.15rem 2.7rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .28rem; margin-bottom: 1.1rem; }
  h2 { font-size: 2.72rem; }
  .service { grid-template-columns: 64px minmax(0,1fr) auto; gap: .25rem .8rem; padding-block: .95rem; }
  .service-image { grid-row: span 2; width: 64px; height: 68px; }
  .service-text { grid-column: 2; grid-row: 1; align-self: end; }
  .service h3 { font-size: 1.47rem; }
  .detail-link { display: none; }
  .service-price { grid-column: 2; grid-row: 2; align-self: start; font: .95rem var(--sans); color: var(--gold); }
  .service-controls { grid-row: 1 / 3; grid-column: 3; }
  .service-controls .add { width: 44px; padding: 0; }
  .service-controls .add span { display: none; }
  .service-controls .stepper button { width: 32px; }
  .service-controls .stepper output { min-width: 1rem; }
  .footer { font-size: .8rem; padding-bottom: 1.2rem; }
  body:has(.mobile-cart:not([hidden])) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-cart { position: fixed; z-index: 1; bottom: max(10px, env(safe-area-inset-bottom)); inset-inline: 12px; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: .8rem 1.2rem; background: #dfc79c; color: #211f19; border-radius: 5px; box-shadow: 0 4px 20px #0006; }
  .mobile-cart span { display: flex; align-items: center; gap: .65rem; }
  .toast { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .panel-inner { padding: 1.55rem 1.25rem; }
}
@media (max-width: 470px) {
  .hero-actions { width: 100%; flex-direction: column; align-items: flex-start; gap: .25rem; }
  .hero-actions .primary { width: 100%; }
  .hero-actions .consult-link { align-self: center; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 28px); }
  .service { grid-template-columns: 46px minmax(0,1fr) auto; column-gap: .55rem; }
  .service-image { width: 46px; height: 57px; }
  .service h3 { font-size: 1.25rem; }
}
