/* ==========================================================================
   Татьяна Исаева — свадебный стилист
   Тёплая светлая палитра: слоновая кость, пудра, терракотовая роза, сливовый тёмный.
   Заголовки — Cormorant Garamond, текст — Golos Text.
   Без фреймворков. Размеры масштабируются через clamp() от телефона до 4K.
   ========================================================================== */

:root {
  --paper: #faf7f2;
  --paper-2: #f3ece3;
  --blush: #f3e3dc;
  --sage: #e9ede5;
  --white: #fffdfa;
  --ink: #2b2327;
  --ink-2: #3a3035;
  --muted: #6f6469;
  --soft: #cdbfc2;
  --accent: #c8705f;
  --accent-dark: #a95746;
  --accent-soft: #f6d9d0;
  --gold: #c6a36a;
  --line: #e5dcd2;
  --line-dark: rgba(255, 255, 255, .14);
  --tg: #229ed9;
  --radius: clamp(14px, 1.1vw, 40px);
  --radius-s: clamp(8px, .6vw, 22px);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', 'Segoe UI', Arial, sans-serif;
  --header-h: clamp(68px, 4.6vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 1vw, 34px)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ol, ul { margin-top: 0; }
figure { margin: 0; }
p { color: var(--muted); }
svg { flex: none; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 4.8vw, 176px); }
h2 { font-size: clamp(34px, 3.4vw, 128px); margin-bottom: .45em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 1.6vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 90%; max-width: 3440px; margin-inline: auto; }
.section { padding-block: clamp(64px, 6vw, 220px); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--accent); color: #fff;
}
.skip:focus { top: 16px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8em;
  margin-bottom: 1.4em;
  font-size: clamp(12px, .78vw, 26px);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: var(--gold); }

.lead { color: var(--ink-2); font-size: clamp(18px, 1.3vw, 46px); line-height: 1.5; }
.fine { font-size: clamp(13px, .8vw, 28px); }

.section-head { max-width: 46em; margin-bottom: clamp(36px, 3vw, 110px); }
.section-head > p:last-child { max-width: 36em; margin-bottom: 0; font-size: clamp(16px, 1.05vw, 36px); }
.section-head.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 24px 8%;
  max-width: none;
}
.section-head.split h2 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: clamp(52px, 3.2vw, 118px);
  padding: .85em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: clamp(15px, .95vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 28px rgba(200, 112, 95, .28); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .75em; }
.logo-mono {
  display: grid;
  place-items: center;
  width: clamp(40px, 2.5vw, 94px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(17px, 1.05vw, 40px);
  letter-spacing: -0.02em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(19px, 1.25vw, 48px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text small { margin-top: 2px; font-size: clamp(11px, .7vw, 26px); color: var(--muted); letter-spacing: .04em; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 70px); font-size: clamp(14px, .88vw, 32px); font-weight: 500; }
.nav a { position: relative; transition: color .2s; }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:not(.nav-cta):hover::after { transform: none; }
.nav-cta {
  padding: .65em 1.3em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: background-color .2s;
}
.nav .nav-cta:hover { background: var(--accent); color: #fff; }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s, top .25s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 6%;
  padding-block: clamp(40px, 4.5vw, 170px) clamp(56px, 5.5vw, 200px);
}
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 30em; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5em 1.6em;
  margin: 2.2em 0 0;
  padding: 1.4em 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: clamp(14px, .9vw, 32px);
  color: var(--muted);
}
.hero-trust li { display: flex; align-items: center; gap: .55em; }
.hero-trust li::before { content: ""; width: .4em; height: .4em; border-radius: 50%; background: var(--gold); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 68vh); padding: 4% 8% 10% 0; }
.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(43, 35, 39, .18);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(43, 35, 39, .18));
  pointer-events: none;
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-visual::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  height: 78%;
  border-radius: var(--radius);
  background: var(--blush);
  z-index: -1;
}
.hero-photo-2 {
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 38%;
  padding: clamp(5px, .4vw, 16px);
  border-radius: var(--radius-s);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(43, 35, 39, .2);
}
.hero-photo-2 img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: calc(var(--radius-s) - 4px); }
.hero-note {
  position: absolute;
  right: 0;
  bottom: 2%;
  display: flex;
  gap: .8em;
  width: 58%;
  padding: clamp(14px, 1.1vw, 40px);
  border-radius: var(--radius-s);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(43, 35, 39, .14);
}
.hero-note svg { width: 1.6em; height: 1.6em; color: var(--accent); }
.hero-note p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.15vw, 40px); line-height: 1.35; color: var(--ink); }

