:root {
  --azul-oscuro: #064782;
  --azul-celeste: #149BD7;
  --azul-profundo: #02335f;
  --blanco: #ffffff;
  --gris-texto: #333333;
  --gris-linea: #e8edf2;
  --sombra: 0 12px 32px rgba(6, 71, 130, .14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gris-texto);
  background: var(--blanco);
}

a {
  text-decoration: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 285px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--azul-profundo), #012947 72%, #171717);
  color: var(--blanco);
  z-index: 20;
  box-shadow: 6px 0 18px rgba(0, 0, 0, .18);
}

.close-menu {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.hero-video{
    width:100%;
    height:100%;
    object-fit:cover;
}
.brand {
  min-height: 170px;
  padding: 28px 22px 20px;
  text-align: center;
}

.brand h1 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
}

.brand-logo {
  max-width: 145px;
  max-height: 88px;
  object-fit: contain;
}

.search-box {
  height: 44px;
  background: rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.search-icon {
  color: var(--azul-celeste);
  font-size: 20px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--blanco);
  font-size: 13px;
}

.search-box input::placeholder {
  color: rgba(255,255,255,.72);
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  color: var(--blanco);
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, padding-left .2s ease;
}

.side-nav a span {
  width: 22px;
  text-align: center;
  font-size: 18px;
  color: var(--blanco);
}

.side-nav a:hover,
.side-nav a:first-child {
  background: linear-gradient(90deg, var(--azul-celeste), var(--azul-oscuro));
}

.side-nav a:hover {
  padding-left: 31px;
}

.social-bottom {
  position: absolute;
  left: 0;
  bottom: 62px;
  width: 100%;
  padding: 0 26px;
}

.social-bottom p {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

.social-icons,
.social-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.social-icons a,
.social-top a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  background: var(--azul-oscuro);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
}

.page {
  min-height: 100vh;
  margin-left: 285px;
  background: #fff;
}

.hero {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: var(--azul-oscuro);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,71,130,.25), rgba(6,71,130,.03) 55%, rgba(6,71,130,.20));
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-logo {
  position: absolute;
  left: 36px;
  top: 24px;
  width: 190px;
  z-index: 2;
}

.hero-logo img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.social-top {
  position: absolute;
  right: 34px;
  top: 26px;
  z-index: 3;
}

.entity-name {
  position: absolute;
  right: 34px;
  bottom: 14px;
  z-index: 3;
  color: var(--blanco);
  font-size: 13px;
  text-shadow: 0 2px 4px rgba(0,0,0,.55);
}

.blue-line {
  height: 14px;
  background: var(--azul-celeste);
}

.content-grid {
  width: 100%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 685px;
  gap: 30px;
  padding: 24px 32px 28px 48px;
}

.block h2 {
  margin: 0 0 14px;
  color: var(--azul-oscuro);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.block h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 21px;
  margin-right: 10px;
  background: var(--azul-celeste);
  vertical-align: -4px;
}

.slider {
  position: relative;
  max-width: 700px;
  background: #f6f8fb;
  box-shadow: var(--sombra);
  overflow: hidden;
}

.slides {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 26px;
  color: var(--blanco);
  background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.25));
}

.slide-caption strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.slide-caption span {
  font-size: 14px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 48px;
  transform: translateY(-50%);
  border: 0;
  color: var(--azul-oscuro);
  background: rgba(255,255,255,.82);
  font-size: 38px;
  cursor: pointer;
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 6;
}

.dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid var(--blanco);
  border-radius: 50%;
  background: var(--blanco);
  cursor: pointer;
}

.dot.active {
  background: var(--azul-celeste);
}

.services-block {
  margin-top: 28px;
}

.service-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 14px;
  max-width: 700px;
}

.service-btn {
  min-height: 105px;
  padding: 16px 10px;
  background: linear-gradient(135deg, var(--azul-celeste), #0875b8);
  color: var(--blanco);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  line-height: 1.1;
  font-size: 16px;
  box-shadow: var(--sombra);
  transition: transform .18s ease, background .18s ease;
}

.service-btn span {
  font-size: 30px;
  line-height: 1;
}

.service-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-celeste));
}

