/* ===== RESET ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #14334C;
  font-family: "Public Sans", sans-serif;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html {
  scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */

.navbar {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar-logo img {
  width: 150px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.menu a {
  color: #EFEFE8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: .2s;
}

.menu a:hover {
  color: #FF8540;
}

/* ===== FOOTER ===== */

.footer {
  background: #14334C;
  padding: 60px 80px 30px;
  color: white;
}

/* TOP */

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* BRAND */

.footer-brand {
  max-width: 320px;
}

.logoFooter {
  width: 220px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #b8c2cc;
  line-height: 1.7;
  font-size: 15px;
}

/* COLUMNAS DERECHA */

.footer-columns {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 160px;
}

.footer-column h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-column a {
  color: #b8c2cc;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}

.footer-column a:hover {
  color: #FF8540;
}

/* BOTTOM */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p,
.footer-bottom a {
  color: #9aa7b3;
  font-size: 14px;
  text-decoration: none;
}

/* LINKS LEGALES (si los usás separados en bottom) */

.footer-legal-links {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  align-items: center;
}

.footer-legal-links a {
  color: #b8c2cc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.footer-legal-links a:hover {
  color: #FF8540;
}

/* ===== HERO ===== */

.section-principal {
  position: relative;
  min-height: calc(100vh - 90px);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 120px;

  overflow: hidden;
}

/* IMAGEN DE FONDO */

.section-principal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fondo.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  opacity: 2;
  z-index: 1;
}

/* CAPA OSCURA */

.section-principal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 51, 76, 0.85),
    rgba(20, 51, 76, 0.95)
  );
  z-index: 2;
}

/* CONTENIDO ENCIMA */

