:root {
  --brand: #ff2508;
  --brand-deep: #d91e05;
  --brand-soft: #ffe8e5;
  --ink: #1a1a1a;
  --muted: #666666;
  --paper: #ffffff;
  --paper-soft: #f8f8f8;
  --border: #e5e5e5;
  --on-brand: #ffffff;
  --font: "Nunito", system-ui, sans-serif;
  --header-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

button {
  font: inherit;
}

/* —— Header —— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 1.25rem;
  transition:
    background-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.brand-logo {
  display: block;
  width: 9.5rem;
  height: auto;
}

.lang-toggle {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--on-brand);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* —— Hero —— */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 3.5rem;
  background: var(--brand);
  color: var(--on-brand);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 15%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(0, 0, 0, 0.18), transparent 50%),
    linear-gradient(165deg, var(--brand) 0%, var(--brand-deep) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(28rem, 92vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.countdown {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
}

.countdown-label {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.countdown-value {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.countdown-unit-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.85rem;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    opacity 0.25s var(--ease-out);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--paper);
  color: var(--brand);
}

.btn-primary:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--on-brand);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--on-brand);
}

/* —— Sections —— */

.section {
  padding: 4.5rem 1.25rem;
}

.section-inner {
  width: min(52rem, 100%);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
}

.how {
  background: var(--paper);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  margin: 0;
  padding: 0;
}

.step-index {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.services {
  background: var(--paper-soft);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.service-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* —— Footer —— */

.site-footer {
  padding: 2rem 1.25rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  width: min(52rem, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-align: center;
}

.footer-brand {
  margin: 0;
}

.footer-sep {
  margin: 0 0.45rem;
  opacity: 0.45;
}

.footer-brand a:hover {
  color: #fff;
}

/* —— Motion —— */

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.hero .reveal:nth-child(2) {
  transition-delay: 0.14s;
}

.hero .reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.hero .reveal:nth-child(4) {
  transition-delay: 0.34s;
}

.hero .reveal:nth-child(5) {
  transition-delay: 0.44s;
}

.step.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.step.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .btn:hover:not(:disabled) {
    transform: none;
  }
}
