/* Медальон — стирка натуральных ковров. Крем, бордо, золото. */
:root {
  --cream: #F6EFE3;
  --cream2: #EFE4D2;
  --paper: #FBF7F0;
  --wine: #6B1E2A;
  --wine2: #4E1520;
  --gold: #B8923A;
  --gold2: #8C6A22;
  --ink: #2A1A17;
  --mut: #6E5A52;
  --line: rgba(107, 30, 42, .18);
  --ok: #2F6B45;
  --bad: #A3261B;
  --ff-h: 'Cormorant Garamond', "Cormorant Garamond fb", 'Times New Roman', serif;
  --ff: 'Jost', "Jost fb", 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--ff); overflow-x: hidden; }
a { color: var(--wine); }
svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: var(--cream); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 36px; } }

h1, h2, h3 { font-family: var(--ff-h); font-weight: 600; margin: 0; color: var(--wine2); }
h2 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; }
h3 { font-size: 28px; line-height: 1.15; }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 110px 0; } }
.label { font: 500 12px/1 var(--ff); letter-spacing: .28em; text-transform: uppercase; color: var(--gold2); margin: 0 0 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; font: 500 15px/1 var(--ff); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; position: relative; }
.btn--wine { background: var(--wine); color: var(--cream); box-shadow: inset 0 0 0 1px var(--wine), inset 0 0 0 4px var(--wine), inset 0 0 0 5px rgba(184, 146, 58, .8); }
.btn--wine:hover { background: var(--wine2); box-shadow: inset 0 0 0 1px var(--wine2), inset 0 0 0 4px var(--wine2), inset 0 0 0 5px var(--gold); }
.btn--wine:disabled { opacity: .45; cursor: not-allowed; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 239, 227, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wine2); }
.logo__mark { width: 42px; height: 42px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font: 700 27px/1 var(--ff-h); letter-spacing: .02em; }
.logo__txt small { font: 500 10.5px/1.4 var(--ff); letter-spacing: .2em; text-transform: uppercase; color: var(--gold2); margin-top: 4px; }
.nav { display: none; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; letter-spacing: .08em; position: relative; }
.nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -4px; height: 1px; background: var(--gold); transition: .3s; }
.nav a:hover::after { left: 0; right: 0; }
.top__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--wine); text-decoration: none; font-weight: 500; white-space: nowrap; }
.top__phone svg { width: 18px; height: 18px; }
@media (max-width: 559px) { .top__phone { width: 44px; justify-content: center; background: var(--wine); color: var(--cream); border-radius: 50%; } .top__phone span { display: none; } }
@media (min-width: 1040px) { .nav { display: flex; } }

