/* ==========================================================================
   MB Matrimonials — Demo stylesheet
   Pure CSS (no build step). Sections:
   1. Tokens & reset      2. Layout helpers   3. Buttons & chips
   4. Top bar & navbar    5. Heroes            6. Sections & cards
   7. Profiles            8. Services / cart   9. Testimonials & FAQ
   10. CTA & footer       11. Modal & toast    12. Animations
   13. Responsive
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------- */
:root {
  --red: #e11d48;
  --red-600: #d61f45;
  --red-700: #be123c;
  --red-50: #fff1f3;
  --red-100: #ffe1e6;
  --navy: #12163a;
  --navy-800: #191e4a;
  --navy-700: #23285c;
  --ink: #141838;
  --text: #4a4f6a;
  --muted: #6b7088;
  --line: #e8eaf1;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --green: #15803d;
  --green-50: #e9f8ee;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 58, .05), 0 1px 3px rgba(18, 22, 58, .06);
  --shadow: 0 8px 24px -8px rgba(18, 22, 58, .14), 0 2px 6px rgba(18, 22, 58, .05);
  --shadow-lg: 0 24px 48px -16px rgba(18, 22, 58, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.025em; line-height: 1.12; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Icons are injected by main.js into <i data-icon="..."> */
.ic { display: inline-flex; width: 1em; height: 1em; flex-shrink: 0; }
.ic svg { width: 100%; height: 100%; }

/* 2. Layout helpers ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 3.4vw, 40px); }
.section-lead { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 620px; }
.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 3. Buttons & chips ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 600;
  white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  border: 1.5px solid transparent;
}
.btn .ic { font-size: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(225, 29, 72, .55); }
.btn-red:hover { background: var(--red-600); box-shadow: 0 12px 24px -8px rgba(225, 29, 72, .6); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-white-red { background: #fff; color: var(--red); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: #cfd3df; box-shadow: var(--shadow-sm); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }

.chip-verified {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-50);
}
.chip-verified .ic { font-size: 11px; }
.chip-religion {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--red-700); background: var(--red-50);
}
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.pill-badge--glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); }
.pill-badge--glass .ic { color: #ff8fa6; }
.pill-badge--soft { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }

/* 4. Top bar & navbar ----------------------------------------------------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar__msg { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar__msg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__msg .ic { color: #ff5a7a; font-size: 15px; }
.topbar__links { display: flex; align-items: center; gap: 24px; }
.topbar__links a, .topbar__links button { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; opacity: .92; transition: opacity .2s; }
.topbar__links a:hover, .topbar__links button:hover { opacity: 1; }
.topbar__links .ic { font-size: 17px; }
.topbar__links .ic--sm { font-size: 14px; }

.navbar {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.navbar.is-scrolled { box-shadow: 0 8px 28px -14px rgba(18, 22, 58, .25); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.logo__name b { color: var(--red); font-weight: 800; }
.logo__tag { font-size: 8.5px; font-weight: 600; letter-spacing: .16em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }

.nav-center { display: flex; align-items: center; gap: 22px; }
.switch {
  display: inline-flex; padding: 4px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.switch a {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 16px;
  border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s;
}
.switch a .ic { font-size: 15px; }
.switch a:hover { background: var(--bg-soft); }
.switch a.is-active { background: var(--navy); color: #fff; }
.nav-link { font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav-link:hover { color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-size: 18px; transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--red-50); color: var(--red); }
.cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  display: none; place-items: center; line-height: 18px; text-align: center;
}
.cart-count.is-visible { display: grid; animation: pop .35s var(--ease); }
.nav-login { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0 6px; }
.nav-login:hover { color: var(--red); }
.menu-btn { display: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(18, 22, 58, .45); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff;
  padding: 22px; transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: 10px; overflow-y: auto;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer__link { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.drawer__link:hover, .drawer__link.is-active { background: var(--bg-soft); }
.drawer__link.is-active { color: var(--red); }
.drawer__link .ic { font-size: 18px; }
.drawer hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }

/* 5. Heroes --------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18, 22, 58, .97) 0%, rgba(18, 22, 58, .9) 32%, rgba(18, 22, 58, .45) 58%, rgba(18, 22, 58, .08) 100%);
}
.hero__inner { padding: 96px 0 110px; max-width: 590px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -.035em; line-height: 1.02; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: #ff8fa6; }
.hero__lead { font-size: 18px; color: rgba(255, 255, 255, .84); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 10px 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
  font-size: 13.5px; color: rgba(255, 255, 255, .88); backdrop-filter: blur(6px);
}
.hero__note .ic { color: #4ade80; font-size: 16px; }
.hero__avatars { display: flex; }
.hero__avatars img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--navy); margin-left: -8px; object-fit: cover; }
.hero__avatars img:first-child { margin-left: 0; }

/* Home hero: image sits on the right, left side is solid navy for the text */
/* Fill exactly one screen: viewport minus top bar (40px) + navbar (74px) */
.hero--split {
  display: flex; align-items: center;
  min-height: calc(100vh - 114px);
  min-height: calc(100svh - 114px);
}
.hero--split > .container { width: 100%; }
.hero--split .hero__inner { padding: clamp(28px, 5vh, 64px) 0; }
.hero--split h1 { font-size: clamp(36px, min(5.6vw, 8.2vh), 68px); margin: clamp(14px, 2.4vh, 22px) 0; }
.hero--split .hero__lead { font-size: clamp(16px, 2.1vh, 18px); }
.hero--split .hero__actions { margin-top: clamp(20px, 3.6vh, 34px); }
.hero--split .hero__note { margin-top: clamp(16px, 3vh, 30px); }
/* Image box covers the right 60%; object-position keeps both bride and groom in frame */
/* Full-width photo; only a soft dark shadow behind the text (no solid navy block) */
.hero--split .hero__bg img { object-position: 100% 30%; }
.hero--split::before {
  background:
    linear-gradient(90deg, rgba(8, 10, 30, .78) 0%, rgba(8, 10, 30, .62) 30%, rgba(8, 10, 30, .3) 55%, rgba(8, 10, 30, .08) 80%, rgba(8, 10, 30, 0) 100%),
    linear-gradient(0deg, rgba(8, 10, 30, .35) 0%, rgba(8, 10, 30, 0) 35%);
}
.hero--split h1, .hero--split .hero__lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

/* Matchmaking hero leaves space for the overlapping info card */
.hero--mm .hero__inner { padding: 80px 0 130px; }

/* Trust strip (home) */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-size: 14px; font-weight: 600; color: var(--ink); }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--red-50); color: var(--red); font-size: 18px; flex-shrink: 0; }