/* ---------- Promises ---------- */
.promises { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 110px); padding-block: clamp(36px, 3vw, 110px); }
.promises-grid > div { display: grid; grid-template-columns: auto 1fr; gap: .4em 1em; align-items: start; }
.promises-grid svg {
  grid-row: span 2;
  width: clamp(44px, 2.8vw, 100px);
  height: clamp(44px, 2.8vw, 100px);
  padding: clamp(11px, .7vw, 26px);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  border: 1px solid var(--line);
}
.promises-grid h3 { margin: 0; font-size: clamp(19px, 1.3vw, 48px); }
.promises-grid p { margin: 0; font-size: clamp(14px, .92vw, 32px); }

/* ---------- Fears ---------- */
.fears { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.2vw, 44px); }
.fear {
  position: relative;
  padding: clamp(26px, 2.2vw, 84px);
  padding-left: clamp(30px, 2.6vw, 96px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.fear::before {
  content: "";
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}
.fear:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(43, 35, 39, .08); }
.fear h3 { margin-bottom: .6em; font-style: italic; font-weight: 500; font-size: clamp(22px, 1.7vw, 62px); color: var(--ink); }
.fear p { margin: 0; }

/* ---------- Works ---------- */
.works { background: var(--ink); color: var(--paper); }
.works .eyebrow { color: var(--gold); }
.works .section-head > p { color: var(--soft); }

.filters { display: flex; gap: 8px; margin-bottom: clamp(20px, 1.6vw, 60px); overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: none;
  padding: .6em 1.2em;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font-size: clamp(14px, .88vw, 32px);
  font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filters button:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.filters button.active { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(10px, .9vw, 34px); }
.work {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--ink-2);
  text-align: left;
  animation: fadeUp .5s ease both;
}
.work img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .7s ease; }
.work.is-wide { grid-column: span 2; grid-row: span 2; }
.work.is-wide::before { content: ""; display: block; padding-top: 133.33%; }
.work.is-wide img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.work:hover img { transform: scale(1.04); }
.work-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding: 2.6em 1em .9em;
  background: linear-gradient(transparent, rgba(43, 35, 39, .8));
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.15vw, 40px);
  line-height: 1.2;
}
.work-info span { font-family: var(--sans); font-style: normal; font-size: .7em; letter-spacing: .06em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.work-zoom {
  position: absolute;
  top: .8em; right: .8em;
  display: grid;
  place-items: center;
  width: clamp(34px, 2.1vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s, transform .25s;
}
.work-zoom svg { width: 50%; height: 50%; }
.work:hover .work-zoom, .work:focus-visible .work-zoom { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

.gallery-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-top: clamp(28px, 2.4vw, 90px); }
.gallery-foot .btn { color: var(--paper); border-color: var(--paper); }
.gallery-foot .btn:hover { background: var(--paper); color: var(--ink); }
.gallery-foot .btn[hidden] { display: none; }
.gallery-foot p { margin: 0; max-width: 36em; color: var(--soft); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.2vw, 44px); align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.3vw, 88px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.plan-featured { background: var(--blush); border-color: var(--accent-soft); }
.plan-badge {
  position: absolute;
  top: 0; left: clamp(26px, 2.3vw, 88px);
  transform: translateY(-50%);
  margin: 0;
  padding: .4em 1em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: clamp(12px, .75vw, 26px);
  font-weight: 500;
  letter-spacing: .04em;
}
.plan-for { min-height: 3.2em; margin-bottom: .8em; font-size: clamp(14px, .9vw, 32px); }
.plan h3 { margin-bottom: .2em; font-size: clamp(28px, 2.2vw, 84px); font-weight: 500; }
.plan-price {
  margin-bottom: 1em;
  padding-bottom: .6em;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(30px, 2.4vw, 92px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--accent-dark);
  white-space: nowrap;
}
.plan-featured .plan-price { border-color: rgba(169, 87, 70, .25); }
.plan ul { flex: 1; margin: 0 0 1.8em; padding: 0; list-style: none; }
.plan li { display: flex; align-items: flex-start; gap: .6em; padding: .35em 0; font-size: clamp(15px, .95vw, 33px); }
.plan li svg { width: 1.2em; height: 1.2em; margin-top: .15em; color: var(--accent); }
.plan .btn { width: 100%; }

.plan-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 90px);
  margin-top: clamp(14px, 1.2vw, 44px);
  padding: clamp(26px, 2.2vw, 84px);
  border-radius: var(--radius);
  background: var(--sage);
}
.plan-extra h3 { margin-bottom: .4em; font-size: clamp(20px, 1.4vw, 52px); }
.plan-extra p { margin: 0; color: #5a5f55; }

/* ---------- Steps ---------- */
.steps-section { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 70px); margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 1em; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(44px, 2.8vw, 100px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 1.3vw, 48px);
}
.steps li::before {
  content: "";
  position: absolute;
  top: calc(clamp(44px, 2.8vw, 100px) / 2);
  left: clamp(44px, 2.8vw, 100px);
  right: calc(-1 * clamp(18px, 1.8vw, 70px));
  height: 1px;
  background: var(--gold);
}
.steps li:last-child::before { display: none; }
.steps h3 { margin-bottom: .4em; font-size: clamp(20px, 1.4vw, 52px); }
.steps p { margin: 0; font-size: clamp(14px, .92vw, 32px); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; align-items: start; }
.about-visual { position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(43, 35, 39, .14); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(14px, 1.1vw, 40px); }
.about-facts div { padding: clamp(14px, 1.1vw, 40px); border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--line); }
.about-facts b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 1.9vw, 70px); line-height: 1.1; color: var(--accent-dark); }
.about-facts span { display: block; margin-top: .3em; font-size: clamp(12px, .8vw, 28px); color: var(--muted); line-height: 1.3; }
.about-copy h2 { margin-bottom: .5em; }
.about-copy .lead { margin-bottom: 1em; }
.rules-title { margin: 2em 0 .8em; font-size: clamp(22px, 1.5vw, 56px); }
.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.rules li {
  position: relative;
  padding: 1em 0 1em 3em;
  border-top: 1px solid var(--line);
  color: var(--muted);
  counter-increment: r;
}
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules li::before {
  content: counter(r);
  position: absolute;
  left: 0; top: 1em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6em;
  line-height: 1;
  color: var(--accent);
}
.rules b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head p { margin-bottom: 1.6em; max-width: 24em; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: clamp(18px, 1.3vw, 50px);
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 1.4vw, 52px);
  line-height: 1.25;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-dark); }
