/* --- VARIABLES --- */
:root {
  --bg-color: #f4f4f0; /* Теплий білий */
  --line-color: #111111; /* Колір сітки */
  --text-primary: #111111;
  --text-secondary: #555555;
  --accent-color: #ff3b30; /* Swiss Red */

  --font-head: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;

  --header-height: 80px;
  --border-width: 1px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

ul {
  list-style: none;
}

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

/* --- HEADER (Grid Layout) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-color);
  border-bottom: var(--border-width) solid var(--line-color);
}

.header__grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: var(--header-height);
}

/* Logo Cell */
.header__cell--logo {
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-right: var(--border-width) solid var(--line-color);
  flex-shrink: 0;
}

.header__logo-img {
  height: 40px;
  width: auto;
}

/* Nav Cell */
.header__cell--nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 40px;
}

.header__menu {
  display: flex;
  gap: 0; /* Gap is handled by padding inside links for cleaner hover areas */
  height: 100%;
}

.header__item {
  height: 100%;
  display: flex;
  align-items: center;
}

.header__link {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  padding: 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.2s ease;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

/* Hover Effect: Invert colors block style */
.header__link:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

.header__link--active {
  background-color: var(--accent-color);
  color: #fff;
}

.header__link--active:hover {
  background-color: #d32f2f; /* Darker red */
  color: #fff;
}

.header__burger {
  display: none;
  background: none;
  border: none;
  border-left: var(--border-width) solid var(--line-color);
  width: 80px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

/* --- FOOTER (Grid System) --- */
.footer {
  border-top: var(--border-width) solid var(--line-color);
  background-color: var(--bg-color);
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  border-bottom: var(--border-width) solid var(--line-color);
}

.footer__cell {
  padding: 60px 40px;
  border-right: var(--border-width) solid var(--line-color);
  display: flex;
  flex-direction: column;
}

.footer__cell:last-child {
  border-right: none;
}

.footer__logo-img {
  height: 30px;
  margin-bottom: 24px;
}

.footer__mission {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 250px;
}

.footer__label {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.footer__link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer__address {
  font-style: normal;
  font-size: 14px;
}

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer__contact-row i {
  width: 18px;
  height: 18px;
  stroke-width: 1.5px;
}

.footer__note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 10px;
  border: 1px dashed var(--line-color);
  text-align: center;
}

.footer__copyright {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  font-family: var(--font-head);
  background-color: var(--line-color);
  color: var(--bg-color);
}

/* --- MOBILE ADAPTIVE --- */
@media (max-width: 992px) {
  .header__burger {
    display: flex;
  }

  .header__cell--nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border-bottom: var(--border-width) solid var(--line-color);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
  }

  .header__cell--nav.is-active {
    transform: translateY(0);
  }

  .header__menu {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .header__item {
    width: 100%;
    height: auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .header__link {
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__cell:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 576px) {
  .header__cell--logo {
    padding: 0 15px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__cell {
    border-right: none;
    border-bottom: var(--border-width) solid var(--line-color);
    padding: 40px 20px;
  }
}

/* --- BUTTONS (Global) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn--primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #d32f2f;
  padding-left: 40px; /* Slight movement animation */
}

/* --- HERO SECTION --- */
.hero {
  border-bottom: var(--border-width) solid var(--line-color);
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Asymmetric split */
  min-height: calc(100vh - var(--header-height));
}

.hero__content {
  padding: 80px 60px;
  border-right: var(--border-width) solid var(--line-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid var(--line-color);
  padding: 8px 16px;
  width: fit-content;
  margin-bottom: 30px;
  background: #fff;
}

.hero__badge-icon {
  color: var(--accent-color);
  animation: blink 2s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero__title {
  font-size: 5rem; /* Huge Typography */
  line-height: 0.9;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero__title--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--line-color); /* Outline effect */
}

.hero__desc {
  font-size: 1.25rem;
  max-width: 500px;
  margin-bottom: 50px;
  color: var(--text-secondary);
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Visual / Canvas Area */
.hero__visual {
  position: relative;
  background-color: #fafafa; /* Slightly distinct bg */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__overlay-text {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--line-color);
  opacity: 0.5;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    border-right: none;
    border-bottom: var(--border-width) solid var(--line-color);
    padding: 60px 30px;
    min-height: auto;
  }

  .hero__visual {
    height: 400px; /* Fixed height for mobile canvas */
  }

  .hero__title {
    font-size: 3.5rem;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* --- METHODOLOGY SECTION --- */
.methodology {
  background-color: var(--bg-color);
  border-bottom: var(--border-width) solid var(--line-color);
}

.methodology__header {
  padding: 80px 40px;
  border-bottom: var(--border-width) solid var(--line-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.methodology__title {
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
}

.methodology__subtitle {
  max-width: 400px;
  text-align: right;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.highlight {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 4px;
}

/* Grid Layout for Steps */
.methodology__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step-card {
  border-right: var(--border-width) solid var(--line-color);
  padding: 40px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  cursor: default;
  background-color: var(--bg-color);
  position: relative;
}

.step-card:last-child {
  border-right: none;
}

/* Hover Effect: Invert Colors */
.step-card:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

.step-card:hover .step-card__desc {
  color: #cccccc;
}

.step-card:hover .step-card__icon {
  color: var(--accent-color);
  transform: scale(1.2) rotate(10deg);
}

.step-card__num {
  font-family: var(--font-head);
  font-size: 3rem;
  opacity: 0.2;
  font-weight: 700;
}

.step-card__title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 20px;
}

.step-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1; /* Pushes icon down */
}

.step-card__icon {
  width: 32px;
  height: 32px;
  align-self: flex-end;
  transition: transform 0.3s ease;
  color: var(--text-primary);
}

/* Invert icon color on hover needs specific targeting because of specificity */
.step-card:hover .step-card__icon {
  color: var(--accent-color);
}

/* Reveal Animation State */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE METHODOLOGY --- */
@media (max-width: 1200px) {
  .methodology__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:nth-child(2) {
    border-right: none;
  }

  .step-card {
    border-bottom: var(--border-width) solid var(--line-color);
  }

  .step-card:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .methodology__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 60px 20px;
  }

  .methodology__title {
    font-size: 3rem;
  }

  .methodology__subtitle {
    text-align: left;
  }

  .methodology__grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    border-right: none;
    border-bottom: var(--border-width) solid var(--line-color);
    min-height: auto;
    padding: 30px 20px;
  }
}

/* --- EXPERTISE SECTION --- */
.expertise {
  background-color: var(--bg-color);
  border-bottom: var(--border-width) solid var(--line-color);
}

.expertise__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Asymmetric split: Text < Data */
  min-height: 600px;
}

/* Left Column */
.expertise__info {
  padding: 80px 60px;
  border-right: var(--border-width) solid var(--line-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise__title {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  line-height: 1;
}

.text-accent {
  color: var(--accent-color);
}

.expertise__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 450px;
}

.expertise__desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.expertise__action {
  margin-top: 40px;
}

/* Outline Button Variant */
.btn--outline {
  background: transparent;
  border: 1px solid var(--line-color);
  color: var(--text-primary);
}

.btn--outline:hover {
  background: var(--line-color);
  color: var(--bg-color);
}

/* Right Column: Data Grid */
.expertise__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.stat-box {
  border-right: var(--border-width) solid var(--line-color);
  border-bottom: var(--border-width) solid var(--line-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

/* Remove right border for 2nd column items */
.stat-box:nth-child(2n) {
  border-right: none;
}

/* Remove bottom border for last row items */
.stat-box:nth-child(n + 3) {
  border-bottom: none;
}

.stat-box:hover {
  background-color: #fafafa; /* Subtle hover highlight */
}

.stat-box__val {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.stat-box__label {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.stat-box__sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: monospace; /* Technical feel */
}

/* Decorative corner accent on hover */
.stat-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent var(--accent-color) transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-box:hover::after {
  opacity: 1;
}

/* --- RESPONSIVE EXPERTISE --- */
@media (max-width: 992px) {
  .expertise__container {
    grid-template-columns: 1fr;
  }

  .expertise__info {
    border-right: none;
    border-bottom: var(--border-width) solid var(--line-color);
    padding: 60px 30px;
  }

  .expertise__data {
    /* On tablet, keep 2x2 grid */
  }
}

@media (max-width: 576px) {
  .expertise__title {
    font-size: 2.5rem;
  }

  .expertise__data {
    grid-template-columns: 1fr; /* Stack stats on mobile */
  }

  .stat-box {
    border-right: none !important;
    border-bottom: var(--border-width) solid var(--line-color) !important;
  }

  .stat-box:last-child {
    border-bottom: none !important;
  }

  .stat-box__val {
    font-size: 4rem;
  }
}

/* --- INNOVATION (ACCORDION) --- */
.innovation {
  background-color: var(--bg-color);
  border-bottom: var(--border-width) solid var(--line-color);
}

.innovation__header {
  padding: 60px 40px;
  border-bottom: var(--border-width) solid var(--line-color);
}

.innovation__title {
  font-size: 3rem;
  text-transform: uppercase;
}

.accordion__item {
  border-bottom: var(--border-width) solid var(--line-color);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion__trigger:hover {
  background-color: #fafafa;
}

.accordion__trigger[aria-expanded="true"] {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

.accordion__num {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-right: 40px;
  opacity: 0.5;
}

.accordion__label {
  font-family: var(--font-head);
  font-size: 1.5rem;
  flex-grow: 1;
  text-transform: uppercase;
  font-weight: 500;
}

.accordion__icon {
  transition: transform 0.3s ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg); /* Plus becomes X */
}

.accordion__content {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.accordion__body {
  padding: 0 40px 40px 100px; /* Aligned with text */
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
}

/* --- CONTACT FORM --- */
.contact {
  background-color: var(--bg-color);
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.contact__info {
  padding: 80px 60px;
  border-right: var(--border-width) solid var(--line-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__title {
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.contact__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 40px;
}

.contact__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 10px 20px;
  border: 1px solid var(--line-color);
  width: fit-content;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #4caf50;
  border-radius: 50%;
  animation: blink 2s infinite;
}

/* Form Styles */
.contact__form-wrapper {
  padding: 80px 60px;
  display: flex;
  align-items: center;
  position: relative;
}

.form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 25px;
  position: relative;
}

.form__label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form__input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line-color);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 0; /* Swiss style strict corners */
}

.form__input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: #fff;
}

.form__input.error {
  border-color: #d32f2f;
  background-color: rgba(211, 47, 47, 0.05);
}

.form__error {
  display: block;
  font-size: 0.8rem;
  color: #d32f2f;
  margin-top: 5px;
  height: 15px; /* prevent layout shift */
}

/* Custom Checkbox */
.form__check-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.captcha-group {
  background-color: #f0f0f0;
  padding: 15px;
  border: 1px solid #ddd;
  width: fit-content;
  margin-bottom: 30px;
}

.custom-checkbox {
  position: relative;
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: transparent;
  border: 2px solid var(--line-color);
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: #e0e0e0;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* Success Message Overlay */
.form__success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  z-index: 10;
}

.form__success.is-active {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon i {
  width: 40px;
  height: 40px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__info {
    border-right: none;
    border-bottom: var(--border-width) solid var(--line-color);
    padding: 60px 30px;
  }
  .contact__form-wrapper {
    padding: 60px 30px;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  border-top: var(--border-width) solid var(--line-color);
  padding: 20px;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-popup.is-visible {
  transform: translateY(0);
}

.cookie-popup__content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-popup__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-popup__text a {
  color: var(--text-primary);
  text-decoration: underline;
}

/* --- POLICY PAGES STYLING --- */
/* Ці стилі працюватимуть на окремих сторінках: privacy.html тощо */
.pages {
  padding: 120px 0 80px; /* Відступ під фіксований хедер */
  min-height: 80vh;
  background-color: var(--bg-color);
}

.pages .container {
  max-width: 800px; /* Вужчий контейнер для читабельності */
  margin: 0 auto;
  padding: 0 20px;
}

.pages h1 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--line-color);
  padding-bottom: 20px;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.pages p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.pages ul {
  list-style: disc; /* Повертаємо маркери для списків документів */
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.pages li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.pages strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pages a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Мобільна адаптація для політик */
@media (max-width: 768px) {
  .cookie-popup__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-popup__btn {
    width: 100%;
    justify-content: center;
  }

  .pages h1 {
    font-size: 2rem;
  }
}
