/* Grek Bespoke — styles */
:root {
  --ink: #141414;
  --ink-2: #2a2a2a;
  --muted: #6b665e;
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --line: #d9d2c5;
  --green: #1d3630;
  --green-2: #264640;
  --brass: #a6824f;
  --brass-2: #c3a274;
  --white: #fff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--dark { background: var(--green); color: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--alt { background: var(--paper-2); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 11px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--brass-2); }

.h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; }
.h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; }
.h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.h1 em, .h2 em, .h3 em { font-style: italic; color: var(--brass); }
.section--dark .h2 em, .section--ink .h2 em, .hero .h1 em { color: var(--brass-2); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; color: var(--ink-2); max-width: 46em; }
.section--dark .lead, .section--ink .lead { color: rgba(245, 242, 236, .78); }
.muted { color: var(--muted); }
.quote { font: italic 400 clamp(24px, 2.6vw, 34px)/1.3 var(--serif); }

.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.head--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 64px; }
.head--split > :first-child { display: grid; gap: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn--brass { background: var(--brass); color: var(--white); }
.btn--brass:hover { background: #8f6e40; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--green); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--dark .btn--line:hover, .section--ink .btn--line:hover, .hero .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.link:hover { color: var(--brass); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--paper);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.header__in { display: flex; align-items: center; gap: 32px; height: 84px; }
.header.is-solid, .header--solid { background: rgba(245, 242, 236, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.header.is-solid .header__in, .header--solid .header__in { height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo img { width: 44px; height: 44px; }
.logo .logo__dark { display: none; }
.header.is-solid .logo__light, .header--solid .logo__light { display: none; }
.header.is-solid .logo__dark, .header--solid .logo__dark { display: block; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font: 500 22px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.logo__sub { font: 600 9px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; opacity: .7; margin-top: 6px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 500 13px/1 var(--sans); letter-spacing: .04em; position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--brass); transition: right .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header__phone { font: 600 14px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; }
.header__cta { min-height: 44px; padding: 0 20px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.menu-open .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span { opacity: 0; }
.menu-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 45; background: var(--green); color: var(--paper);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.menu-open .header { background: transparent; color: var(--paper); box-shadow: none; }
.menu-open .header .logo__light { display: block; } .menu-open .header .logo__dark { display: none; }
.mnav nav { display: grid; gap: 6px; }
.mnav nav a { font: 500 32px/1.3 var(--serif); }
.mnav__foot { margin-top: auto; display: grid; gap: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: grayscale(1) contrast(1.05); transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.25) 35%, rgba(10,10,10,.82) 100%); }
.hero__in { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 48px; width: 100%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero__title { display: grid; gap: 28px; max-width: 900px; }
.hero__master { font: 600 11px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brass-2); }
.hero__slogan { font: italic 400 clamp(20px, 2vw, 26px)/1.4 var(--serif); color: rgba(245,242,236,.85); max-width: 32em; }
.hero__price { text-align: right; display: grid; gap: 6px; padding-bottom: 6px; }
.hero__price span { font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.hero__price strong { font: 500 clamp(30px, 3vw, 44px)/1 var(--serif); }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(245,242,236,.22); margin-top: 56px; }
.stats > div { padding: 24px 24px 0 0; display: grid; gap: 6px; }
.stats > div + div { padding-left: 24px; border-left: 1px solid rgba(245,242,236,.22); }
.stats strong { font: 500 clamp(32px, 3.4vw, 48px)/1 var(--serif); }
.stats span { font-size: 13px; color: rgba(245,242,236,.7); line-height: 1.4; }

/* Page hero (inner pages) */
.phero { padding: 150px 0 var(--section); background: var(--paper); }
.phero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.phero__text { display: grid; gap: 28px; align-content: center; }
.phero__media { position: relative; }
.phero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.phero__badge { position: absolute; left: -28px; bottom: 32px; background: var(--green); color: var(--paper); padding: 22px 26px; display: grid; gap: 6px; }
.phero__badge span { font: 600 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); }
.phero__badge strong { font: 500 34px/1 var(--serif); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--brass); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Media frame ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.bw img { filter: grayscale(1); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__media .frame { aspect-ratio: 4 / 5; }
.about__media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--brass); z-index: -1; }
.about__text { display: grid; gap: 28px; }
.about__sign { font: italic 400 40px/1 var(--serif); color: var(--brass); }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts strong { font: 500 26px/1.1 var(--serif); }
.facts span { color: var(--ink-2); font-size: 15px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 16px; align-content: start; transition: background .4s var(--ease); }
.feature:hover { background: var(--white); }
.feature__n { font: italic 400 22px/1 var(--serif); color: var(--brass); }
.feature p { color: var(--ink-2); font-size: 15px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { display: grid; grid-template-rows: auto 1fr; background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(20,20,20,.35); }
.service .frame { aspect-ratio: 3 / 4; }
.service__body { padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; }
.service__price { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.service p { font-size: 14px; color: var(--muted); }
.service .link { margin-top: 8px; justify-self: start; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 36px 28px 40px 0; border-top: 1px solid rgba(245,242,236,.2); display: grid; gap: 14px; align-content: start; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-2); }
.step__n { font: 400 54px/1 var(--serif); color: rgba(245,242,236,.22); }
.step__time { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); }
.step p { color: rgba(245,242,236,.72); font-size: 14px; }
.section--dark .h3 { color: var(--paper); }
.process-foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; padding-top: 40px; border-top: 1px solid rgba(245,242,236,.2); }

/* ---------- Craft (3 photos) ---------- */
.craft { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.craft figure { margin: 0; display: grid; gap: 18px; }
.craft .frame { aspect-ratio: 4 / 3; }
.craft figcaption { font-size: 15px; color: var(--ink-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); }

/* ---------- Fabrics ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__text { display: grid; gap: 28px; }
.split .frame { aspect-ratio: 4 / 5; }
.chips { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.chips li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.chips li:nth-child(odd) { border-right: 1px solid var(--line); }
.chips li:nth-child(even) { padding-left: 20px; }
.chips strong { font: 500 22px/1.2 var(--serif); }
.chips span { font-size: 13px; color: var(--muted); }

/* ---------- Gift ---------- */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.gift__text { display: grid; gap: 28px; }
.cards { display: grid; gap: 14px; }
.gcard {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: 26px 30px; border: 1px solid rgba(195,162,116,.45);
  background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.gcard:hover { border-color: var(--brass-2); background: rgba(255,255,255,.06); }
.gcard__sum { font: 500 clamp(30px, 3vw, 40px)/1 var(--serif); }
.gcard__note { font-size: 13px; color: rgba(245,242,236,.65); margin-top: 6px; }
.gcard__mono { width: 54px; height: 54px; opacity: .55; }
.terms { display: grid; gap: 12px; font-size: 14px; color: rgba(245,242,236,.75); }
.terms li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.terms li::before { content: ""; width: 10px; height: 1px; background: var(--brass-2); margin-top: 11px; }

/* ---------- Present (accessory) ---------- */
.present { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: clamp(32px, 4vw, 56px); background: var(--white); border: 1px solid var(--line); }
.present__icon { width: 88px; height: 88px; color: var(--brass); }
.present__text { display: grid; gap: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 110px; display: grid; gap: 24px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font: 500 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 28px/1 var(--sans); color: var(--brass); transition: transform .3s var(--ease); flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 48px 28px 0; color: var(--ink-2); }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); }
.contacts__info { padding: clamp(32px, 5vw, 72px); display: grid; gap: 32px; align-content: start; }
.clist { display: grid; gap: 22px; }
.clist div { display: grid; gap: 4px; }
.clist dt, .clabel { font: 600 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.clist dd { margin: 0; font: 500 22px/1.35 var(--serif); }
.clist dd a:hover { color: var(--brass); }
.clist small { display: block; font: 400 14px/1.5 var(--sans); color: var(--muted); margin-top: 2px; }
.map { min-height: 460px; background: var(--paper-2); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.msg { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); font: 600 12px/1 var(--sans); letter-spacing: .08em; transition: border-color .3s, background .3s; }
.msg:hover { border-color: var(--ink); background: var(--paper); }
.msg svg { width: 18px; height: 18px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 600 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; font: 400 17px/1.4 var(--sans); color: var(--ink); border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a6824f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brass); }
.form__note { font-size: 12px; color: var(--muted); }
.form__ok { display: none; padding: 16px 18px; background: var(--paper); border-left: 2px solid var(--brass); font-size: 15px; }
.form.is-sent .form__ok { display: block; }
.section--dark .field label, .modal--dark .field label { color: rgba(245,242,236,.6); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .32; }
.cta__in { position: relative; padding: clamp(80px, 11vw, 150px) 0; display: grid; gap: 28px; justify-items: center; text-align: center; }

/* ---------- Text blocks (inner pages) ---------- */
.prose { display: grid; gap: 20px; font-size: 17px; color: var(--ink-2); max-width: 720px; }
.prose h3 { font: 500 28px/1.2 var(--serif); color: var(--ink); margin-top: 16px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--white); padding: 36px 32px; display: grid; gap: 14px; align-content: start; border-top: 2px solid var(--brass); }
.tile p { font-size: 15px; color: var(--ink-2); }
.tile__tag { font: 600 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; font-size: 16px; }
.checks li::before { content: ""; width: 18px; height: 10px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); margin-top: 4px; }
.price-table { border-top: 1px solid var(--line); }
.price-table > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.price-table strong { font: 500 24px/1.2 var(--serif); }
.price-table span { font: 500 22px/1.2 var(--serif); color: var(--brass); white-space: nowrap; }
.price-table small { display: block; font: 400 14px/1.5 var(--sans); color: var(--muted); margin-top: 4px; }
.msteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mstep { padding-top: 22px; border-top: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.mstep b { font: italic 400 20px/1 var(--serif); color: var(--brass); }
.mstep p { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(245,242,236,.7); padding: 80px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(245,242,236,.14); }
.footer .logo { color: var(--paper); }
.footer h4 { font: 600 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 20px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--paper); }
.footer__about { display: grid; gap: 24px; align-content: start; max-width: 320px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 12px; color: rgba(245,242,236,.45); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__bg { position: absolute; inset: 0; background: rgba(10,10,10,.7); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--paper); padding: clamp(28px, 5vw, 52px); display: grid; gap: 24px; transform: translateY(20px); transition: transform .4s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; background: none; font: 300 30px/1 var(--sans); }

