/* ========================================
   LA BARBIE DE LOS ACCIDENTES
   Mobile-First Styles
   ======================================== */

/* VARIABLES */
:root {
    --pink-primary: #E0218A;
    --pink-secondary: #D54B97;
    --pink-light: #FF99AB;
    --purple-accent: #8B5CF6;
    --dark-bg: #0D0D0D;
    --dark-secondary: #1A1A1A;
    --white: #FFFFFF;
    --gray-light: #CCCCCC;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-accent));
    z-index: 1000;
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 67px;
    width: auto;
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-menu.active {
    max-height: 400px;
    padding: 20px 0;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--white);
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: var(--pink-primary);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg-mobile.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.highlight {
    color: var(--pink-light);
    display: block;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-services span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-services i {
    margin-right: 5px;
    color: var(--pink-light);
}

.hero-benefits {
    text-align: left;
    margin-bottom: 30px;
    max-width: 350px;
}

.hero-benefits li {
    padding: 8px 0;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-benefits i {
    color: var(--pink-light);
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-top: 16px;
}

.hero-benefits-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-video {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-call {
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-secondary));
    color: var(--white);
}

.btn-call:hover {
    background: linear-gradient(135deg, var(--pink-secondary), var(--pink-primary));
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(224, 33, 138, 0.4);
}

.btn-large {
    padding: 20px 38px;
    font-size: 1.2rem;
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */
section {
    padding: 60px 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-light);
    font-size: 1rem;
    margin-bottom: 30px;
}

/* ========================================
   PASOS
   ======================================== */
.pasos {
    background: var(--white);
    color: var(--dark-bg);
}

.pasos .section-title {
    color: var(--dark-bg);
}

.pasos-video {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pasos-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pasos-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.pasos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.paso-card {
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-accent));
    color: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.paso-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
}

.paso-card p {
    font-size: 1rem;
    line-height: 1.5;
}

.pasos-cta {
    text-align: center;
}

/* ========================================
   SERVICIOS
   ======================================== */
.servicio {
    background: var(--dark-bg);
}

.servicio-intro {
    text-align: center;
    color: var(--gray-light);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

.servicio-list {
    margin-bottom: 30px;
}

.servicio-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

.servicio-list li:last-child {
    border-bottom: none;
}

.servicio-list i {
    color: var(--pink-light);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.servicio-tagline {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(224, 33, 138, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--pink-primary);
}

.servicio-tagline strong {
    color: var(--pink-light);
}

.servicio-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* ========================================
   GRID PARA VIDEOS (OPCION B)
   ======================================== */
.servicio-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 25px;
}

.servicio-list {
    order: 1;
}

.servicio-video {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    order: 2;
}

.servicio-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* ========================================
   TESTIMONIOS
   ======================================== */
.testimonios {
    background: var(--dark-secondary);
    text-align: center;
}

.testimonios .section-title {
    color: var(--pink-primary);
}

.testimonios-video {
    max-width: 600px;
    margin: 30px auto;
}

.testimonios-video .video-responsive {
    width: 80%;
    margin: 0 auto;
}

.testimonios-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}

/* ========================================
   CONSULTA
   ======================================== */
.consulta {
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-accent));
}

.consulta .section-title {
    color: var(--white);
}

.consulta .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.consulta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.consulta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
}

.consulta-card i {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.consulta-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.consulta-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.consulta-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* ========================================
   NOSOTROS
   ======================================== */
.nosotros {
    background: var(--dark-secondary);
    padding-top: 100px;
}

.nosotros-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--pink-light);
    margin-bottom: 40px;
}

.nosotros-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.nosotros-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--pink-primary);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.nosotros-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.nosotros-text {
    text-align: left;
}

.nosotros-text > p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-light);
}

.nosotros-text strong {
    color: var(--pink-light);
}

.nosotros-why-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pink-primary);
    margin: 30px 0 20px;
    text-align: center;
}

.nosotros-reasons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nosotros-reason {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.nosotros-reason i {
    color: var(--pink-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.nosotros-reason strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

.nosotros-reason p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.6;
    margin: 0 !important;
}

.nosotros-closing {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(224, 33, 138, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--pink-primary);
}

.nosotros-closing strong {
    color: var(--pink-light);
    font-size: 1.1rem;
}

.nosotros-cta {
    text-align: center;
    margin-top: 40px;
}

.nosotros-cta-text {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.nosotros-cta .btn {
    margin: 10px;
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto {
    background: var(--dark-bg);
}

.contacto-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contacto-info {
    text-align: center;
}

.contacto-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.contacto-item:hover {
    background: rgba(224, 33, 138, 0.2);
}

.contacto-item i {
    font-size: 1.5rem;
    color: var(--pink-light);
}

.contacto-item:first-child i {
    color: var(--whatsapp);
}

.contacto-redes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.red-social {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-accent));
    border-radius: 50%;
    font-size: 1.3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.red-social:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(224, 33, 138, 0.5);
}

.contacto-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    min-height: 500px;
}

.contacto-form iframe {
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-secondary);
    padding: 40px 0;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 10px;
}

