* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f4f6f9;
}

/* --- Banner Estático HTML --- */
.app-banner {
    width: 100%;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #1b5e20 100%);
    color: #ffffff;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.app-banner-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.app-banner-text {
    max-width: 520px;
}

.app-banner-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
}

.app-banner-text p {
    font-size: 2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.store-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(4, 4, 4, 0.733);
    padding: 10px 5px;
    border-radius: 10px;
    color: #f1efef;
    text-decoration: none;
    font-size: 1.35rem;
    background: rgb(6, 103, 13);
}

.apple {
  width: 30px;        /* Ancho diminuto */
  height: 30px;       /* Alto diminuto */
  object-fit: contain; /* Evita que la imagen se deforme */
}

.app-banner-mockup {
    flex-shrink: 0;
}

.app-banner-mockup img {
    max-height: 380px;
    display: block;
    height: auto;
}

/* Adaptabilidad a pantallas pequeñas */
@media (max-width: 768px) {
    .app-banner-container {
        flex-direction: column;
        text-align: center;
    }

    .store-buttons {
        justify-content: center;
    }
}

/* 1. Fondo fijo en la sección del banner */
.app-banner {
    position: relative;
    background-image: url('imagenes/celulares.png');
    /* Agrega la ruta de tu imagen de fondo verde */
    background-attachment: fixed;
    /* Mantiene la imagen fija al hacer scroll */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    /* Queda detrás de las otras secciones */
    padding: 100px 20px;
}

/* 2. Hace que las secciones adyacentes tapen el banner al hacer scroll */
.servicios,
.news-section {
    position: relative;
    z-index: 2;
    /* Pasa por encima del banner */
    background-color: #ffffff;
    /* Asegura un fondo opaco */
}


.titulo22 {
    margin: 0 auto;
    text-align: justify;
    font-size: 80px;
    color: #3c7a3c;
    margin-bottom: 25px;
}

.contenedor-tarjetas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    min-height: 100vh;
}

.tarjeta1 {
    width: 320px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tarjeta1 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.contenido {
    padding: 20px;
}

.contenido h2 {
    color: #333;
    margin-bottom: 8px;
}

.cargo {
    color: #3fd134;
    font-weight: bold;
    margin-bottom: 15px;
}

.contenido p {
    text-align: justify;
    color: #555;
    line-height: 1.5;
}

.datos {
    margin: 15px 0;
    text-align: left;
}

.datos p {
    margin: 8px 0;
}

button {
    background: #3fd134;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
}

button:hover {
    background: #0a5106;
}




.tarjeta2 {
    width: 320px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tarjeta2 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.contenido {
    padding: 20px;
}

.contenido h2 {
    color: #333;
    margin-bottom: 8px;
}

.cargo {
    color: #3fd134;
    font-weight: bold;
    margin-bottom: 15px;
}

.contenido p {
    text-align: justify;
    color: #555;
    line-height: 1.5;
}

.datos {
    margin: 15px 0;
    text-align: left;
}

.datos p {
    margin: 8px 0;
}

button {
    background: #3fd134;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
}

button:hover {
    background: #0a5106;
}




.tarjeta3 {
    width: 320px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tarjeta3 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.contenido {
    padding: 20px;
}

.contenido h2 {
    color: #333;
    margin-bottom: 8px;
}

.cargo {
    color: #3fd134;
    font-weight: bold;
    margin-bottom: 15px;
}

.contenido p {
    text-align: justify;
    color: #555;
    line-height: 1.5;
}

.datos {
    margin: 15px 0;
    text-align: left;
}

.datos p {
    margin: 8px 0;
}

button {
    background: #3fd134;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
}

button:hover {
    background: #0a5106;
}



.tarjeta4 {
    width: 320px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tarjeta4 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.contenido {
    padding: 20px;
}

.contenido h2 {
    color: #333;
    margin-bottom: 8px;
}

.cargo {
    color: #3fd134;
    font-weight: bold;
    margin-bottom: 15px;
}

.contenido p {
    text-align: justify;
    color: #555;
    line-height: 1.5;
}

.datos {
    margin: 15px 0;
    text-align: left;
}

.datos p {
    margin: 8px 0;
}

button {
    background: #3fd134;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
}

button:hover {
    background: #0a5106;
}



