/* --------- CONFIG GLOBAL --------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #eff3ff, #ffffff);
    color: #222;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #e4e4e4;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #1a73e8;
    border-radius: 10px;
}

/* --------- HEADER --------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-bottom: 3px solid #1a73e8;
}

.logo_img {
    height: 300px;
    max-height: 170px;
    width: auto;
}

/* Navegación */
nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s ease;
}

nav a:hover,
nav a.active {
    background: #1a73e8;
    color: white;
}

/* --------- HERO --------- */
.hero {
    text-align: center;
    padding: 90px 20px;
    background: white;
    margin-top: 20px;
    border-radius: 14px;
    height: 60%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.hero img{
    height: 90%;
}
.hero h2 {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(90deg, #1a73e8, #0059ff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 18px;
    color: #444;
}

.btn {
    background: linear-gradient(135deg, #1a73e8, #0059ff);
    color: white;
    padding: 12px 28px;
    display: inline-block;
    margin-top: 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* --------- CARROUSEL --------- */
.carrusel {
    padding: 50px 20px;
    text-align: center;
}

.carrusel h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
}

.carrete {
    display: flex;
    overflow-x: scroll;
    gap: 20px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
}

.item {
    min-width: 260px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.09);
    scroll-snap-align: start;
    transition: 0.3s ease;
}

.item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.item img {
    width: 100%;
    height: 160px;
    object-fit: cover;   
    border-radius: 8px;
    display: block;
}

.img-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #dddddd, #cfcfcf);
    border: 2px dashed #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* --------- QUIÉNES SOMOS --------- */
.qs {
    padding: 40px 20px;
    background: white;
    margin-top: 20px;
    border-radius: 14px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.qs h2 {
    font-size: 30px;
    font-weight: 800;
    color: #1a73e8;
}

/* --------- FOOTER --------- */
footer {
    margin-top: auto;
    background: #1a1a1a;
    color: white;
    padding: 35px;
    text-align: center;
    border-top: 4px solid #1a73e8;
}

footer p {
    font-size: 17px;
}