/* Overlapping info card (matchmaking) */
.info-card {
  position: relative; z-index: 2; margin-top: -78px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line);
}
.info-card__item { display: flex; gap: 16px; padding: 28px 26px; }
.info-card__item + .info-card__item { border-left: 1px solid var(--line); }
.info-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--red-50); color: var(--red); font-size: 19px; flex-shrink: 0; }
.info-card h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.info-card p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* Members-only banner */
.notice {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin-top: 44px;
  border-radius: var(--radius); background: var(--red-50); border: 1px solid #ffd3dc;
}
.notice__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; font-size: 19px; flex-shrink: 0; }
.notice__body { flex: 1; }
.notice h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.notice p { font-size: 14px; color: var(--text); margin-top: 2px; }

/* 6. Sections & cards ----------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.zoom { overflow: hidden; }
.zoom img { transition: transform .7s var(--ease); }
.card--hover:hover .zoom img, .zoom:hover img { transform: scale(1.05); }

/* Two ways to begin */
.way { overflow: hidden; display: flex; flex-direction: column; }
.way__img { aspect-ratio: 16 / 9; position: relative; }
.way__img img { width: 100%; height: 100%; object-fit: cover; }
.way__tag {
  position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: 12.5px; font-weight: 700; backdrop-filter: blur(4px);
}
.way__tag .ic { color: var(--red); }
.way__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.way h3 { font-size: 24px; }
.way__body > p { margin-top: 8px; color: var(--muted); }
.checklist { margin: 20px 0 26px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.checklist .ic { color: var(--red); font-size: 18px; margin-top: 3px; }
.way .btn { align-self: flex-start; margin-top: auto; }

/* How matchmaking works (home) */
.how { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.how__intro { position: sticky; top: 120px; }
.how__intro .btn { margin-top: 28px; }
.how__steps { display: grid; gap: 22px; }
.step-row { display: grid; grid-template-columns: 1fr 210px; gap: 28px; padding: 30px; align-items: center; }
.step-num {
  font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(180deg, var(--red) 0%, #ff9aaf 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-label { display: block; margin-top: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.step-row h3 { font-size: 22px; margin-top: 6px; }
.step-row p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Progress bars (fill when revealed) */
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 22px; }
.bars span { height: 4px; border-radius: 4px; background: #eceef4; position: relative; overflow: hidden; }
.bars span.on::after {
  content: ""; position: absolute; inset: 0; background: var(--red); border-radius: 4px;
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.bars span.on:nth-child(2)::after { transition-delay: .15s; }
.bars span.on:nth-child(3)::after { transition-delay: .3s; }
.bars span.on:nth-child(4)::after { transition-delay: .45s; }
.in .bars span.on::after, .bars.in span.on::after { transform: scaleX(1); }

/* Tiny UI wireframes inside step cards */
.wire {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: grid; gap: 9px; min-height: 130px; align-content: center;
}
.wire__line { height: 9px; border-radius: 6px; background: #e2e5ee; }
.wire__line--w60 { width: 60%; } .wire__line--w80 { width: 80%; } .wire__line--w40 { width: 40%; }
.wire__input { height: 26px; border-radius: 7px; background: #fff; border: 1px solid var(--line); }
.wire__btn { height: 26px; border-radius: 7px; background: var(--red); width: 55%; justify-self: end; }
.wire__btn--dark { background: var(--navy); }
.wire__row { display: flex; gap: 10px; align-items: center; }
.wire__id { flex: 1; height: 56px; border-radius: 8px; background: #fff; border: 1px dashed #c9cede; display: grid; place-items: center; color: #9aa0b6; font-size: 20px; }
.wire__selfie { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--red); display: grid; place-items: center; color: var(--red); font-size: 22px; }
.wire__ok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: 12px; font-weight: 700; justify-self: start; }
.wire__avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #ffc2cf, #c7cbe6); flex-shrink: 0; }

/* Four steps (matchmaking) */
.step-card { padding: 26px 24px 26px; }
.step-card .step-num { font-size: 50px; }
.step-card h3 { font-size: 19px; margin-top: 16px; }
.step-card p { font-size: 14.5px; color: var(--muted); margin-top: 8px; min-height: 66px; }

/* Wedding service cards (home) */
.svc { overflow: hidden; display: flex; flex-direction: column; }
.svc__img { aspect-ratio: 4 / 3; position: relative; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 20px 22px 22px; }
.svc h3 { font-size: 18px; }
.svc p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.svc__price { margin-top: 14px; font-size: 14px; color: var(--muted); }
.svc__price b { color: var(--red); font-weight: 700; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* Why families choose (promise rows) */
.promises { display: grid; gap: 28px; }
.promise { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; min-height: 320px; }
.promise__img { position: relative; min-height: 260px; }
.promise__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promise__body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.promise .step-num { font-size: 72px; }
.promise h3 { font-size: 26px; margin-top: 6px; }
.promise p { margin-top: 10px; color: var(--muted); max-width: 440px; }
.promise--flip .promise__img { order: 2; }

/* Privacy cards */
.feature { padding: 28px 26px; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-50); color: var(--red); font-size: 20px; }
.feature h3 { font-size: 18px; margin-top: 20px; }
.feature p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* 7. Profiles ------------------------------------------------------------- */
.profile { overflow: hidden; display: flex; flex-direction: column; }
.profile__photo { position: relative; aspect-ratio: 5 / 4.3; overflow: hidden; background: #2a2f55; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(.9); transform: scale(1.2); }
.profile__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 58, .05), rgba(18, 22, 58, .35)); }
.profile__lock { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.profile__lock-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--red); font-size: 20px; box-shadow: var(--shadow); }
.profile__lock span:last-child { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 600; }
.profile__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.profile__name { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 16px; }
.profile__meta { font-size: 13.5px; color: var(--muted); }
.profile__tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 2px; }
.profile__chat {
  margin-top: 10px; height: 36px; border-radius: 9px; background: var(--bg-soft); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s;
}
.profile__chat:hover { background: var(--red-50); color: var(--red); }
.more-card {
  background: radial-gradient(120% 90% at 100% 0%, #4a1d4a 0%, var(--navy) 55%); color: #fff;
  border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.more-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 20px; }
.more-card h3 { color: #fff; font-size: 22px; margin-top: 22px; }
.more-card p { color: rgba(255, 255, 255, .76); font-size: 14px; margin-top: 10px; }
.more-card__note { display: flex; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; }
.more-card__note .ic { color: #ff5a7a; margin-top: 2px; }
.more-card .btn { margin-top: auto; }
.more-card .spacer { flex: 1; min-height: 20px; }

/* Wide variant used on matchmaking page */
.more-wide { flex-direction: row; align-items: center; gap: 24px; margin-top: 28px; padding: 28px 32px; }
.more-wide h3 { margin-top: 0; }
.more-wide .btn { margin-top: 0; margin-left: auto; }

/* Profile filter bar (visual only) */
.filters {
  display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end;
  padding: 20px; margin-bottom: 18px;
}
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field select, .field input {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid #dfe2eb; border-radius: 10px; background: #fff;
  font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23141838' stroke-width='2.2' 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 12px center; padding-right: 34px;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 29, 72, .12); }
.field input::placeholder { color: #9aa0b6; }
.filters .btn { height: 44px; }
.community-note {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--ink); font-weight: 600;
}
.community-note .ic { color: var(--green); font-size: 17px; }
.community-note small { font-weight: 500; color: var(--muted); font-size: 14px; }

/* 8. Wedding services page ------------------------------------------------ */
.ws-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 36px 0 34px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.ws-title { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.ws-title h1 { font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -.035em; }
.ws-title .pill-badge { background: #eceef4; color: var(--ink); font-size: 13px; padding: 6px 12px; }
.saved-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15px; transition: box-shadow .2s, border-color .2s;
}
.saved-btn .ic { color: var(--red); }
.saved-btn:hover { box-shadow: var(--shadow); }
.saved-btn.is-active { border-color: var(--red); background: var(--red-50); }
.saved-btn .ic svg { fill: none; }
.saved-btn.is-active .ic svg { fill: currentColor; }
.ws-lead { margin-top: 10px; font-size: 17px; color: var(--muted); }

.search-box {
  margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 16px; align-items: end; box-shadow: var(--shadow-sm);
}
.search-box .btn { height: 44px; min-width: 130px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill {
  height: 42px; padding: 0 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 15px; font-weight: 500; color: var(--ink); transition: all .2s var(--ease);
}
.pill:hover { border-color: #c9cede; transform: translateY(-1px); }
.pill.is-active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(225, 29, 72, .7); }
.pills--events { align-items: center; margin-top: 14px; }
.pills--events > span { font-weight: 600; color: var(--ink); margin-right: 4px; }
.pills--events .pill.is-active { background: var(--red-50); color: var(--red); border-color: var(--red); box-shadow: none; }

.ws-body { padding: 36px 0 90px; }
.ws-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.ws-page .container { max-width: 1320px; }
.ws-count { font-size: 15px; color: var(--text); margin-bottom: 18px; }
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ws-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.ws-empty .ic { font-size: 34px; color: var(--red); margin-bottom: 10px; }

.scard {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 0.66; min-height: 400px;
  background: var(--navy); color: #fff; box-shadow: var(--shadow); isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.scard:hover > img { transform: scale(1.05); }
.scard::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 22, 58, .05) 0%, rgba(18, 22, 58, .2) 30%, rgba(24, 26, 74, .86) 62%, rgba(20, 22, 62, .97) 100%);
}
.scard__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }
.scard__badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--green); font-size: 12.5px; font-weight: 600; }
.scard__heart {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #fff;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); transition: transform .2s, background .2s, color .2s;
}
.scard__heart:hover { transform: scale(1.1); background: rgba(255, 255, 255, .32); }
.scard__heart.is-on { background: #fff; color: var(--red); }
.scard__heart.is-on svg { fill: currentColor; }
.scard__heart.is-pop { animation: pop .4s var(--ease); }
.scard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.scard h3 { color: #fff; font-size: 21px; letter-spacing: -.025em; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.scard__city { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.scard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.scard__tags span { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 600; }
.scard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 16px; }
.scard__price small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.scard__price { min-width: 0; }
.scard__price b { display: block; white-space: nowrap; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.scard__price span { font-size: 13px; color: rgba(255, 255, 255, .8); }
.scard__actions { display: flex; gap: 8px; flex-shrink: 0; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; transition: transform .2s, background .2s, box-shadow .2s;
}
.round-btn--glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.round-btn--glass:hover { background: rgba(255, 255, 255, .26); transform: translateX(2px); }
.round-btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 18px -6px rgba(225, 29, 72, .7); }
.round-btn--red:hover { transform: scale(1.08) rotate(90deg); }
.round-btn--red.is-added { background: #16a34a; box-shadow: 0 8px 18px -6px rgba(22, 163, 74, .7); }
.round-btn--red.is-added:hover { transform: scale(1.08); }

/* Cart panel */
.cart { position: sticky; top: 100px; padding: 24px; border-radius: var(--radius); }
.cart h2 { font-size: 21px; letter-spacing: -.02em; }
.cart__sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.cart__empty { text-align: center; padding: 28px 6px 16px; }
.cart__empty .ic { font-size: 30px; color: var(--navy); }
.cart__empty h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-top: 12px; }
.cart__empty p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.cart__stripe { text-align: center; font-size: 12px; color: var(--muted); margin: 18px 0 16px; }
.cart__hint { padding: 14px 16px; border-radius: 12px; background: var(--red-50); font-size: 13.5px; color: var(--ink); }
.cart__list { display: grid; gap: 12px; margin-top: 18px; }
.cart__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; animation: slideIn .35s var(--ease); }
.cart__item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.cart__item h4 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.cart__item small { display: block; font-size: 12.5px; color: var(--muted); }
.cart__remove { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.cart__remove:hover { background: var(--red-50); color: var(--red); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; font-size: 14px; }
.cart__total b { font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.cart .btn-block { margin-top: 14px; }

/* 9. Testimonials & FAQ --------------------------------------------------- */
.serve { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.serve h2 { font-size: 22px; }
.serve p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.serve__list { display: flex; flex-wrap: wrap; gap: 10px; }
.serve__list span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }
.serve__list .ic { color: var(--red); }

.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .6s var(--ease); }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.slide__art {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 45%, #ffd9e1 0%, #ffeef2 60%, #fff6f8 100%);
}
.slide__art::before, .slide__art::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed rgba(225, 29, 72, .2); }
.slide__art::before { width: 62%; aspect-ratio: 1; }
.slide__art::after { width: 86%; aspect-ratio: 1; }
.slide__heart {
  width: 96px; height: 96px; border-radius: 26px; background: linear-gradient(135deg, #ff7b96, var(--red)); color: #fff;
  display: grid; place-items: center; font-size: 44px; box-shadow: 0 20px 40px -12px rgba(225, 29, 72, .6); z-index: 1;
  animation: float 5s ease-in-out infinite;
}
.slide__heart svg { fill: currentColor; }
.slide__loc { position: absolute; bottom: 18px; left: 18px; z-index: 1; }
.slide__who { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.stars { display: flex; gap: 2px; color: #f59e0b; font-size: 16px; margin-top: 10px; }
.stars svg { fill: currentColor; }
.slide blockquote { margin: 16px 0 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.slide cite { display: block; margin-top: 18px; font-style: normal; font-size: 15px; color: var(--muted); }
.slide cite b { color: var(--ink); }
.slider__nav { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.slider__nav .icon-btn { background: #fff; border: 1px solid var(--line); }
.slider__nav .icon-btn:hover { border-color: var(--red); }
.dots { display: flex; gap: 6px; margin-left: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; background: #d7dae4; transition: width .3s var(--ease), background .3s; }
.dots button.is-active { width: 24px; background: var(--red); }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq:hover { box-shadow: var(--shadow-sm); }
.faq.is-open { border-color: #ffc9d4; box-shadow: var(--shadow); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 600; color: var(--ink); font-size: 16px; }
.faq__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); font-size: 16px; flex-shrink: 0; transition: transform .35s var(--ease), background .25s, color .25s; }
.faq.is-open .faq__icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* 10. CTA & footer -------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; border-radius: 26px; padding: 52px 56px; color: #fff;
  background: linear-gradient(120deg, #c8103a 0%, var(--red) 50%, #e8456a 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta::after { content: ""; position: absolute; left: 30%; bottom: -160px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); max-width: 520px; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .9); font-size: 16.5px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost-light { border-color: rgba(255, 255, 255, .7); }

/* Full-bleed CTA band (home) */
.cta-band { background: linear-gradient(120deg, #c8103a 0%, var(--red) 55%, #e8456a 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band .cta { background: none; border-radius: 0; padding: 64px 0; }
.cta-band .cta::before, .cta-band .cta::after { display: none; }
.cta-band::before { content: ""; position: absolute; right: 8%; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }

.footer { border-top: 1px solid var(--line); padding: 64px 0 0; background: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer__brand p { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 260px; }
.footer h4 { font-size: 14.5px; font-weight: 700; letter-spacing: -.005em; margin-bottom: 18px; }
.footer ul { display: grid; gap: 14px; }
.footer ul a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--red); }
.footer__bottom { margin-top: 56px; border-top: 1px solid var(--line); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.demo-tag { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #fff7e6; color: #9a5b00; font-size: 12px; font-weight: 600; border: 1px solid #ffe2a8; }

/* HTML sitemap + 404 pages */
.smap { padding: 28px; }
.smap__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.smap__head h2 { font-size: 20px; }
.smap__head h2 a:hover { color: var(--red); }
.smap ul { display: grid; gap: 4px; }
.smap li a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 0 -10px; border-radius: 9px; color: var(--text); font-size: 15px; transition: background .2s, color .2s; }
.smap li a:hover { background: var(--bg-soft); color: var(--red); }
.smap li .ic { color: var(--red); font-size: 14px; }
.smap__soon { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg-soft); padding: 1px 8px; border-radius: 999px; margin-left: auto; }
.e404 { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.e404__num { font-size: clamp(96px, 18vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(180deg, var(--red), #ffb3c3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e404 h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 8px; }
.e404 p { margin: 12px auto 0; max-width: 460px; color: var(--muted); }
.e404 .hero__actions { justify-content: center; }

/* 11. Modal & toast ------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(18, 22, 58, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s var(--ease); }
.modal__card {
  position: relative; width: min(440px, 100%); background: #fff; border-radius: 24px; padding: 40px 34px 32px; text-align: center;
  box-shadow: 0 40px 80px -20px rgba(18, 22, 58, .45); opacity: 0; transform: translateY(24px) scale(.94);
  transition: opacity .3s var(--ease), transform .4s cubic-bezier(.2, 1.3, .4, 1);
}
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 18px; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal__icon {
  width: 74px; height: 74px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; font-size: 34px; color: #fff;
  background: linear-gradient(135deg, #ff7b96, var(--red)); box-shadow: 0 16px 32px -12px rgba(225, 29, 72, .65);
}
.modal.is-open .modal__icon { animation: float 4s ease-in-out infinite; }
.modal__card h2 { font-size: 28px; margin-top: 22px; }
.modal__card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.modal__feature { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--red); background: var(--red-50); display: inline-block; padding: 5px 12px; border-radius: 999px; }
.modal__actions { display: grid; gap: 10px; margin-top: 26px; }

.toast-wrap { position: fixed; z-index: 110; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 14px; background: var(--navy); color: #fff;
  font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease) both;
}
.toast .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #22c55e; }
.toast.is-leaving { animation: toastOut .3s var(--ease) both; }

/* 12. Animations ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal--left { transform: translateX(-30px); }
.js .reveal--right { transform: translateX(30px); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .hero__inner > * { animation: heroIn .9s var(--ease) both; }
.hero .hero__inner > *:nth-child(2) { animation-delay: .08s; }
.hero .hero__inner > *:nth-child(3) { animation-delay: .16s; }
.hero .hero__inner > *:nth-child(4) { animation-delay: .24s; }
.hero .hero__inner > *:nth-child(5) { animation-delay: .32s; }
.hero__bg img { animation: kenburns 18s ease-out both; }

@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ws-grid .scard { animation: cardIn .5s var(--ease) both; animation-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 13. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-center { gap: 14px; }
  .switch a { padding: 0 12px; }
  .ws-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .filters .btn { grid-column: span 1; }
}

@media (max-width: 1024px) {
  .nav-center, .nav-login, .nav-register { display: none; }
  .menu-btn { display: inline-grid; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; gap: 32px; }
  .how__intro { position: static; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ws-layout { grid-template-columns: 1fr; }
  .cart { position: static; }
  .search-box { grid-template-columns: repeat(2, 1fr); }
  .search-box .btn { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .cta { flex-direction: column; align-items: flex-start; }
  .promise__body { padding: 34px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .topbar__links .hide-sm { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(18, 22, 58, .72) 0%, rgba(18, 22, 58, .88) 55%, rgba(18, 22, 58, .97) 100%); }
  .hero--split .hero__bg { width: 100%; left: 0; }
  .hero--split::before { background: linear-gradient(180deg, rgba(18, 22, 58, .55) 0%, rgba(18, 22, 58, .85) 45%, rgba(18, 22, 58, .97) 100%); }
  .hero__inner { padding: 64px 0 76px; }
  .hero--mm .hero__inner { padding: 60px 0 110px; }
  .info-card { grid-template-columns: 1fr; }
  .info-card__item + .info-card__item { border-left: 0; border-top: 1px solid var(--line); }
  .notice { flex-direction: column; align-items: flex-start; }
  .step-row { grid-template-columns: 1fr; padding: 24px; }
  .promise, .promise--flip { grid-template-columns: 1fr; }
  .promise--flip .promise__img { order: 0; }
  .promise__img { min-height: 220px; }
  .slide { grid-template-columns: 1fr; gap: 24px; }
  .slide__art { aspect-ratio: 16 / 9; }
  .faq-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .filters .btn { grid-column: 1 / -1; }
  .more-wide { flex-direction: column; align-items: flex-start; }
  .more-wide .btn { margin-left: 0; }
  .cta { padding: 40px 28px; border-radius: 22px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .saved-btn { margin-left: 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .topbar .container { height: 36px; }
  .hero--split { min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); }
  .topbar__msg { font-size: 12px; }
  .topbar__links { gap: 14px; }
  .navbar .container { height: 64px; }
  .logo img { width: 40px; height: 40px; }
  .logo__name { font-size: 19px; }
  .logo__tag { font-size: 7px; }
  .grid-4, .ws-grid, .trust .container { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .hero__actions .btn { width: 100%; }
  .hero__note { font-size: 12.5px; }
  .search-box, .filters { grid-template-columns: 1fr; }
  .scard { aspect-ratio: auto; min-height: 430px; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__bottom { flex-direction: column; }
  .way__body { padding: 24px; }
  .promise__body { padding: 28px 24px; }
  .promise .step-num { font-size: 56px; }
  .modal__card { padding: 36px 24px 26px; }
  .pill { height: 38px; padding: 0 15px; font-size: 14px; }
}
