/* Estilos de Documentación de Viaje para Extranjeros */
/* Basado en el diseño exacto proporcionado con tipografía y espaciado fluido usando clamp() */

.doc-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 35px);
  padding-right: clamp(20px, 4vw, 35px);
}

/* Header & Titles */
.doc-header-section {
  margin-bottom: clamp(24px, 2vw + 16px, 40px);
}

.doc-main-title {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(2.3rem, 1.8rem + 1.5vw, 3.2rem);
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 12px;
}

.doc-main-subtitle {
  font-size: clamp(1.35rem, 1.25rem + 0.35vw, 1.6rem);
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 1050px;
}

/* Grid layout for columns */
.doc-columns-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.doc-column {
  flex: 1;
  min-width: 0;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}

/* Header Pills / Category Badges */
.doc-category-pill {
  display: block;
  width: 100%;
  text-align: center;
  padding: clamp(12px, 1vw + 8px, 20px) 20px;
  border-radius: 20px;
  font-weight: 800;
  font-size: clamp(1.35rem, 0.95rem + 1.1vw, 2.2rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: clamp(16px, 1vw + 10px, 22px);
  user-select: none;
}

/* Left Pill: Orange */
.doc-pill-orange {
  background-color: #f16e00;
}

/* Right Pill: Golden Yellow */
.doc-pill-yellow {
  background-color: #f3af1c;
}

/* Content Cards */
.doc-gray-card {
  background-color: #dedede;
  border-radius: clamp(20px, 1vw + 16px, 30px);
  padding: clamp(15px, 1.2vw + 10px, 24px) clamp(14px, 1.5vw + 8px, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Card Body Content */
.doc-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-req-item {
  font-size: clamp(1.2rem, 1.1rem + 0.2vw, 1.3rem);
  color: #333;
  line-height: 1.65;
  margin-bottom: 16px;
}

.doc-req-item:last-child {
  margin-bottom: 0;
}

.doc-req-item strong {
  color: #111;
  font-weight: 700;
}

/* Sub-items for countries */
.doc-sub-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.doc-sub-item {
  position: relative;
  padding-left: 18px;
  font-size: clamp(1.2rem, 1.1rem + 0.2vw, 1.3rem);
  color: #3a3a3a;
  line-height: 1.3;
  margin-bottom: 8px;
}

.doc-sub-item:last-child {
  margin-bottom: 0;
}

.doc-sub-item::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: clamp(0.85rem, 0.8rem + 0.1vw, 0.95rem);
  color: #444;
}

.doc-sub-item strong {
  color: #111;
  font-weight: 700;
}

/* Note Section at the bottom of the card */
.doc-card-notes {
  margin-top: auto;
  padding-top: clamp(18px, 1vw + 10px, 25px);
  font-size: clamp(1.2rem, 1.1rem + 0.25vw, 1.35rem);
  line-height: 1.6;
  color: #444;
}

.doc-note-venezuela {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.doc-note-venezuela .doc-note-label {
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  white-space: nowrap;
}

.doc-note-venezuela .doc-note-desc {
  color: #444;
}

.doc-note-general {
  color: #444;
  margin-left: 5px;
}

.doc-note-general p,
.doc-note-desc p {
  margin-bottom: 0;
}

/* Responsive adjustments estrictamente para estructura y flujo */
@media (max-width: 991px) {
  .doc-wrap {
    padding-left: clamp(24px, 6vw, 42px) !important;
    padding-right: clamp(24px, 6vw, 42px) !important;
  }

  .doc-columns-row {
    margin-left: 0;
    margin-right: 0;
  }

  .doc-column {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 35px;
  }

  .doc-column:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .doc-wrap {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }

  .doc-note-venezuela {
    flex-direction: column;
    gap: 4px;
  }
}
