/* 🔹 БАЗОВІ НАЛАШТУВАННЯ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🔹 CSS ЗМІННІ */
:root {
  --black: #000000;
  --green: #143F35;
  --pink: #FFD7CF;
  --bg: #F7F5F0;
  --active-fill: #D1DED9;
}

/* 🔹 ТІЛО СТОРІНКИ */
body {
  font-family: 'Noto Sans', sans-serif;
  background-color: var(--bg);
  color: var(--black);
  margin: 0;
}

/* 🔹 КНОПКИ: Загальні стилі */
button {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 300; 
}

.custom-link {
    color: var(--green);
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .custom-link:hover {
    color:var(--pink);
  }

/* 🔹 PRIMARY BUTTON 1 — овальна */
.primary-button1 {
  position: relative;
  overflow: hidden;
  background-color: var(--active-fill);
  border: none;
  color: var(--black);
  width: 280px;
  height: 70px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease, border 0.3s ease;
}

.primary-button1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--pink); /* Колір заливки */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}

.primary-button1:hover::before {
  transform: scaleX(1);
}

.primary-button1:hover {
  border: 1px solid var(--green);
  color: var(--green);
}

.primary-button1 span {
  position: relative;
  z-index: 1;
}


/* 🔹 PRIMARY BUTTON 2 — з анімацією заповнення */
.primary-button2 {
  width: 280px;
  height: 70px;
  background: var(--pink);
  border: 2px solid;
  color: var(--green);
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.primary-button2::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: var(--green);
  z-index: -1;
  transition: all 1s;
}
.primary-button2:hover::before {
  width: 160%;
}
.primary-button2:hover {
  color: var(--pink);
}

/* Адаптация под мобильные устройства */
@media (max-width: 480px) {
  .primary-button1,
  .primary-button2 {
    width: 90vw;        
    max-width: 280px;   
    height: 56px;      
    font-size: 16px;    
  }
}

/* 🔹 HEADER (НАВІГАЦІЯ) */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.4s ease;
}
.nav-hidden {
  transform: translateY(-100%);
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.contact-info {
  display: flex;
  gap: 15px;
}

.contact-info a {
  color: var(--green);
  text-decoration: none;
  font-size: 26px;
}

/* 🔹 НАВІГАЦІЯ */
nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}
nav ul li a {
  text-decoration: none;
  color: var(--black);
  font-weight: 300;
  font-size: 18px;
  position: relative;
}
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--black);
  transition: width 0.3s ease;
}
nav ul li a:hover::after {
  width: 100%;
}

/* 🔹 HERO СЕКЦІЯ */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* ТІЛЬКИ в hero-section відео */
.hero-section video.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
  transform: translateZ(0);
}

.hero-section .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: -1;
}
/* Загальний стиль для всіх пристроїв */
.hero {
  min-height: 100vh;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 280px 60px 0; 
  color: var(--black);
  gap: 60px; 
}

.hero-logo {
  width: 800px;
  max-width: 100%;
}

.hero h1 {
  font-size: 70px;
  font-weight: 300;
}

.hero a {
}

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

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

/* Головна сторінка під моб пристрої */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hero-logo {
    width: 220px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero a {
    width: 100%;
    display: flex;
    text-decoration: none;
    justify-content: center;
  }
}

/* Для великих екранів та макбуків (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
  .hero {
    height: 90vh; 
    padding: 150px 80px 0; 
    text-align: center;
    gap: 60px;
  }

  .hero-logo {
    width: 600px;
  }

  .hero h1 {
    font-size: 60px;
  }
}

/* Для десктопів та великих екранів (більше 1440px) */
@media (min-width: 1440px) {
  .hero {
    height: 85vh; 
    padding: 200px 100px 0; 
    gap: 80px;
  }

  .hero-logo {
    width: 800px;
  }

  .hero h1 {
    font-size: 80px;
  }
}

/* Відео та оверлей тільки всередині hero-section (стилі вище) */

/* ЛОГОТИП */
.logo img {
  height: 40px;
}

