/* ── Variables ──────────────────────────────────────── */
:root {
  --color-primary: #009ad8;
  --color-primary-dark: #005f83;
  --color-accent: #fabf35;
  --color-dark: #212427;
  --color-body: #52535a;
  --color-border: #ececec;
  --color-bg-page: #f5f7fa;
  --color-bg-card: #ebf9ff;
  --color-bg-icon: #93e1ff;
  --color-white: #ffffff;

  --font-family: "Rubik", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.07);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12);

  --max-width: 1200px;
  --gutter-desktop: 120px;
  --gutter-mobile: 20px;

  --transition: 0.25s ease;
}

@media (min-width: 900px) {
  :root {
    --gutter-mobile: var(--gutter-desktop);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 96px;
  }
}

/* ── Utilities ──────────────────────────────────────── */
.text-underline {
  text-decoration: underline;
}
.text-bold {
  font-weight: 700;
}

.hidden {
  display: none !important;
  width: 0 !important;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
  white-space: nowrap;
}

.btn--cta {
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn--cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 24px rgba(250, 191, 53, 0.45);
  transform: translateY(-1px);
}

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

/* ── Scroll Controls & Scrollable Container ─────────── */
.scroll-controls {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-self: end;
  margin-top: 24px;

  @media (min-width: 1200px) {
    display: none;
  }
}

.scroll-left,
.scroll-right {
  display: flex;
  align-self: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 35%;
}

.scrollable-container {
  display: flex;
  margin: 0 -20px;
  padding: 0 20px;
  gap: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  @media (min-width: 1200px) {
    justify-content: center;
    margin: 0 -120px;
  }
}

.scrollable-container::-webkit-scrollbar {
  display: none;
}

.cookies-banner {
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1rem;
  border-bottom-width: 1px;
  width: 100%;
  max-height: 100vh;
  background-color: #ffffff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 9999;
}

.cookies-banner__inner {
  padding: 1.5rem;
  margin: 0 auto;
  width: 100%;
  max-width: none;

  @media (min-width: 768px) {
    width: 80%;
  }
}

@media (min-width: 768px) {
  .cookies-banner__logo-container {
    margin-left: 0;
    margin-right: 0;
  }
}

.cookies-banner__heading-brand {
  color: rgb(0, 126, 174);
}

.cookies-text {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: center;
  color: #374151;

  @media (min-width: 768px) {
    text-align: left;
  }
}

.cookies-text__list {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  list-style-type: disc;
  text-align: left;
}

.cookies-text__body {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;

  a {
    text-decoration: underline;
    color: #007eae;
  }
}

.cookies-buttons__container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cookies-buttons__inner {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  width: 100%;
}

.cookies-buttons__actions {
  display: flex;
  padding-left: 1rem;
  padding-right: 1rem;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;

  @media (min-width: 768px) {
    flex-direction: row;
    gap: 1.5rem;
    width: auto;
  }

  button {
    border-radius: 9999px;
    color: #ffffff;
    padding: 0.75rem 4.5rem;
    transition-property:
      background-color, border-color, color, fill, stroke, opacity, box-shadow,
      transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background: #007eae;

    :hover {
      background: #006b8f;
    }

    a {
      font-size: 1rem;
    }
  }
}

.cookies-buttons__configure {
  margin-top: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  white-space: nowrap;
  color: #007eae;

  @media (min-width: 768px) {
    margin-top: 0;
    margin-left: 1rem;
  }
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
