/* === Base === */
body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  padding: 20px;
}

.hidden {
  display: none;
}

/* === Encabezado === */
header {
  background-color: #0955a1cb;
  color: white;
  padding: 20px;
  text-align: center;
}

.titulo-principal {
  font-size: 35px;
  font-weight: bold;
  margin: 0;
}

/* === Navegación === */
.barra-navegacion {
  background-color: #021425cb;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px 0;
}

.pestana {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease;
  cursor: pointer;
  min-width: 180px;
}

.pestana:hover {
  background-color: #575757;
}

.pestana-inicio,
.pestana-verifactu {
  background-color: #0955a1cb;
}

.pestana-inicio:hover,
.pestana-verifactu:hover {
  background-color: #0a66c2;
}

.pestana-verde {
  background-color: #2e7d32;
}

.pestana-verde:hover {
  background-color: #388e3c;
}

/* === Sección VeriFactu === */
.download-list {
  list-style: none;
  padding: 0;
}

.download-list li {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f6f8fa;
  border: 1px solid #d1d5da;
  border-radius: 6px;
}

.download-link {
  font-weight: bold;
  color: #0366d6;
  text-decoration: none;
  font-size: 1.1em;
}

.download-link:hover {
  text-decoration: underline;
}

.meta {
  display: block;
  font-size: 0.9em;
  color: #586069;
  margin-top: 5px;
}

/* === Sección VCIMA Hermes === */
.vcima-hermes h3,
.vcima-hermes h4 {
  text-decoration: underline;
  text-decoration-color: #0955a1;
  text-decoration-thickness: 2px;
}

.hero-vcima {
  background: linear-gradient(to right, #0955a1, #0b6bc9);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero-contenido h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-contenido p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.boton-cta-grande {
  background-color: #ffffff;
  color: #0955a1;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-cta-grande:hover {
  background-color: #e0e0e0;
}

.titulo-vcima {
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin-top: 30px;
}

.subtitulo-vcima {
  font-size: 1.2em;
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

.beneficios-vcima {
  text-align: center;
  margin-bottom: 40px;
}

.beneficios-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.beneficios-lista li {
  background: #f0f4f8;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-weight: 600;
}

.modulos-vcima {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.modulo {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modulo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.modulo h4 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #0955a1;
}

.modulo p {
  font-size: 0.95em;
  color: #333;
}

.cta-vcima {
  text-align: center;
  margin-top: 40px;
}

.boton-cta {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  background-color: #0955a1;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.boton-cta:hover {
  background-color: #073e7a;
}

/* === Sección Cumplimiento Normativo === */
.compliance-header {
  text-align: center;
  margin: 40px 0 20px;
}

.compliance-header h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.highlight {
  color: #2ecc71;
  font-weight: bold;
}

.compliance-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.compliance-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.compliance-card img {
  max-width: 80px;
  margin: 0 auto 15px;
  display: block;
}

.inicio-modernizado {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.bienvenida {
  text-align: center;
  margin-bottom: 40px;
}

.titulo-inicio {
  font-size: 2.5em;
  font-weight: 700;
  color: #0955a1;
  margin-bottom: 10px;
}

.resaltado {
  color: #2ecc71;
}

.descripcion-inicio {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 10px;
}

.texto-inicio {
  font-size: 1em;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
}

.servicios-inicio {
  text-align: center;
}

.subtitulo-inicio {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0955a1;
}

.lista-servicios {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.lista-servicios li {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-size: 1em;
  font-weight: 600;
  color: #0955a1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lista-servicios li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