/* Адаптація для навігації */
@media (max-width: 768px) {
  header {
    padding: 20px 30px;
  }

  nav ul {
    display: none;
  }
}

.about-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('https://res.cloudinary.com/djihdjgbc/image/upload/v1754625216/img1_x3jzjq.jpg'); 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* білий напівпрозорий шар поверх фону */
.about-fullscreen::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.75); /* ефект "забілення" */
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--green);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Тінь для заголовка */
}

.about-content h2 span {
  color: var(--green);
  font-weight: 800;
}

.about-content p {
  color: var(--green);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1); /* Тінь для параграфа */
}


/* 🔹 АДАПТИВ */
@media (max-width: 768px) {
  .about-content {
    padding: 20px;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 16px;
  }
}
/* кнопка відкриття */
.open-gallery-wrapper {
  text-align: center;
  margin: 40px auto;
}

/* ГАЛЕРЕЯ — базові стилі */
.scroll-gallery {
  position: relative;
  display: none;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  background-color: var(--black);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; 
}

.gallery-track {
  display: flex;
  height: 100%;
}

.photo-container {
  position: relative;
  flex: 0 0 100vw;
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
}

.photo-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* СТРІЛКИ */
.photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 10px 14px;
  color: var(--green);
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.photo-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--pink);
}

.photo-arrow.left {
  color: var(--green);
  left: 20px;
}

.photo-arrow.right {
  color: var(--pink);
  right: 20px;
}

/* 📱 МОБІЛЬНА АДАПТАЦІЯ */
@media (max-width: 768px) {
  .photo-arrow {
    padding: 6px 10px;
    font-size: 18px;
    top: auto;
    bottom: 20px;
    transform: none;
    background: rgba(255, 255, 255, 0.4);
  }

  .photo-arrow.left {
    left: 16px;
    color: var(--green);
  }

  .photo-arrow.right {
    color: var(--green);
    right: 16px;
  }

  .photo-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
  }
}


/* Мобильная адаптация */
@media (max-width: 768px) {
  .horizontal-gallery {
    height: 100vh;
  }

  .gallery__item {
    flex: 0 0 100vw;
    height: 100vh;
    object-fit: cover;
  }
}

/* Команда */
    .team-wrapper {
      position: sticky;
      top: 0;
      height: 100vh;
      overflow: hidden;
    }

    .photo {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 60vw;
  max-width: 200px;
  height: 60vw;
  max-height: 200px;
      transform: translate(-50%, -50%) translateZ(0);
      border-radius: 20px;
      overflow: hidden;
      z-index: 1;
      contain: layout style paint;
    }

    .photo img {
      width: 100%;
      height: 200%;
      object-fit: cover;
      border-radius: 20px;
    }

    .team-text {
      position: absolute;
      top: 40%;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      max-width: 90%;
      opacity: 0;
      z-index: 2;
    }

    .team-text h2 {
      font-size: clamp(20px, 5vw, 32px);
      font-weight: 300;
      line-height: 1.3;
    }

    .team-text span {
      color: var(--green);
      font-weight: 500;
    }

    .team-text p {
      color: var(--black);
      font-size: 16px;
      margin-top: 10px;
    }

    @media (max-width: 600px) {
     .photo {
    width: 32vw;
    height: 32vw;
    max-width: 100px;
    max-height: 100px;
  }

  /* І зменшити масштаб GSAP */
  .photo img {
    height: 120%;
  }

      .team-text h2 {
        font-size: 22px;
      }

      .team-text p {
        font-size: 14px;
      }

      .team-text button {
        font-size: 14px;
      }
    }


    .container-team {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  width: 90vw;
}
/* Section with cases */
.about-fullscreen-2 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('https://res.cloudinary.com/djihdjgbc/image/upload/v1754625310/Autentica_cases_ssn8vf.png'); 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* price section */
.price-image {
  flex: 1 1 45%;
}
.price-image img.zoomed {
  transform: scale(1.05);
}
.price-content {
  flex: 1 1 45%;
  font-weight: 800;
}

