
body {
  font-family: 'Arial', sans-serif;
  background: #f5fdf9;
  margin: 0;
  color: #2c3e50;
}

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

/* Hero section */
.hero {
  background: linear-gradient(135deg, #004d40, #00796b);
  padding: 40px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #e0f2f1;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #b2dfdb;
}

.hero .counter {
  font-size: 20px;
  font-weight: bold;
  color: #ffcc80;
}

/* Offers section */
.offers-section {
  padding: 40px 0;
}

.offer-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.offer-card {
  background: #ffffff;
  border: 2px solid #b2dfdb;
  border-left: 6px solid #00796b;
  border-radius: 10px;
  padding: 20px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}

.offer-card:hover {
  transform: translateY(-4px);
}

.brand-logo {
  max-height: 70px;
  margin-bottom: 6px;
}

.lead-text {
  font-weight: normal;
  font-size: 12px; /* зменшений розмір */
  color: #00695c;
  margin: 10px 0 12px; /* нижній відступ від кнопки */
  padding-bottom: 6px; /* відступ перед лінією */
  border-bottom: 1px solid #b2dfdb; /* дивайдер у фірмовому кольорі */
}
.credit-details { 
  margin-bottom: 20px;  /* відступ під блоком деталей */
}

.credit-details p {
  margin: 6px 0;
  font-size: 14px;
  color: #455a64;
}

.apply-button {
  background: linear-gradient(45deg, #388e3c, #66bb6a);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  animation: subtlePulse 2.5s infinite;
  transition: transform 0.2s;
}

@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(102,187,106, 0.2);
  }
  50% {
    box-shadow: 0 0 12px rgba(102,187,106, 0.4);
  }
}

.expandable {
  margin-top: 15px;
}

.details-toggle {
  color: #00796b;
  text-decoration: underline;
  cursor: pointer;
}

.details-content {
  display: none;
  margin-top: 8px;
  font-size: 13px;
}

.details-content.visible {
  display: block;
}

.promo {
  font-size: 13px;
  margin-top: 26px;
  background: #e0f2f1;
  padding: 10px;
  border-left: 4px solid #004d40;
  border-radius: 5px;
  color: #00695c;
}

/* Optional color accents */
.orange-bg {
  background: #fbe9e7;
  border-left: 4px solid #e64a19;
  color: #bf360c;
}

.green {
  background: linear-gradient(45deg, #2e7d32, #66bb6a);
}

/* Stars */
.stars {
  color: #fbc02d;
  font-size: 18px;
  margin-bottom: 6px;
}

/* Creditor section */
.creditor-info {
  background: #e0f2f1;
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 20px;
}

.creditor-info h2 {
  text-align: center;
  color: #004d40;
  margin-bottom: 25px;
  font-size: 22px;
}

.info__card {
  display: flex;
  font-size: 14px;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  border-left: 4px solid #00796b;
  border-radius: 8px;
  background: #ffffff;
  color: #2c3e50;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.info__card span {
  padding: 6px 0;
  border-bottom: 1px dashed #ccc;
}

.info__card span:last-child {
  border-bottom: none;
}
.info__card:hover {
  box-shadow: 0 0 16px rgba(0, 150, 136, 0.3);
}

.info__card .title {
  font-weight: bold;
  color: #00796b;
  font-size: 15px;
}

.creditor-info .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.info__card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
}

/* Cookie Banner */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 300px;
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 10px 15px;
  font-size: 13px;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  border-radius: 6px;
  line-height: 1.4;
}
.cookie__text {
  margin: 0 0 8px 0;
}
.cookie__text a {
  color: #00796b;
  text-decoration: underline;
}
.cookie__btn {
  background-color: #00796b;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
}

/* /* FAQ */
.faq-item { margin-bottom: 20px; }
.faq-item h3 { margin-bottom: 10px; }
.faq-item ul, .faq-item dl { margin-left: 20px; }

/* style.css (додано стилі для JS‑акордеона) */
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 15px 45px 15px 15px; font-size: 16px; cursor: pointer; position: relative; }
.faq-question::after { content: '+'; position: absolute; right: 15px; font-size: 20px; transition: transform 0.2s ease; }
.faq-item.open .faq-question::after { content: '–'; transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 15px; font-size: 14px; line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 600px; padding: 0 15px 15px; } */

.faq { background: #e0f2f1; padding: 40px 0; }
.faq-title { text-align: center; margin-bottom: 30px; color: #004d40; font-size: 24px; }
.faq-item { background: #ffffff; border-left: 6px solid #00796b; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); margin-bottom: 18px; overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-item.open { box-shadow: 0 6px 16px rgba(0,150,136,0.25); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 18px 55px 18px 20px; font-size: 17px; font-weight: bold; color: #00796b; cursor: pointer; position: relative; }
.faq-question::after { content: '+'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 24px; color: #00796b; transition: transform 0.25s ease; }
.faq-item.open .faq-question::after { content: '–'; transform: translateY(-50%) rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 20px; color: #455a64; font-size: 15px; line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 800px; padding: 0 20px 18px; }
.faq-answer ul, .faq-answer dl { margin-left: 20px; }

/* Footer */
.footer { background: #222; color: #eee; padding: 30px 0; }
.footer__text { display: block; margin-bottom: 15px; font-size: 14px; }
.footer__links a, .footer__links span { color: #ccc; margin-right: 15px; text-decoration: none; font-size: 14px; }


/* Overlay & Modal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 1000;
}
.overlay.show { opacity: 1; pointer-events: all; }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) scale(.9);
  background: #ffffff;
  border-left: 6px solid #00796b;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  width: 90%;
  max-width: 380px;
  padding: 30px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 1001;
}
.modal.show { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }

.modal__title { font-size: 18px; font-weight: bold; color: #00796b; margin-bottom: 15px; text-align: center; }
.modal__input-block { margin-bottom: 20px; }
.modal__input-block label { display: block; font-size: 13px; margin-bottom: 6px; color: #455a64; }
.modal__input { display: flex; align-items: center; gap: 8px; border: 1px solid #b2dfdb; border-radius: 8px; padding: 8px 12px; }
.modal__input svg { min-width: 22px; }
.modal__input input { border: none; outline: none; flex: 1; font-size: 14px; color: #2c3e50; }
.modal__send { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(45deg, #388e3c, #66bb6a); color: #fff; border: none; padding: 12px 0; border-radius: 25px; font-weight: bold; cursor: pointer; transition: transform .2s; }
.modal__send:hover { transform: translateY(-2px); }


@media (max-width: 480px) {
  .cookie {
    left: 10px;
    right: 10px;
    max-width: unset;
  }
  .faq-question { font-size: 15px; }
}

@media (max-width: 768px) {
  .info__card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .faq-question { font-size: 15px; }
}
}
