<style>
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}



/* ===== HEADER SUPERPUESTO ===== */
/* ===== HEADER ELEGANTE ===== */
/* Header elegante centrado */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 12px 40px;
    display: flex;
    align-items: center;
	z-index: 1000;        /* por encima del banner */
}

/* Logo a la izquierda */
.logo {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    color: #003366;
}



/* Espacio derecho para balancear */
header::after {
    content: "";
    flex: 1;
}

   /* ===== MENÚ ===== */
        nav {
            background-color: #ffffff;
            border-bottom: 1px solid #dcdfe3;
        }

        .nav-container {
            max-width: 1200px;
            margin: auto;
            padding: 0 20px;
        }

        ul.menu {
            list-style: none;
            display: flex;
            justify-content: center;
        }

        ul.menu li {
            position: relative;
        }

        ul.menu li a {
            display: block;
            padding: 18px 20px;
            text-decoration: none;
            color: #2c3e50;
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        ul.menu li a:hover {
            background-color: #f1f3f5;
            color: #1a5276;
        }

        /* ===== SUBMENÚ ===== */
        ul.submenu {
            list-style: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            min-width: 220px;
            background-color: #ffffff;
            border: 1px solid #dcdfe3;
            display: none;
            z-index: 1000;
        }

        ul.submenu li a {
            padding: 12px 16px;
            font-size: 12px; /* TAMAÑO LETRA SUBMENU*/
            color: #34495e;
            white-space: nowrap;
        }

        ul.submenu li a:hover {
            background-color: #f4f6f8;
            color: #1a5276;
        }

        li:hover > ul.submenu {
            display: block;
        }


/* ===== BANNER 3/4 CENTRADO ===== */
.banner {
    position: relative;
    width: 100%;
    max-width: 1200px;      /* límite para pantallas grandes */
    height: 500px;          /* altura fija solo PC */
    margin: 0 auto;
    overflow: hidden;
	object-fit: contain;
}

/* Imágenes */
.banner img {
   
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
 	display: block;
}

.banner img.active {
    opacity: 1;
}

/* Texto */
.banner-texto {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.banner-texto h1 {
    font-size: 46px;
    margin-bottom: 10px;
}

.banner-texto p {
    font-size: 18px;
    max-width: 700px;
}

/* Botones */
.banner button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 32px;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 3;
}

.banner .prev { left: 20px; }
.banner .next { right: 20px; }
/* ===== TARJETAS ===== */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.card {
    background: #ffffff;
    width: 355px; /* ANCHO DE LAS TARJETAS PEQUEÑAS*/
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: #333;
    font-size: 14px;
    border-top: 6px solid #6fcf97; /* borde superior verde */
}
.card h3 {
    margin-bottom: 10px;
    color: #003366;
	font-size: 13px;
}
.card img {
    width: 100px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.card-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #003366;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
	 font-size: 12px;
}

.card-btn:hover {
    background: #0055a5;
    transform: translateY(-2px);
}
.card-1 { border-top-color: #6fcf97; } /* verde */
.card-2 { border-top-color: #56cfe1; } /* celeste */
.card-3 { border-top-color: #f4a261; } /* naranja */

/* ===== VIDEOS ===== */
.videos {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 20px 50px;
    flex-wrap: wrap;
}

.videos iframe {
    width: 380px;
    height: 180px;
    border-radius: 10px;
}

/* ===== FOOTER ===== */
.footer {
  background-color:#4377F1;
  color: #ffffff;
  padding: 30px 20px;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 25px;
  align-items: center;
}

/* Títulos */
.footer-item h4 {
  font-size: 14px;
  margin-bottom: 8px;
  text-transform: uppercase;
  border-bottom: 2px solid #38bdf8;
  display: inline-block;
  padding-bottom: 4px;
}

/* Texto */
.footer-item p {
  font-size: 13px;
  margin: 6px 0;
  color: #e5e7eb;
}

.footer-item i {
  margin-right: 6px;
  color: #38bdf8;
}

/* MAPA */
.footer-mapa iframe {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 8px;
}

/* LOGO */
.footer-logo img {
  max-width: 140px;
}

/* ?? MÓVIL */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-mapa iframe {
    height: 220px;
  }

  .footer-logo img {
    margin: auto;
  }
}
.social-links {
    margin-top: 10px;
}

.social-links a {
    margin: 0 12px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-links i {
    font-size: 20px;
}
.tabla-sin-borde {
 
  margin: 0 auto;          /* ?? centra la tabla */
  border-collapse: separate;   /* importante */
  border-spacing: 40px 0;      /* ?? espacio horizontal */
}

.tabla-sin-borde td {
  border: none;
  padding: 12px 20px;
  text-align: center;
  vertical-align: top;
}
.sidebar {
    width: 260px;
    min-height: 100vh;
    background: #111827;
    padding: 20px 0;
}

.menu-lateral {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #fff;
    border-left: 6px solid transparent;
    transition: background 0.3s, padding-left 0.3s;
}

.item a img {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

/* HOVER GENERAL */
.item a:hover {
    padding-left: 28px;
}

/* COLORES POR ITEM */
.item-inicio a {
    border-color: #3b82f6;
}
.item-inicio a:hover {
    background: rgba(59,130,246,0.2);
}

.item-servicios a {
    border-color: #10b981;
}
.item-servicios a:hover {
    background: rgba(16,185,129,0.2);
}

.item-equipo a {
    border-color: #f59e0b;
}
.item-equipo a:hover {
    background: rgba(245,158,11,0.2);
}

.item-noticias a {
    border-color: #ef4444;
}
.item-noticias a:hover {
    background: rgba(239,68,68,0.2);
}

.item-contacto a {
    border-color: #8b5cf6;
}
.item-contacto a:hover {
    background: rgba(139,92,246,0.2);
}



</style>/* CSS Document */

