:root {
  --red: #e10600;
  --red-dark: #c00500;
  --red-soft: #fff1f0;
  --text: #111111;
  --text-2: #333333;
  --muted: #6b7280;
  --line: #ececec;
  --bg: #ffffff;
  --bg-soft: #f7f8f9;
  --green: #16a34a;
  --green-bg: #e8f8ee;
  --shadow: 0 8px 28px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 18px 50px rgba(17, 17, 17, 0.12);
  --radius: 14px;
  --header: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 100%;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--red);
}

.logo-mark {
  width: 36px;
  height: 28px;
}

.logo-word {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang {
  position: relative;
}

.lang-btn,
.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s;
}

.lang-btn:hover,
.help-btn:hover {
  background: var(--bg-soft);
}

.flag {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.flag-w,
.flag-r {
  flex: 1;
}

.flag-w {
  background: #fff;
}

.flag-r {
  background: #dc143c;
}

.lang-btn .chevron {
  transition: transform 0.25s var(--ease);
}

.lang.is-open .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 140px;
  padding: 6px;
  list-style: none;
  animation: pop 0.22s var(--ease);
}

.lang-menu button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.lang-menu button:hover,
.lang-menu button[aria-selected="true"] {
  background: var(--red-soft);
  color: var(--red);
}

.help-icon {
  width: 20px;
  height: 20px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 12px 0 36px;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: -10%;
  width: 72%;
  height: 250px;
  object-fit: cover;
  object-position: 72% 42%;
  animation: kenburns 22s var(--ease) forwards;
  will-change: transform;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, #fff 28%, rgba(255, 255, 255, 0.72) 46%, rgba(255, 255, 255, 0.12) 70%, transparent 88%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 28%, rgba(255, 255, 255, 0.78) 52%, #fff 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
  width: calc(100% - 40px);
}

.hero-title {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  animation: fadeUp 0.7s var(--ease) both;
}

.hero-lead {
  margin-top: 12px;
  color: var(--red);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.hero-desc {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 42ch;
  animation: fadeUp 0.7s var(--ease) 0.18s both;
}

.status-card {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.7s var(--ease) 0.26s both;
}

.status-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px var(--green-bg);
  animation: popIn 0.5s var(--ease) 0.55s both;
}

.status-title {
  font-weight: 700;
  font-size: 15px;
}

.status-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.btn-cta {
  margin-top: 22px;
  width: 100%;
  max-width: 520px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28);
  animation: fadeUp 0.7s var(--ease) 0.34s both, pulse 2.8s ease-in-out 1.2s infinite;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}

.btn-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 3.6s ease-in-out 1.8s infinite;
}

a.btn-cta {
  text-decoration: none;
  color: #fff;
}

.btn-cta span {
  position: relative;
  z-index: 1;
}

.btn-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(225, 6, 0, 0.34);
}

.btn-cta:active {
  transform: translateY(0);
}

.time-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  animation: fadeUp 0.7s var(--ease) 0.42s both;
}

