.hero {
    background: url('../images/fondo.jpg') no-repeat center center/cover;
    padding: 20px 0 0px 0;
    position: relative;
}

.Title{
    width: 100%;
    text-align: center;
    color: white;
    font-size: xx-large;
    font-weight: bolder;
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* TARJETA */
.hero-card {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 10px;
    max-width: 100%;
}

.hero-card h1 {
    font-size: 32px;
    color: #2d2d2d;
    margin-bottom: 20px;
    text-align: center;
}

.hero-subtitle {
    text-align: center;
    color: #333;
    font-size: 16px;
    margin-bottom: 25px;
}

/* ICONOS */
.hero-icons {
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 0 auto 25px;
}

/* BOTONES */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background: #2d7df6;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #1f5fd1;
}

.btn-secondary {
    background: #1b2a41;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #0f1b2d;
}

.hero-services {
    width: 207px;
}
/* IMAGEN DERECHA */
.hero-image img {
    max-height: 420px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        display: none;
    }
    .hero-services{
        display: none;
    }
}


.services {
    background: url('../images/fondo_Servicios.jpg') no-repeat center center/cover;
    position: relative;
}

.services-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* HEADER */
.services-header h2 {
    background: #1b2a41;
    color: white;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 0 20px 20px 0;
    margin-bottom: 30px;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD */
.service-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: 0.3s;
    width: 85%;
    margin-left: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* ICONO */
.service-icon {
    width: 50px;
    position: absolute;
    top: -25px;
    right: -10px;
}

/* TEXTO */
.service-card h3 {
    margin-top: 20px;
    font-size: 20px;
    color: #2d2d2d;
}

.service-card p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

/* IMAGEN DERECHA */
.services-image img {
    max-height: 450px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .services-container {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-image {
        display: none;
    }
}


.expertise {
    background: #142f4f;
    padding: 20px 0;
    color: white;
}

.expertise-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* IMAGEN */
.expertise-image img {
    max-height: 450px;
    border-radius: 10px;
}

/* HEADER */
.expertise-header h2 {
    background: white;
    color: #142f4f;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
    margin-bottom: 30px;
    font-weight: bold;
}

/* GRID */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARD */
.expertise-card {
    background: #ffffff;
    color: #1b2a41;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.expertise-card:hover {
    transform: translateY(-5px);
}

/* ICONO */
.exp-icon {
    width: 30px;
    position: absolute;
    top: -20px;
    right: -10px;
}

/* TEXTO */
.expertise-card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.expertise-card p {
    font-size: 14px;
    margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .expertise-container {
        flex-direction: column;
        text-align: center;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-image {
        display: none;
    }
}



.experience {
    background: #f4f6f9 url('../images/fondo_proyectos.jpg') no-repeat center/cover;
    padding: 10px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.section-header h2 {
    background: #1b2a41;
    color: white;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
    margin-bottom: 40px;
}

.section-header.right {
    text-align: right;
}

/* STATS */
.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.stat-card img {
    width: 60px;
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 28px;
    color: #1b2a41;
}

.stat-card p {
    color: #555;
}

/* PROJECTS */
.projects {
    display: flex;
    gap: 20px;
}

.project-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-header img {
    width: 50px;
}

.project-card h3 {
    color: #1b2a41;
}

.project-card p {
    margin-top: 10px;
    color: #555;
}

/* BADGES */
.badge {
    position: absolute;
    top: -10px;
    left: 15px;
    background: #f4a742;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
}

.badge.blue {
    background: #2d7df6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .stats {
        flex-direction: column;
    }

    .projects {
        flex-direction: column;
    }

    .section-header.right {
        text-align: left;
    }
}


.cta {
    background: linear-gradient(135deg, #0f2a44, #1b4d7a);
    padding: 80px 0;
    color: white;
}

.cta-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* TEXTO */
.cta-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-text p {
    margin-bottom: 30px;
    color: #ddd;
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-whatsapp img {
    width: 22px;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

.btn-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3767b1;
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-mail img {
    width: 22px;
}

.btn-mail:hover {
    background: #5995db;
}

/* IMAGEN */
.cta-image img {
    max-height: 350px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-image {
        display: none;
    }
}