/* ===== SECCIÓN HERO ===== */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 60px auto;
    gap: 40px;
    padding: 0;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-text h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.2rem;
    color: #042c6c;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

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

.btn-hero-main {
    background-color: #042c6c;
    color: #fff;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #042c6c;
    cursor: pointer;
    display: inline-block;
}

.btn-hero-main:hover {
    background-color: #063d91;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 44, 108, 0.3);
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.hero-img img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* ===== SERVICIOS DESTACADOS ===== */
.seccion-cards-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 90%;
    max-width: 1400px;
    margin: 10vh auto;
    padding: 0;
    background-color: #F4F8FC;
}

.seccion-cards-services .card {
    background-color: #F4F8FC;
    padding: 30px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.seccion-cards-services .card:hover {
    transform: translateY(-10px);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-size: 2.2rem;
    color: #042c6c;
    margin-bottom: 15px;
}

.card-text h5 {
    font-size: 1.1rem;
    color: #042c6c;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== SECCIÓN TELAS ===== */
.telas-home {
    width: 100%;
    padding: 80px 5%;
    background-color: #F4F8FC;
}

.telas-titulo {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.5rem;
    color: #042c6c;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
}

.telas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-card-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(4, 44, 108, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h4 {
    color: white;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin: 0;
}

.product-card-body {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-btn {
    display: inline-block;
    background-color: #042c6c;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #042c6c;
}

.product-btn:hover {
    background-color: #063d91;
    transform: translateY(-2px);
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-form-container form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-form-container input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-form-container input:focus {
    outline: none;
    border-color: #042c6c;
    box-shadow: 0 0 0 3px rgba(4, 44, 108, 0.1);
}

.contact-form-container button {
    grid-column: span 2;
    padding: 18px;
    background-color: #042c6c;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-container button:hover {
    background-color: #063d91;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 44, 108, 0.3);
}

/* ===== SECCIÓN ABOUT / SOBRE NOSOTROS ===== */
.about-section {
    width: 100%;
    background-color: #FBFBFB;
    padding: 80px 5%;
    border-top: 1px solid #eee;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.about-title {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #042c6c;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 900;
}

.about-text-primary {
    font-family: 'Poppins', sans-serif;
    color: #042c6c;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.about-text-secondary {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.about-images {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-img {
    width: 48%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    object-fit: cover;
}

.about-img:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE: TABLETS (769px - 1200px) ===== */
@media (max-width: 1200px) and (min-width: 769px) {
    .hero {
        width: 90%;
        gap: 30px;
    }

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

    .hero-img img {
        max-height: 400px;
    }

    .seccion-cards-services {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }

    .telas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-form-container form {
        grid-template-columns: 1fr;
    }

    .contact-form-container button {
        grid-column: span 1;
    }

    .about-section {
        padding: 60px 5%;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text-primary {
        font-size: 1.1rem;
    }

    .about-text-secondary {
        font-size: 1rem;
    }

    .about-images {
        gap: 20px;
    }

    .about-img {
        width: 48%;
    }
}

/* ===== RESPONSIVE: MÓVILES (hasta 768px) ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        width: 95%;
        margin: 30px auto;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-img {
        width: 100%;
    }

    .hero-img img {
        max-height: 300px;
    }

    .seccion-cards-services {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 5vh 0;
        padding: 40px 5%;
        gap: 15px;
    }

    .seccion-cards-services .card {
        padding: 25px 15px;
    }

    .telas-home {
        padding: 60px 5%;
    }

    .telas-titulo {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .telas-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 15px;
    }

    .product-card-img {
        height: 250px;
    }

    .contact-form-container {
        padding: 25px;
    }

    .contact-form-container form {
        gap: 15px;
    }

    .contact-form-container input {
        padding: 12px;
        font-size: 16px; /* Evita zoom en iOS */
    }

    .contact-form-container button {
        grid-column: span 1;
        padding: 15px;
        font-size: 1rem;
    }

    /* ABOUT SECTION - MÓVIL */
    .about-section {
        padding: 50px 5%;
        background-color: #FBFBFB;
    }

    .about-container {
        width: 100%;
    }

    .about-content {
        margin: 0 auto 40px auto;
    }

    .about-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .about-text-primary {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .about-text-secondary {
        font-size: 0.95rem;
    }

    /* IMPORTANTE: En móvil, las imágenes se apilan verticalmente y ocupan 100% */
    .about-images {
        flex-direction: column;
        gap: 20px;
    }

    .about-img {
        width: 100%;
        max-width: 100%;
        min-height: 250px;
    }
}

/* ===== RESPONSIVE: CELULARES MUY PEQUEÑOS (hasta 500px) ===== */
@media (max-width: 500px) {
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

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

    .btn-hero-main {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .seccion-cards-services .card {
        padding: 20px 10px;
    }

    .card-header {
        font-size: 2rem;
    }

    .card-text h5 {
        font-size: 1rem;
    }

    .card-text p {
        font-size: 0.85rem;
    }

    .telas-titulo {
        font-size: 1.6rem;
    }

    .product-card-img {
        height: 200px;
    }

    .contact-form-container {
        padding: 20px;
    }

    /* ABOUT SECTION - CELULAR PEQUEÑO */
    .about-section {
        padding: 40px 5%;
    }

    .about-content {
        margin: 0 auto 30px auto;
    }

    .about-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .about-text-primary {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .about-text-secondary {
        font-size: 0.9rem;
    }

    .about-img {
        width: 100%;
        min-height: 200px;
        border-radius: 6px;
    }
}

/* ===== SECCIÓN CTA: VOS VENDÉS ===== */
.cta-section {
    width: 100%;
    padding: 100px 5%;
    background-color: #fff;
}

.cta-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.cta-image {
    flex: 1;
    min-width: 0;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    object-fit: cover;
}

.cta-image img:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.cta-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.cta-title {
    font-family: 'Archivo Black', sans-serif;
    color: #042c6c;
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 900;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    margin: 0 0 35px 0;
}

.cta-button {
    display: inline-block;
    background-color: #042c6c;
    color: white;
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #042c6c;
}

.cta-button:hover {
    background-color: #063d91;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 44, 108, 0.3);
}

/* ===== RESPONSIVE: TABLETS (769px - 1200px) ===== */
@media (max-width: 1200px) and (min-width: 769px) {
    .cta-container {
        gap: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 0.9rem;
    }
}

/* ===== RESPONSIVE: MÓVILES (hasta 768px) ===== */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 5%;
    }

    .cta-container {
        flex-direction: column;
        gap: 30px;
    }

    .cta-image {
        flex: none;
        width: 100%;
        order: 1;
    }

    .cta-content {
        flex: none;
        width: 100%;
        order: 2;
        text-align: center;
    }

    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .cta-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.85rem;
    }
}

/* ===== RESPONSIVE: CELULARES (hasta 500px) ===== */
@media (max-width: 500px) {
    .cta-section {
        padding: 40px 5%;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .cta-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }
}