.faq-list summary i {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(34px, 2.2vw, 80px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s, transform .25s;
}
.faq-list summary i svg { width: 45%; height: 45%; }
.faq-list details[open] summary i { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-list details p { max-width: 44em; margin: 0; padding-bottom: 1.4em; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.contact .eyebrow { color: var(--gold); }
.contact h2 { font-size: clamp(36px, 3.6vw, 136px); }
.contact-copy > p { color: var(--soft); max-width: 28em; }
.contact-links { display: grid; gap: clamp(8px, .7vw, 26px); margin-top: 2em; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: clamp(12px, 1vw, 36px) clamp(14px, 1.2vw, 44px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  transition: background-color .2s, border-color .2s, transform .2s;
}
.contact-link:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); transform: translateX(4px); }
.contact-link small { display: block; font-size: clamp(12px, .78vw, 27px); color: var(--soft); }
.contact-link b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.5vw, 56px); letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: anywhere; }
.contact-icon {
  display: grid;
  place-items: center;
  width: clamp(44px, 2.8vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.contact-icon svg { width: 50%; height: 50%; }
.contact-icon-tg { background: var(--tg); }
.contact-area { display: flex; align-items: center; gap: .5em; margin: 1.4em 0 0; color: var(--soft); font-size: clamp(13px, .85vw, 30px); }
.contact-area svg { width: 1.2em; height: 1.2em; color: var(--gold); }

.contact-form {
  padding: clamp(24px, 2.2vw, 84px);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.contact-form h3 { margin-bottom: .3em; }
.contact-form > p { margin-bottom: 1.4em; font-size: clamp(14px, .9vw, 32px); }
.contact-form label { display: block; margin: 1em 0 .4em; font-size: clamp(13px, .85vw, 30px); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  min-height: 3.4em;
  margin: 0;
  padding: .8em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form select {
  padding-right: 2.8em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6469' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1.1em;
  cursor: pointer;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a39a9e; }
.contact-form input[type="date"]::-webkit-calendar-picker-indicator,
.contact-form input[type="time"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
.contact-form input[type="date"], .contact-form input[type="time"] { cursor: pointer; }
.contact-form .form-hint { margin: .5em 0 0; font-size: clamp(12px, .78vw, 27px); line-height: 1.4; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 112, 95, .22);
}
.contact-form textarea { resize: vertical; min-height: 5em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, .9vw, 32px); }
.contact-form .btn { width: 100%; margin-top: 1.6em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr auto;
  align-items: center;
  gap: 20px 40px;
  padding-block: clamp(28px, 2.2vw, 80px);
  font-size: clamp(13px, .85vw, 30px);
}
.footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--ink); border-bottom: 1px solid var(--line); }
.footer-links a:hover { border-color: var(--accent); color: var(--accent-dark); }

.quickbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(43, 35, 39, .97);
  color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; height: 100%; padding: clamp(60px, 4vw, 140px) 0 clamp(20px, 2vw, 70px); }
