/* Bloom CSS Logistics: FAQ - Page */
.es-faq-page {
  width: 100%;
  padding: clamp(64px, 8vw, 120px) 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255,201,40,0.10), transparent 24%),
    radial-gradient(circle at 8% 18%, rgba(0,174,234,0.07), transparent 26%),
    linear-gradient(135deg, #f4f8fb 0%, #ffffff 48%, #f5efe1 100%);
  color: #071827;
}

.es-faq-page *,
.es-faq-page *::before,
.es-faq-page *::after {
  box-sizing: border-box;
}

.es-faq-wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

/* -------------------------------- */
/* HEADER */
/* -------------------------------- */

.es-faq-header {
  margin-bottom: 42px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(7,24,39,0.96), rgba(3,17,29,0.96));
  box-shadow: 0 28px 80px rgba(7,24,39,0.14);
  color: #fff;
}

.es-faq-kicker {
  margin: 0 0 14px;
  color: #ffc928;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 950;
}

.es-faq-header h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: #fff;
}

.es-faq-header p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.8;
  font-size: 1rem;
}

.es-faq-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* -------------------------------- */
/* BUTTONS */
/* -------------------------------- */

.es-faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 900;
  transition: 0.22s ease;
}

.es-faq-btn:hover {
  transform: translateY(-2px);
}

.es-faq-btn--primary {
  background: linear-gradient(135deg, #ffc928, #ff9f1c);
  border-color: transparent;
  color: #071827;
  box-shadow: 0 16px 40px rgba(255,201,40,0.20);
}

/* -------------------------------- */
/* GROUPS */
/* -------------------------------- */

.es-faq-group {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 24px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(7,24,39,0.08);
  box-shadow: 0 18px 54px rgba(7,24,39,0.06);
}

.es-faq-group__head {
  margin-bottom: 22px;
}

.es-faq-group__head h2 {
  margin: 0;
  color: #071827;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

/* -------------------------------- */
/* FAQ ITEMS */
/* -------------------------------- */

.es-faq-list {
  display: grid;
  gap: 12px;
}

.es-faq-item {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(7,24,39,0.04);
  border: 1px solid rgba(7,24,39,0.06);
  transition: 0.2s ease;
}

.es-faq-item[open] {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,174,234,0.16);
  box-shadow: 0 10px 34px rgba(7,24,39,0.05);
}

.es-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 58px 18px 20px;
  color: #071827;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  transition: 0.2s ease;
}

.es-faq-item summary::-webkit-details-marker {
  display: none;
}

.es-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #00aeea;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transition: 0.2s ease;
}

.es-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.es-faq-answer {
  padding: 0 20px 20px;
}

.es-faq-answer p {
  margin: 0 0 14px;
  color: #334155;
  line-height: 1.8;
  font-size: 0.98rem;
}

.es-faq-answer p:last-child {
  margin-bottom: 0;
}

.es-faq-answer a {
  color: #071827;
  font-weight: 800;
  text-decoration: none;
}

.es-faq-answer a:hover {
  color: #00aeea;
}

/* -------------------------------- */
/* FOOTER CTA */
/* -------------------------------- */

.es-faq-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,201,40,0.14), transparent 30%),
    linear-gradient(135deg, #071827, #03111d);
  box-shadow: 0 28px 80px rgba(7,24,39,0.16);
}

.es-faq-footer h2 {
  margin: 0;
  max-width: 620px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.es-faq-footer p {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.8;
}

.es-faq-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* -------------------------------- */
/* RESPONSIVE */
/* -------------------------------- */

@media (max-width: 767px) {

  .es-faq-page {
    padding: 48px 16px;
  }

  .es-faq-header,
  .es-faq-group,
  .es-faq-footer {
    border-radius: 22px;
  }

  .es-faq-footer {
    grid-template-columns: 1fr;
  }

  .es-faq-header__actions,
  .es-faq-footer__actions {
    flex-direction: column;
  }

  .es-faq-btn {
    width: 100%;
  }

  .es-faq-item summary {
    padding: 16px 52px 16px 18px;
    font-size: 0.96rem;
  }

  .es-faq-answer {
    padding: 0 18px 18px;
  }
}