/* -------------------------------------------------------
   HERO SIMPLE
------------------------------------------------------- */
.hero-simple {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    padding-top: 40px;
    z-index: 1;
}

/* -------------------------------------------------------
   SLIDER
------------------------------------------------------- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* SLIDES CORREGIDOS */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    opacity: 0;
    transition: opacity 1s ease;

    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* -------------------------------------------------------
   MENÚ DE SERVICIOS EN EL HERO (DESKTOP)
------------------------------------------------------- */
.hero-services-menu {
    position: relative;
    z-index: 10;
    width: 90%;
    margin: 0 auto;
    margin-top: 40px;
}

/* SOLO DESKTOP → GRID */
@media (min-width: 769px) {
    .hero-services-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

/* BOX */
.service-item {
    background: linear-gradient(180deg, rgba(12,49,79,0.12) 0%, rgba(255,255,255,0.95) 100%);
    padding: 22px;
    border-radius: 12px;
    text-align: center;
    min-height: 260px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
}

/* TÍTULO */
.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #0c314f;
    margin-bottom: 10px;
}

/* DROPDOWN */
.service-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-dropdown li {
    padding: 6px 0;
    color: #0c314f;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.service-dropdown li:last-child {
    border-bottom: none;
}

/* BOTÓN VER MÁS */
.btn-vermas {
    display: inline-block;
    background: #f4c400;
    color: #000;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: 0.2s ease;
}

.btn-vermas:hover {
    background: #d9ae00;
}

/* -------------------------------------------------------
   CONTACTO
------------------------------------------------------- */
.section-contact-bg {
    background: #f4f4f4;
    padding: 80px 0;
}

.contact-section {
    display: flex;
    gap: 40px;
}

.contact-info {
    width: 40%;
}

form {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

form button {
    background: #0c314f;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 1024px) {
    .contact-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-info,
    form {
        width: 100%;
    }
}