/* Floating messenger button (mobile) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--paper); place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.fab svg { width: 26px; height: 26px; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .header__phone { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__in { height: 72px; }
  .about, .split, .gift, .faq, .contacts, .phero__grid, .cols-2, .head--split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .about__media { max-width: 520px; }
  .faq__head { position: static; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .craft, .tiles { grid-template-columns: 1fr 1fr; }
  .msteps { grid-template-columns: 1fr 1fr; }
  .present { grid-template-columns: auto 1fr; }
  .present .btn { grid-column: 1 / -1; justify-self: start; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__price { text-align: left; }
  .phero { padding-top: 112px; }
  .phero__badge { left: 16px; }
  .fab { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .stats > div { padding: 18px 12px 18px 0; }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(245,242,236,.22); }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(245,242,236,.22); }
  .features, .services, .steps, .craft, .tiles, .msteps, .chips, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .chips li:nth-child(odd) { border-right: 0; }
  .chips li:nth-child(even) { padding-left: 0; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .present { grid-template-columns: 1fr; gap: 20px; }
  .present__icon { width: 64px; height: 64px; }
  .btns .btn { flex: 1 1 100%; }
  .about__media::before { inset: 16px -12px -16px 16px; }
  .gcard { padding: 22px; }
  .acc .acc__body { padding-right: 0; }
  .map { min-height: 340px; }
  .logo__name { font-size: 19px; }
  .logo img { width: 38px; height: 38px; }
}
.static .hero { min-height: 900px; }
.h1, .h2, .h3, .stats strong, .hero__price strong, .gcard__sum, .facts strong, .price-table span, .phero__badge strong, .clist dd, .gcard__sum, .mstep b, .step__n { font-variant-numeric: lining-nums; }
.service .frame img { filter: grayscale(1); transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.service:hover .frame img { filter: grayscale(0); }
.split .frame img { object-position: center top; }
.h1 i, .h2 i, .h3 i { font-style: italic; color: var(--brass); }
.section--dark .h2 i, .section--ink .h2 i, .hero .h1 i, .cta .h2 i { color: var(--brass-2); }
