body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* HERO */
.inicio {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
                url('../img/fondo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.contenido-banner {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.2s ease-in-out;
}

.inicio h1 {
    font-size: 65px;
    font-weight: 800;
    letter-spacing: 3px;
}

.inicio h2 {
    color: #ddd;
    font-size: 22px;
}

/* BOTÓN */
.btn-hero {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: #ffc107;
    color: #000;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.btn-hero:hover {
    background: #ffca2c;
    transform: translateY(-3px);
}

/* SECCIONES */
.seccion {
    padding: 90px 20px;
}

.claro {
    background: #f8f9fa;
}

.oscuro {
    background: #111;
    color: #fff;
}

/* TITULOS */
.titulo-seccion {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 700;
}

.titulo-seccion::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #ffc107;
    display: block;
    margin: 12px auto;
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARDS */
.card.elegante {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
    transition: .3s;
}

.card.elegante:hover {
    transform: translateY(-10px);
}

/* SERVICIOS */

/* MEJOR DISTRIBUCIÓN SERVICIOS */
#servicios .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* TARJETAS MÁS PRO */
.servicio-card {
    background: #1a1a1a;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all .3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.servicio-card:hover {
    transform: translateY(-10px);
    background: #262626;
    box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

/* ICONOS MÁS PRO */
.servicio-card i {
    font-size: 42px;
    color: #ffc107;
    margin-bottom: 15px;
}

/* TITULOS */
.servicio-card h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* TEXTO */
.servicio-card p {
    font-size: 14px;
    color: #ccc;
} 

/* CONTACTO */
.contacto-box {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.info-contacto {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
}

iframe {
    width: 100%;
    border-radius: 10px;
}

/* ANIMACIÓN */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .inicio h1 {
        font-size: 36px;
    }

    .inicio h2 {
        font-size: 18px;
    }

    .titulo-seccion {
        font-size: 28px;
    }

    .contacto-box {
        grid-template-columns: 1fr;
    }

    .seccion {
        padding: 60px 15px;
    }
}

/* SUBTITULO */
.subtitulo {
    text-align: center;
    max-width: 600px;
    margin: -20px auto 50px;
    color: #666;
    font-size: 16px;
}

/* GRID ESPECIAL */
.grid-nosotros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* TARJETA MÁS GRANDE */
.card.grande {
    padding: 35px;
    border-radius: 20px;
    position: relative;
}

/* ICONO SUPERIOR */
.icono-box {
    width: 60px;
    height: 60px;
    background: #ffc107;
    color: #000;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

/* TITULOS */
.card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* TEXTO */
.card p {
    color: #555;
    margin-bottom: 15px;
}

/* LISTA LIMPIA */
.lista-pro {
    list-style: none;
    padding: 0;
}

.lista-pro li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* CHECK BONITO */
.lista-pro li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffc107;
    font-weight: bold;
}

/* HOVER MÁS PRO */
.card.elegante:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .titulo-seccion {
        font-size: 30px;
    }

    .card.grande {
        padding: 25px;
    }
}

/* SUBTITULO */
#contacto .subtitulo {
    color: #666;
    margin-bottom: 40px;
}

/* GRID */
.contacto-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* MAPA */
.mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* INFO BOX */
.info-contacto {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.1);
}

/* TITULO */
.info-contacto h4 {
    margin-bottom: 25px;
}

/* ITEMS */
.item-contacto {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

/* ICONOS */
.item-contacto i {
    font-size: 22px;
    color: #ffc107;
}

/* TEXTO */
.item-contacto strong {
    display: block;
    font-size: 15px;
}

.item-contacto p {
    margin: 0;
    color: #555;
    font-size: 14px;
}

/* HOVER SUTIL */
.info-contacto:hover {
    transform: translateY(-5px);
    transition: .3s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .info-contacto {
        margin-top: 20px;
    }
}

/* NAVBAR PRO */
.navbar-pro {
    background: #111;
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
    padding: 12px 0;
    z-index: 1000; /* 👈 IMPORTANTE */
}
.navbar-pro .nav-link {
    color: #fff;
    font-size: 14px;
    transition: .3s;
}

.navbar-pro .nav-link:hover {
    color: #ffc107;
}

/* ESPACIO POR NAVBAR FIJO */

/* FOOTER */
.footer-pro {
    background: #111;
    color: #aaa;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-pro small {
    color: #666;
}

/* BOTÓN ADMIN */
.btn-warning {
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 10px;
    }
}
