/* ===================================================== */
/* ================ STYLES UNIFICADOS ORIGINALES ======= */
/* ===================================================== */

/* Reset básico y fuente */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #ffffff;
    overflow-x: hidden;
    color: #222;
}

/* ===================================================== */
/* ======================= HERO ======================== */
/* ===================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../img/min-portada-hero-hamark-labs.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

/* ---------------- TOP: LOGO + CTA ---------------- */
.hero-top {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
}

.hero-logo {
    width: 150px;
    height: auto;
}

.hero-cta {
    background: #0d6efd;
    color: white;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.hero-cta:hover,
.hero-cta:focus {
    background: #0056b3;
}

/* ---------------- TEXTOS HERO ---------------- */
.hero-text-container {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: 40px;
    margin-top: 240px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 19px;
    font-weight: 500;
    color: #fff;
    margin-top: 12px;
    line-height: 1.35;
}

/* ================== RESPONSIVE HERO ================== */
/* --- SOLO PC: CENTRAR VERTICALMENTE --- */
@media (min-width: 1025px) {
    .hero-text-container {
        position: absolute;
        top: 50%;
        left: 40px;
        transform: translateY(-60%); /* ajusta para subir 20px */
        margin-left: 0;
        margin-top: 0;
    }
}

/* --- Tablets --- */
@media (max-width: 1024px) {
    .hero-top {
        padding: 12px 32px;
    }

    .hero-text-container {
        margin-left: 32px;
        margin-top: 210px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* --- Móviles --- */
@media (max-width: 768px) {
    .hero-top {
        padding: 6px 20px;
        margin-top: -15px; /* sube logo y botón 15px */
    }

    .hero-logo {
        width: 115px;
    }

    .hero-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-text-container {
        width: 100%;
        max-width: 92%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 330px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .hero-subtitle {
        font-size: 15px;
    }
}

/* --- Móviles pequeños --- */
@media (max-width: 480px) {
    .hero-top {
        padding: 4px 16px;
    }

    .hero-text-container {
        margin-top: 300px;
    }

    .hero-title {
        font-size: 24px;
    }
}

/* ===================================================== */
/* ===================== BENEFICIOS ==================== */
/* ===================================================== */
.web-benefits {
    width: 100%;
    padding: 60px 20px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.benefits-header {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.benefits-title {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: #0d6efd;
    line-height: 1.3;
    margin-bottom: 16px;
    text-transform: none;
}

.benefits-intro {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    text-transform: none;
    word-break: break-word;
}

.benefits-videos {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    flex-direction: row; /* asegurar vista PC */
}

.benefit-item {
    flex: 1 1 30%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    text-align: left;
    box-sizing: border-box;
}

.video-wrapper {
    width: 100%;
    padding-bottom: 177.77%; /* 9:16 */
    position: relative;
    margin-bottom: 16px;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 8px;
}

.benefit-subtitle {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 12px;
    color: #0d6efd;
    text-align: left;
    width: 100%;
    text-transform: none;
}

.benefit-points {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 16px;
    color: #333;
    text-align: left;
    text-transform: none;
    word-break: break-word;
    margin-top: 8px;
}

.benefit-points li {
    margin-bottom: 10px;
}

/* ================== RESPONSIVE BENEFICIOS ================== */
@media (max-width: 1024px) {
    .benefits-videos {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }

    .benefit-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        text-align: left;
        margin-bottom: 40px;
    }

    /* Ajustes solo para tablet */
    .benefits-intro {
        font-size: 26px; /* más grande y legible en tablet */
    }

    .benefit-subtitle {
        font-size: 28px;
    }

    .benefit-points {
        font-size: 22px;
        padding-left: 25px;
    }

    .video-wrapper {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        width: 90%;
        padding-bottom: 200%;
        margin: 0 auto;
    }

    .benefits-title {
        font-size: 32px;
    }

    .benefits-intro {
        font-size: 18px;
    }

    .benefit-subtitle {
        font-size: 20px;
    }

    .benefit-points {
        font-size: 16px;
        padding-left: 20px;
    }

    .benefit-item {
        width: 100%;
        text-align: left;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .benefits-videos,
    .benefit-item {
        flex: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 40px auto !important;
        padding: 0 10px;
    }

    .video-wrapper {
        width: 95% !important;
        padding-bottom: 220% !important;
        margin: auto !important;
    }
}

/* ===================================================== */
/* ================= PAQUETES Y PRECIOS ================= */
/* ===================================================== */
.pricing-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.pricing-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 0 10px;
}

.pricing-title {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: #0d6efd;
    line-height: 1.3;
    margin-bottom: 16px;
    text-transform: none;
}

.pricing-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    text-transform: none;
    word-break: break-word;
}

/* TARJETAS */
.pricing-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.pricing-card {
    flex: 1 1 30%;
    min-width: 280px;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: left;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-title {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #0d6efd;
    margin-bottom: 10px;
}

.card-price {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 22px;
    color: #333;
    margin-bottom: 16px;
}

.card-features {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
}

.card-features li {
    margin-bottom: 10px;
}

.card-cta {
    display: inline-block;
    background-color: #0d6efd;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    transition: background 0.3s ease;
}

.card-cta:hover {
    background-color: #0056b3;
}

/* ESTILOS <details> */
details {
    margin-top: 5px;
    margin-bottom: 10px;
    cursor: pointer;
}

details summary {
    font-weight: bold;
    list-style: none;
}

details[open] summary::after {
    content: " ▲";
}

details summary::after {
    content: " ▼";
}

details p {
    margin: 5px 0 0 15px;
    font-size: 15px;
}

/* PIE DE NOTA */
.pricing-note {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: center;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* ================== RESPONSIVE PAQUETES ================== */
@media (max-width: 1024px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 90%;
        margin-bottom: 30px;
    }

    .pricing-subtitle {
        font-size: 22px;
    }

    .card-features {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        width: 95%;
        padding: 25px 15px;
    }

    .pricing-subtitle {
        font-size: 18px;
    }

    .card-features {
        font-size: 16px;
        padding-left: 15px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-price {
        font-size: 20px;
    }
}

/* ===================================================== */
/* ======================= NOSOTROS ==================== */
/* ===================================================== */
.about-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #fff;
    box-sizing: border-box;
}

.about-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.about-title {
    font-size: 32px;
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 20px;
    font-family: 'Helvetica', sans-serif;
}

.about-logo {
    width: 160px;
    height: auto;
    margin: 0 auto 25px auto;
    display: block;
}

.about-text {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ===================================================== */
/* =================== TESTIMONIOS / CARDS ============ */
/* ===================================================== */
.testimonials {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.testimonial-card {
    flex: 1 1 30%;
    min-width: 280px;
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.client-logo {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
}

.client-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: center;
}

.client-company {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    text-align: center;
}

.client-comment {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
}

.client-link {
    display: inline-block;
    text-decoration: none;
    background-color: #0d6efd;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s ease;
}

.client-link:hover {
    background-color: #004fb8;
}

/* ======================= RESPONSIVE TESTIMONIOS ======================= */
@media (max-width: 1024px) {
    .testimonials {
        flex-direction: column;
        align-items: center;
    }
    .testimonial-card {
        width: 92%;
    }
}

/* ===================================================== */
/* ======================== FOOTER ===================== */
/* ===================================================== */
footer {
    background: #0b1f3a;
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr; /* Equilibrio visual en PC */
    gap: 40px;
    align-items: flex-start;
}

.footer-col {
    min-height: 180px; /* Evita huecos visuales */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-col img {
    max-width: 180px;
    margin-bottom: 18px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-col p,
.footer-col a {
    font-size: 15px;
    color: #dcdcdc;
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 50px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #cccccc;
}

/* -------------------- */
/*  TABLET Y MOBILE    */
/* -------------------- */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-col img {
        margin: 0 auto 15px;
    }
}

/* ===================================================== */
/* ================== UTILIDADES / ACCESIBILIDAD ======= */
/* ===================================================== */

:focus {
    outline: 3px solid rgba(13,110,253,0.25);
    outline-offset: 2px;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-10 { padding: 10px; }


/* ===================================================== */
/* ============ BOTÓN FLOTANTE WHATSAPP ================= */
/* ===================================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

/* Tamaño optimizado en móvil */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}


/* End of file */
