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

html, body {
  scroll-behavior: smooth;
  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;
}
/* ----------- */


body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--main-bg);
  color: var(--main-text);
  line-height: 1.6;
  font-size: 16px;

  --main-bg: #f9f9f4;
  --main-text: #1a1a1a;
  --accent: #7a9e9f;
  --accent-dark: #5d7f80;
  --highlight: #f4c95d;
  --footer-bg: #1f1f1f;
  --footer-text: #e0e0e0;
  --link-hover: #c8a13b;
  --error: #d64545;
  --success: #4caf50;
}

.header {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.header__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.header__nav {
  display: flex;
}

.header__nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.header__nav-link {
  text-decoration: none;
  color: var(--main-text);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.header__nav-link::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background-color: var(--highlight);
  transition: width 0.3s ease;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.header__nav-link:hover {
  color: var(--accent-dark);
}

.header__nav-link:hover::after {
  width: 100%;
}

/* Адаптивність */
@media (max-width: 768px) {
  .header__nav-list {
    gap: 1rem;
  }

  .header__logo-text {
    font-size: 1.25rem;
  }

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

.footer {
  background-color: #f4f5f7;
  padding: 3rem 1.5rem;
  color: var(--main-text);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo-img {
  height: 100px;
  margin-right: 0.5rem;
}

.footer__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.footer__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer__link {
  text-decoration: none;
  color: var(--main-text);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

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

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

.hero {
  position: relative;
  background: linear-gradient(
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.92)
    ),
    url("../img/hero-bg.png") center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__overlay {
  width: 100%;
  text-align: center;
  padding: 2rem;
  animation: fadeIn 1.5s ease-in-out forwards;
  opacity: 0;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  line-height: 1.3;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  animation: slideUp 1s ease-in-out forwards;
}

.hero__accent {
  color: var(--accent);
  font-weight: 800;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--main-text);
  margin-bottom: 2rem;
  animation: fadeIn 2s ease-in-out forwards;
}

.hero__button {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: scaleIn 1.6s ease-in-out forwards;
}

.hero__button:hover {
  background-color: var(--accent-dark);
  transform: scale(1.05);
}

/* Анімації */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

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

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

  .hero__subtitle {
    font-size: 1rem;
  }
}

.about {
  padding: 4rem 2rem;
  background-color: var(--light-bg);
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about__image-wrapper {
  flex: 1 1 40%;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

.about__image {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.about__content {
  flex: 1 1 55%;
  animation: slideUp 1.5s ease forwards;
  opacity: 0;
}

.about__title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.about__text {
  font-size: 1.1rem;
  color: var(--main-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.about__item {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent-dark);
}

.about__icon {
  font-size: 1.3rem;
  color: var(--accent);
}

.about__button {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  text-decoration: none;
}

.about__button:hover {
  background-color: var(--accent-dark);
}

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

  .about__item {
    justify-content: center;
  }
}
.materials {
  padding: 4rem 2rem;
  background-color: white;
}

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

.materials__title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.materials__subtitle {
  font-size: 1.1rem;
  color: var(--main-text);
  margin-bottom: 3rem;
}

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

.material-card {
  background-color: var(--light-bg);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.material-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  background-color: var(--accent);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.material-card__title {
  font-size: 1.3rem;
  color: var(--accent-dark);
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.material-card__desc {
  font-size: 1rem;
  color: var(--main-text);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.material-card__btn {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.material-card__btn:hover {
  color: var(--accent-dark);
}
.insights {
  background-color: var(--light-bg);
  padding: 4rem 2rem;
}

.insights__container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.insights__title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.insights__subtitle {
  font-size: 1.1rem;
  color: var(--main-text);
  margin-bottom: 3rem;
}

.insights__list {
  display: grid;
  gap: 2rem;
}

.insight-card {
  background-color: white;
  border-left: 5px solid var(--accent);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  text-align: left;
  position: relative;
}

.insight-card__text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--main-text);
  margin-bottom: 1rem;
}

.insight-card__source {
  font-size: 0.9rem;
  color: var(--gray);
}
.cta {
  background-color: var(--accent-dark);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
}

.cta__title {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.cta__subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
}

.cta__button {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  background-color: white;
  color: var(--accent-dark);
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta__button:hover {
  background-color: var(--accent);
  color: white;
}

.cta__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #cccccc;
}
.contact {
  background-color: #f5f7fa;
  padding: 5rem 2rem;
}

.contact__container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.contact__subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__input,
.contact__textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}

.contact__textarea {
  height: 120px;
}

.contact__captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact__button {
  padding: 0.9rem 2rem;
  background-color: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact__button:hover {
  background-color: var(--accent-dark);
}

.contact__success {
  margin-top: 1rem;
  color: green;
  font-weight: bold;
}
.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1c1c1c;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease forwards;
  max-width: 90%;
}

.cookie-popup__text {
  margin: 0;
  font-size: 0.9rem;
}

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

.cookie-popup__button {
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.cookie-popup__button:hover {
  background-color: var(--accent-dark);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.pages {
  padding: 3rem 1.5rem;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

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

.pages h1 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.pages h2 {
  font-size: 1.8rem;
  color: #333;
  margin-top: 2rem;
}

.pages ul {
  list-style: none;
  margin-left: 20px;
}

.pages li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.pages p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

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

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

.pages .container {
  padding: 0 2rem;
}

.pages h1, .pages h2 {
  font-family: 'Roboto', sans-serif;
}

.pages ul {
  margin-left: 20px;
}

.pages li strong {
  color: var(--accent);
  font-weight: bold;
}

@media (max-width: 768px) {
  .pages {
    padding: 2rem 1rem;
  }

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

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

  .pages ul {
    margin-left: 15px;
  }
}