.price-content h2 {
  font-size: 2rem;
  font-family: 'Nono Sans', sans-serif;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.accordion-item {
  border-top: 1px solid #ccc;
  padding: 1rem 0;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  cursor: pointer;
  padding: 0;
}

.accordion-item.open .accordion-body {
  max-height: 200px; 
}

.accordion-item.open .icon {
  transform: rotate(45deg);
}

.icon {
  transition: transform 0.3s ease;
  font-weight: bold;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .icon {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .icon {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .price-section {
    flex-direction: column;
  }
}

.price-section {
  display: flex;
  gap: 4rem;
 align-items: flex-start;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.price-image {
  flex: 1 1 50%;
  overflow: hidden;
  border-radius: 1.5rem;
  margin-top: 60px; 
  height: 800px;  
}

.price-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1.5rem;
  transition: transform 0.5s ease;
}

@media (max-width: 768px) {
  .price-image {
    flex: 1 1 100%;
    margin-bottom: 1rem;
  }

  .price-image img {
    height: auto; 
    border-radius: 1rem;
  }
}
.price-content {
  flex: 1 1 45%;
  color: var(--black);
  font-weight: 600;
  align-self: flex-start;
}


.price-content h2 {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.price-item {
  border-bottom: 1px solid #ddd5c5;
  padding: 1.2rem 0;
}

.toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.icon {
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1;
  transition: opacity 0.3s ease;
  color: var(--black);
}

.price-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem; 
  margin-top: 1rem;
  padding-right: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--black);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
}

.price-description .price-row:last-child {
  border-bottom: none;
}

.price-row p {
  margin: 0;
  max-width: 70%;
  font-size: 1.05rem; 
}

.price-row .price {
  white-space: nowrap;
  position: relative;
  padding-left: 1.2rem; 
}



@media (max-width: 768px) {
  .price-section {
    flex-direction: column;
  }
}

/* rewievs */
.reviews-section {
  text-align: center;
  font-family: 'Noto Sans', sans-serif;
  color: var(--green);
  overflow: hidden;
}

.reviews-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.stars-block {
  font-size: 24px;
  color: gold;
  margin-bottom: 16px;
}

.reviews-description {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 40px;
}

/* --- ВІДГУКИ --- */
.reviews-section {
  padding: 40px 0;
  margin-bottom: 60px;
}

.review-card-custom {
  border: 1px solid var(--green);
  border-radius: 24px;
  padding: 24px;
  flex: 0 0 360px;
  height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.review-card-custom .stars {
  color: gold;
  font-size: 18px;
  text-align: right;
  margin-bottom: 12px;
}

.review-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--green);
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.review-author span {
  font-size: 16px;
  font-weight: 400;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Слайдер --- */
.reviews-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
  margin-top: 40px;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.review-card-custom {
  flex: 0 0 400px;
  padding: 20px;
  border-radius: 12px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  border: none;
  cursor: pointer;
  z-index: 2;
  color: var(--pink);
  background:var(--green);
  border-radius: 50%;
  padding: 6px 14px;
}


.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}


@media (max-width: 768px) {
  .slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 28px;
    border: none;
    border-radius: 50%;
    background-color: var(--green);
    color: var(--pink);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background-color 0.3s, transform 0.3s;
  }

  .slider-arrow:hover {
    background-color: var(--pink);
    color: var(--green);
    transform: translateY(-50%) scale(1.1);
  }

  .slider-arrow.prev {
    left: 8px;
  }

  .slider-arrow.next {
    right: 8px;
  }

  .reviews-slider-wrapper {
    padding: 0 52px;
  }

  .slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 16px;
  }

  .review-card-custom {
    flex: 0 0 100%;
    scroll-snap-align: center;
    height: auto;
  }
}


/* Секція контакти */
.contacts-section {
  padding: 0;
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
}

.contacts-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
}

.contacts-left {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center; 
}


.contacts-left h2 {
  font-size: 36px;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 20px;
}

