:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-dark: #080808;
  --bg-dark-soft: #111111;

  --text: #111111;
  --text-muted: #666666;
  --text-light: #ffffff;
  --text-light-muted: rgba(255, 255, 255, 0.68);

  --accent: #d71920;
  --accent-dark: #b91419;
  --accent-soft: rgba(215, 25, 32, 0.08);

  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-xl: 46px;

  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.18);

  --container: 1440px;
  --side-padding: 4vw;

  --transition: 0.28s ease;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* BASE */

.page {
  width: 100%;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

section {
  position: relative;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

/* TYPOGRAPHY */

.section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.3rem, 10vw, 4.6rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.section-text {
  max-width: 720px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: #111111;
  color: #ffffff;
}

.btn-dark:hover {
  background: #000000;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--text);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: #111111;
}

.btn-light:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* CARDS */

.card {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.dark-card {
  border-radius: var(--radius-md);
  background: var(--bg-dark-soft);
  color: #ffffff;
  border: 1px solid var(--border-light);
}

/* FORMS */

input,
textarea {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 18px;
  padding: 16px 18px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ACCESSIBILITY */

:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.35);
  outline-offset: 3px;
}

/* REVEAL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

/* UTILS */

.hide-mobile {
  display: none;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.dark-section {
  background: var(--bg-dark);
  color: #ffffff;
}

.dark-section .section-title {
  color: #ffffff;
}

.dark-section .section-text {
  color: var(--text-light-muted);
}

/* RESPONSIVE */

@media (min-width: 768px) {
  :root {
    --side-padding: 5vw;
  }

  .section-label {
    margin-bottom: 18px;
  }

  .section-title {
    font-size: clamp(3.2rem, 6vw, 6rem);
  }

  .section-text {
    font-size: 1.08rem;
  }

  .btn {
    min-height: 54px;
  }

  .hide-mobile {
    display: block;
  }

  .hide-desktop {
    display: none;
  }
}

@media (min-width: 1120px) {
  :root {
    --side-padding: 4vw;
  }

  .section-title {
    font-size: clamp(4rem, 5.8vw, 6.8rem);
  }
}

@media (max-width: 420px) {
  :root {
    --side-padding: 4vw;
  }

  .btn {
    width: 100%;
  }

  .section-label {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }
}