* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa, #e8eaec);
    color: #334155;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 1rem auto; 
    padding: 1.5rem; 
    display: flex;
    flex-direction: column;
    gap: 2rem; 
}

.page-intro {
    text-align: center;
    margin-bottom: 0.5rem; 
}

.main-title {
    font-size: 2.5rem; 
    margin-bottom: 0.75rem; 
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}

.intro-text {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
}

.contact {
    flex: 1.2;
    min-width: 300px;
}

.right-column {
    flex: 0.8;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.glass-morphism:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.12);
}

.icon-container {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #6366f1;
}

.icon-container i {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(99, 102, 241, 0.3));
}


.contact {
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
}

.contact-header {
    margin-bottom: 2.5rem;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
}

.form-description i {
    color: #6366f1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 1;
}

.input-group:focus-within i {
    color: #6366f1;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.contact input:focus,
.contact textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert ul {
    list-style-type: none;
    padding-left: 1.5rem;
}


.file-input-wrapper {
    width: 100%;
    position: relative;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-button {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-right: 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.2);
}

.file-name {
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    flex: 1;
}

.file-note {
    display: block;
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
}

.file-input:focus + .file-label,
.file-label:hover {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}


.submit-btn {
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.3);
    background: linear-gradient(45deg, #5153cd, #7e50dc);
}

.submit-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}


.maps-section {
    height: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.map-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
}

.map-header i {
    font-size: 1.2rem;
}

.map-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.maps-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    flex: 1;
}

.address-info {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.address-info i {
    color: #6366f1;
}


.contact-info-section {
    margin-top: 1rem;
}

.info-title {
    font-size: 1.5rem;
    color: #334155;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

.contact-info-card {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    position: relative;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.whatsapp-card::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.contact-info-icon {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
}

.whatsapp-card .contact-info-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-info-content {
    z-index: 1;
    flex: 1;
    margin: 0 1rem;
}

.contact-info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    padding: 2.5rem 2rem;
    align-items: center;
    text-align: center;
    border-radius: 24px;
    border: none;
    box-shadow: 0 12px 20px rgba(18, 140, 126, 0.25);
    transition: all 0.4s ease;
}

.whatsapp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(18, 140, 126, 0.35);
}


.whatsapp-card::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.whatsapp-card::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}


.whatsapp-card .contact-info-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: pulse-light 3s infinite;
}

@keyframes pulse-light {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}


.whatsapp-card .contact-info-content {
    z-index: 1;
    margin: 0 auto 1.5rem;
}

.whatsapp-card .contact-info-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.whatsapp-card .contact-info-content p {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.wa-description {
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 85%;
    margin: 0.5rem auto;
}


.wa-button {
    background: white;
    color: #128C7E;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: auto;
    margin: 0 auto;
}

.wa-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    color: #075E54;
}

.wa-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.wa-button:hover::before {
    left: 100%;
}

.wa-button i {
    font-size: 1.3rem;
}

.wa-button i.fa-arrow-right {
    transition: transform 0.3s ease;
}

.wa-button:hover i.fa-arrow-right {
    transform: translateX(5px);
}

.contact-info-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.info-item {
    background: white;
}

.info-item .contact-info-icon {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item .contact-info-content h3 {
    color: #334155;
}

.info-item .contact-info-content p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.contact-action {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}


.faq-section {
    padding: 2rem;
    margin-top: 1rem;
}

.faq-section h3 {
    font-size: 1.5rem;
    color: #334155;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-section h3 i {
    color: #6366f1;
}

.faq-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

.faq-item h4 {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-item h4::before {
    content: "Q:";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 700;
}

.faq-item p {
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.faq-item p::before {
    content: "A:";
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 700;
}


@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 1rem;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .contact,
    .maps-section {
        padding: 1.5rem;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .form-description {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .icon-container {
        font-size: 2.5rem;
    }

    .contact-info-container {
        flex-direction: column;
    }

    .whatsapp-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-info-content {
        margin: 0.5rem 0;
    }

    .contact-info-button {
        width: 100%;
        justify-content: center;
    }

    .faq-content {
        grid-template-columns: 1fr;
    }

    .input-group {
        width: 100%;
        max-width: 100%;
    }
    
    .contact input,
    .contact textarea {
        width: 100%;
        padding: 1rem 1rem 1rem 2.5rem; 
        font-size: 0.95rem; 
    }
    
    .input-group i {
        left: 0.75rem; 
    }
    

    .contact {
        padding: 1.5rem 1rem; 
    }
    

    .file-label {
        flex-wrap: wrap;
    }
    
    .file-button {
        margin-bottom: 0.5rem;
    }
    
    .file-name {
        width: 100%;
        margin-top: 0.5rem;
    }
    

    .whatsapp-card {
        padding: 1.5rem 1rem;
    }
 
    .container {
        padding: 1rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
        max-width: 100%;
        overflow-x: hidden;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
    }
}


@media (max-width: 480px) {
    .contact input,
    .contact textarea {
        padding: 0.9rem 0.9rem 0.9rem 2.2rem;
        font-size: 0.9rem;
    }
    
    .input-group i {
        left: 0.6rem;
        font-size: 1rem;
    }
    
    .file-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    

    .container {
        padding: 0.75rem;
        margin: 0.25rem;
    }
    

    body {
        overflow-x: hidden;
    }
}