        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Encabezado fijo */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 40px;
}

/* Menú */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #ffd700;
}

/* Contenido debajo del header */
main {
    margin-top: 80px;
    padding: 20px;
}

.info-bar {
    background-color: #f5f5f5;
    color: #333;
    padding: 10px 30px;
    font-size: 14px;
    text-align: right;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section {
	background-color: #e6e6e6;
    border: 1px solid #ddd;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
	
}

section {
    background-color: #e6e6e6 !important;
}

section h2 {
    margin-bottom: 10px;
}

/* Enlaces */
.enlaces {
    padding: 20px 30px;
    background-color: #f9f9f9;
    margin-top: 30px;
}

.enlaces-titulo {
    background-color: #0073e6;
    padding: 10px 20px;
    color: white;
    border-radius: 5px 5px 0 0;
}

.enlaces-titulo h2 {
    margin: 0;
    font-size: 20px;
}

.enlaces-imagenes {
    display: flex;
    justify-content: space-between;
    align-items: stretch;  /* Aquí, stretch para que todas tengan la misma altura */
    gap: 25px;
    margin-top: 30px;
    padding: 20px;
}

/* Cada tarjeta ocupa igual espacio y se ajusta al contenedor */
.enlaces-imagenes a,
.speedtest-container {
    flex: 1 1 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 200px; /* opcional, para un alto mínimo */
    flex-direction: column; /* si quieres que los contenidos se apilen verticalmente */
}

/* Logos dentro de cada tarjeta */
.enlaces-imagenes img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

/* Iframe speedtest ocupa todo el ancho de su contenedor */
.speedtest-container iframe {
    width: 100%;
    height: 180px;
    border: none;
}



/* Documentos */
.documentos-enlaces {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.documento-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    width: 390px;
    min-height: 200px; /* Aumenta el alto mínimo */
    display: flex; /* Flexbox para centrar vertical y horizontal */
    flex-direction: column;
    justify-content: center; /* Centrado vertical */
    align-items: center;     /* Centrado horizontal */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.documento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.documento-item a {
    text-decoration: none;
    font-weight: bold;
    color: #2a4d9b;
    font-size: 15px;
}

.documento-item span {
    text-decoration: underline;
    white-space: nowrap;
}

.documento-item iframe {
    width: 100%;
    height: 200px; /* altura cómoda para PDF */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: none;
    margin-top: 10px;
}

.resolucion {
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .enlaces-imagenes {
        flex-direction: column;
    }

    .documentos-enlaces {
        flex-direction: column;
        gap: 15px;
    }

    .documento-item {
        width: 100%;
    }

    .info-bar {
        text-align: left;
    }
}


.documentos-enlaces-horizontal {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.documento-item {
  flex: 1; /* Ocupa igual espacio cada caja */
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  min-height: 320px; /* Para que todas tengan la misma altura */
}

.pdf-viewer iframe {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  /* El iframe ya ocupa 100% ancho y 300px alto según el HTML */
}

footer {
    background-color: #333;         /* fondo oscuro */
    color: white;                   /* texto blanco */
    text-align: center;             /* centrado horizontal */
    padding: 15px 0;                /* espacio vertical */
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}

//Planes

.planes .enlaces-titulo {
  text-align: center;
  margin-bottom: 30px;
}

.planes-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 0 20px;
}

.plan-tarjeta {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.plan-tarjeta img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.plan-contenido {
  padding: 20px;
  text-align: center;
}

.plan-contenido h3 {
  margin-bottom: 5px;
  //color: #2b2b2b;
  color: #007acc;
}

.plan-contenido .tipo {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.plan-contenido ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
  text-align: left;
  color: #333;
}

.plan-contenido ul li {
  margin-bottom: 5px;
}

.precio {
  color: #444;
  font-size: 1rem;
}

.precio-final {
  //color: #2c7c53;
  color: #007acc;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-contratar {
  display: inline-block;
  background-color: #2c7c53;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.btn-contratar:hover {
  background-color: #246244;
}


//Calidad
.calidad-arcotel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: right; 
  padding: 0 20px;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

.calidad-arcotel h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #007acc;
  line-height: 1.4;
  //margin: 0;
}

//Consejos
.planes-contenedor {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-tarjeta-horizontal {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.plan-imagen {
  flex: 1;
  max-width: 300px;
}

.plan-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-texto {
  flex: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
  background-color: #f9f9f9;
  line-height: 1.6;
  font-size: 16px;
  border-left: 4px solid #007acc;
}

.plan-texto h3 {
  margin: 0 0 16px 0;
  font-size: 1.6rem;
  color: #007acc;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
}

.plan-texto p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #444;
  text-align: justify; /* Justificación agregada */
}

.plan-texto ul {
  margin: 10px 0 10px 20px;
  padding-left: 0;
  list-style-type: disc;
  text-align: justify; /* Opcional: justifica la lista */
}

.plan-texto ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  text-align: justify; /* También aquí para los elementos de lista */
}

.imagen-portada {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.imagen-portada:hover {
  transform: scale(1.02);
}