.hero-container {
  position: relative;
  z-index: 3;

  width: 100%;
  max-width: 700px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== BADGE ===== */

.badge {
  display: inline-flex;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: #FF8540;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 30px;
  align-self: flex-start;
}

/* ===== TITULOS ===== */

.title h1 {
  line-height: 1;
}

.titulo1 {
  font-size: 5rem;
  font-weight: 800;
  color: white;
}

.titulo2 {
  font-size: 5rem;
  font-weight: 800;
  color: #FF8540;
  margin-bottom: 30px;
}

.title p {
  max-width: 700px;
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
}

/* ===== BOTONES ===== */

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.btn-primary,
.btn-secondary {
  height: 56px;
  padding: 0 30px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: #FF8540;
  color: white;
  border: none;
  box-shadow: 0 0 30px rgba(255,133,64,.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.2);
}

/* ===== STATS ===== */

.hero-stats {
  display: flex;
  gap: 60px;
}

.stat {
  border-left: 3px solid #FF8540;
  padding-left: 20px;
}

.stat h2 {
  font-size: 2rem;
  font-weight: 800;
}

.stat span {
  color: rgba(255,255,255,.65);
}

/* ===== LEY ===== */

.section-ley {
  background: #F4F4F4;
  padding: 140px 120px;
}

.ley-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

/* ===== IZQUIERDA ===== */

.ley-content h2 {
  color: #14334C;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 30px;
}

.line {
  width: 60px;
  height: 5px;
  background: #FF8540;
  border-radius: 999px;
  margin-bottom: 50px;
}

.ley-content p {
  color: #6E7D8B;
  font-size: 1.25rem;
  line-height: 1.9;
  margin-bottom: 35px;
}

.ley-content strong {
  color: #5A6B7A;
}

.btn-download {
  height: 58px;
  padding: 0 30px;
  border: none;
  border-radius: 14px;
  background: #FF8540;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255,133,64,.25);
}

/* ===== CARD ===== */

.ley-card {
  background: #14334C;
  border-radius: 28px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.ley-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .6;
}

.ley-card * {
  position: relative;
  z-index: 2;
}

.icon-box {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  border: 1px solid rgba(255,133,64,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.ley-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

.ley-card p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

.ley-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ley-item {
  height: 56px;
  padding: 0 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: white;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.ley-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF8540;
  margin-right: 15px;
}

/* ===== NOTICIAS ===== */

.section-noticias {
    background: #14334C;
    padding: 25px 100px;
}

.noticias-container {
    max-width: 1500px;
    margin: 0 auto;
}

.grid-noticias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.noticias-container .line {
    width: 60px;
    height: 5px;
    background: #FF8540;
    border-radius: 999px;
    margin-bottom: 25px;
}

.noticias-container h2 {
    font-size: 3.25rem;
    color: white;
    margin-bottom: 5px;
}

.noticias-container p {
    font-size: 1.25rem;
    color: rgba(255,255,255,.65);
}

/* ===== CARD ===== */

.card-noticias {
    background-color: #FFF;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

.card-noticias:hover {
    transform: translateY(-6px);
}

/* IMAGE */

.card-noticias img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* CONTENT */

.contenido-noticias {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* FECHA */

.contenido-noticias span {
    display: block;
    margin-bottom: 18px;
    color: #FF8540;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* TITULO */

.contenido-noticias h2 {
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 10px;
    color: #14334C;
}

/* TEXTO */

.contenido-noticias p {
    color: #607080;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

/* BOTON */

.contenido-noticias a,
.contenido-noticias button {
    margin-top: auto;
    width: fit-content;
    height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    background: #14334C;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    cursor: pointer;
}

.contenido-noticias a:hover,
.contenido-noticias button:hover {
    background: #FF8540;
    transform: translateY(-2px);
}

/* BOTON VER TODAS */

.btn-noticias {
    height: 58px;
    padding: 0 20px;
    border: none;
    border-radius: 14px;
    background: #FF8540;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255,133,64,.25);
    margin: 80px auto 126px auto;
    transition: .2s;
}

.btn-noticias:hover {
    transform: translateY(-2px);
    background-color: #FF8530;
}

/* ===== NOTICIAS 2 ===== */

.noticias-section {
  padding: 80px;
  background: #f5f7fa;
  min-height: 100vh;
}

/* HEADER */

.noticias-header {
  margin-bottom: 50px;
}

.noticias-header h1 {
  font-size: 42px;
  color: #14334C;
  margin-bottom: 20px;
}

.line {
  width: 80px;
  height: 4px;
  background: #FF8540;
  border-radius: 10px;
  margin-bottom: 20px;
}

.noticias-header p {
  max-width: 700px;
  color: #5f6b76;
  line-height: 1.7;
  font-size: 16px;
}

/* GRID */

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* CARD */

.noticia-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  transform: translateY(-6px);
}

/* IMG */

.noticia-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */

.noticia-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.noticia-date {
  color: #FF8540;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.noticia-content h3 {
  color: #14334C;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.noticia-content p {
  color: #607080;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 28px;
}

/* Override para el texto de la descripción en noticia.html */
#noticia-descripcion,
#noticia-descripcion p,
#noticia-descripcion span,
#noticia-descripcion div,
#noticia-descripcion li,
#noticia-descripcion h1,
#noticia-descripcion h2,
#noticia-descripcion h3,
#noticia-descripcion h4 {
  color: #607080;
}

/* BOTON */

.btn-noticia {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 22px;
  border-radius: 10px;
  background: #14334C;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.btn-noticia:hover {
  background: #FF8540;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .noticias-section {
    padding: 40px 24px;
  }

  .noticias-header h1 {
    font-size: 34px;
  }

}

/* ===== PAGINA NOTICIA ===== */

.noticia-page {
  background: #f5f7fa;
  min-height: 100vh;
}

/* HERO */

.noticia-hero {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.noticia-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENEDOR */

.noticia-container {
  max-width: 950px;
  margin: -160px auto 0;
  background: white;
  border-radius: 24px 24px 0 0;
  padding: 60px;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
}

/* FECHA */

.noticia-page-date {
  display: inline-block;
  color: #FF8540;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* TITULO */

.noticia-container h1 {
  font-size: 48px;
  line-height: 1.2;
  color: #14334C;
  margin-bottom: 5px;
}

/* LINEA */

.line {
  width: 90px;
  height: 4px;
  background: #FF8540;
  border-radius: 10px;
  margin-bottom: 35px;
}

/* CONTENIDO */

.noticia-content {
  display: flex;
  flex-direction: column;
}

.noticia-content p {
  color: #5f6b76;
  line-height: 1.7;
  font-size: 17px;
}

.noticia-content h3 {
  color: #14334C;
  font-size: 28px;
  margin-top: 5px;
}

.noticia-content ul {
  padding-left: 20px;
  color: #5f6b76;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.noticia-content li {
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 5px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

  .noticia-hero {
    height: 320px;
  }

  .noticia-container {
    margin-top: -40px;
    padding: 40px 24px;
    border-radius: 24px 24px 0 0;
  }

  .noticia-container h1 {
    font-size: 34px;
  }

  .noticia-content p {
    font-size: 16px;
  }

}

/* ===== LICITACIONES ===== */

.section-licitaciones {
  background: #F7F7F7;
  padding: 70px 120px;
}

/* HEADER */

.licitaciones-header {
  max-width: 1400px;
  margin: 0 auto 50px;
}

.badge-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #FFF1E8;
  color: #FF8540;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 30px;
}

.licitaciones-header h2 {
  color: #14334C;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.licitaciones-header .line {
  width: 60px;
  height: 5px;
  background: #FF8540;
  border-radius: 999px;
}

/* CARD */

.licitaciones-container {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border: 1px solid #E7EBEF;
  border-radius: 30px;
  padding: 35px;
  box-shadow: 0 20px 40px rgba(0,0,0,.04);
}

/* FILTROS */

.filtros-container {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.filtro {
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid #D6DEE5;
  background: white;
  color: #14334C;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.filtro:hover {
  border-color: #14334C;
}

.filtro.activo {
  background: #14334C;
  color: white;
  border-color: #14334C;
  box-shadow: 0 8px 20px rgba(20,51,76,.2);
}

/* TABLA */

.tabla-licitaciones {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 22px;
}

/* HEADER */

.tabla-licitaciones thead {
  background: linear-gradient(90deg, #14334C, #0E2A42);
}

.tabla-licitaciones th {
  color: white;
  text-align: left;
  padding: 28px 34px;
  font-size: 16px;
  font-weight: 700;
}

/* FILAS */

.tabla-licitaciones tbody tr {
  background: white;
  transition: .2s;
}

.tabla-licitaciones tbody tr:hover {
  background: #FAFBFC;
}

.tabla-licitaciones td {
  padding: 34px;
  border-bottom: 1px solid #EDF1F4;
  color: #697786;
  font-size: 16px;
}

/* COLUMNAS */

.numero {
  font-weight: 800;
  color: #14334C !important;
}

.descripcion {
  color: #314253 !important;
  font-weight: 600;
}

/* ESTADOS */

.estado {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.estado.abierta {
  background: #E7F8EE;
  color: #24945D;
}

.estado.cerrada {
  background: #EEEEEE;
  color: #6D7680;
}

/* BOTON PDF */

.btn-pliego {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 42px;
  padding: 0 18px;

  border-radius: 12px;
  border: 1.5px solid #FF8540;

  background: transparent;
  color: #FF8540;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition: .2s;
}

.btn-pliego:hover {
  background: #FF8540;
  color: white;
  transform: translateY(-2px);
}

/* =========================
   DETALLE LICITACION
========================= */

.detalle-licitacion {
  background: #eef2f5;
  padding: 140px 20px 80px;
  min-height: 100vh;
}

.detalle-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* BADGE */

.estado-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #004771;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  width: fit-content;
}

/* TITULO */

.detalle-titulo {
  font-size: 3rem;
  font-weight: 900;
  color: #0e3558;
  margin-bottom: 15px;
  line-height: 1.1;
}

/* FECHA */

.detalle-fecha {
  color: #ff6b2d;
  font-weight: 700;
  font-size: 1rem;
}

/* LINEA */

.detalle-linea {
  width: 70px;
  height: 4px;
  background: #ff6b2d;
  border-radius: 999px;
  margin: 15px 0 30px;
}

/* CONTENIDO */

.detalle-info {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.detalle-vigencia {
  font-size: 1.1rem;
  font-weight: 700;
  color: #44576b;
}

/* BLOQUES */

.detalle-bloque {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detalle-subtitulo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0e3558;
}

.detalle-texto {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #4b5d70;
  white-space: pre-wrap;
}

/* PDFS */

.detalle-pdfs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* BOTONES PDF */

.detalle-pdfs a {
  background: #FF8540;
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 20px;
  border-radius: 10px;
  transition: 0.3s ease;
}


/* BOTON VOLVER */

.btn-volver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-left: auto;
  background: #0e3558;
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.btn-volver:hover {
  background: #174872;
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .detalle-card {
    padding: 35px 25px;
  }

  .detalle-titulo {
    font-size: 2.2rem;
  }

  .detalle-subtitulo {
    font-size: 1.6rem;
  }

  .detalle-pdfs {
    flex-direction: column;
  }

  .detalle-pdfs a {
    width: 100%;
    text-align: center;
  }

}

/* =========================
   PAGINACION
========================= */

.paginacion {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.paginacion button {
  width: 42px;
  height: 42px;

  border: none;
  border-radius: 10px;

  background: #e5e7eb;
  color: #0e3558;

  font-weight: 700;
  cursor: pointer;

  transition: 0.3s ease;
}

.paginacion button:hover {
  background: #d6dae1;
}

.paginacion button.activo {
  background: #0e3558;
  color: white;
}

/* ===== USO INTERNO ===== */

.section-uso-interno {
  padding: 120px;
  background: #F4F4F4;
  min-height: 100vh;
}

.uso-interno-container {
  max-width: 900px;
  margin: 0 auto;
}

/* TITULO */
.uso-interno-title {
  color: #14334C;
  font-size: 3rem;
}

/* CARD */
.uso-interno-card {
  background: white;
  padding: 40px;
  border-radius: 25px;
  margin-top: 40px;
}

.uso-interno-card h2 {
  color: #14334C;
}

.uso-interno-card p {
  color: #6E7D8B;
  margin-top: 15px;
}

/* BOTÓN */
.btn-uso-interno {
  display: inline-block;
  margin-top: 25px;
  background: #FF8540;
  color: white;
  padding: 12px 25px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s;
}

.btn-uso-interno:hover {
  transform: translateY(-3px);
}

.proveedores-container {
  max-width: 900px;
  margin: 10px auto;
  padding: 40px;
}

.proveedores-container h1 {
  color: #14334C;
  margin-bottom: 5px;
  font-size: 2.2rem;
}

/* CARD */
.proveedores-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  color: #3b4a5a;
  line-height: 1.8;
}

/* ASUNTO */
.asunto {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* TITULOS */
.proveedores-card h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #14334C;
}

/* LISTA */
.proveedores-card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.proveedores-card ul li {
  margin-bottom: 8px;
}

/* FIRMA */
.firma {
  margin-top: 30px;
  font-weight: 600;
  color: #14334C;
}

.link {
  color: #FF8540;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}

.link:hover {
  color: #FF8540;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* TABLET */
@media (max-width: 1024px) {
  /* Padding y estructura base */
  .navbar { padding: 0 40px; }
  .section-principal { padding: 0 40px; }
  .section-ley { padding: 100px 40px; }
  .section-noticias { padding: 40px; }
  .section-licitaciones { padding: 70px 40px; }
  .section-uso-interno { padding: 80px 40px; }
  .proveedores-container { padding: 40px; }
  
  .ley-container { gap: 40px; }
  
  /* Textos Hero */
  .titulo1, .titulo2 { font-size: 4rem; }
  
  /* Noticias */
  .grid-noticias { grid-template-columns: repeat(2, 1fr); }
  
  /* Tabla scroll */
  .licitaciones-container, .tabla-container {
    overflow-x: auto;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  /* Navbar & Menu */
  .navbar { padding: 0 20px; position: relative; }
  
  .hamburger { display: flex; }
  
  .menu {
    position: absolute;
    top: 90px;
    left: -100%;
    flex-direction: column;
    align-items: flex-start;
    background-color: #14334C;
    width: 100%;
    text-align: left;
    transition: 0.3s;
    padding: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 25px;
    z-index: 99;
  }
  
  .menu.active {
    left: 0;
  }

  /* Hero */
  .section-principal { padding: 40px 20px; }
  .hero-container { align-items: flex-start; text-align: left; }
  .badge { align-self: flex-start; }
  .titulo1, .titulo2 { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 15px; margin-bottom: 40px; }
  .hero-stats { flex-direction: column; align-items: center; gap: 30px; width: 100%; }
  .stat { border-left: none; border-bottom: 3px solid #FF8540; padding-left: 0; padding-bottom: 10px; text-align: center; width: 100%; }
  
  /* Ley */
  .section-ley { padding: 60px 20px; }
  .ley-container { grid-template-columns: 1fr; gap: 60px; }
  .ley-content h2 { font-size: 3rem; }
  .line { margin: 0 0 30px 0; }
  .ley-content { text-align: left; }
  .ley-content .badge, .ley-content .ley-badge { align-self: flex-start; display: inline-flex; margin: 0 0 20px 0; }
  
  /* Noticias */
  .section-noticias { padding: 40px 20px; }
  .grid-noticias { grid-template-columns: 1fr; }
  .noticias-container h2 { font-size: 2.5rem; text-align: left; }
  .noticias-container .badge { align-self: flex-start; margin: 0 0 15px 0; display: inline-flex; }
  .noticias-container .line { margin: 0 0 25px 0; }
  
  /* Licitaciones */
  .section-licitaciones { padding: 60px 20px; }
  .licitaciones-header h2 { font-size: 2.5rem; text-align: left; }
  .licitaciones-header .badge-light, .licitaciones-header .licitaciones-badge { margin: 0 0 15px 0; display: inline-flex; }
  .licitaciones-header .line { margin: 0 0 25px 0; }
  .licitaciones-header p { text-align: left; }
  .filtros-container, .filtros { flex-wrap: wrap; justify-content: flex-start; }
  .filtro { height: 46px; font-size: 14px; padding: 0 20px; }
  .licitaciones-container { padding: 20px; }
  
  /* Footer */
  .footer { padding: 40px 20px 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; text-align: left; gap: 40px; }
  .footer-links { justify-content: flex-start; text-align: left; gap: 40px; flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: left; align-items: flex-start; }

  /* Uso Interno y Proveedores */
  .section-uso-interno { padding: 60px 20px; }
  .uso-interno-title { font-size: 2.5rem; text-align: left; }
  .uso-interno-container .line { margin: 0 0 25px 0; }
  .uso-interno-card { padding: 30px; text-align: left; }
  
  .proveedores-container { padding: 40px 20px; }
  .proveedores-container h1 { font-size: 2rem; text-align: left; }
  .proveedores-container .line { margin: 0 0 25px 0; }
  .proveedores-card { padding: 30px; text-align: left; }
}