/* hero */
.hero { padding: 28px 0 56px; }
.hero__frame { position: relative; display: grid; gap: 8px; padding: 34px 22px 38px; background: var(--paper); border: 1px solid var(--gold); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line); overflow: hidden; }
.hero__frame::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(184, 146, 58, .35); pointer-events: none; }
.hero__pre { font: 500 12px/1.4 var(--ff); letter-spacing: .26em; text-transform: uppercase; color: var(--gold2); margin: 0 0 18px; }
.hero h1 { font-size: clamp(42px, 10.5vw, 88px); line-height: .98; font-weight: 600; letter-spacing: -.01em; margin-bottom: 24px; }
.hero h1 span { display: block; font-style: italic; font-weight: 500; color: var(--gold2); }
.lead { font-size: 18px; color: var(--mut); max-width: 560px; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-bottom: 34px; }
.hero__phone { font: 600 clamp(24px, 5.6vw, 30px)/1 var(--ff-h); color: var(--wine2); text-decoration: none; border-bottom: 1px solid var(--gold); padding: 8px 0; }
.hero__meta { display: grid; grid-template-columns: repeat(3, auto); gap: 16px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__meta dt { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.hero__meta dd { margin: 4px 0 0; font: 600 21px/1.2 var(--ff-h); color: var(--wine2); }
.hero__art { position: relative; order: -1; width: 64%; max-width: 280px; aspect-ratio: 1; margin: 0 auto 10px; color: var(--wine); }
.med { position: absolute; inset: 0; width: 100%; height: 100%; }
.med--spin { color: var(--wine); animation: spin 120s linear infinite; }
.med--inner { color: var(--gold); transform: scale(.52) rotate(45deg); opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .hero { padding: 48px 0 80px; }
  .hero__frame { grid-template-columns: 1.25fr .9fr; align-items: center; padding: 64px 60px; gap: 40px; }
  .hero__art { order: 0; width: 100%; max-width: 440px; margin: 0; }
}

.border-strip { height: 34px; background-color: var(--wine); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='34' viewBox='0 0 48 34'%3E%3Cpath d='M0 3h48M0 31h48' stroke='%23B8923A' stroke-width='1.5'/%3E%3Cpath d='M24 8 33 17 24 26 15 17Z' fill='none' stroke='%23B8923A' stroke-width='1.5'/%3E%3Ccircle cx='24' cy='17' r='2.2' fill='%23F6EFE3'/%3E%3Cpath d='M0 8 9 17 0 26M48 8 39 17 48 26' fill='none' stroke='%23F6EFE3' stroke-opacity='.55' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: center; }
.border-strip--thin { height: 34px; }

/* section heads */
.shead { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.ornament { margin: 0 auto 14px; width: 150px; display: flex; align-items: center; gap: 12px; color: var(--gold); }
.ornament::before, .ornament::after { content: ''; flex: 1; height: 1px; background: currentColor; }
.ornament svg { width: 26px; height: 26px; }
.shead__sub { color: var(--mut); margin: 16px auto 0; }

/* materials */
.mats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mat { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.mat__n { grid-row: span 2; font: italic 600 40px/1 var(--ff-h); color: var(--gold); padding-top: 2px; }
.mat h3 { font-size: 30px; }
.mat p { margin: 6px 0 0; color: var(--mut); }
@media (min-width: 900px) {
  .mat { grid-template-columns: 110px 260px 1fr; align-items: baseline; padding: 34px 20px; }
  .mat__n { grid-row: auto; font-size: 56px; }
  .mat p { margin: 0; }
  .mat:hover { background: var(--paper); }
}

/* essay */
.why { background: var(--wine); color: var(--cream); position: relative; overflow: hidden; }
.why h2, .why h3 { color: var(--cream); }
.why .label { color: var(--gold); }
.why__in { display: grid; gap: 30px; position: relative; }
.why__gul { width: 260px; height: 260px; color: var(--gold); opacity: .35; margin-top: 30px; display: none; animation: spin 180s linear infinite reverse; }
@media (min-width: 960px) { .why__in { grid-template-columns: .9fr 1.4fr; gap: 72px; } .why__head { position: sticky; top: 110px; align-self: start; } .why__gul { display: block; } }
.why__body p { margin: 0 0 18px; color: #EADCCB; }
.why__body h3 { font-size: 32px; margin: 42px 0 14px; color: #F3D9A0; }
.dropcap::first-letter { float: left; font: 600 88px/.8 var(--ff-h); color: var(--gold); padding: 8px 12px 0 0; }
.pull { margin: 34px 0; padding: 26px 0; border-top: 1px solid rgba(184, 146, 58, .6); border-bottom: 1px solid rgba(184, 146, 58, .6); font: italic 500 clamp(24px, 4vw, 32px)/1.3 var(--ff-h); color: var(--cream); text-align: center; }

/* process */
.proc { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: p; }
@media (min-width: 700px) { .proc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .proc { grid-template-columns: repeat(5, 1fr); } }
.proc li { position: relative; padding: 28px 20px 24px; background: var(--paper); border: 1px solid var(--line); text-align: center; transition: transform .4s, border-color .4s; }
.proc li:hover { transform: translateY(-4px); border-color: var(--gold); }
.proc__n { display: block; font: italic 600 44px/1 var(--ff-h); color: var(--gold); margin-bottom: 10px; }
.proc b { display: block; font: 600 22px/1.2 var(--ff-h); color: var(--wine2); margin-bottom: 8px; }
.proc span.t { color: var(--mut); font-size: 15px; line-height: 1.55; display: block; }

/* calculator */
.calc { background: linear-gradient(var(--cream2), var(--cream2)); }
.calc__card { background: var(--paper); border: 1px solid var(--gold); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 40px 80px -40px rgba(78, 21, 32, .35); padding: 30px 18px; }
@media (min-width: 900px) { .calc__card { padding: 56px; } }
.calc__head { text-align: center; margin-bottom: 34px; }
.calc__head h2 { margin-bottom: 22px; }
.seg { display: inline-flex; border: 1px solid var(--wine); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--wine); transition: .25s; }
.seg input:checked + span { background: var(--wine); color: var(--cream); }
.seg__n { font-style: normal; letter-spacing: 0; margin-left: 6px; opacity: .8; }
.seg__n::before { content: '· '; }
.receipt__lines li.grp { font: italic 600 19px var(--ff-h); color: var(--gold2); padding: 12px 0 2px; }
.receipt__lines li.grp:first-child { padding-top: 0; }
.receipt__lines li.grp::after, .receipt__lines li.sub::after { display: none; }
.receipt__lines li.sub { font-size: 13px; color: var(--mut); padding: 2px 0 4px; }
.seg input:focus-visible + span { outline: 2px solid var(--gold2); outline-offset: 2px; }
.calc__grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .calc__grid { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; } .receipt { position: sticky; top: 100px; } }

.rug { position: relative; display: grid; gap: 16px; padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.rug:first-child { padding-top: 0; }
.rug__top { display: flex; align-items: baseline; justify-content: space-between; }
.rug__top b { font: italic 600 26px var(--ff-h); color: var(--wine2); }
.rug__del { background: none; border: 0; color: var(--mut); font: 14px var(--ff); cursor: pointer; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.mats-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mats-pick label { position: relative; }
.mats-pick input { position: absolute; opacity: 0; }
.mats-pick span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; height: 100%; padding: 10px 12px; border: 1px solid var(--line); cursor: pointer; font-size: 14px; line-height: 1.25; transition: .25s; background: #fff; }
.mats-pick span small { color: var(--mut); font-size: 12.5px; margin-top: 3px; }
.mats-pick input:checked + span { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); background: #FFF9F1; }
.mats-pick input:checked + span b { color: var(--wine); }
.mats-pick input:focus-visible + span { outline: 2px solid var(--gold2); outline-offset: 2px; }
.rug__dims { display: grid; grid-template-columns: 1fr 1fr 110px; gap: 12px; align-items: end; }
.rug__prev { width: 110px; height: 90px; display: grid; place-items: center; }
.rug__prev svg { overflow: visible; }
.rug__opts { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.field { display: block; }
.field > span, .field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(107, 30, 42, .3); border-radius: 0; background: #fff; color: var(--ink); font: 17px var(--ff); }
input:focus, select:focus, textarea:focus { border-color: var(--wine); outline: 0; box-shadow: 0 0 0 3px rgba(184, 146, 58, .3); }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 15.5px; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--wine); }
.check em { font-style: normal; color: var(--gold2); }
.addrug { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 12px; background: none; border: 0; color: var(--wine); font: 500 15px var(--ff); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.addrug svg { width: 22px; height: 22px; color: var(--gold); transition: transform .5s; }
.addrug:hover svg { transform: rotate(90deg); }
.calc__city { display: grid; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 600px) { .calc__city { grid-template-columns: 1fr 1fr; align-items: end; } }
.calc__hint { color: var(--mut); margin: 0 0 16px; }
.furn { display: grid; gap: 0; }
.furn__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dotted rgba(107, 30, 42, .3); }
.furn__row span { flex: 1; font-size: 15.5px; }
.furn__row small { color: var(--mut); white-space: nowrap; }
.furn__row input { width: 76px; min-height: 44px; text-align: center; padding: 8px; }
.furn__g { font: italic 600 22px var(--ff-h); color: var(--gold2); margin: 18px 0 2px; }
.furn__extras { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 600px) { .furn__extras { grid-template-columns: 1fr 1fr; align-items: end; } }

.receipt { background: #fff; padding: 28px 24px; border: 1px solid var(--line); position: relative; }
.receipt::before, .receipt::after { content: ''; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 8px 0, var(--paper) 6px, transparent 7px) repeat-x; background-size: 16px 10px; }
.receipt::before { top: -1px; }
.receipt::after { bottom: -1px; transform: rotate(180deg); }
.receipt__title { font: italic 600 34px/1 var(--ff-h); color: var(--wine2); margin: 6px 0 16px; text-align: center; }
.receipt__lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: 15px; }
.receipt__lines li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.receipt__lines li::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted rgba(107, 30, 42, .45); transform: translateY(-4px); }
.receipt__lines li span:last-child { order: 2; white-space: nowrap; font-weight: 500; }
.receipt__lines .empty { color: var(--mut); }
.receipt__lines .empty::after { display: none; }
.receipt__row { font-size: 14px; color: var(--ink); margin: 4px 0; }
.receipt__row--muted { color: var(--mut); }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 20px; padding-top: 16px; border-top: 2px double var(--wine); }
.receipt__total span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }
.receipt__total b { font: 700 clamp(36px, 8vw, 46px)/1 var(--ff-h); color: var(--wine); }
.receipt__total b.flash { animation: flash .6s ease; }
@keyframes flash { 30% { color: var(--gold); } }
.receipt .btn { width: 100%; margin-bottom: 10px; }
.receipt__note { font-size: 13px; color: var(--mut); margin: 6px 0 0; text-align: center; }
.share-l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); text-align: center; margin: 4px 0 8px; }
.share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.share__b { min-height: 46px; padding: 0 6px; font: 500 13px/1 var(--ff); letter-spacing: .06em; color: var(--wine); background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--wine); cursor: pointer; transition: background .3s, color .3s; }
.share__b:hover:not(:disabled) { background: var(--wine); color: var(--cream); }
.share__b:disabled { opacity: .45; cursor: not-allowed; }
.rating a { color: var(--wine); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.rating a:hover { color: var(--gold); }
.mat p a { color: var(--wine); }

/* modal */
.modal { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--gold); background: var(--paper); color: var(--ink); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 40px 100px rgba(0, 0, 0, .4); }
.modal::backdrop { background: rgba(42, 12, 18, .6); backdrop-filter: blur(3px); }
.modal .form { padding: 34px 22px 26px; position: relative; }
.modal__x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 30px; color: var(--wine); cursor: pointer; }
.modal__title { font-size: 34px; margin-bottom: 10px; }
.modal__quote { white-space: pre-wrap; font: 14px/1.6 var(--ff); background: #fff; border-left: 3px solid var(--gold); padding: 12px 14px; margin: 0 0 6px; max-height: 180px; overflow: auto; }

/* forms */
.form { display: grid; gap: 14px; }
.form__title { font-size: 32px; margin-bottom: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.state { display: none; margin: 0; padding: 12px 14px; font-size: 15px; border-left: 3px solid; }
.form[data-state="sending"] .state--sending { display: block; color: var(--mut); }
.form[data-state="ok"] .state--ok { display: block; color: var(--ok); background: rgba(47, 107, 69, .08); }
.form[data-state="bad-phone"] .state--bad-phone, .form[data-state="error"] .state--error { display: block; color: var(--bad); background: rgba(163, 38, 27, .07); }
.form[data-state="bad-phone"] input[name="phone"] { border-color: var(--bad); }
.form[data-state="sending"] [type="submit"] { opacity: .6; pointer-events: none; }

/* prices */
.menu { display: grid; gap: 40px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 900px) { .menu { grid-template-columns: 1fr 1fr; gap: 70px; } }
.menu h3 { font-size: 36px; text-align: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--gold); }
.leaders { list-style: none; padding: 0; margin: 0; }
.leaders li { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; font-size: 16px; }
.leaders li::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted rgba(107, 30, 42, .45); transform: translateY(-5px); min-width: 20px; }
.leaders li span:first-child { max-width: 72%; }
.leaders li span:last-child { order: 2; white-space: nowrap; font: 600 20px/1 var(--ff-h); color: var(--wine); }
.leaders li.star span:first-child { font-weight: 600; color: var(--wine2); }
.leaders li.grp { font: italic 600 21px var(--ff-h); color: var(--gold2); padding-top: 18px; }
.leaders li.grp::after { display: none; }
.menu__note { font-size: 14px; color: var(--mut); margin: 16px 0 0; font-style: italic; }

