/* ===================== syi.kz — главная ===================== */
body.home {
  --ink: #0f2a2e;
  --ink-2: #16363c;
  --teal: #1f6f6a;
  --gold: #c9a24a;
  --gold-2: #b38a33;
  --gold-soft: #f3e3bb;
  --cream: #faf5ec;
  --cream-2: #f3ead9;
  --text: #1d2a2c;
  --muted: #5d6b6c;
  --line: #e6dcc8;
  --display: "Montserrat", "Onest", system-ui, sans-serif;
  background: #fffdf9;
  color: var(--text);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body.home { max-width: none; margin: 0; padding: 0; }
body.home main { overflow-x: hidden; }

/* ---------- шапка ---------- */
body.home .top {
  max-width: 1200px;
  padding: 0.9rem 1.25rem;
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.home .top::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; transform: translateX(-50%);
  border-bottom: 1px solid var(--line); pointer-events: none;
}
body.home .logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0; text-transform: none; color: var(--ink);
}
.logo-mark {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--ink, #0f2a2e), #1f6f6a); color: #f3d68a;
  font-family: "Montserrat", sans-serif; font-size: 1rem; font-weight: 600;
}
body.home .nav { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
body.home .nav a {
  margin: 0; padding: 0.55rem 0.9rem; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
body.home .nav a:hover { background: var(--cream-2); }
body.home .nav .nav-cta { background: var(--ink); color: #fff; }
body.home .nav .nav-cta:hover { background: var(--teal); }
body.home .lang { display: flex; }
body.home .lang button {
  min-height: 40px; min-width: 48px; margin-left: 0.25rem;
  font-weight: 700; font-size: 0.8rem; color: var(--ink); border-color: var(--line); background: #fff;
}
body.home .lang button[aria-current="true"] { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }

/* ---------- общие ---------- */
.h-wrap { width: min(1160px, 100% - 2.5rem); margin: 0 auto; }
.h-narrow { width: min(820px, 100% - 2.5rem); }
.h-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 1.7rem; border-radius: 14px;
  font-weight: 800; font-size: 1.02rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.h-btn:hover { transform: translateY(-2px); }
.h-btn-main { background: var(--gold); color: #231a08; box-shadow: 0 12px 28px -12px rgba(179, 138, 51, 0.8); }
.h-btn-main:hover { background: #d8b35c; }
.h-btn-line { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.h-btn-line:hover { background: var(--ink); color: #fff; }

.h-sec { padding: 4.5rem 0; }
.h-sec-cream { background: var(--cream); }
.h-sec-dark { background: var(--ink); color: #f4ead8; }
.h-head { max-width: 680px; margin: 0 auto 2.4rem; text-align: center; }
.h-head h2 {
  margin: 0 0 0.7rem; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; color: inherit;
}
.h-head p { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.h-sec-dark .h-head p { color: #b9c6c3; }

/* ---------- первый экран ---------- */
.h-hero {
  position: relative;
  padding: 2.6rem 0 3.2rem;
  background:
    radial-gradient(700px 420px at 8% 10%, rgba(201, 162, 74, 0.16), transparent 60%),
    radial-gradient(640px 460px at 92% 30%, rgba(31, 111, 106, 0.14), transparent 60%),
    #fffdf9;
}
.h-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem; align-items: center;
  min-height: min(calc(100vh - 150px), 720px);
}
.h-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 700; color: var(--teal);
}
.h-badge i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18); }
.h-hero h1 {
  margin: 1.1rem 0 1rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.07; letter-spacing: -0.03em;
  color: var(--ink);
}
.h-hero h1 em { font-style: normal; color: var(--gold-2); white-space: nowrap; }
.h-lead { margin: 0; max-width: 34rem; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }
.h-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.h-price { margin: 1rem 0 0; font-size: 0.95rem; font-weight: 700; color: var(--teal); }
.h-price a { color: var(--gold-2); }
.h-checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.h-checks li { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.h-checks li::before { content: "✓"; margin-right: 0.4rem; color: #1f9d6a; font-weight: 800; }

.h-hero-visual { position: relative; justify-self: center; padding: 1rem 2.5rem; }
.h-phone {
  position: relative; display: block; width: min(300px, 70vw); aspect-ratio: 390 / 772;
  padding: 10px; border-radius: 42px; background: #0b1d20;
  box-shadow: 0 40px 80px -30px rgba(15, 42, 46, 0.55), 0 0 0 10px rgba(201, 162, 74, 0.14);
  transform: rotate(2deg); transition: transform 0.4s;
}
.h-phone:hover { transform: rotate(0deg) translateY(-4px); }
.h-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; display: block; }
.h-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 12px; background: #0b1d20; z-index: 2; }
.h-float {
  position: absolute; display: flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 0.9rem; border-radius: 14px; background: #fff;
  box-shadow: 0 16px 36px -14px rgba(15, 42, 46, 0.4); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  animation: h-bob 6s ease-in-out infinite;
}
.h-float b {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  background: #e7f7ee; color: #1f9d6a; font-size: 0.9rem;
}
.h-float-a { left: -1.5rem; top: 22%; }
.h-float-b { right: -1rem; top: 52%; animation-delay: -2s; }
.h-float-b b { background: #fdf3dc; }
.h-float-c { left: 0; bottom: 12%; animation-delay: -4s; }
.h-float-c b { background: #e8f1f7; }
@keyframes h-bob { 50% { transform: translateY(-8px); } }

/* ---------- форматы ---------- */
.h-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.h-format {
  position: relative; display: block; border-radius: 20px; overflow: hidden;
  aspect-ratio: 3 / 2; text-decoration: none; color: #fff; background: var(--ink);
}
.h-format img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.h-format::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 24, 26, 0.85)); }
.h-format:hover img { transform: scale(1.06); }
.h-format-name {
  position: absolute; left: 1.1rem; bottom: 2.4rem; z-index: 1;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
}
.h-format-go { position: absolute; left: 1.1rem; bottom: 0.9rem; z-index: 1; font-weight: 700; font-size: 0.92rem; color: #f3d68a; }

/* ---------- шаги ---------- */
.h-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.h-steps li { position: relative; padding: 1.6rem 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.h-step-n {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px;
  background: var(--ink); color: #f3d68a; font-family: var(--display); font-weight: 700;
}
.h-steps h3 { margin: 1rem 0 0.4rem; font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.h-steps p { margin: 0; color: var(--muted); line-height: 1.55; }

/* ---------- три момента ---------- */
.h-moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.h-moment {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.6rem 1.3rem; border-radius: 22px; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(243, 214, 138, 0.18);
  transition: border-color 0.3s, transform 0.3s;
}
.h-moment:hover { border-color: rgba(243, 214, 138, 0.55); transform: translateY(-4px); }
.h-mini-phone {
  display: block; width: 62%; aspect-ratio: 390 / 560; padding: 6px; border-radius: 26px;
  background: #06120f; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
}
.h-mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; display: block; }
.h-moment h3 { margin: 1.2rem 0 0.4rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #f3d68a; }
.h-moment p { margin: 0; color: #c9d3d1; line-height: 1.55; flex: 1; }
.h-link { margin-top: 0.9rem; font-weight: 700; color: #fff; }

/* ---------- тарифы ---------- */
.h-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.h-plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.6rem 1.4rem; border-radius: 22px; background: #fff; border: 1px solid var(--line);
}
.h-plan.is-pick { border: 2px solid var(--gold); box-shadow: 0 24px 50px -30px rgba(179, 138, 51, 0.7); }
.h-plan-tag {
  position: absolute; top: -0.8rem; left: 1.4rem; padding: 0.3rem 0.75rem; border-radius: 999px;
  background: var(--gold); color: #231a08; font-size: 0.8rem; font-weight: 800;
}
.h-plan h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.h-plan-price { margin: 0.6rem 0 1rem; font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--ink); }
.h-plan-price small { font-family: "Onest", sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.h-plan ul { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: 0.55rem; flex: 1; align-content: start; }
.h-plan li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; line-height: 1.4; }
.h-plan li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.h-plan li.on::before { content: "✓"; color: #1f9d6a; }
.h-plan li.off { color: #a3aaa9; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.15); }
.h-plan li.off::before { content: "—"; color: #c3c8c7; }
.h-plan .h-btn { width: 100%; min-height: 48px; }

/* ---------- FAQ ---------- */
.h-faq { display: grid; gap: 0.7rem; }
.h-faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 0 1.2rem; }
.h-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 60px; font-weight: 800; font-size: 1.05rem; color: var(--ink);
}
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 600; color: var(--gold-2); transition: transform 0.2s; }
.h-faq details[open] summary::after { transform: rotate(45deg); }
.h-faq p { margin: 0 0 1.1rem; color: var(--muted); line-height: 1.6; }

/* ---------- финал ---------- */
.h-final { padding: 4rem 0; text-align: center; background: linear-gradient(135deg, var(--ink), #1f4f4f); color: #fff; }
.h-final h2 { margin: 0 0 1.4rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.3rem); }

body.home .site-foot { max-width: 1160px; padding: 2rem 1.25rem 3rem; color: var(--muted); }
body.home .site-foot a { color: var(--teal); font-weight: 600; }
.h-sticky { display: none; }

/* ---------- адаптив ---------- */
@media (max-width: 960px) {
  .h-hero-grid { grid-template-columns: 1fr; min-height: 0; max-height: none; gap: 2rem; }
  .h-hero-visual { order: 2; }
  .h-formats, .h-moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .h-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.home .top { padding: 0.6rem 1rem; gap: 0.5rem; flex-wrap: nowrap; }
  body.home .logo { font-size: 1rem; }
  body.home .nav a { padding: 0.45rem 0.6rem; font-size: 0.88rem; }
  body.home .nav .nav-cta { display: none; }
  body.home .lang button { min-width: 40px; min-height: 36px; font-size: 0.72rem; }
  .h-hero { padding: 1.4rem 0 2.4rem; }
  .h-hero h1 { font-size: 2rem; margin: 0.9rem 0 0.8rem; }
  .h-lead { font-size: 1rem; }
  .h-cta { margin-top: 1.3rem; }
  .h-cta .h-btn { width: 100%; }
  .h-hero-visual { padding: 0.5rem 0; }
  .h-phone { width: 230px; }
  .h-float { font-size: 0.78rem; padding: 0.45rem 0.7rem; }
  .h-float-a { left: -3.2rem; }
  .h-float-b { right: -3.4rem; }
  .h-float-c { left: -2.6rem; }
  .h-sec { padding: 3.2rem 0; }
  .h-formats { gap: 0.7rem; }
  .h-format-name { font-size: 1rem; bottom: 2rem; left: 0.8rem; }
  .h-format-go { left: 0.8rem; bottom: 0.7rem; font-size: 0.82rem; }
  .h-moments, .h-plans { grid-template-columns: 1fr; }
  .h-mini-phone { width: 52%; }
  body.home .site-foot { padding-bottom: 6rem; }
  .h-sticky {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 1rem; right: 1rem; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
    min-height: 54px; border-radius: 16px; background: var(--gold); color: #231a08;
    font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(15, 42, 46, 0.5);
  }
}
@media (prefers-reduced-motion: reduce) {
  .h-float { animation: none; }
  .h-btn, .h-phone, .h-format img, .h-moment { transition: none; }
}

/* --- 2026-09-16 warm marketing refresh --- */
body.home {
  --ink: #1a120c;
  --ink-2: #2c1810;
  --teal: #8b3a2a;
  --gold: #c9a24a;
  --cream: #faf5ec;
  --cream-2: #f3ead9;
  background: #fffdf9;
}
body.home .logo-mark {
  background: linear-gradient(135deg, #5c2a1a, #c9a24a); color: #fff8e8;
}
body.home .nav .nav-cta,
body.home .h-btn-main {
  background: linear-gradient(135deg, #c9a24a, #e0b85c); color: #231a08;
}
.h-sec-warm {
  background:
    radial-gradient(800px 360px at 0% 0%, #f6dfb8 0%, transparent 60%),
    #fff8ee;
}
.h-more { text-align: center; margin: 1.5rem 0 0; }
.h-more a { color: #8a5a18; font-weight: 700; text-decoration: none; margin: 0 0.35rem; }
.h-gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .h-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.h-gcard {
  display: block; text-decoration: none; color: inherit;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: #1a120c; position: relative;
}
.h-gcard img { width: 100%; aspect-ratio: 3/4.2; object-fit: cover; display: block; opacity: 0.95; }
.h-gcard span {
  position: absolute; left: 0.7rem; bottom: 0.7rem;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  background: rgba(255,248,232,0.92); color: #2c1810; font-weight: 800; font-size: 0.85rem;
}
.h-reviews {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.h-reviews blockquote {
  margin: 0; padding: 1.2rem 1.15rem; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
}
.h-reviews p { margin: 0 0 0.8rem; line-height: 1.5; color: var(--text); }
.h-reviews cite { color: var(--muted); font-style: normal; font-weight: 600; font-size: 0.9rem; }