.right-content {
  display: grid;
  grid-template-columns: 330px minmax(240px, 1fr);
  gap: 28px;
  align-items: start;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-list a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: linear-gradient(90deg, var(--azul-oscuro), #075f99);
  color: var(--blanco);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(6,71,130,.12);
}

.topic-list a span {
  width: 24px;
  text-align: center;
  font-size: 21px;
}

.topic-list a:hover {
  background: linear-gradient(90deg, var(--azul-celeste), var(--azul-oscuro));
}

.calendar-card {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.calendar-card img {
  width: 100%;
  max-width: 345px;
  display: block;
  box-shadow: var(--sombra);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.2fr 1.5fr;
  gap: 18px;
  align-items: center;
  padding: 18px 34px 18px 48px;
  color: var(--blanco);
  background: linear-gradient(90deg, var(--azul-oscuro), var(--azul-profundo));
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.45);
  z-index: 99;
}

.modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(520px, 100%);
  background: var(--blanco);
  border-top: 8px solid var(--azul-celeste);
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.modal-content h3 {
  margin-top: 0;
  color: var(--azul-oscuro);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 1250px) {
  .content-grid,
  .right-content {
    grid-template-columns: 1fr;
  }

  .slider,
  .service-buttons {
    max-width: none;
  }

  .calendar-card {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .brand-logo,
  .social-bottom,
  .close-menu {
    display: none;
  }

  .brand {
    min-height: auto;
    padding: 16px;
  }

  .side-nav a {
    min-height: 46px;
  }

  .page {
    margin-left: 0;
  }

  .hero {
    height: 165px;
  }

  .hero-logo {
    left: 18px;
    width: 140px;
  }

  .content-grid {
    padding: 22px 16px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .slides {
    height: 270px;
  }

  .service-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-top {
    right: 14px;
    gap: 8px;
  }

  .social-top a {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}


/* =========================================================
   AJUSTE RESPONSIVE / ZOOM NAVEGADOR
   Mantiene el diseño proporcional en 100%, 110%, 125% y pantallas pequeñas.
   ========================================================= */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.sidebar {
  width: clamp(220px, 18vw, 285px);
}

.page {
  margin-left: clamp(220px, 18vw, 285px);
  width: calc(100% - clamp(220px, 18vw, 285px));
}

.brand {
  min-height: clamp(120px, 18vh, 170px);
  padding: clamp(18px, 2vw, 28px) clamp(14px, 1.6vw, 22px) clamp(14px, 1.5vw, 20px);
}

.brand h1 {
  font-size: clamp(14px, 1.15vw, 18px);
}

.brand-logo {
  max-width: clamp(105px, 9vw, 145px);
  max-height: clamp(65px, 8vh, 88px);
}

.side-nav a {
  min-height: clamp(42px, 5.4vh, 56px);
  padding: 0 clamp(16px, 1.8vw, 26px);
  font-size: clamp(13px, .95vw, 15px);
}

.social-bottom {
  bottom: clamp(22px, 5vh, 62px);
}

.hero {
  height: clamp(145px, 19vh, 215px);
}

.hero-logo {
  left: clamp(18px, 2.4vw, 36px);
  top: clamp(14px, 2vh, 24px);
  width: clamp(120px, 13vw, 190px);
}

.social-top {
  right: clamp(14px, 2.2vw, 34px);
  top: clamp(14px, 2.2vh, 26px);
  gap: clamp(7px, .9vw, 13px);
}

.social-icons a,
.social-top a {
  width: clamp(29px, 2.8vw, 36px);
  height: clamp(29px, 2.8vw, 36px);
  font-size: clamp(15px, 1.35vw, 19px);
}

.entity-name {
  right: clamp(14px, 2.2vw, 34px);
  font-size: clamp(10px, .9vw, 13px);
}

.content-grid {
  max-width: none;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 38vw);
  gap: clamp(16px, 2vw, 30px);
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2.3vw, 32px) clamp(24px, 2.5vw, 28px) clamp(22px, 3.2vw, 48px);
}

.block h2 {
  font-size: clamp(16px, 1.4vw, 22px);
  margin-bottom: clamp(10px, 1vw, 14px);
}

.slider {
  max-width: none;
  width: 100%;
}

.slides {
  height: clamp(260px, 38vh, 380px);
}

.slide-caption {
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2vw, 26px);
}

.slide-caption strong {
  font-size: clamp(14px, 1.2vw, 18px);
}

.service-buttons {
  max-width: none;
  width: 100%;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: clamp(10px, 1vw, 14px);
}

.service-btn {
  min-height: clamp(78px, 11vh, 105px);
  font-size: clamp(13px, 1vw, 16px);
}

.service-btn span {
  font-size: clamp(22px, 2vw, 30px);
}

.right-content {
  grid-template-columns: minmax(240px, 1fr) minmax(190px, .9fr);
  gap: clamp(16px, 1.8vw, 28px);
}

.topic-list {
  gap: clamp(8px, 1.1vh, 12px);
}

.topic-list a {
  min-height: clamp(40px, 5.2vh, 48px);
  font-size: clamp(13px, 1.05vw, 16px);
  padding: 0 clamp(12px, 1.2vw, 16px);
}

.topic-list a span {
  font-size: clamp(17px, 1.5vw, 21px);
}

.calendar-card img {
  max-width: min(345px, 100%);
  max-height: clamp(320px, 62vh, 520px);
  object-fit: contain;
}

.footer {
  padding: clamp(14px, 1.4vw, 18px) clamp(18px, 2.2vw, 34px) clamp(14px, 1.4vw, 18px) clamp(22px, 3.2vw, 48px);
  font-size: clamp(12px, .9vw, 14px);
}

/* Pantallas medianas o navegador con zoom alto */
@media (max-width: 1380px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 34vw);
  }

  .right-content {
    grid-template-columns: 1fr;
  }

  .calendar-card {
    justify-content: center;
  }

  .calendar-card img {
    max-width: 300px;
    max-height: 390px;
  }
}

