/* --- VARIABLES & RESET --- */
:root {
  /* Palette */
  --color-bg: #f9fafb;
  --color-text: #111827;
  --color-text-light: #6b7280;
  --color-accent: #4f46e5; /* Indigo */
  --color-accent-hover: #4338ca;
  --color-white: #ffffff;
  --color-dark: #0f172a;

  /* Typography */
  --font-main: "Inter", sans-serif;
  --font-head: "Space Grotesk", sans-serif;

  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
  --border-radius: 4px; /* Minimal/Swiss strictness */

  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.3);
}

.desktop-only {
  display: none;
}

@media (min-width: 992px) {
  .desktop-only {
    display: inline-flex;
  }
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1002;
}

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

.header__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.header__burger {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  color: var(--color-dark);
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

/* Mobile Nav */
.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease-in-out;
  z-index: 1001;
}

.header__nav.active {
  right: 0;
}

.header__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.header__link {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-dark);
}

.header__link:hover {
  color: var(--color-accent);
}

.header__cta-mobile {
  margin-top: 20px;
  padding: 12px 30px;
  background-color: var(--color-dark);
  color: var(--color-white);
  font-weight: 600;
}

/* Desktop Nav */
@media (min-width: 992px) {
  .header__nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    display: block;
    transition: none;
  }

  .header__menu {
    flex-direction: row;
    gap: 40px;
  }

  .header__link {
    font-size: 1rem;
    font-weight: 500;
  }

  .header__cta-mobile {
    display: none;
  }
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 80px 0 30px;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo-img {
  height: 32px;
  filter: brightness(0) invert(1); /* Make logo white */
}

.footer__desc {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--color-white);
}

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

.footer__link {
  color: #9ca3af;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 5px; /* Micro-interaction */
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer__icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

/* Typography & Content */
.hero__label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 20px;
  position: relative;
  padding-left: 50px;
}

.hero__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 5rem); /* Responsive Giant Text */
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 30px;
  font-weight: 700;
}

.hero__title--highlight {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-dark); /* Outline text styles */
  display: block;
  position: relative;
  z-index: 2;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.hero__note {
  font-size: 0.8rem;
  color: #9ca3af;
  font-style: italic;
}

/* Visual & Asymmetry */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/5;
  overflow: hidden;
  transition: transform 0.1s ease-out; /* Smooth movement for JS */
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* High-end corporate feel */
  transition: filter 0.5s ease;
}

.hero__img-wrapper:hover .hero__img {
  filter: grayscale(0%);
}

/* Decorative asymmetric block */
.hero__decoration {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 60%;
  height: 80%;
  border: 2px solid var(--color-dark);
  z-index: 0;
  pointer-events: none;
}

/* Desktop Grid */
@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 60px 0;
  }

  .hero__content {
    position: relative;
    z-index: 10;
  }

  /* Асиметричний зсув контенту */
  .hero__visual {
    transform: translateY(40px);
  }
}

/* --- STRATEGIES SECTION --- */
.strategies {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.strategies__header {
  margin-bottom: 60px;
  max-width: 700px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.section-desc {
  color: var(--color-text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* List Layout */
.strategies__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.strat-item {
  display: grid;
  grid-template-columns: auto 1fr auto; /* Number - Content - Icon */
  gap: 20px;
  padding: 40px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
  position: relative;
  align-items: flex-start;
}

/* Hover Effect: Invert Colors */
.strat-item:hover {
  background-color: var(--color-dark);
  padding-left: 40px; /* Shift content right */
}

.strat-item:hover .strat-item__num,
.strat-item:hover .strat-item__title,
.strat-item:hover .strat-item__text {
  color: var(--color-white);
}

.strat-item:hover .strat-item__action {
  background-color: var(--color-white);
  color: var(--color-dark);
  transform: rotate(45deg);
}

/* Elements */
.strat-item__num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
  min-width: 60px;
  transition: color 0.3s;
}

.strat-item__content {
  padding-right: 20px;
}

.strat-item__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-dark);
  transition: color 0.3s;
}

.strat-item__text {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 500px;
  transition: color 0.3s;
}

.strat-item__action {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: all 0.3s;
}

/* Mobile Adaptation */
@media (max-width: 768px) {
  .strat-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num action"
      "content content";
  }

  .strat-item__num {
    grid-area: num;
    font-size: 1.2rem;
  }

  .strat-item__action {
    grid-area: action;
  }

  .strat-item__content {
    grid-area: content;
    padding-right: 0;
    margin-top: 10px;
  }
}

/* --- TECHNOLOGY SECTION --- */
.technology {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Background typography decoration */
.technology__bg-text {
  position: absolute;
  top: 50px;
  right: -50px;
  font-family: var(--font-head);
  font-size: 10rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.03);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.technology__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Visual Part */
.technology__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.technology__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.technology__visual:hover .technology__img {
  transform: scale(1.05);
}

.technology__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

/* Content Part (The Overlap) */
.technology__content {
  background-color: var(--color-white);
  padding: 40px 30px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--color-accent); /* Swiss Accent */
}

.technology__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.technology__title {
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-dark);
}

.technology__text {
  color: var(--color-text-light);
  margin-bottom: 30px;
}