.contacts-left p {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.contacts-left a {
  color: var(--green);
  text-decoration: underline;
}

.contacts-right {
  flex: 1;
  position: relative;
}

.contacts-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.contacts-right.map-active::after {
  display: none;
}

.contacts-right iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-left: 2px solid #ccc;
}
/* посилання в карті  */
.map-link {
  position: relative;      
  display: inline-block;  
  text-decoration: none;
  color: var(--black);
  transition: color 0.3s ease;
}

.map-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--green);
  transition: width 0.3s ease;
}

.map-link:hover {
  color: var(--green);
}

.map-link:hover::after {
  width: 100%;
}
@media (max-width: 768px) {
  .contacts-wrapper {
    flex-direction: column;
    height: auto;
  }

  .contacts-left {
    padding: 30px 20px;
  }

  .contacts-left h2 {
    font-size: 28px;
  }

  .contacts-left p {
    font-size: 16px;
  }

  .contacts-right {
    height: 300px;
    border-left: none;
    border-top: 2px solid #ccc;
  }

  .contacts-right iframe {
    height: 100%;
  }
}
/* Section with cases */
.about-fullscreen-3 {
  position: relative;
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.footer {
  padding: 80px 40px 60px;
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.footer__line {
  border-top: 1px solid var(--black);
  margin-bottom: 30px;
}

.footer__logo {
  text-align: center;
  margin-bottom: 50px;
}

.footer__logo img {
  height: 50px;
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__block {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer__block h3 {
  font-weight: 300;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer__block p,
.footer__block ul {
  font-size: 15px;
  line-height: 1.7;
}

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

.footer__block ul li {
  margin-bottom: 8px;
}

.footer__block ul li a {
  text-decoration: none;
  color: var(--black);
  position: relative;
  transition: color 0.3s;
}

/* Підкреслення при наведенні */
.footer__block ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: var(--black);
  transition: width 0.3s;
}

.footer__block ul li a:hover::after {
  width: 100%;
}

.footer__icons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.footer__icons a {
  font-size: 20px;
  color: var(--black);
  transition: transform 0.3s, color 0.3s;
}

.footer__icons a:hover {
  transform: scale(1.2);
  color: var(--pink);
}
.footer__phone {
  font-size: 20px;
  color: var(--black);
  transition: transform 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block; 
}

.footer__phone:hover {
  transform: scale(1.2);
  color: var(--pink);
}

.footer__copyright {
  text-align: center;
  margin-top: 60px;
  font-size: 14px;
  opacity: 0.6;
}

.footer__link {
  color: inherit;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--green); /* Замінити, якщо у тебе інша змінна */
}


/* Квіткові картинки */
.flower-top-right {
  position: absolute;
  top: 120px;     
  right: 20px;
  height: 300px;
  opacity: 0.8;
}


.flower-bottom-left {
    position: absolute;
    bottom: 1px;    
    left: 20px;
    height: 380px;
    opacity: 0.8;
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
    z-index: 1;
}


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

  .footer {
    padding: 60px 20px 40px;
    position: relative;
  }

  .footer__logo img {
    height: 40px;
  }

  /* Центрування іконок */
  .footer__icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
  }

  .flower-top-right {
    display: none;
  }
  .flower-bottom-left {
   display: none;
  }
}
/* Стилі бургер-кнопки */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-links ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.feedback {
  display: flex;
  margin-right: 330px;
  gap: 15px;
  align-items: center;
}

.feedback a {
  color: var(--black);
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

.feedback a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--black);
  transition: width 0.3s ease;
}

.feedback a:hover::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .feedback {
    margin-right: 120px; 
    flex-direction: column;
    gap: 10px;
    align-items: flex-start; 
    margin-left: 20px; 
  }

  .feedback a {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .feedback {
    display: none;
  }
}

