/* Базовий CSS reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-rendering: optimizeSpeed;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ----------- */


/* Google Fonts: Poppins & Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@700&display=swap');

:root {
  --color-bg: #F5F5F5;
  --color-main: #344E41;
  --color-accent: #A3B18A;
  --color-contrast: #DAD7CD;
  --color-deep: #588157;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(135deg, #F5F5F5 0%, #DAD7CD 100%);
  color: var(--color-main);
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* ----------- */


.header {
  background-color: #ffffffcc;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-contrast);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.header__nav {
  flex: 1 1 auto;
  text-align: center;
}

.header__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.header__link {
  text-decoration: none;
  color: var(--color-deep);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.header__extras {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__flag {
  width: 24px;
  height: auto;
  border-radius: 4px;
  border: 0.5px solid var(--color-contrast);
}

.header__button {
  padding: 0.5rem 1rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.header__button:hover {
  background-color: var(--color-deep);
}

/* Адаптивність */
@media (max-width: 768px) {
  .header__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__nav {
    width: 100%;
    margin: 1rem 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .header__extras {
    align-self: flex-end;
    margin-top: 1rem;
  }
}
.hero {
  background: var(--color-bg);
  padding: 4rem 2rem;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero__content {
  flex: 1 1 500px;
  animation: fadeInUp 1s ease forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-main);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-deep);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero__button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero__button:hover {
  background-color: var(--color-deep);
  transform: translateY(-2px);
}

.hero__image-wrapper {
  flex: 1 1 400px;
  text-align: center;
}

.hero__image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.hero__image:hover {
  transform: scale(1.03);
}

/* Анімація */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптив */
@media (max-width: 768px) {
  .hero__container {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__button {
    font-size: 0.95rem;
  }
}
.about-creative {
  padding: 5rem 2rem;
  background: var(--color-contrast);
}

.about-creative__container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-creative__intro {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease;
}

.about-creative__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-main);
  margin-bottom: 1rem;
}

.about-creative__text {
  font-size: 1.1rem;
  color: var(--color-deep);
  max-width: 700px;
  margin: 0 auto;
}

.about-creative__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.about-creative__card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-creative__card:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.about-creative__emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  animation: popIn 0.6s ease;
}

.about-creative__card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-main);
  margin-bottom: 0.75rem;
}

.about-creative__card-text {
  font-size: 1rem;
  color: var(--color-deep);
}

/* Анімації */
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

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

/* Адаптив */
@media (max-width: 600px) {
  .about-creative__title {
    font-size: 1.75rem;
  }

  .about-creative__text {
    font-size: 1rem;
  }
}
.advantages {
  background: var(--color-bg);
  padding: 5rem 2rem;
}

.advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.advantages__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-main);
  margin-bottom: 3rem;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.advantages__item {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.advantages__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.advantages__icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.advantages__item-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-main);
  margin-bottom: 0.5rem;
}

.advantages__item-text {
  color: var(--color-deep);
  font-size: 1rem;
}

/* Адаптив */
@media (max-width: 600px) {
  .advantages__title {
    font-size: 1.75rem;
  }

  .advantages__item {
    padding: 1.5rem;
  }

  .advantages__item-title {
    font-size: 1.1rem;
  }
}

.testimonials {
  background: var(--color-deep);
  padding: 5rem 2rem;
  color: white;
}

.testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: #fff;
  color: var(--color-main);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: rotate(-0.3deg) translateY(-5px);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  background-color: var(--color-accent);
  color: white;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial__text {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial__author {
  font-size: 0.9rem;
  color: var(--color-deep);
}

/* Адаптив */
@media (max-width: 600px) {
  .testimonials__title {
    font-size: 1.6rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial__text {
    font-size: 0.95rem;
  }
}

.footer {
  background-color: var(--color-main);
  color: white;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.footer__desc {
  margin-top: 0.75rem;
  line-height: 1.4;
  color: var(--color-contrast);
}

.footer__heading {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__list a {
  color: var(--color-contrast);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer__bottom {
  text-align: center;
  margin-top: 3rem;
  color: var(--color-contrast);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* Адаптив */
@media (max-width: 600px) {
  .footer {
    text-align: center;
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal--active {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.modal__content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  z-index: 1;
  animation: modalFade 0.4s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-main);
  transition: color 0.3s ease;
}

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

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-main);
  text-align: center;
}

.modal__form input,
.modal__form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-contrast);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
}

.modal__form textarea {
  resize: vertical;
  height: 120px;
}

.modal__submit {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.modal__submit:hover {
  background-color: var(--color-deep);
}
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  max-width: 500px;
  margin: 0 auto;
  background: var(--color-main);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  z-index: 99999;
  animation: slideUp 0.5s ease;
}

.cookie-banner__text {
  font-size: 0.95rem;
  flex: 1;
}

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

.cookie-banner__button {
  background: var(--color-accent);
  border: none;
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-banner__button:hover {
  background: var(--color-deep);
}

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

/* Адаптив */
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__button {
    align-self: flex-end;
    margin-top: 0.5rem;
  }
}

.pages {
  padding: 5rem 2rem;
  background: #fff;
}

.pages .container {
  max-width: 900px;
  margin: 0 auto;
  color: var(--color-main);
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-main);
  text-align: center;
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-deep);
  position: relative;
}

.pages p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-main);
  margin-bottom: 1.25rem;
}

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

.pages a:hover {
  color: var(--color-deep);
}

.pages ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.pages li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Декоративна рисочка під h2 */
.pages h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* Адаптивність */
@media (max-width: 600px) {
  .pages h1 {
    font-size: 2rem;
  }

  .pages h2 {
    font-size: 1.25rem;
  }

  .pages p {
    font-size: 0.95rem;
  }
}