@media (max-width: 1180px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .right-content {
    grid-template-columns: minmax(260px, .9fr) minmax(220px, .7fr);
  }

  .calendar-card img {
    max-width: 320px;
  }
}

@media (max-width: 980px) {
  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .page {
    width: 100%;
    margin-left: 0;
  }

  .brand-logo,
  .social-bottom,
  .close-menu {
    display: none;
  }

  .brand {
    min-height: auto;
    padding: 16px;
  }

  .side-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-nav a {
    min-height: 44px;
  }

  .content-grid {
    padding: 18px;
  }

  .right-content {
    grid-template-columns: 1fr;
  }

  .calendar-card {
    justify-content: flex-start;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 135px;
  }

  .side-nav {
    grid-template-columns: 1fr;
  }

  .social-top {
    display: none;
  }

  .entity-name {
    left: 16px;
    right: 16px;
    text-align: right;
  }

  .slides {
    height: 245px;
  }

  .service-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-list a {
    min-height: 44px;
  }

  .calendar-card img {
    max-width: 100%;
    max-height: none;
  }
}

/* Ajustes convocatoria y popup inicial */
.slide-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  color: inherit;
}

.slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.welcome-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 51, 95, .72);
  z-index: 999;
}

.welcome-popup.show {
  display: flex;
}

.welcome-popup-content {
  position: relative;
  width: min(760px, 96vw);
  max-height: 92vh;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.welcome-popup-link,
.welcome-popup-link img {
  display: block;
  width: 100%;
}

.welcome-popup-link img {
  max-height: 78vh;
  object-fit: contain;
  background: #fff;
}

.welcome-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #064782;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.welcome-popup-actions {
  padding: 14px;
  text-align: center;
  background: #f4f8fb;
}

.welcome-popup-actions a {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  background: #149BD7;
  color: #fff;
  font-weight: 700;
}

.inner-page {
  min-height: 100vh;
  background: #fff;
}

.conv-hero {
  min-height: 145px;
  padding: 34px 18px;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(20,155,215,.78), rgba(20,155,215,.78)), url('../assets/banners/banner-principal.jpeg') center/cover;
}

.conv-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .5px;
}

.conv-hero p {
  margin: 8px 0 0;
  font-size: 17px;
}

.conv-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.conv-title {
  max-width: 1020px;
  margin: 0 auto 70px;
  color: #1f2933;
  text-align: center;
  font-size: clamp(24px, 3.1vw, 40px);
  line-height: 1.22;
  text-transform: uppercase;
  font-weight: 900;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #064782;
  font-weight: 700;
}

.process-title {
  margin: 0 0 12px;
  text-align: center;
  color: #1f2933;
  font-size: 24px;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e1e5ea;
  background: #fff;
}

.docs-table td {
  padding: 18px 20px;
  border: 1px solid #e1e5ea;
  font-size: 16px;
}

.docs-table td:last-child {
  width: 170px;
  text-align: center;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #e74c3c;
  border-radius: 6px;
  color: #e74c3c;
  font-size: 22px;
  font-weight: 900;
}

.pdf-link:hover {
  background: #e74c3c;
  color: #fff;
}

@media (max-width: 700px) {
  .conv-container {
    width: min(100% - 24px, 1180px);
  }

  .conv-title {
    margin-bottom: 34px;
  }

  .docs-table td {
    padding: 14px 10px;
    font-size: 14px;
  }

  .docs-table td:last-child {
    width: 72px;
  }
}


/* === FIX POPUP CONVOCATORIA: solo imagen + botón === */
.welcome-popup {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  background: rgba(6, 71, 130, 0.78) !important;
  z-index: 9999 !important;
}

.welcome-popup.show {
  display: flex !important;
}

.welcome-popup-card {
  position: relative !important;
  width: min(560px, 94vw) !important;
  max-height: 94vh !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.35) !important;
}

.welcome-popup-image-link {
  display: block !important;
  width: 100% !important;
  background: #ffffff !important;
  line-height: 0 !important;
}

.welcome-popup-image-link img {
  display: block !important;
  width: 100% !important;
  max-height: 78vh !important;
  object-fit: contain !important;
  background: #ffffff !important;
}

