:root {
  --yellow: #fde805;
  --blue: #0d529e;
  --red: #e01614;
  --green: #038742;
  --pink: #e83988;
  --skin: #f4b788;
  --dark: #16140f;
  --cream: #faf6ec;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/RSG-Bakgrund.jpg") center / cover no-repeat fixed;
}

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

/* Hero */

.hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(7rem, 14vw, 9rem) 1.5rem 10rem;
  text-align: center;
  color: #fff;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 0.5rem;
  max-width: 20ch;
  -webkit-text-stroke: 1px var(--yellow);
}

.hero__text {
  max-width: 60ch;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.site-logo {
  position: fixed;
  top: clamp(1rem, 6vw, 2rem);
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  transition: transform 0.2s ease;
}

.site-logo img {
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.site-logo__horizontal {
  width: clamp(140px, 24vw, 200px);
}

.site-logo .site-logo__hand {
  width: 44px;
  display: none;
}

.site-logo.is-scrolled .site-logo__horizontal {
  display: none;
}

.site-logo.is-scrolled .site-logo__hand {
  display: block;
}

.cta-badge {
  position: fixed;
  right: clamp(1rem, 6vw, 4rem);
  bottom: 3rem;
  z-index: 50;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  display: block;
}

.cta-badge.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.cta-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.site-logo:hover,
.site-logo:focus-visible {
  transform: translateX(-50%) scale(1.06);
}

.cta-badge:hover,
.cta-badge:focus-visible {
  transform: scale(1.06);
}

/* Scroll arrows */

.scroll-arrow {
  display: block;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  animation: bob 1.6s ease-in-out infinite;
}

.scroll-arrow--down {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.footer .scroll-arrow--up {
  animation: none;
  transform: rotate(0deg);
  margin: 0 auto;
}

/* Sections */

.section {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 5rem 1.5rem;
  text-align: center;
  color: #fff;
}

.section > *:not(.scroll-arrow) {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 0.5rem;
}

.section__text {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.steps li::before {
  content: counter(step);
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: none;
}

.copy-number a[href^="tel:"] {
  color: inherit;
  text-decoration: inherit;
}

.copy-number {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.35rem;
  border: 1px dashed var(--yellow);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  padding: 0.2rem 0.4rem 0.2rem 0.75rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.copy-number:hover,
.copy-number:focus-visible {
  background: rgba(253, 232, 5, 0.15);
  transform: scale(1.03);
}

.copy-number__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: var(--yellow);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-shadow: none;
}

.copy-number.is-copied .copy-number__label {
  background: var(--green);
  color: #fff;
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--blue);
  transform: scale(1.04);
}

.section > .contact-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  max-width: none;
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--dark);
}

.contact-bar a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-bar a:hover,
.contact-bar a:focus-visible {
  text-decoration: underline;
}

/* Footer */

.footer {
  position: relative;
  z-index: 2;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 100dvh;
  padding: 3rem 1.5rem 4rem;
  color: #fff;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
