/* ==========================================================================
   nguoc.vn — thiệp cưới điện tử
   Design system: cream canvas · white cards · olive accent · serif display
   ========================================================================== */

@import url("./fonts.css");

:root {
  --bg: #f5f3ec;
  --surface: #ffffff;
  --ink: #24271f;
  --ink-soft: #5e6355;
  --ink-faint: #8b9082;
  --line: rgba(36, 39, 31, 0.1);
  --olive: #697b55;
  --olive-700: #53623f;
  --olive-050: #edf1e5;
  --blush: #fbf2ee;
  --sand: #f4ece0;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 12px;
  --font-sans: "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Playfair Display", cursive;
  --shadow-s: 0 1px 2px rgba(36, 39, 31, 0.04), 0 10px 30px -18px rgba(36, 39, 31, 0.35);
  --shadow-m: 0 18px 50px -28px rgba(36, 39, 31, 0.5);
  --ring: 0 0 0 3px rgba(105, 123, 85, 0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.page {
  padding: 14px 16px 130px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 52px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.section-head { max-width: 720px; margin: 0 auto clamp(22px, 3vw, 36px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 12px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; }

h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(17px, 1.6vw, 20px); letter-spacing: -0.01em; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }

.lede { color: var(--ink-soft); font-size: clamp(14px, 1.4vw, 16px); margin: 16px 0 0; }
.muted { color: var(--ink-soft); }
.tiny { font-size: 12px; color: var(--ink-faint); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--olive-700); transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: #fff; border-color: rgba(36, 39, 31, 0.2); box-shadow: var(--shadow-s); }

.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow svg { transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--olive-050);
  color: var(--olive-700);
  font-family: var(--font-script);
  font-size: 24px;
  line-height: 1;
  padding-top: 4px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-script); font-size: 25px; color: var(--ink); }
.brand__sub { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease;
}
.nav a:hover { background: rgba(105, 123, 85, 0.08); color: var(--ink); }
.nav a.is-active { color: var(--ink); background: rgba(105, 123, 85, 0.12); }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.icon-btn:hover { background: var(--olive-050); border-color: rgba(105, 123, 85, 0.3); }

.menu-toggle { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(120% 120% at 8% 0%, #fdf7ef 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  min-height: clamp(420px, 46vw, 540px);
}

.collage {
  position: relative;
  height: clamp(380px, 40vw, 470px);
  container-type: inline-size;
  z-index: 0;
}

.collage__item {
  position: absolute;
  width: 24%;
  aspect-ratio: 440 / 616;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 12px 28px -14px rgba(36, 39, 31, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage:hover .collage__item { box-shadow: 0 22px 40px -18px rgba(36, 39, 31, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.7); }

.collage__item:nth-child(1) { left: 1%;  top: 2%;   transform: rotate(-7deg); }
.collage__item:nth-child(2) { left: 20%; top: 12%;  transform: rotate(3deg); }
.collage__item:nth-child(3) { left: 39%; top: 1%;   transform: rotate(6deg); }
.collage__item:nth-child(4) { left: 58%; top: 13%;  transform: rotate(-4deg); }
.collage__item:nth-child(5) { left: 9%;  top: 44%;  transform: rotate(4deg); }
.collage__item:nth-child(6) { left: 29%; top: 38%;  transform: rotate(-3deg); }
.collage__item:nth-child(7) { left: 49%; top: 47%;  transform: rotate(5deg); }
.collage__item:nth-child(8) { left: 67%; top: 53%;  transform: rotate(-6deg); }
.collage__item:nth-child(9) { left: 24%; top: 67%;  transform: rotate(2deg); }
.collage__item:nth-child(10) { left: 45%; top: 71%; transform: rotate(-5deg); }

.collage:hover .collage__item:nth-child(2) { transform: rotate(3deg) translateY(-8px); }
.collage:hover .collage__item:nth-child(6) { transform: rotate(-3deg) translateY(-10px); }
.collage:hover .collage__item:nth-child(8) { transform: rotate(-6deg) translateY(-6px); }

.hero__body { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--olive-050);
  color: var(--olive-700);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero__badge span {
  display: inline-grid; place-items: center;
  padding: 3px 9px; border-radius: 999px;
  background: var(--olive); color: #fff;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 .script { display: block; font-size: clamp(34px, 4.4vw, 50px); color: var(--olive-700); margin-top: 6px; }

.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__note { margin-top: 16px; font-size: 12px; color: var(--ink-faint); }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.step {
  position: relative;
  background: linear-gradient(180deg, var(--blush) 0%, #fdfaf7 100%);
  border: 1px solid rgba(36, 39, 31, 0.07);
  border-radius: var(--radius-lg);
  padding: 22px 20px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: rgba(36, 39, 31, 0.22);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- gallery ---------- */

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 26px;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip:hover { border-color: rgba(105, 123, 85, 0.4); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }

.search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}
.search svg { position: absolute; left: 14px; color: var(--ink-faint); pointer-events: none; }
.search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink);
}
.search input::placeholder { color: var(--ink-faint); }

.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.gcard {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1efe9;
  border: 1px solid rgba(36, 39, 31, 0.06);
  aspect-ratio: 440 / 616;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.28s ease;
}
.gcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.gcard:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(36, 39, 31, 0.55); }
.gcard:hover img { transform: scale(1.04); }

.gcard__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--olive-700);
  text-transform: uppercase;
}
.gcard__name {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(20, 22, 17, 0.72), rgba(20, 22, 17, 0));
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gcard:hover .gcard__name, .gcard:focus-visible .gcard__name { opacity: 1; transform: none; }

.gal__more { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- feature split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.split--flip .split__media { order: -1; }

.split__body .eyebrow { margin-bottom: 10px; }
.split__body h2 { margin-bottom: 14px; }
.split__body p { color: var(--ink-soft); margin: 0 0 18px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--olive-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2353623f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3 3 6-6.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--olive-050) 0%, #f6f7f1 60%, #efeee7 100%);
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* phone mockup */
.phone {
  position: relative;
  width: min(300px, 82%);
  aspect-ratio: 9 / 18.6;
  border-radius: 38px;
  padding: 8px;
  background: #1d201a;
  box-shadow: 0 34px 60px -30px rgba(20, 24, 16, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #222;
}
.phone__screen video,
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 9, 0.25) 0%, rgba(10, 12, 9, 0) 30%, rgba(10, 12, 9, 0.55) 100%);
  pointer-events: none;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: #1d201a;
  z-index: 2;
}
.phone__content {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 18px 26px;
  text-align: center;
  color: #fff;
  z-index: 2;
}
.phone__eyebrow { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.85; }
.phone__names { font-family: var(--font-script); font-size: 30px; line-height: 1.15; margin: 6px 0 2px; }
.phone__date { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; }
.phone__hint {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  font-size: 11px;
}
.phone__hint svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* mock: lời chúc */
.wishes { width: 100%; max-width: 360px; display: grid; gap: 10px; }
.wish {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 24px -22px rgba(36, 39, 31, 0.6);
}
.wish:nth-child(2) { margin-left: 18px; }
.wish:nth-child(3) { margin-left: 8px; }
.wish__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive-050);
  color: var(--olive-700);
  font-weight: 600;
  font-size: 13px;
}
.wish__name { font-size: 12.5px; font-weight: 600; }
.wish__text {
  margin-top: 4px;
  background: #fdf2ed;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  color: #6b5148;
  line-height: 1.45;
}
.wish__reply {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--olive-700);
  background: var(--olive-050);
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-block;
}

