:root{
    --azul: #0B3D91;
    --gris: #6E6E6E;
    --fondo: #ffffff;
    --texto: #1a1a1a;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
    font-family: "Arial", sans-serif;
    color:var(--texto);
    background:var(--fondo);
    -webkit-font-smoothing:antialiased;
}

/* HEADER */
header{
    position:fixed;
    top:0;left:0;width:100%;
    height:100px;padding:0 40px;
    display:flex;align-items:center;justify-content:space-between;
    z-index:1000;
    background:transparent;
    transition:background .3s ease, box-shadow .3s ease;
    color: var(--azul);
}
header.scrolled{
    background:var(--azul);
    box-shadow:0 3px 10px rgba(0,0,0,.2);
}
.logo{height:80px;width:auto;}

/* simple nav */
nav ul{display:flex;gap:28px;list-style:none}
nav a{color: var(--azul);text-decoration:none;font-weight:700;font-size:16px;}

header.scrolled nav a {
    color: #fff;
}
/* SLIDER */
.slider{
    width:100%;
    height:100vh;
    min-height:500px;
    margin-top:100px; /* evita que header lo tape */
    position:relative;
    overflow:hidden;
    background:#000;
}

/* contenedor flexible: no width fija */
.slides{
    display:flex;
    height:100%;
    transition:transform .8s ease-in-out;
    will-change:transform;
}

/* cada slide ocupa 100% del viewport */
.slide{
    flex: 0 0 100%;
    position:relative;
    height:100%;
}

/* imagen */
.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* overlay (mejora lectura del texto) */
.overlay{
    position:absolute;inset:0;
    background:linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.6));
    z-index:2;
}

/* texto centrado */
.slide-text{
    position:absolute;
    bottom:15%;
    left:50%;
    transform:translateX(-50%);
    z-index:3;
    color:#fff;
    text-align:center;
    padding:0 20px;
}
.slide-text h2{
    font-size:3rem;
    margin-bottom:8px;
    text-shadow:0 0 15px rgba(0,0,0,.7);
}
.slide-text p{
    font-size:1.25rem;
    text-shadow:0 0 10px rgba(0,0,0,.6);
}

/* controles */
.slider-controls{
    position:absolute;top:50%;left:0;right:0;
    transform:translateY(-50%);
    display:flex;justify-content:space-between;padding:0 30px;
    z-index:4;
}
.ctrl{
    background:rgba(0,0,0,0.35);
    border:none;color:#fff;font-size:48px;padding:8px 14px;border-radius:8px;
    cursor:pointer;backdrop-filter:blur(4px);
    transition:transform .18s ease, background .18s ease;
}
.ctrl:hover{transform:scale(1.08);background:rgba(0,0,0,0.55)}
.ctrl:active{transform:scale(.98)}

/* dots (indicadores) */
.dots{
    position:absolute;left:50%;bottom:8%;transform:translateX(-50%);
    display:flex;gap:10px;z-index:5;
}
.dot{
    width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,0.4);border:none;cursor:pointer;
}
.dot.active{background:#fff}

/* SECCIONES Y TIPOGRAFÍA */
h2{color:var(--azul);font-size:2rem;margin-bottom:12px}
p{color:var(--fondo);line-height:1.6}

/* FOOTER */
footer{background:var(--azul);color:#fff;text-align:center;padding:24px}

/* RESPONSIVE */
@media (max-width:900px){
    .slide-text h2{font-size:2rem}
    .slide-text p{font-size:1rem}
    .ctrl{font-size:36px;padding:6px 10px}
}
@media (max-width:480px){
    header{height:80px;padding:0 16px}
    .logo{height:60px}
    .slide-text{bottom:12%}
}

/* =========================
   SECCIÓN QUIÉNES SOMOS
========================= */

.about-section {
    width: 100%;
    padding: 80px 20px;
    background: #F7F7F7; /* Gris claro neutro */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 900px;
    text-align: center;
}

.about-section h2 {
    font-size: 2.8rem;
    color: #0B3D91; /* Azul corporativo */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #6E6E6E; /* Gris metálico */
    font-weight: 400;
}

/* =========================
   SECCIÓN SERVICIOS
========================= */

.services-section {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
}

.services-section h2 {
    font-size: 2.8rem;
    color: #0B3D91; /* Azul corporativo */
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: #F4F4F4;
    padding: 40px 25px;
    border-radius: 15px;
    transition: 0.3s ease;
    border: 2px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #0B3D91;
}

.service-icon {
    font-size: 3rem;
    color: #0B3D91;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.6rem;
    color: #0B3D91;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #6E6E6E; /* Gris metálico */
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================
   SECCIÓN CONTACTO
========================= */

.contact-section {
    width: 100%;
    padding: 80px 20px;
    background: #F7F7F7;
    text-align: center;
}

.contact-container {
    max-width: 900px;
    margin: auto;
}

.contact-section h2 {
    font-size: 2.8rem;
    color: #0B3D91; /* Azul corporativo */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.contact-subtitle {
    color: #6E6E6E;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 15px;
    width: 260px;
    border: 2px solid #e0e0e0;
    transition: 0.3s ease;
    word-break: break-word;
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #0B3D91;
}

.contact-icon {
    font-size: 3rem;
    color: #0B3D91;
    margin-bottom: 15px;
    display: block;
}

.contact-item h3 {
    font-size: 1.4rem;
    color: #0B3D91;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-item p {
    font-size: 1.1rem;
    color: #6E6E6E;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.15);
}
