body {
    margin: 0;
    padding: 0;
    background-color: #f9f5f0;
    font-family: 'Montserrat', sans-serif;
    color: #2d2d2d;
    text-align: center;
  }
  
  .card {
    background: #fffefc;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    
  }
  
  .container {
    padding: 2rem 1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
  }
 
  h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    padding: 0 1rem;
  }
  
  .text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-align: left;
  }
  
  .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #444;
  }
  
  .gallery-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.5rem 0 1.2rem;
    color: #444;
    text-align: center;
  }
  
  /* Behance cards — залишаємо на випадок комбінованої галереї */
  .gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
  }
  
  
  .card:hover {
    transform: scale(1.01);
  }
  
  .card iframe {
    width: 100%;
    height: 316px;
    border: none;
    display: block;
  }
  
  /* Instagram-style grid */
  .ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 6px;
    padding: 1rem 0;
    max-width: 600px;
    margin: 0 auto 2rem;
  }
  
  .ig-grid a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
  }
  
  .ig-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .ig-grid a:hover img {
    transform: scale(1.05);
  }
.embed-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
  }
  .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
    transition: transform 0.2s ease;
  }
  
  .btn:hover {
    transform: scale(1.05);
  }
  
  .btn-yellow {
    background-color: #FFD700;
    color: #000;
  }
  
  .btn-red {
    background-color: #D7263D;
  }
  
  .btn-maroon {
    background-color: #9E1030;
  }
  
  .btn-navy {
    background-color: #1A1A40;
  }
  #bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* робить текст читабельним */
  }
  
  .lang-divider {
  margin: 3rem auto;
  width: 60px;
  height: 2px;
  background-color: #2d2d2d; /* або будь-який інший тон */
  border: none;
  opacity: 0.2;
}
@media (max-width: 480px) {
  .profile-img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .card {
    padding: 1.2rem 1rem;
    margin: 1.5rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .card h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0 0.5rem;
    margin-bottom: 1rem;
  }

  .text {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
  }

  .buttons {
    flex-direction: column;
    gap: 0.6rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}
/* === FAQ FIX/OVERRIDES === */
.faq { 
  margin: 3rem auto 4rem;
  max-width: 860px;
  text-align: left;            /* перебиваємо глобальне center */
}
.faq-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

.faq-list { 
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  width: 100%;
  display: block;
  background: #fffefc;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 600 1rem/1.3 'Montserrat', sans-serif;
  color: #2d2d2d;
  text-align: left;            /* щоб не центрилось */
}
.faq-q:focus { outline: 2px solid #ffd24d; outline-offset: 2px; border-radius: 12px; }

.faq-q .chev {                 /* розмір і анімація іконки */
  width: 20px; 
  height: 20px; 
  flex: 0 0 20px; 
  transform-origin: center; 
  transition: transform .25s ease;
}
/* ВАЖЛИВО: прибираємо чорну заливку, малюємо лінію */
.faq-q .chev path { 
  fill: none; 
  stroke: currentColor; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, padding .25s ease;
  line-height: 1.6;
  color: #444;
  text-align: left;            /* відповіді зліва */
}

.faq-item.open .faq-a { 
  padding: 0 1.1rem 1rem; 
  opacity: 1; 
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }

@media (max-width: 640px) {
  .faq { margin: 2rem 0 3rem; }
  .faq-title { font-size: 1.35rem; }
  .faq-q { font-size: 0.98rem; }
}


  