.welcome-popup-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #064782 !important;
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 32px !important;
  text-align: center !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

.welcome-popup-footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 12px !important;
  background: #f4f8fb !important;
}

.welcome-popup-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 150px !important;
  height: 38px !important;
  padding: 0 18px !important;
  border-radius: 7px !important;
  background: #149BD7 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
}

.welcome-popup-button:hover {
  background: #064782 !important;
}

/* Oculta restos de versiones anteriores del popup si quedaron en caché/HTML */
.welcome-popup-title,
.welcome-popup-text,
.welcome-popup p,
.welcome-popup h2,
.welcome-popup h3,
.welcome-popup button:not(.welcome-popup-close),
.welcome-popup .welcome-popup-actions,
.welcome-popup .welcome-popup-content > p,
.welcome-popup .welcome-popup-content > h3 {
  display: none !important;
}

.welcome-popup .welcome-popup-card p,
.welcome-popup .welcome-popup-card h2,
.welcome-popup .welcome-popup-card h3 {
  display: none !important;
}


/* === PÁGINA CONVOCATORIA GRÚAS CON CABECERA === */
.inner-page {
  min-height: 100vh;
  background: #ffffff;
}

.convocatoria-hero {
  position: relative;
  min-height: 285px;
  background:
    linear-gradient(90deg, rgba(6, 71, 130, .82), rgba(20, 155, 215, .68)),
    url("../assets/convocatorias/banner-gruas.jpeg") center/cover no-repeat;
  color: #ffffff;
}

.convocatoria-hero-overlay {
  min-height: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 22px;
  text-align: center;
}

.back-link {
  display: inline-block;
  color: #064782;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: #149BD7;
}

.back-link-hero {
  position: absolute;
  left: 28px;
  top: 22px;
  color: #ffffff;
  background: rgba(6, 71, 130, .65);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 9px 16px;
  backdrop-filter: blur(4px);
}

.back-link-hero:hover {
  color: #ffffff;
  background: #149BD7;
}

.convocatoria-hero-content {
  width: min(1050px, 100%);
}

.convocatoria-logo {
  width: 170px;
  max-height: 95px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}

.convocatoria-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 3px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0,0,0,.22);
}

.convocatoria-hero p {
  margin: 12px 0 0;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  text-shadow: 0 3px 8px rgba(0,0,0,.22);
}

.conv-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.conv-intro {
  max-width: 1020px;
  margin: 0 auto 34px;
  text-align: center;
}

.conv-intro h2 {
  margin: 0;
  color: #1f2d36;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.22;
  letter-spacing: 1.4px;
  font-weight: 900;
  text-transform: uppercase;
}

.conv-intro p {
  max-width: 820px;
  margin: 18px auto 0;
  color: #4b5b66;
  font-size: 17px;
  line-height: 1.55;
}

.process-title {
  margin: 0 0 16px;
  color: #1f2d36;
  font-size: 25px;
  text-align: center;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d8e1e8;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(6, 71, 130, .10);
  overflow: hidden;
}

.docs-table td {
  padding: 22px 22px;
  border: 1px solid #d8e1e8;
  font-size: 16px;
  vertical-align: middle;
}

.docs-table tr:hover {
  background: #f7fbfe;
}

.docs-table td:first-child strong {
  display: block;
  color: #1f2d36;
  font-size: 16px;
  margin-bottom: 6px;
}

.docs-table td:first-child span {
  display: block;
  color: #5b6b76;
  font-size: 14px;
  line-height: 1.35;
}

.docs-table td:last-child {
  width: 190px;
  text-align: center;
}

.btn-descarga {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 7px;
  background: #064782;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
  box-shadow: 0 8px 18px rgba(6, 71, 130, .22);
}

.btn-descarga:hover {
  background: #149BD7;
  transform: translateY(-1px);
}

@media (max-width: 800px) {
  .convocatoria-hero,
  .convocatoria-hero-overlay {
    min-height: 255px;
  }

  .back-link-hero {
    position: static;
    margin-bottom: 20px;
  }

  .convocatoria-hero-overlay {
    flex-direction: column;
  }

  .convocatoria-logo {
    width: 135px;
  }

  .conv-container {
    width: min(100% - 24px, 1180px);
    padding-top: 28px;
  }

  .docs-table,
  .docs-table tbody,
  .docs-table tr,
  .docs-table td {
    display: block;
    width: 100% !important;
  }

  .docs-table tr {
    border-bottom: 1px solid #d8e1e8;
  }

  .docs-table td {
    border: 0;
  }

  .docs-table td:last-child {
    text-align: left;
    padding-top: 0;
  }

  .btn-descarga {
    width: 100%;
  }
}