/* mock: danh sách khách */
.guests { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(36, 39, 31, 0.6); }
.guests__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.guests__head span { font-weight: 500; color: var(--ink-faint); font-size: 11.5px; }
.guest { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(36, 39, 31, 0.06); font-size: 12.5px; }
.guest:last-child { border-bottom: 0; }
.guest__name { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.guest__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.guest__dot--no { background: #c9c6bc; }
.guest__seat { color: var(--ink-faint); font-size: 11.5px; }
.pill-state { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--olive-050); color: var(--olive-700); }
.pill-state--wait { background: #f4f1ea; color: #8b9082; }
.pill-state--no { background: #f7eeee; color: #a4614f; }

.qr {
  width: 96px; height: 96px;
  border-radius: 12px;
  background:
    repeating-conic-gradient(#24271f 0% 25%, #fff 0% 50%) 50% / 12px 12px;
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px var(--line), 0 12px 26px -20px rgba(36, 39, 31, 0.7);
}

/* ---------- video wall ---------- */

.vwall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #16180f;
  cursor: pointer;
  border: 1px solid rgba(36, 39, 31, 0.08);
}
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard video { opacity: 0; transition: opacity 0.3s ease; }
.vcard.is-playing video { opacity: 1; }
.vcard.is-playing img { opacity: 0; }
.vcard img { transition: opacity 0.3s ease, transform 0.6s ease; }
.vcard:hover img { transform: scale(1.03); }
.vcard__label {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 14px 12px;
  background: linear-gradient(to top, rgba(12, 14, 10, 0.75), rgba(12, 14, 10, 0));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vcard__play {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.vcard.is-playing .vcard__play { background: var(--olive); }

/* ---------- pricing ---------- */

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }

.price {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.price--feature { background: linear-gradient(180deg, #f7f8f1 0%, #fff 100%); border-color: rgba(105, 123, 85, 0.35); }
.price__flag {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price__name { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.price__amount { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; }
.price__amount small { font-size: 13px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.price ul li { position: relative; padding-left: 22px; }
.price ul li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23697b55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3 3 6-6.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.price .btn { margin-top: auto; }

/* ---------- faq ---------- */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 4px 4px;
  transition: background 0.2s ease;
}
.faq details[open] { background: #fdfcf9; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2324271f' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--ink-soft); font-size: 14px; }

/* ---------- closing cta ---------- */

.cta-final { text-align: center; padding-block: clamp(32px, 5vw, 64px); }
.cta-final h2 { max-width: 620px; margin: 0 auto; }
.cta-final p { max-width: 520px; margin: 14px auto 26px; color: var(--ink-soft); }
.cta-final__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */

.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 6px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding: 44px 0 28px;
}
.footer__col h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.footer__col a, .footer__col p { display: block; font-size: 13.5px; color: var(--ink-soft); margin: 0 0 9px; }
.footer__col a:hover { color: var(--ink); }
.footer__brand p { max-width: 320px; margin-top: 12px; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-faint);
}

/* ---------- dock ---------- */

.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(83, 98, 63, 0.94);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 18px 40px -18px rgba(36, 39, 31, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  scrollbar-width: none;
}
.dock::-webkit-scrollbar { display: none; }
.dock a {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 7px 11px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.dock a:hover, .dock a.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; }
.dock a svg { width: 19px; height: 19px; }

.fab {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 44;
  display: grid;
  gap: 10px;
}
.fab a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--olive-700);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition: transform 0.2s ease, background 0.2s ease;
}
.fab a:hover { transform: translateY(-2px); background: var(--olive-050); }

.gal__empty { text-align: center; margin: 24px 0 0; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(20, 23, 17, 0.62);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox__box {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(240px, 340px);
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: 26px;
  padding: 20px;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.lightbox__img { width: 300px; max-width: 100%; border-radius: 16px; overflow: hidden; background: #f2f0ea; }
.lightbox__img img { width: 100%; height: auto; }
.lightbox__body h3 { font-size: 22px; margin-bottom: 8px; }
.lightbox__body p { color: var(--ink-soft); font-size: 14px; margin: 0 0 18px; }
.lightbox__body .btn { width: 100%; }
.lightbox__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid; place-items: center;
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-m);
  }
  .site-header.is-open .nav a { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
  .menu-toggle { display: inline-grid; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; }
  .vwall { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .collage { height: 340px; order: 2; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .lightbox__box { grid-template-columns: 1fr; }
  .lightbox__img { width: 100%; }
}

@media (max-width: 620px) {
  .site-header__inner { gap: 10px; height: 60px; }
  .brand__mark { width: 32px; height: 32px; font-size: 20px; }
  .brand__name { font-size: 21px; }
  .brand__sub { font-size: 8px; letter-spacing: 0.26em; }
  .site-header__actions .btn--ghost { display: none; }
  .site-header__actions .btn { padding: 10px 16px; font-size: 13px; }
  .site-header.is-open .nav { top: 60px; }
  .page { padding: 10px 10px 120px; gap: 10px; }
  .card { border-radius: 26px; padding: 22px 18px; }
  .steps { grid-template-columns: 1fr; }
  .vwall { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gcard__name { opacity: 1; transform: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { bottom: 88px; right: 12px; }
  .dock a { padding: 6px 9px; font-size: 10px; }
  .dock a span { display: none; }
  .dock a svg { width: 21px; height: 21px; }
}

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