@media (min-width: 1025px) {
  .feedback {
    display: flex;
    margin-right: 330px;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
  }

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

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-links ul li {
    font-size: 20px;
    color: #333;
  }
}
.mobile-only {
  display: none;
}
/* Адаптивність під моб версію навігації */
@media (max-width: 768px) {
  .mobile-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
  }

  .mobile-phones p {
    font-size: 18px;
    color: var(--green);
    margin: 5px 0;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
  }

  .mobile-btn {
    text-decoration: none;
    width: 80%;
    display: flex;
    justify-content: center;
  }

/* іконки соц мереж */
.mobile-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
  }

  .mobile-icons a {
    font-size: 28px;
    color: var(--green);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
  }

  .mobile-icons a:hover {
    color: var(--pink);
    transform: scale(1.1);
  }

  .mobile-icons a:active {
    transform: scale(0.92);
  }
    .mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}
/* blog */
.blog-section {
  padding: 80px 20px;
  text-align: center;
}

.blog-title {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 12px;
}

.blog-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 48px;
  line-height: 1.5;
}

.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.blog-card {
  border: 1px solid var(--green);
  border-radius: 24px;
  padding: 24px;
  flex: 0 0 500px;     
  height: 260px;
  text-decoration: none;   
  color: inherit;         
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  text-align: left;  
}