.lightbox img { max-width: 100%; max-height: calc(100dvh - clamp(130px, 9vw, 300px)); width: auto; object-fit: contain; border-radius: var(--radius-s); animation: fadeUp .35s ease both; }
.lightbox figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.1vw, 36px); color: var(--soft); }
.lb-nav, .lb-close {
  display: grid; place-items: center;
  width: clamp(48px, 3.2vw, 118px); aspect-ratio: 1;
  margin: 0 clamp(8px, 1.5vw, 60px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: transparent; color: #fff;
  font-size: clamp(20px, 1.3vw, 48px);
  transition: background-color .2s, border-color .2s;
}
.lb-nav:hover, .lb-close:hover { background: var(--accent); border-color: var(--accent); }
.lb-close { position: absolute; top: clamp(12px, 1vw, 40px); right: 0; z-index: 2; font-size: clamp(26px, 1.7vw, 60px); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 2200px) { .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

@media (max-width: 1400px) {
  .nav { gap: clamp(12px, 1.4vw, 40px); }
}

@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .steps li:nth-child(3)::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 5% 40px;
    background: var(--paper);
    font-size: 20px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta { margin-top: 24px; padding: 16px; border: 0; text-align: center; }
  body.menu-open { overflow: hidden; }

  .hero { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { justify-self: center; width: min(88%, 520px); padding-left: 10%; }
  .section-head.split { grid-template-columns: 1fr; }
  .promises-grid { grid-template-columns: 1fr; gap: 28px; }
  .fears { grid-template-columns: 1fr; }
  .about, .faq, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual, .faq-head { position: static; }
  .about-visual { width: min(100%, 520px); }
  .plan-extra { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 70px; }
  .logo-text small { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: .6em; }
  .hero-visual { width: 92%; padding-left: 12%; padding-bottom: 14%; }
  .hero-photo-2 { left: -8%; width: 42%; }
  .hero-note { width: 66%; padding: 12px; }
  .hero-note p { font-size: 15px; }

  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .work-info { font-size: 15px; padding: 2em .7em .6em; }
  .work-info span { display: none; }
  .work-zoom { display: none; }
  .gallery-foot .btn { width: 100%; }

  .plans { grid-template-columns: 1fr; }
  .plans .plan:last-child { grid-column: auto; }
  .plan-for { min-height: 0; }

  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li { flex-direction: row; align-items: flex-start; gap: 16px; }
  .steps li::before { top: 44px; bottom: -28px; left: 21px; right: auto; width: 1px; height: auto; }
  .steps li:nth-child(3)::before { display: block; }
  .steps li:last-child::before { display: none; }
  .step-num { flex: none; width: 44px; height: 44px; }

  .about-facts { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; padding-inline: 12px; }
  .lb-prev { grid-row: 2; justify-self: start; margin-bottom: 20px; }
  .lb-next { grid-row: 2; justify-self: end; margin-bottom: 20px; }

  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(250, 247, 242, .95);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 500; color: #fff; }
  .quickbar a:first-child { background: var(--accent); }
  .quickbar a + a { background: var(--tg); }
  .quickbar svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
