/* General */
body {
    color: #212121; /* Gris oscuro para buena legibilidad */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 10px;
    margin-top: 2px;
}
header {
    background: linear-gradient(to bottom, #ffffff 20%, #f4f8fc 100%);
}


header img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-pagination {
display: none;
}

/* Estilo para las imágenes del carrusel */
.swiper-slide img {
max-width: 900px;
height: auto;
margin: 0 auto;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Secciones */
section {
    margin: 10px auto;
    padding: 20px;
    border-bottom: 1px solid #bbb;
    background-color: #f9fdff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    background-color: #c1c7dc; /* Azul intenso */
    padding: 10px;
    border-bottom: 2px solid #ddd;
}

.tab {
text-decoration: none;
margin: 0 15px;
color: #080808;
font-size: 1rem;
transition: color 0.3s, background-color 0.3s;
padding: 8px 12px;
border-radius: 5px;
}

.tab:hover {
background-color: #0d47a1;
color: #fff;
}

.tab:active {
color: #FFD700;
background-color: #003c8f;
}

/* Acceso restringido */
#restriccion {
background-color: #ef5350; /* Rojo coral */
color: white;
padding: 50px;
text-align: center;
font-size: 1.2rem;
border-radius: 10px;
max-width: 800px;
margin: 20px auto;
}

/* Servicios */
#services {
text-align: center;
/*padding: 50px 20px;*/
}

.servicio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.servicio-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Galería de imágenes */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Placeholder suaves y amigables */
input::placeholder, textarea::placeholder {
color: #888;
font-style: italic;
}

.footer {
background: linear-gradient(135deg, #ffffff 18%, #6b8bb8 30%, #486997 50%, #1c3d7a 70%,#082457 100%);
padding: 30px 10px;
font-size: 14px;
border-top: 1px solid #ccc;
}

.footer-container {
display: grid;
grid-template-columns: 2fr 1fr; /* izquierda más ancha que derecha */
gap: 40px;
align-items: start;
max-width: 1250px;
margin: 0 auto;
}

.footer-left {
display: flex;
flex-direction: column;
}

.footer-logos img {
max-height: 55px;
height: auto;
width: auto; /* Esto evita que se estire horizontalmente */
object-fit: contain; /* Asegura que se escale bien sin deformarse */
vertical-align: middle;
}


.footer-unlp {
width: 150px;
height: auto;
margin-bottom: 15px;
}

.footer-info {
display: flex;
flex-direction: column;
gap: 10px;
}

.address-wrap {
display: flex;
align-items: center;
gap: 10px; /* Espacio entre el ícono y el texto */
color: #020202;
}

.footer-info p {
margin: 0;
}

.footer-info img {
width: 25px; /* Tamaño de los icono */
height: auto;
}

.footer-right {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.footer-right h3 {
font-weight: bold;
margin-bottom: 20px;
text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0.2em blue;
color: white;
font: 1.5em Georgia, "Bitstream Charter","URW Bookman L", "Century Schoolbook L", serif;
}

.newsletter {
background-color: rgba(255, 255, 255, 0.1); /* fondo semi-transparente */
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
width: 100%;
max-width: 350px;
}    

.newsletter input {
flex: 1;
padding: 8px;
border-radius: 6px;
border: 1px solid #bebdbd;
font-size: 0.9rem;
background-color: #fff;
color: #333;
}

.newsletter button {
padding: 10px 16px;
border: none;
background: #ffbe25;
color: #4074d4;
font-weight: bold;
border-radius: 6px;
cursor: pointer;
transition: background 0.3s ease;
}
.newsletter button:hover {
background: #ffc933;
}

/* Agregar estilo para el footer de la página */
.footer-copy {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    margin-top: 20px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    line-height: 1.5;
    color: #f1f1f1;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(8, 8, 8, 0.2);
    padding-top: 15px;
}

.footer-author {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    color: #121213;
    text-align: left;
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
}

.footer-author a {
    color: #121213;
    text-decoration: none;
    font-weight: bold;
    margin-left: 4px;
}

.footer-author a:hover {
    text-decoration: underline;
    color: #ffbe25;
}

.footer-copy a {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #f1f1f1;
    text-decoration: none;
    font-weight: bold;
}

.footer-copy a:hover {
    text-decoration: underline;
    color: #ffbe25;
}

@media (max-width: 768px) {
    .footer-copy {
    text-align: center;
}

@media (max-width: 768px) {
body{
font-size: 0.95rem;
}
}

/* ======= NAV RESPONSIVE ======= */
@media (max-width: 992px) {
    header nav.tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
header nav.tabs .tab {
        flex: 1 1 45%;
        text-align: center;
        padding: 8px 6px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    header nav.tabs .tab:hover {
        background-color: #264f9a;
    }
}
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: linear-gradient(to bottom, #ffffff 30%, #f4f8fc 100%);
      /* un suave degradado que se funde con el resto */
    }

    header img {
        width: 180px;
        height: auto;
        margin-bottom: 10px;
    }

    header nav.tabs .tab {
        flex: 1 1 100%;
        font-size: 0.85rem;
        padding: 6px;
    }
}

.footer-right {
align-items: flex-start;
}

.newsletter {
flex-direction: column;
align-items: stretch;
}

/* ======= FOOTER RESPONSIVE ======= */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left, .footer-right {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-logos {
        flex-direction: column;
    }

    .footer-logos img {
        width: 100px;
        margin: 5px 0;
    }

    .footer-right form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-right input[type="email"] {
        width: 80%;
    }

    .footer-right button {
        width: 60%;
    }
}

/* ==== Ajuste responsive solo para móvil ==== */
@media (max-width: 768px) {
#services .swiper-slide img {
    width: 100%;
    height: auto;            /* mantiene proporciones */
    object-fit: contain;     /* evita recortes en móviles */
}

#services .swiper-slide h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}
}

/* ✅ Footer responsive solo en pantallas pequeñas */
@media (max-width: 768px) {
    .footer-container {
    grid-template-columns: 1fr;   /* apila una sola columna */
    gap: 20px;
    text-align: center;
}

    .footer-right {
    align-items: center;
    margin-top: 15px;
}

    .newsletter {
    width: 90%;
    max-width: 400px;
}
}
}