/* Sections */
.section {
  padding: 28px 0 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.how {
  padding-top: 8px;
}

.steps {
  display: grid;
  gap: 12px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #f0d0ce;
}

.step-card:hover .step-num {
  transform: scale(1.08);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}

.step-icon {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 14px;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.step-link span:last-child {
  transition: transform 0.25s var(--ease);
}

.step-link:hover span:last-child {
  transform: translateX(4px);
}

/* Values */
.values {
  padding: 36px 0 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  display: grid;
  place-items: center;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-item p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}

.value-item strong {
  color: var(--text);
  font-weight: 700;
}

/* FAQ */
.faq {
  padding: 24px 0 56px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.acc-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}

.acc-item.is-open {
  box-shadow: var(--shadow);
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 16px;
  text-align: left;
  cursor: pointer;
}

.acc-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #8a8f98;
}

.acc-icon svg {
  width: 24px;
  height: 24px;
}

.acc-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.acc-chevron {
  flex-shrink: 0;
  color: #9aa0a8;
  transition: transform 0.35s var(--ease);
}

.acc-item.is-open .acc-chevron {
  transform: rotate(180deg);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-inner {
  overflow: hidden;
}

.acc-inner p {
  padding: 0 16px 18px 56px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 32px 0 24px;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-brand .logo-word {
  color: var(--red);
}

.footer-brand p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-nav a,
.footer-nav button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.footer-nav a.is-active {
  color: var(--red);
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--red);
}

/* Inner pages */
.page {
  padding: 36px 0 72px;
  animation: fadeUp 0.55s var(--ease) both;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-kicker a {
  color: var(--muted);
  text-decoration: none;
}

.page-kicker a:hover {
  color: var(--red);
}

.page h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.page-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
  margin-bottom: 28px;
}

.legal {
  max-width: 760px;
}

.legal h2 {
  font-size: 18px;
  margin: 28px 0 10px;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.legal p + p {
  margin-top: 12px;
}

.legal ol,
.legal ul {
  padding-left: 20px;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.legal .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #f0d0ce;
}

.contact-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-ico svg {
  width: 22px;
  height: 22px;
}

.contact-card strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.contact-card span {
  font-size: 16px;
  font-weight: 700;
}

.contact-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.form h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.08);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-ok {
  display: none;
  padding: 18px;
  border-radius: 12px;
  background: var(--green-bg);
  color: #166534;
  font-weight: 600;
}

.form.is-sent .form-ok {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

.form.is-sent .form-fields {
  display: none;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page {
    padding: 48px 0 96px;
  }
}

.copy {
  color: var(--muted);
  font-size: 12px;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.48);
  backdrop-filter: blur(8px);
  animation: fade 0.3s ease both;
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s var(--ease) both;
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--bg-soft);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-2);
}

.modal-card h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  padding-right: 36px;
}

.modal-lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.help-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.help-list li {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 12px;
}

.help-list strong {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.help-list a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.help-list span {
  font-size: 12px;
  color: var(--muted);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.check-card {
  min-height: 280px;
}

.check-progress {
  height: 4px;
  background: #f1f1f1;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 22px;
}

.check-bar {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--red);
  border-radius: 99px;
  transition: width 0.4s var(--ease);
}

.check-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.check-step {
  display: none;
}

.check-step.is-active {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

.check-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.check-opts button {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s var(--ease);
}

.check-opts button:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
  transform: translateY(-2px);
}

.check-result {
  text-align: center;
}

.result-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 8px auto 14px;
}

.result-badge.ok {
  background: var(--green);
  box-shadow: 0 0 0 8px var(--green-bg);
}

.result-badge.fail {
  background: var(--red);
  box-shadow: 0 0 0 8px var(--red-soft);
}

.check-result p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.check-result .btn-cta {
  margin-top: 0;
  animation: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s var(--ease) var(--d, 0s) both;
  animation-play-state: paused;
}

.reveal.is-in {
  animation-play-state: running;
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-2%, 2%); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28), 0 0 0 0 rgba(225, 6, 0, 0.35); }
  50% { box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28), 0 0 0 10px rgba(225, 6, 0, 0); }
}

@keyframes shine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes popIn {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 560px;
    padding: 36px 0 48px;
    display: flex;
    align-items: center;
  }

  .hero-photo {
    width: 58%;
    height: 100%;
    right: 0;
    object-position: 65% center;
  }

  .hero-fade {
    background: linear-gradient(
      90deg,
      #fff 0%,
      #fff 40%,
      rgba(255, 255, 255, 0.9) 52%,
      rgba(255, 255, 255, 0.32) 68%,
      transparent 84%
    );
  }

  .hero-content {
    margin-left: max(20px, calc((100% - 1120px) / 2));
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: start;
  }

  .section {
    padding: 40px 0 24px;
  }

  .faq {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .help-btn span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero-title {
    max-width: 16ch;
  }

  #main,
  .footer {
    padding-bottom: calc(24px + var(--support-fab-offset, 72px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