/* reviews */
.reviews { background: var(--paper); }
.quotes { display: grid; gap: 28px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.quote { margin: 0; text-align: center; padding: 10px 6px; }
.quote__mark { font: 600 80px/.6 var(--ff-h); color: var(--gold); display: block; height: 40px; }
.quote blockquote { margin: 0 0 16px; font: italic 500 22px/1.45 var(--ff-h); color: var(--ink); }
.quote figcaption { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); }
.quote__stars { color: var(--gold); letter-spacing: 4px; font-size: 14px; }

/* faq */
.faq__in { display: grid; gap: 30px; max-width: 900px; }
.faq__in h2 { text-align: center; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; min-height: 44px; font: 600 23px/1.25 var(--ff-h); color: var(--wine2); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; flex: 0 0 14px; height: 14px; border: 1.5px solid var(--gold); transform: rotate(45deg); transition: .35s; }
.faq__list details[open] summary::after { background: var(--gold); transform: rotate(225deg); }
.faq__list details p { margin: 0 0 22px; color: var(--mut); }
.faq { padding-top: 40px; }
.faq .wrap { display: flex; justify-content: center; }

/* where */
.where { background: var(--cream2); }
.where__in { display: grid; gap: 30px; align-items: center; }
@media (min-width: 960px) { .where__in { grid-template-columns: 1fr 1fr; gap: 60px; } }
.where h2 { margin-bottom: 18px; }
.where p { color: var(--mut); }
.towns { list-style: none; padding: 0; margin: 20px 0 0; columns: 2; column-gap: 24px; }
.towns li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; display: flex; justify-content: space-between; gap: 8px; font-size: 16px; }
.towns li small { color: var(--mut); }
.towns li.main { font-weight: 600; color: var(--wine); }
.map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--gold); box-shadow: 0 0 0 6px var(--cream2), 0 0 0 7px var(--line); background: var(--paper); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }

