:root {
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(45, 42, 50, 0.06);
  --shadow-md: 0 10px 32px rgba(45, 42, 50, 0.08);
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --pink: #FF4D8D;
  --purple: #7B61FF;
  --gradient: linear-gradient(135deg, #FF4D8D, #7B61FF);
  --success: #10B981;
  --destructive: #DC2626;
}
[data-theme="light"] {
  --bg: #FAF6F8;
  --card: #FEFCFD;
  --text: #2D2A32;
  --muted: #6B666F;
  --border: #E3DEE5;
  --nav: rgba(250, 246, 248, 0.9);
  --focus: #7B61FF;
}
[data-theme="dark"] {
  --bg: hsl(215 25% 8%);
  --card: hsl(215 25% 12%);
  --text: hsl(220 20% 92%);
  --muted: hsl(220 10% 70%);
  --border: hsl(215 15% 22%);
  --nav: hsla(215, 25%, 8%, 0.9);
  --focus: #7B61FF;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-width: 0;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.nav-logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nav-links a {
  padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--pink) 10%, transparent); }
.nav-controls { display: flex; gap: 8px; align-items: center; }
.icon-btn, .lang-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.lang-wrap { position: relative; }
.lang-drop {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-md); min-width: 160px; padding: 6px; z-index: 50;
}
.lang-wrap.open .lang-drop { display: block; }
.lang-drop button {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  border: 0; background: none; color: var(--text); border-radius: 8px; cursor: pointer;
}
.lang-drop button:hover, .lang-drop button[aria-current="true"] { background: color-mix(in srgb, var(--pink) 12%, transparent); }
.hero { padding: 56px 0 40px; }
.hero h1 {
  font-family: var(--font-accent);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 700; line-height: 1.25; max-width: 18em; letter-spacing: -0.02em;
}
.hero p.lead { margin-top: 16px; color: var(--muted); max-width: 40em; font-size: 1.05rem; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 16px; font-weight: 600;
  border: 0; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn:focus-visible, .icon-btn:focus-visible, .lang-btn:focus-visible,
a:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.section { padding: 48px 0; }
.section h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em;
}
.section .sub { color: var(--muted); margin-bottom: 28px; max-width: 40em; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { min-height: 56px; }
}
@media (min-width: 960px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 650; }
.card p, .muted { color: var(--muted); font-size: 0.95rem; }
.step-num {
  font-weight: 800; font-size: 1.4rem;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.footnote { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.phone {
  width: min(280px, 70vw); margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 32px; padding: 12px; box-shadow: var(--shadow-md);
}
.phone img { border-radius: 22px; aspect-ratio: 9/19; object-fit: cover; background: var(--bg); }
details.faq {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 4px 16px; margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600;
}
details.faq summary::after { content: '+'; float: right; color: var(--pink); font-weight: 700; }
details.faq[open] summary::after { content: '–'; }
details.faq p { padding: 0 0 14px; color: var(--muted); }
.form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg); color: var(--text);
}
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pink); flex-shrink: 0; }
.status { font-size: 0.85rem; margin-top: 6px; }
.status.ok { color: var(--success); }
.status.bad { color: var(--destructive); }
.form-msg { margin-top: 14px; padding: 12px; border-radius: 12px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: color-mix(in srgb, var(--success) 16%, var(--card)); }
.form-msg.bad { background: color-mix(in srgb, var(--destructive) 14%, var(--card)); }
.footer { padding: 40px 0 28px; border-top: 1px solid var(--border); margin-top: 24px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { margin-bottom: 10px; font-size: 0.95rem; }
.footer a { color: var(--muted); display: inline-block; margin-bottom: 8px; }
.footer a:hover { color: var(--pink); }
.reveal { opacity: 0; transform: translateY(12px); animation: fadeup 0.7s ease forwards; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
@keyframes fadeup { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  html { scroll-behavior: auto; }
}
