/* ==========================================================================
   ROAC Auditor landing — Figma node 22889:184050
   7.6.0 ROAC / Normativa y otros Informes
   ========================================================================== */

.roac-auditor-page {
  background: #ffffff;
}

/* === Hero Section (22889:184052) — 288px, bg image + dark overlay === */
.roac-auditor-hero {
  position: relative;
  height: 288px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('../images/landing/roac-main-bg.webp');
  background-size: cover;
  background-position: center;
  background-color: #172554;
}

.roac-auditor-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.roac-auditor-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.roac-auditor-hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1152px;
}

/* Breadcrumb */
.roac-auditor-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.roac-auditor-breadcrumb__link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fafafa;
  text-decoration: none;
  transition: opacity 0.15s;
}

.roac-auditor-breadcrumb__link:hover {
  opacity: 0.8;
}

.roac-auditor-breadcrumb__current {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fafafa;
}

/* Hero title */
.roac-auditor-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
  color: #fafafa;
  margin: 0;
}

/* === Cards Section (22889:184059) === */
.roac-auditor-cards-section {
  background: #ffffff;
  padding: 64px 0 0;
}

.roac-auditor-cards-container {
  max-width: 1280px;
  margin: 0 auto;
}

.roac-auditor-cards-inner {
  padding-bottom: 64px;
}

.roac-auditor-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.roac-auditor-empty {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #525252;
  text-align: center;
  padding: 48px 0;
}

/* === Card Wrapper — border, rounded-xl (14px), ~413px wide === */
.roac-auditor-card-wrapper {
  flex: 1 0 0;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.2s;
}

.roac-auditor-card-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* === Top Visual Area — gray-50, 300px height === */
.roac-auditor-card-visual {
  position: relative;
  background: #f9fafb;
  height: 300px;
  overflow: hidden;
}

.roac-auditor-card-content {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc(100% - 48px);
  z-index: 2;
}

/* Icon wrapper — 64x64, white bg, border, rounded-md (8px), shadow */
.roac-auditor-card-icon-wrapper {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.roac-auditor-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roac-auditor-card-icon svg {
  width: 48px;
  height: 48px;
}

/* Card title — text-xl (20px), medium (500) */
.roac-auditor-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #0a0a0a;
  margin: 0;
  min-width: 100%;
  width: min-content;
}

/* Horizontal separator line — thin line at ~267px from top */
.roac-auditor-card-separator {
  position: absolute;
  bottom: 33px;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e5e5;
}

/* Decorative vertical lines — bottom-right area, RED (#b91c1c) */
.roac-auditor-card-decoration {
  position: absolute;
  bottom: 32px;
  right: 86px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  z-index: 1;
}

.roac-auditor-card-line {
  display: block;
  width: 2px;
  height: 49px;
  border-radius: 1px;
  background: #b91c1c;
  opacity: 0.25;
}

.roac-auditor-card-line:nth-child(2) {
  opacity: 0.4;
}

/* === Bottom Button Area — 68px height, padding 16px === */
.roac-auditor-card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  background: #ffffff;
}

/* Button — outline style, gray border, black text */
.roac-auditor-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #0a0a0a;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.roac-auditor-card-btn:hover {
  background: #f9fafb;
  border-color: #d4d4d4;
}

.roac-auditor-card-btn svg {
  flex-shrink: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .roac-auditor-cards-grid {
    gap: 16px;
  }

  .roac-auditor-card-wrapper {
    min-width: 260px;
  }

  .roac-auditor-card-visual {
    height: 260px;
  }

  .roac-auditor-card-decoration {
    right: 50px;
  }
}

@media (max-width: 768px) {
  .roac-auditor-hero {
    height: 220px;
  }

  .roac-auditor-hero__title {
    font-size: 28px;
    line-height: 34px;
  }

  .roac-auditor-cards-section {
    padding: 40px 0 0;
  }

  .roac-auditor-cards-grid {
    flex-direction: column;
    gap: 20px;
  }

  .roac-auditor-card-wrapper {
    min-width: 100%;
  }

  .roac-auditor-card-visual {
    height: 240px;
  }

  .roac-auditor-card-decoration {
    right: 40px;
    bottom: 24px;
  }

  .roac-auditor-card-line {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .roac-auditor-hero {
    height: 200px;
  }

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

  .roac-auditor-card-content {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .roac-auditor-card-visual {
    height: 220px;
  }

  .roac-auditor-card-title {
    font-size: 18px;
    line-height: 24px;
  }

  .roac-auditor-card-decoration {
    right: 20px;
    bottom: 16px;
    gap: 6px;
  }

  .roac-auditor-card-line {
    height: 32px;
  }

  .roac-auditor-card-separator {
    bottom: 24px;
  }
}
