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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    background-color: #f5f7fa;
    line-height: 1.6;
    text-align: justify;
}

/* Ajustes para títulos que no deben estar justificados */
h1, h2, h3, h4, h5, h6 {
    text-align: left;
}

/* Botones con fondo lila y letras blancas */
.btn-primary, .btn-login, .btn-signup, .footer-btn, .btn-accept-cookies, .btn-submit {
    background: #7c3aed !important;
    color: white !important;
    border: none !important;
}

.btn-secondary {
    background: white;
    color: #7c3aed;
    border: 2px solid #7c3aed;
}

.btn-primary:hover, .btn-login:hover, .btn-signup:hover, .footer-btn:hover, .btn-submit:hover {
    background: #6d28d9 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Barra de Redes Sociales */
.social-bar {
    background-color: #6b21a8;
    padding: 0.75rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.social-icon {
    color: #c084fc;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: #e9d5ff;
    transform: translateY(-2px);
}

/* Estilos de Cabecera */
.header {
    background-color: #ffffff;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #7c3aed;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #7c3aed;
    background: transparent;
    border: 2px solid #7c3aed;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-home svg {
    width: 20px;
    height: 20px;
}

.btn-home:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
}

.btn-signup {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Sección Hero */
.hero {
    padding: 4rem 2rem;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #7c3aed;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.hero-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    max-width: 90%;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: white;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #4a5568;
    margin-top: 0.5rem;
}

/* Hero Derecha - Sección de Imagen */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Círculo difuminado detrás de la imagen */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

/* Etiquetas Flotantes */
.floating-label {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem 0.75rem 2.5rem;
    border-radius: 50px;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a1a;
    z-index: 10;
    min-width: 160px;
}

.label-icon-circle {
    position: absolute;
    left: -15px;
    top: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #a855f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 11;
    border: 2px solid #d1d5db;
}

.label-icon {
    width: 20px;
    height: 20px;
    color: white;
    fill: white;
}

.label-avatar-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.hero-avatar-support-1 {
    position: absolute;
    top: -30px;
    left: -30px;
    z-index: 5;
}

.avatar-floating {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.label-1 {
    top: 10%;
    right: -10%;
}

.label-2 {
    top: 50%;
    right: -15%;
    transform: translateY(-50%);
}

.label-3 {
    bottom: 15%;
    right: -10%;
}

.label-4 {
    bottom: -5%;
    left: 25%;
    transform: translateX(-50%);
    right: auto;
    min-width: 260px;
}


/* Diseño Responsivo */
@media (max-width: 968px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .logo {
        height: 50px;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .hero-description {
        max-width: 100%;
        text-align: justify;
    }

    .hero-right {
        order: -1;
    }

    .floating-label {
        position: relative;
        display: inline-flex;
        margin: 0.5rem;
        right: auto;
        top: auto;
        bottom: auto;
        left: auto;
    }

    .label-icon-circle {
        position: relative;
        left: 0;
        top: 0;
        margin-right: 0.5rem;
    }

    .label-1,
    .label-2,
    .label-3,
    .label-4 {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
    }

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

    .nav {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 1rem 0;
    }

    .header-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo {
        height: 40px;
    }

    .btn-signup {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 1rem;
        text-align: justify;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .floating-label {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1rem 0.75rem 2rem;
        font-size: 0.85rem;
    }

    .label-icon-circle {
        width: 35px;
        height: 35px;
        left: -12px;
        top: -12px;
    }

    .label-icon {
        width: 18px;
        height: 18px;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .floating-label {
        font-size: 0.8rem;
        padding: 0.6rem 0.875rem 0.6rem 1.75rem;
    }
}

/* Sección Acerca de */
.about-section {
    padding: 5rem 2rem;
    background-color: #ffffff;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.ezer-text {
    color: #7c3aed;
}

.about-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    text-align: justify;
}

/* Responsividad de Sección Acerca de */
@media (max-width: 968px) {
    .about-section {
        padding: 4rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

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

@media (max-width: 640px) {
    .about-section {
        padding: 3rem 1rem;
    }

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

    .about-description {
        font-size: 1rem;
    }
}

/* Botón Flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    flex: 1;
}

.btn-accept-cookies {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Banner de Cookies Responsivo */
@media (max-width: 640px) {
    .whatsapp-button {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn-accept-cookies {
        width: 100%;
    }

    .header-buttons {
        gap: 0.5rem;
    }

    .btn-home {
        width: 35px;
        height: 35px;
    }

    .btn-home svg {
        width: 18px;
        height: 18px;
    }
}

/* Sección de Servicios */
.services-section {
    padding: 3rem 2rem;
    background-color: #ffffff;
}

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

.services-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.services-header-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-avatar {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.services-header-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    text-align: justify;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.25rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.service-card-description {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    text-align: justify;
    flex-grow: 1;
}

.service-link {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, gap 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    color: #a855f7;
    gap: 0.75rem;
}

/* Responsividad de Sección de Servicios */
@media (max-width: 968px) {
    .services-section {
        padding: 4rem 1.5rem;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-header-image {
        order: -1;
    }

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

    .services-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .services-section {
        padding: 3rem 1rem;
    }

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

    .services-subtitle {
        font-size: 1rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-title {
        font-size: 1.1rem;
    }

    .service-card-description {
        font-size: 0.9rem;
    }
}

/* Sección de Apoyo */
.support-section {
    padding: 4rem 2rem;
    background-color: #f5f7fa;
}

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

.support-header {
    text-align: center;
    margin-bottom: 3rem;
}

.support-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.support-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.support-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.support-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.support-logo-item:hover {
    transform: translateY(-5px);
}

.support-logo {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.support-logo-item:hover .support-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.support-logo-text {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

/* Responsividad de Sección de Apoyo */
@media (max-width: 968px) {
    .support-section {
        padding: 3rem 1.5rem;
    }

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

    .support-description {
        font-size: 1rem;
    }

    .support-logos {
        gap: 3rem;
    }

    .support-logo {
        max-width: 150px;
        max-height: 100px;
    }
}

@media (max-width: 640px) {
    .support-section {
        padding: 2.5rem 1rem;
    }

    .support-title {
        font-size: 1.75rem;
    }

    .support-description {
        font-size: 0.95rem;
    }

    .support-logos {
        flex-direction: column;
        gap: 2.5rem;
    }

    .support-logo {
        max-width: 180px;
        max-height: 110px;
    }
}

/* Sección de Contacto - Diseño UX Premium */
.contact-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(245, 247, 250, 0.4) 100%), url('../img/fondocontacto.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
}

.contact-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -1px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 2px solid rgba(226, 232, 240, 0.6);
    border-radius: 18px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #7c3aed;
    background-color: #ffffff;
    box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

/* Corrección de Checkbox y Alineación */
.checkbox-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 15px;
    margin: 1rem 0 2rem 0;
    padding: 0;
}

.form-checkbox {
    width: 24px;
    height: 24px;
    margin: 0;
    cursor: pointer;
    accent-color: #7c3aed;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    margin: 0;
}

.btn-submit {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 1.4rem 2rem;
    border-radius: 18px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}

.btn-submit:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
    filter: brightness(1.1);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Pie de Página */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: serif;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 0;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-input:focus {
    outline: none;
    border-bottom-color: #ffffff;
}

.footer-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #ffffff;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}

.footer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c084fc;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-social-icon:hover {
    color: #c084fc;
    transform: translateY(-2px);
}

/* Responsividad de Pie de Página */
@media (max-width: 968px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-social {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 2.5rem 1rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-title {
        font-size: 1.25rem;
    }

    .footer-logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-avatar {
        width: 50px;
        height: 50px;
    }
}