/* Features List inside card */
.technology__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.tech-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.tech-feature__icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.tech-feature__title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.tech-feature__desc {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Actions */
.technology__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn--dark:hover {
  background-color: #374151;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.3s;
}

.link-arrow:hover {
  gap: 12px; /* Arrow moves */
}

/* --- DESKTOP OVERLAP LOGIC --- */
@media (min-width: 992px) {
  .technology__wrapper {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .technology__visual {
    aspect-ratio: 16/9;
    /* Зсув картинки трохи вліво, щоб дати місце */
    margin-right: 0;
  }

  .technology__content {
    /* OVERLAP MAGIC */
    margin-left: -80px; /* Заїжджаємо на картинку */
    margin-top: 80px; /* Опускаємося нижче картинки (асиметрія) */
    position: relative;
    z-index: 2;
    padding: 60px;
    min-height: 500px; /* Високий блок */
  }

  .technology__title {
    font-size: 2.5rem;
  }
}

/* --- BLOG SECTION --- */
.blog {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.blog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* GRID LAYOUT (Bento Grid) */
.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Base Card Styles */
.blog-card {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.blog-card:hover {
  border-color: var(--color-accent);
}

.blog-card__img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.03);
}

.blog-card__content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 15px;
  font-family: var(--font-head);
  text-transform: uppercase;
}

.blog-card__tag {
  color: var(--color-accent);
  font-weight: 600;
}

.blog-card__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 25px;
}

.link-read-more {
  font-weight: 600;
  color: var(--color-dark);
  margin-top: auto;
  display: inline-block;
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.3s, border-color 0.3s;
}

.link-read-more:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* --- SPECIFIC CARD STYLES --- */

/* Card 3: Visual Overlay */
.blog-card--visual {
  position: relative;
  min-height: 300px;
}

.blog-card--visual .blog-card__img-wrap {
  height: 100%;
}

.blog-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-white {
  color: var(--color-white) !important;
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-dark);
  padding: 8px 20px;
  font-size: 0.8rem;
}

.blog__footer-mobile {
  margin-top: 30px;
  text-align: center;
}

/* DESKTOP GRID LOGIC */
@media (min-width: 992px) {
  .blog__grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 450px; /* Fixed height for neatness */
    gap: 30px;
  }

  .blog-card--large {
    grid-column: 1 / 2;
  }

  .blog-card--large .blog-card__img-wrap {
    height: 50%;
  }

  .blog-card--medium {
    grid-column: 2 / 3;
    background-color: var(--color-dark); /* Accentuate center card */
  }

  .blog-card--medium .blog-card__title,
  .blog-card--medium .link-read-more {
    color: var(--color-white);
  }
  .blog-card--medium .link-read-more {
    border-color: var(--color-white);
  }
  .blog-card--medium .blog-card__excerpt {
    color: #d1d5db;
  }
  .blog-card--medium:hover {
    border-color: var(--color-dark);
    transform: translateY(-5px);
  }

  .blog-card--visual {
    grid-column: 3 / 4;
  }

  .blog__footer-mobile {
    display: none;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  background-color: var(--color-white); /* Contrast with BG */
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

/* Left Info Side */
.contact__title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 20px;
}

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

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.method-item__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.method-item__link {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--color-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 2px;
}

.method-item__link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* --- FORM STYLES --- */
.contact__form-wrap {
  background-color: var(--color-bg);
  padding: 40px;
  border-radius: var(--border-radius);
}

.form {
  position: relative;
}

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

.form__input {
  width: 100%;
  padding: 15px 0;
  font-size: 1rem;
  color: var(--color-dark);
  background: transparent;
  border: none;
  border-bottom: 1px solid #d1d5db;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0; /* Remove iOS styles */
}

.form__input:focus {
  border-bottom-color: var(--color-accent);
}

.form__label {
  position: absolute;
  top: 15px;
  left: 0;
  font-size: 1rem;
  color: #9ca3af;
  pointer-events: none;
  transition: 0.3s ease all;
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.form__error {
  display: none;
  font-size: 0.8rem;
  color: #ef4444; /* Red */
  margin-top: 5px;
}

.form__input.error {
  border-bottom-color: #ef4444;
}

.form__input.error ~ .form__error {
  display: block;
}

.captcha-box {
  background-color: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 15px;
  display: flex;
  align-items: center;
  width: fit-content;
  min-width: 250px;
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background-color: #fff;
  margin-right: 12px;
  position: relative;
  transition: all 0.2s;
}

.captcha-box.checked .captcha-checkbox {
  border-color: transparent;
}

.captcha-box.checked .captcha-checkbox::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 14px;
  border: solid #009688; /* Green */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.captcha-text {
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
  color: #000;
}

.captcha-logo {
  width: 32px;
  height: 32px;
  opacity: 0.5;
  margin-left: auto;
}

.error-captcha {
  margin-bottom: 20px;
}

.form__checkbox-wrapper {
  margin-bottom: 30px;
  margin-top: 10px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: var(--color-white);
}

.checkmark-icon {
  width: 14px;
  height: 14px;
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.2s;
}

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

.custom-checkbox input:checked ~ .checkmark .checkmark-icon {
  opacity: 1;
}

.custom-checkbox a {
  text-decoration: underline;
  color: var(--color-dark);
}

/* Success State */
.form__success {
  display: none;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #10b981; /* Green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.btn--full {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  .contact__wrapper {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.cookie-popup {
  position: fixed;
  bottom: -100px; /* Hidden initially */
  left: 20px;
  right: 20px;
  max-width: 500px;
  background-color: var(--color-white);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 20px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--color-dark);
  line-height: 1.4;
}

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

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

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

.pages .container {
  max-width: 800px; /* Вузька колонка для кращого читання */
}

.pages h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-dark);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pages h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-dark);
}

.pages p {
  margin-bottom: 20px;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pages ul {
  margin-bottom: 30px;
  padding-left: 20px;
  list-style-type: disc;
  color: var(--color-text-light);
}

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

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

.pages a:hover {
  text-decoration: none;
}