/* contact */
.contact__frame { display: grid; gap: 36px; padding: 32px 20px; border: 1px solid var(--gold); box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--line); background: var(--paper); }
@media (min-width: 960px) { .contact__frame { grid-template-columns: 1fr 1fr; gap: 70px; padding: 60px; } }
.contact__phone { display: inline-block; margin: 18px 0 16px; font: 700 clamp(32px, 7vw, 48px)/1 var(--ff-h); color: var(--wine); text-decoration: none; }
.contact__msgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.contact__msgs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; letter-spacing: .06em; transition: .25s; }
.contact__msgs a:hover { border-color: var(--wine); background: var(--wine); color: var(--cream); }
.contact__dl { display: grid; grid-template-columns: 70px 1fr; gap: 10px 16px; margin: 0; }
.contact__dl dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold2); padding-top: 4px; }
.contact__dl dd { margin: 0; }

/* footer */
.foot { background: var(--wine2); color: #E6D6C4; font-size: 14.5px; padding-bottom: 96px; }
@media (min-width: 900px) { .foot { padding-bottom: 0; } }
.foot__in { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.foot__brand b { display: block; font: 700 28px/1 var(--ff-h); color: var(--cream); margin-bottom: 6px; }
.foot__col { display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--cream); }
.foot__soc { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__soc a { color: #F3D9A0; }

/* dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.3fr 1fr 1fr; background: var(--wine2); border-top: 2px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); }
.dock a { display: flex; align-items: center; justify-content: center; min-height: 58px; color: var(--cream); text-decoration: none; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.dock__call { background: var(--gold); color: var(--wine2) !important; font-weight: 600; }
.dock__msg + .dock__msg { border-left: 1px solid rgba(184, 146, 58, .4); }
@media (min-width: 900px) { .dock { display: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* правки после просмотра */
.faq .wrap.faq__in { display: block; max-width: 860px; }
.faq__in h2 { margin-bottom: 30px; }
@media (max-width: 699px) {
  .proc li { display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; text-align: left; padding: 18px 16px; }
  .proc__n { grid-row: span 2; font-size: 36px; margin: 0; }
  .proc b { margin-bottom: 2px; }
}
@media (max-width: 480px) { .btn { padding: 0 18px; letter-spacing: .08em; font-size: 14px; } }
.askcard { margin-top: 30px; display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; padding: 22px; background: var(--paper); border: 1px solid var(--gold); box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px var(--line); }
.askcard svg { width: 84px; height: 84px; color: var(--wine); }
.askcard b { display: block; font: 600 24px/1.15 var(--ff-h); color: var(--wine2); margin-bottom: 6px; }
.askcard p { margin: 0 0 10px; font-size: 15px; color: var(--mut); }
.askcard a { font-weight: 500; }

/* perf: off-screen sections */
@supports (content-visibility:auto){html:not(.cv-off) main>section~section{content-visibility:auto;contain-intrinsic-size:auto 1000px}}

/* perf: metric-matched local fallbacks (less layout shift while web fonts load) */
@font-face{font-family:"Cormorant Garamond fb";src:local("Times New Roman");font-weight:1 550;size-adjust:92.76%;ascent-override:99.18%;descent-override:31.26%;line-gap-override:0%;unicode-range:U+0020-007E,U+00A0-00FF,U+0401-045F,U+2013-2014,U+2018-201E,U+2022,U+2026,U+2116}
@font-face{font-family:"Cormorant Garamond fb";src:local("Times New Roman Bold");font-weight:551 1000;size-adjust:89.06%;ascent-override:103.30%;descent-override:32.56%;line-gap-override:0%;unicode-range:U+0020-007E,U+00A0-00FF,U+0401-045F,U+2013-2014,U+2018-201E,U+2022,U+2026,U+2116}
@font-face{font-family:"Jost fb";src:local("Arial");font-weight:1 550;size-adjust:96.20%;ascent-override:111.23%;descent-override:39.50%;line-gap-override:0%;unicode-range:U+0020-007E,U+00A0-00FF,U+0401-045F,U+2013-2014,U+2018-201E,U+2022,U+2026,U+2116}
@font-face{font-family:"Jost fb";src:local("Arial Bold");font-weight:551 1000;size-adjust:98.17%;ascent-override:109.00%;descent-override:38.71%;line-gap-override:0%;unicode-range:U+0020-007E,U+00A0-00FF,U+0401-045F,U+2013-2014,U+2018-201E,U+2022,U+2026,U+2116}

/* оверлок и самовывоз */
.rug__note { margin: 4px 0 0; font-size: 13.5px; opacity: .75; }
.calc__self-note { grid-column: 1 / -1; margin: 0; font-size: 14px; opacity: .8; }
.check[hidden] { display: none; }
