:root {
    /* Variables de color del sitio principal */
    --primary-orange: #FF6B35;
    --primary-magenta: #E91E63;
    --primary-yellow: #FFC107;
    --dark-bg: #0a0a0a;
    --light-bg: #f8f9fa;
    
    /* Variables adicionales para la página de contacto */
    --primary-color: #FF6B35;
    --secondary-color: #6a7c92;
    --heading-color: #162447;
    --body-color: #637381;
    --light-color: #f3f4fe;
    --dark-color: #090e34;
    --success-color: #3ecf8e;
    --warning-color: #fbb040;
    --error-color: #e74c3c;
    --whatsapp-color: #25d366;

    /* Font variables */
    --body-font: 'Inter', sans-serif;
    --heading-font: 'Inter', sans-serif;

    /* Spacing variables */
    --section-spacing: 100px;
    --element-spacing: 30px;
}

/* Estilos generales para mantener consistencia con el sitio principal */
.section-offset {
    padding-top: 100px;
    padding-bottom: 80px;
    scroll-margin-top: 80px;
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--heading-color);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body-color);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Contact Hero Section */
.contact-hero {
    padding: 120px 0 80px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(255, 107, 53, 0.05);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.contact-hero__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-hero__content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.contact-hero__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.contact-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--body-color);
}

.contact-hero__image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.contact-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Botón CTA consistente con el sitio principal */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-magenta) 100%);
    color: white;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn--full {
    width: 100%;
}

.btn--large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn--secondary {
    background: #ffff;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
}

.btn--secondary:hover {
    background-color: var(--primary-orange);
    color: white;
}

.btn--whatsapp {
    background: var(--whatsapp-color);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    background: #1da851;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Contact Form Section */
.contact-form {
    padding: var(--section-spacing) 0;
    background-color: #fff;
}

.contact-form__wrapper {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

.contact-form__content {
    flex: 1;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    color: var(--body-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
}

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 14px;
}

.form-checkbox a {
    color: var(--primary-orange);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Mensajes del formulario */
.form-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease;
}

.form-message--success {
    background-color: rgba(62, 207, 142, 0.1);
    color: #3ecf8e;
    border: 1px solid rgba(62, 207, 142, 0.3);
}

.form-message--error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.form-message--info {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.form-message.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Info */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info__item {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.contact-info__item:hover {
    transform: translateX(5px);
}

.contact-info__icon {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-info__item:hover .contact-info__icon {
    background-color: var(--primary-orange);
    color: white;
}

.contact-info__content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.contact-info__content p {
    color: var(--body-color);
    margin-bottom: 4px;
}

.social-links {
    margin-top: 20px;
}

.social-links h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--heading-color);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background-color: var(--primary-orange);
    color: #fff;
    transform: translateY(-3px);
}

/* Virtual Meeting Section */
.virtual-meeting-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.virtual-meeting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23FF6B35" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.virtual-meeting-container {
    position: relative;
    z-index: 1;
    margin-top: 50px;
}

.virtual-meeting-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Estilos para la imagen flotante */
.virtual-meeting-image {
    flex: 1;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-image {
    width: 90%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0% {
    transform: translateY(0px);
    }
    50% {
    transform: translateY(-15px);
    }
    100% {
    transform: translateY(0px);
    }
}

.virtual-meeting-cta {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.virtual-meeting-cta h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.virtual-meeting-cta p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body-color);
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--body-color);
}

.benefits-list li i {
    color: var(--success-color);
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.cta-buttons .cta-button {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* NUEVA SECCIÓN FAQ CON TARJETAS */
.faq-section {
    padding: var(--section-spacing) 0;
    background-color: #fff;
}

.faq-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-card {
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}

.faq-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.faq-card:hover .faq-card-inner {
    transform: rotateY(180deg);
}

.faq-card-front, .faq-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.faq-card-front {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.faq-card-back {
    background: white;
    transform: rotateY(180deg);
    border: 1px solid rgba(255, 107, 53, 0.2);
    overflow-y: auto;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-top: 20px;
}

.faq-icon {
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.faq-card-front h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.faq-card-back p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--body-color);
}

/* Animación para las tarjetas FAQ */
@keyframes cardPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
}

.faq-card:hover {
    animation: cardPulse 1s ease-in-out;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-spacing) 0;
    background-color: var(--light-color);
}

.testimonials__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card__content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card__content::before {
    content: '"';
    font-size: 60px;
    color: rgba(255, 107, 53, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
    z-index: 0;
}

.testimonial-card__content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body-color);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 107, 53, 0.1);
}

.testimonial-card__info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--heading-color);
}

.testimonial-card__info p {
    font-size: 14px;
    color: var(--body-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-magenta) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.cta-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: 16px;
}

/* Estilos para el botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes pulse {
    0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mejoras para navegación móvil */
.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-icon.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    padding: 2rem;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-nav.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.1s * var(--item-index, 0));
}

.mobile-nav-links li:nth-child(1) { --item-index: 1; }
.mobile-nav-links li:nth-child(2) { --item-index: 2; }
.mobile-nav-links li:nth-child(3) { --item-index: 3; }
.mobile-nav-links li:nth-child(4) { --item-index: 4; }

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 1rem;
}

.mobile-nav-links a:hover {
    color: var(--primary-orange);
}

/* Contador de caracteres para el textarea */
.character-counter {
    font-size: 12px;
    color: var(--body-color);
    text-align: right;
    margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-hero__title {
    font-size: 40px;
    }

    .contact-form__wrapper {
    flex-direction: column;
    }

    .cta-wrapper {
    flex-direction: column;
    text-align: center;
    }

    .cta-actions {
    flex-direction: column;
    width: 100%;
    }
    
    .section-offset {
    padding-top: 80px;
    padding-bottom: 60px;
    }
    
    .virtual-meeting-wrapper {
    flex-direction: column;
    }
    
    .virtual-meeting-image {
    width: 100%;
    min-height: 300px;
    }
    
    .faq-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-hero__wrapper {
    flex-direction: column;
    }

    .contact-hero__image {
    order: -1;
    max-width: 100%;
    }
    
    .contact-hero__title {
    font-size: 36px;
    }

    .testimonials__wrapper {
    grid-template-columns: 1fr;
    }

    .section-title {
    font-size: 30px;
    }
    
    .social-icons {
    justify-content: center;
    }
    
    .burger-menu {
    display: block;
    }
    
    .nav-links {
    display: none;
    }
    
    .contact-hero {
    padding: 100px 0 60px;
    }
    
    .cta-buttons {
    flex-direction: column;
    }
    
    .faq-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-hero__title {
    font-size: 28px;
    }

    .contact-hero {
    padding: 80px 0 40px;
    }

    .contact-info {
    padding: 30px 20px;
    }

    .cta-title {
    font-size: 28px;
    }
    
    .section-offset {
    padding-top: 70px;
    padding-bottom: 50px;
    }
    
    .section-title {
    font-size: 26px;
    }
    
    .section-subtitle {
    font-size: 16px;
    }
    
    .contact-info__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    }
    
    .social-icons {
    justify-content: center;
    }
    
    .form-group label {
    font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
    padding: 10px 14px;
    font-size: 14px;
    }
    
    .virtual-meeting-cta {
    padding: 30px 20px;
    }
    
    .virtual-meeting-cta h3 {
    font-size: 24px;
    }
    
    .benefits-list li {
    font-size: 14px;
    }
    
    .faq-card {
        height: 220px;
    }
    
    .faq-card-front h3 {
        font-size: 16px;
    }
    
    .faq-card-back p {
        font-size: 14px;
    }
}