.footer-legal {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-legal a {
    color: var(--pink-light);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--pink-primary);
}

.footer-partner {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-style: italic;
}

/* ========================================
   WHATSAPP FLOTANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   TABLET (min-width: 768px)
   ======================================== */
@media (min-width: 768px) {
    .header {
        padding: 8px 0;
    }

    .nav-logo img {
        height: 79px;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-menu {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        max-height: none !important;
        background: transparent !important;
        padding: 0 !important;
        gap: 15px;
        overflow: visible !important;
        justify-content: center;
    }

    .nav-menu.active {
        max-height: none !important;
        padding: 0 !important;
    }

    .nav-link {
        padding: 11px 16px;
        font-size: 1.07rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-grid {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 75px;
        padding-left: 150px;
    }

    .hero-video {
        flex: 0 0 25%;
        max-width: 25%;
        margin: 0;
    }

    .hero-benefits-wrapper {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .hero-benefits {
        text-align: left;
    }

    .hero-cta {
        flex-direction: row;
        margin-top: 10px;
    }

    .btn {
        padding: 12px 25px;
    }

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

    .pasos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicio-list li {
        font-size: 1rem;
    }

    .servicio-cta,
    .consulta-cta {
        flex-direction: row;
        justify-content: center;
    }

    .consulta-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nosotros-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .nosotros-img {
        width: 250px;
        height: 250px;
    }

    .nosotros-text {
        text-align: left;
    }

    .contacto-grid {
        flex-direction: row;
    }

    .contacto-info {
        flex: 1;
        text-align: left;
    }

    .contacto-item {
        justify-content: flex-start;
    }

    .contacto-redes {
        justify-content: flex-start;
    }

    .contacto-form {
        flex: 1.5;
    }

    /* Grid lado a lado en desktop */
    .servicio-grid {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 100px;
    }

    .servicio-video {
        flex: 0 0 20%;
        max-width: 20%;
        margin: 0;
        order: 1;
    }

    .servicio-list {
        flex: 0 0 50%;
        max-width: 50%;
        margin-left: 0;
        order: 2;
    }

    /* Testimonios responsive */
    .testimonios-video {
        max-width: 420px;
    }

    .testimonios-video .video-responsive {
        width: 70%;
    }

    /* Nosotros responsive */
    .nosotros {
        padding-top: 120px;
    }

    .nosotros-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 50px;
    }

    .nosotros-img {
        width: 250px;
        height: 250px;
    }

    .nosotros-img img {
        height: 100%;
        object-position: center 10%;
    }

    .nosotros-text {
        flex: 1;
    }

    .nosotros-why-title {
        text-align: left;
    }

    .nosotros-cta .btn {
        margin: 5px 10px;
    }

    .testimonios-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   DESKTOP (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-services span {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .hero-benefits {
        max-width: 500px;
    }

    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.png');
        background-size: cover;
        background-position: center;
    }

    .pasos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pasos-video {
        max-width: 350px;
    }

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

    .pasos-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 80px;
    }

    .pasos-video {
        flex: 0 0 350px;
        max-width: 350px;
        margin: 0;
    }

    .pasos-grid {
        flex: 1;
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pasos-cta {
        text-align: center;
        max-width: 100%;
        padding-left: 0;
        margin-top: 10px;
    }

    .servicio-intro {
        font-size: 1.1rem;
    }

    .nosotros-img {
        width: 300px;
        height: 300px;
    }

    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 65px;
        height: 65px;
    }
}

/* ========================================
   LEGAL PAGES (Privacidad y Términos)
   ======================================== */
.legal-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.legal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    color: var(--pink-primary);
    text-transform: uppercase;
}

.legal-date {
    text-align: center;
    color: var(--gray-light);
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h2 i {
    color: var(--pink-primary);
    font-size: 1.1rem;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-light);
    margin-bottom: 15px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--pink-light);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--pink-primary);
}

.legal-list {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.legal-list li::before {
    content: '•';
    color: var(--pink-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--pink-primary);
    background: transparent;
    color: var(--pink-primary);
}

.btn-outline:hover {
    background: var(--pink-primary);
    color: var(--white);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .legal-title {
        font-size: 2.5rem;
    }

    .legal-section h2 {
        font-size: 1.4rem;
    }

    .legal-cta {
        flex-direction: row;
        justify-content: center;
    }
}
