:root {
  --ink: #140d0b;
  --ink-2: #211512;
  --ink-soft: #5f514b;
  --panel: #fffaf0;
  --panel-2: #f7ecd9;
  --gold: #d6ad63;
  --gold-2: #f2d99d;
  --rose: #8f3f45;
  --green: #1f6f52;
  --line: rgba(73, 48, 33, .16);
  --shadow: 0 20px 60px rgba(35, 21, 15, .16);
  --r: 14px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 10% -5%, rgba(214, 173, 99, .24), transparent 55%),
    linear-gradient(180deg, #170f0c, #271a15 45%, #fff8eb 45%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}
button, input, select, textarea { font: inherit; }
button {
  border: 0;
  border-radius: 11px;
  padding: 11px 14px;
  font-weight: 800;
  cursor: pointer;
  background: var(--ink);
  color: var(--gold-2);
}
button.secondary { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button.link { padding: 0; background: transparent; color: var(--rose); }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
}
textarea { min-height: 92px; resize: vertical; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.app { max-width: 1180px; margin: 0 auto; padding: 16px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: #fff;
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: #090504;
  border: 1px solid rgba(214,173,99,.65);
  color: var(--gold-2);
  font-family: "Playfair Display", serif;
  font-size: 22px;
}
.brand strong { display: block; font-family: Cinzel, serif; letter-spacing: .06em; }
.brand span { display: block; color: rgba(255,255,255,.68); font-size: 12px; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav button { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(214,173,99,.26); }
.nav button.active { background: var(--gold); color: var(--ink); }
.hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(20,13,11,.92), rgba(20,13,11,.56), rgba(20,13,11,.18)),
    url("https://h2.makeup/cdn/shop/files/bridal-full-look.png?v=1785181477&width=1400") center / cover;
}
.hero-inner { max-width: 720px; padding: 44px; color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}
h1, h2, h3 { margin: 0; }
h1 {
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 8vw, 82px);
  line-height: .92;
  letter-spacing: 0;
}
h2 { font-family: "Playfair Display", serif; font-size: 34px; line-height: 1; }
h3 { font-size: 17px; }
p { line-height: 1.6; color: var(--ink-soft); }
.hero p { color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions, .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-actions button:first-child { background: var(--gold); color: var(--ink); }
.grid { display: grid; gap: 14px; }
.two { grid-template-columns: 1.15fr .85fr; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.section { margin-top: 16px; }
.card {
  background: rgba(255,250,240,.94);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 32px rgba(55, 35, 25, .08);
  padding: 16px;
}
.card.dark {
  background: linear-gradient(145deg, #1b110f, #2b1b15);
  color: #fff;
  border-color: rgba(214,173,99,.24);
}
.card.dark p, .card.dark span { color: rgba(255,255,255,.72); }
.stat strong { display: block; font-size: 28px; font-family: "Playfair Display", serif; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(214,173,99,.18);
  color: #7b5523;
  font-size: 11px;
  font-weight: 900;
}
.tag.green { background: rgba(31,111,82,.12); color: var(--green); }
.tag.rose { background: rgba(143,63,69,.12); color: var(--rose); }
.service-card {
  display: grid;
  gap: 11px;
  min-height: 220px;
  background: linear-gradient(180deg, #fffaf0, #f3e4c9);
}
.service-card strong { font-size: 20px; font-family: "Playfair Display", serif; }
.service-card .price { font-size: 24px; color: var(--rose); font-family: "Playfair Display", serif; }
.consult-panel { margin-top: -54px; position: relative; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.full { grid-column: 1 / -1; }
.result {
  border: 1px solid rgba(214,173,99,.38);
  background: #fff4dd;
  border-radius: var(--r);
  padding: 14px;
}
.list { display: grid; gap: 10px; }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.row:first-child { border-top: 0; padding-top: 0; }
.row span { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 3px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs button { background: var(--panel-2); color: var(--ink); }
.tabs button.active { background: var(--ink); color: var(--gold-2); }
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}
.login .card { width: min(100%, 420px); }
.notice { margin: 12px 0; padding: 12px; border-radius: 12px; background: #fff4dd; color: #62431e; font-weight: 700; }
.notice.bad { background: #fdecee; color: #8f3f45; }
details summary { cursor: pointer; font-weight: 900; }
@media (max-width: 760px) {
  .app { padding: 10px; }
  .topbar { align-items: flex-start; }
  .nav { width: 100%; justify-content: flex-start; }
  .hero { min-height: 520px; border-radius: 0 0 22px 22px; margin: 0 -10px; }
  .hero-inner { padding: 32px 18px; }
  .two, .three, .four, .form-grid { grid-template-columns: 1fr; }
  .consult-panel { margin-top: 12px; }
  .row { grid-template-columns: 1fr; }
}