.blog-card:hover {
  transform: translateY(-4px);
   transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Дата раніше заголовку */
.blog-date {
  color: #999;
  font-size: 13px;
  margin-top: 16px;
  margin-bottom: 0;
  align-self: flex-end;
}


.blog-card h3 {
  font-size: 20px;
  font-weight: 300;
  margin: 0;          
}
.blog-cards a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .blog-section {
    padding: 60px 20px;
  }

  .blog-title {
    font-size: 32px;
  }

  .blog-description {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .blog-cards {
    flex-direction: column;
    gap: 36px;
    align-items: center;
  }

  .blog-card {
    flex: 0 0 90vw;      
    max-width: 600px;    
    height: 300px;    
    padding: 32px;
    font-size: 18px;
  }

  .blog-date {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .blog-card h3 {
    font-size: 22px;
    margin: 0;
  }
}

/* for contacts page  */
.record-form-section {
  padding: 120px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Noto Sans', sans-serif;
}

.form-heading {
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
}

.sub-title {
  text-transform: lowercase;
  color: var(--green);
  font-size: 14px;
  margin-bottom: 12px;
}

.form-title {
  font-size: 36px;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 16px;
}

.form-description {
  font-size: 18px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.6;
}

.animated-form {
  width: 100%;
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.animated-form.visible {
  opacity: 1;
}

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

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row input,
.form-row textarea {
  flex: 1;
  min-width: 280px;
  padding: 18px 24px;
  border: 1px solid #999;
  border-radius: 999px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--black);
}

.form-row textarea {
  border-radius: 24px;
  resize: none;
  min-height: 120px;
}
/* prices sections */
.about-fullscreen-4 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('https://res.cloudinary.com/dvi1pnhvs/image/upload/v1750671640/im3_hrylkd.jpg'); 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.about-fullscreen-4::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.75); /* ефект "забілення" */
  z-index: 1;
}
/* prices */
.prices-full {
  width: 100vw;
  padding: 80px 5vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-item {
  border-bottom: 1px solid #ddd;
}

.toggle {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 500;
  text-align: left;
  width: 100%;
  padding: 15px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
}

@media (max-width: 768px) {
  .toggle {
    font-size: 22px;
    padding: 12px 22px;
  }
}

@media (max-width: 480px) {
  .toggle {
    font-size: 20px;
    padding: 10px 22px;
  }
}

.toggle .icon {
  transition: transform 0.3s ease;
}

.toggle.active .icon {
  transform: rotate(180deg); 
}

.price-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.price-description.open {
  max-height: 300px;
  opacity: 1;
}

.price-description p {
  margin: 10px 0;
  margin-left: 20px;
  font-size: 18px;
  color: #777;
}

.price-description .price {
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
}
/* 🔻 АДАПТИВ ДЛЯ МОБІЛЬНИХ for prices */
@media (max-width: 768px) {
  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .price-text h2 {
    font-size: 22px;
  }

  .price-text p {
    font-size: 14px;
  }
  .price-description .price {
    font-size: 16px;
  }
  .price-value {
    font-size: 20px;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .prices-full {
    padding: 60px 20px;
    gap: 30px;
  }
 .scription .price {
    font-size: 18px;
    padding-left: 15px; 
  }
  .price-text h2 {
    font-size: 20px;
  }

  .price-value {
    font-size: 18px;
  }
}

/* team section */
.team-section {
  text-align: center;
  overflow: visible; 
}

.team-intro {
  font-size: 20px;
  color: var(--green);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 40px 20px;
}
.team-title {
  text-align: center;
  font-size: 40px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--green);
  margin: 80px auto 40px;
}

/* Найперша картка - Олександра */
.founder-card {
  margin-top: -20px; 
  margin-bottom: 20px; 
  text-align: center;
}

.founder-card .team-card {
  display: inline-block;
}

.team-card.empty {
  visibility: hidden;
}

@media (max-width: 480px) {
  .team-title {
    font-size: 26px;
    margin: 60px auto 30px;
    font-weight: 300;
  }
}

@media (max-width: 480px) {
  .team-intro {
        margin-bottom: 30px;
        font-size: 16px;
        padding: 20px 20px;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
  padding: 0 80px; 
}
@media (max-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    padding: 0 20px;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.team-card:hover .card-inner {
  transform: rotateY(180deg);
}
.team-grid.last-two {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (max-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    padding: 0 20px;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.team-card:hover .card-inner {
  transform: rotateY(180deg);
}


.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; 
}

.card-front p,
.card-back p {
  padding: 12px;
  font-weight: 300;
  font-size: 18px;
  margin: 0;
  width: 100%;
}

.card-back {
  transform: rotateY(180deg);
  z-index: 0;
  pointer-events: none;
  background: none; 
  padding: 0; 
}

.card-back video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; 
  z-index: 0;
  position: relative; 
}

.team-name {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 300;
  color: var(--black);
  text-align: center;
}

.team-text {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-back .back-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 24px;
}

/* Адаптація для мобільних картки команди */
@media (max-width: 600px) {
  .team-card {
    max-width: 380px;
  }


  .card-front img {
    border-radius: 16px;
  }
}
@media (max-width: 768px) {
  .team-name {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .team-name {
    font-size: 16px;
  }
}
.photo {
  will-change: transform, opacity;
}
/* video back */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: none;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
  .video-background video {
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .team-card:hover .video-background video {
    opacity: 1;
  }
/* Стиль картки з цитатою */
.quote-card {
  background: white;
  color: var(--black);
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.quote-text {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
  max-width: 90%;
}

.quote-text span {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 400;
}

/*  backgrounds */
.background-image-team {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('https://res.cloudinary.com/djihdjgbc/image/upload/v1754625308/all_team_szy1tm.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Забілення тільки фону */
.background-image-team::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 1;
}

.background-image-prices {
  position: relative;
  width: 100%;
  height: 100vh; /* або інша потрібна висота */
  background-image: url('https://res.cloudinary.com/djihdjgbc/image/upload/v1754625310/Autentica_prices_msdhop.png'); /* background photo */
  background-size: cover;
  background-position: center;
}
.background-image-cases {
  position: relative;
  width: 100%;
  height: 100vh; /* або інша потрібна висота */
  background-image: url('https://res.cloudinary.com/djihdjgbc/image/upload/v1754625310/Autentica_cases_ssn8vf.png'); /* background photo */
  background-size: cover;
  background-position: center;
}
.background-image-blog {
  position: relative;
  width: 100%;
  height: 100vh; /* або інша потрібна висота */
  background-image: url('https://res.cloudinary.com/djihdjgbc/image/upload/v1754625309/Autentica_blog_page_rcdkua.png'); /* background photo */
  background-size: cover;
  background-position: center;
}
/* секція з кейсами */
.cases-section {
  padding: 4rem 2rem;
  text-align: center;
}

.cases-title {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: var(--green);
}

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

.case-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
  height: 500px; 
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card .overlay {
  position: absolute;
  font-weight: 300;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card .overlay span {
  color: white;
  font-weight: 300;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.case-card:hover img {
  transform: scale(1.05);
}

.case-card:hover .overlay {
  opacity: 1;
}

@media (max-width: 600px) {
  .cases-title {
    font-size: 1.6rem;
  }

  .case-card .overlay span {
    font-size: 1.4rem;
  }
}
@media (max-width: 600px) {
  .cases-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .case-card {
    width: 106%;
    height: 580px
  }
}
/* стилі для кейсів */
.case-container {
  padding: 60px 20px;
  margin-bottom: 100px;
  border-radius: 16px;
}


.image-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.large-img, .medium-img {
  width: 100%;
  height: 500px; 
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}


.two-img-row {
  display: flex;
  gap: 20px;
}

.two-img-row img {
  width: 50%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.case-info {
  margin-top: 80px;    
  display: flex;
  flex-wrap: wrap;
  gap: 50px;       
  justify-content: space-between;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}


.info-block {
  flex: 1 1 30%;
  padding: 20px;
  border-radius: 16px;
}

.info-block h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
}

.info-block p {
  font-size: 16px;
  color: #333;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .two-img-row {
    flex-direction: column;
  }

  .two-img-row img {
    width: 100%;
  }

  .case-info {
    flex-direction: column;
  }

  .info-block {
    width: 100%;
  }
}
/* blog section */
.blog-article-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Блок з фото + текстом */
.article-block {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* Зображення */
.article-img {
  flex: 1.4; /* ширина */
  border-radius: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
}

.article-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
  will-change: transform;
}

.article-img:hover img {
  transform: scale(1.06) rotateZ(0.5deg) translateY(-4px);
  filter: brightness(1.05) saturate(1.1);
}


/* Текстова частина */
.article-text {
  flex: 1;
  font-family: 'Noto Sans', sans-serif;
}
.article-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}
.article-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Центральний текст */
.article-center-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.article-center-text h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
}
.article-center-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--green);
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .article-block {
    flex-direction: column;
    gap: 24px;
  }

  .article-img,
  .article-text {
    flex: 1 1 100%;
  }

  .article-center-text h2 {
    font-size: 24px;
  }

  .article-center-text p {
    font-size: 16px;
  }
}
.blog-header {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.blog-header h1 {
  font-size: 32px;
  font-weight: 500;
  font-family: 'Noto Sans', sans-serif;
  margin-bottom: 16px;
  color: var(--green);
}

.blog-header-line {
  position: relative;
  height: 1px;
  background-color: #ddd;
  margin-top: 10px;
}

.blog-date {
  color:var(--active-fill);
  font-size: 13px;
  margin-top: 16px;
  margin-bottom: 0;
  align-self: flex-end;
}

strong {
  font-weight: 900;
  font-size: 18px;
}
.team-card {
  perspective: 1800px;
  width: 100%;
  max-width: 550px;
  overflow: hidden;
  transition: transform 0.4s ease-out, box-shadow 0.3s ease;
  will-change: transform;
  margin: 0 auto;
}

.team-card:hover {
  transform: translateY(-10px);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 720px;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  will-change: transform;
}

.team-card:hover .card-inner {
  transform: none;
}

.card-front {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-name {
  padding: 12px;
  font-weight: 300;
  font-size: 18px;
  margin: 0;
  text-align: center;
}

/* 📱 Адаптація для мобільних */
@media (max-width: 768px) {
  .team-card {
    max-width: 90%;
    margin: 0 auto;
  }

  .card-inner {
    height: 580px;
  }

  .card-front {
    border-radius: 16px;
  }

  .team-name {
    font-size: 16px;
    padding: 8px;
  }

  /* Відключаємо hover-ефекти для мобільних */
  .team-card:hover {
    transform: none;
  }

  .team-card:hover .card-inner {
    transform: none;
  }
}

