/**
 * Requisitos para ser auditor de cuentas
 * Figma: 22889:76376
 * White hero + accordion with 11 items (first open)
 */

/* ══════════════════════════════════════
   Hero Section (y=150 h=160 white bg)
   ══════════════════════════════════════ */
.req-hero {
  width: 100%;
  background-color: #ffffff;
  padding-top: 64px;
  padding-bottom: 28px;
}

.req-hero__container {
  width: 1280px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.req-hero__content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 1116px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* ── Breadcrumb ── */
.req-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.req-breadcrumb__link {
  color: #525252;
  text-decoration: none;
  transition: text-decoration 0.15s ease;
}

.req-breadcrumb__link:hover {
  text-decoration: underline;
}

.req-breadcrumb__sep {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.req-breadcrumb__current {
  color: #0a0a0a;
  font-weight: 400;
}

/* ── H1 ── */
.req-hero__title {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #0a0a0a;
  letter-spacing: 0;
  margin: 0;
}

/* ── Descargar PDF button ── */
.req-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  background-color: #172554;
  color: #fafafa;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.req-hero__btn:hover {
  background-color: #1e3a6e;
  color: #fafafa;
  box-shadow: 0 2px 8px rgba(23, 37, 84, 0.3);
}

.req-hero__btn:focus-visible {
  outline: 2px solid #172554;
  outline-offset: 2px;
}

.req-hero__btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   Accordion Section (y=310 h=904 pb64)
   ══════════════════════════════════════ */
.req-accordion-section {
  width: 100%;
  padding-bottom: 64px;
  background-color: #ffffff;
}

.req-accordion-section__container {
  width: 1280px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

/* ── Accordion wrapper ── */
.req-accordion {
  display: flex;
  flex-direction: column;
}

/* ── Force 100% width on all wrappers and items inside the accordion container ── */
[data-req-accordion] .field,
[data-req-accordion] .field__items,
[data-req-accordion] .field__item,
[data-req-accordion] .icac-live-preview-paragraph-wrapper,
.req-accordion-item {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ── Accordion item ── */
.req-accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

.req-accordion-item:first-child {
  padding-bottom: 20px;
  border-bottom: none;
}

/* ── Trigger button ── */
.req-accordion-trigger {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: left;
  transition: background-color 0.15s ease;
}

.req-accordion-trigger:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.req-accordion-trigger:focus-visible {
  outline: 2px solid #172554;
  outline-offset: -2px;
  border-radius: 4px;
}

.req-accordion-trigger__title {
  width: 793px;
  max-width: calc(100% - 60px);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #0a0a0a;
}

.req-accordion-trigger__chevron {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #0a0a0a;
  transition: transform 0.25s ease;
  transform: rotate(0deg);
}

.req-accordion-trigger__chevron--up {
  transform: rotate(180deg);
}

/* ── Panel (content area) ── */
.req-accordion-panel {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.req-accordion-panel--hidden {
  display: none;
}

.req-accordion-panel__content {
  padding-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #525252;
}

.req-accordion-panel__content p {
  margin: 0;
}

.req-accordion-panel__content strong,
.req-accordion-panel__content b {
  font-weight: 700;
  color: #0a0a0a;
}

.req-accordion-panel__content ul,
.req-accordion-panel__content ol {
  margin: 8px 0;
  padding-left: 24px;
}

.req-accordion-panel__content li {
  margin-bottom: 6px;
}

.req-accordion-panel__content a {
  color: #172554;
  text-decoration: underline;
}

.req-accordion-panel__content a:hover {
  color: #1e3a6e;
}

/* ══════════════════════════════════════
   Responsive
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .req-hero__container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .req-hero {
    padding-top: 48px;
    padding-bottom: 20px;
  }

  .req-hero__container,
  .req-accordion-section__container {
    max-width: calc(100% - 32px);
  }

  .req-hero__title {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 12px;
  }

  .req-hero__btn {
    align-self: flex-start;
  }

  .req-accordion-trigger__title {
    width: auto;
    font-size: 16px;
    line-height: 24px;
  }

  .req-accordion-section {
    padding-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .req-hero__container,
  .req-accordion-section__container {
    max-width: calc(100% - 24px);
  }

  .req-hero__title {
    font-size: 24px;
    line-height: 30px;
  }
}
