/* ================= HERO ================= */

.hero-custom {
    padding: 60px 20px 0px;
    background: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('fondo-taller.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

.hero-text span {
    color: #ff3b3b;
}

.hero-text p {
    font-size: 1.4rem;
    margin: 20px 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-button {
    padding: 18px 40px;
    background: #f57c00;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.hero-button:hover {
    transform: translateY(-3px);
}

/* IMAGE */

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 75%;
    filter: drop-shadow(0px 20px 40px rgba(0,0,0,0.4));
}

/* ================= SECTIONS ================= */

.section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.dark {
    background: #0b7f86;
    color: white;
}

/* GRID */

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

/* CARD */

/* .card {
    background: linear-gradient(135deg, #00c9a7, #005f73);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.3s;
    color: white; 
} */

.card {
    
    border-radius: 10px;
    padding: 40px 25px;
    transition: 0.3s;
    color: rgb(23, 46, 82);
    text-align: center;
}

/* ICONO (opcional) */
.card-icon {
    max-width: 60%;
    
    margin: 0 auto 40px;

    overflow: hidden; /* 🔥 CLAVE */
    display: flex;
}

/* IMAGEN OCUPA TODO */
.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 llena el círculo */
}

/* TEXTO */

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #383c3c;
}

/* HOVER */

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ================= DEMO ================= */

.demo-container img {
    max-width: 320px;
}

/* ================= CTA ================= */

.cta {
    padding: 140px 20px;
    background: linear-gradient(135deg, #1549b3, #395ba5);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: auto;
}

.cta h2 {
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    color: #cfd8dc;
    margin-bottom: 35px;
}

/* BOTON NUEVO PRO */
.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #ff3b3b, #ff7a00);
    color: white;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 60, 60, 0.25);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 60, 60, 0.35);
}

/* ================= SOLUCION ================= */

.solution-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* TEXTO */

.solution-text {
    flex: 1;
    text-align: left;
}

.solution-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.solution-text span {
    color: #95f4f4;
}

.solution-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cfd8dc;
}

/* ITEMS */

.solution-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.solution-items div {
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
}

/* IMAGEN */

.solution-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.solution-image img {
    max-width: 80%;
    filter: drop-shadow(0px 20px 40px rgba(0,0,0,0.5));
}


/* ================= COMPAT 2 LIGHT ================= */

.compat2 {
    padding: 200px 20px;
    text-align: center;
      background: 
        linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
        url('fondo-obd2.jpg');
    background-size: cover;
    background-position: center;
    color: white;

}

/* TITULO */

.compat2 h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.compat2 span {
    color: #ff3e3e;
}

.compat2-sub {
    font-size: 1.2rem;
    color: #cbcbcb;

}

/* ICONO CENTRAL */

.compat2-center {
    margin-bottom: 50px;
}

.compat2-center img {
    max-width: 420px;
    filter: drop-shadow(0px 10px 25px rgba(0,0,0,0.2));
}

/* GRID */

.compat2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 20px;
    max-width: 700px;
    margin: auto;
}

/* ITEMS */

.compat2-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.compat2-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}



/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .hero-custom {
        padding: 160px 20px 100px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 90%;
        margin-top: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* CARDS */

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 50px 25px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 0.95rem;
    }

    .section {
        padding: 60px 15px;
    }

    .solution-container {
        flex-direction: column;
        text-align: center;
    }

    .solution-text {
        text-align: center;
    }

    .solution-text h2 {
        font-size: 2rem;
    }

    .solution-image img {
        max-width: 90%;
        margin-top: 20px;
    }
}