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

:root {
    --primary: #572364;
    --primary-dark: #3d1a47;
    --accent: #8b4fa3;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    margin-top: 10px;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px #684292;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-image: url("./logo_maya.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
}


nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 1024px) {
    nav {
        display: flex;
    }
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

nav a:hover {
    color: var(--primary);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px #684292;
    margin-top: 0.5rem;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--primary);
    padding-left: 1.75rem;
}

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

.language-selector {
    display: flex;
    gap: 0.25rem;
    background-color: var(--bg-light);
    padding: 0.25rem;
    border-radius: 8px;
}

.language-selector button {
    padding: 0.5rem 0.75rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.language-selector button.active {
    background-color: var(--primary);
    color: var(--white);
}

.accessibility-btn {
    padding: 0.5rem;
    border: none;
    background-color: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: block;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    cursor: pointer;
}

/* Accessibility Panel */
.accessibility-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background-color: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.accessibility-panel.active {
    transform: translateX(0);
}

.accessibility-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

.accessibility-overlay.active {
    display: block;
}

.panel-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
}

.panel-header h2 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #572364;
}

.panel-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.panel-close:hover {
    opacity: 0.8;
}

.panel-content {
    padding: 1.5rem;
}

.panel-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.panel-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.toggle-label {
    flex: 1;
}

.toggle-label h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #572364;
}

.toggle-label p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.button-group button {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.button-group button.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.button-group button:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.reset-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.reset-btn:hover {
    background-color: var(--border-color);
}

/* Accessibility Modes */
body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.high-contrast * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.yellow-contrast {
    background-color: #000 !important;
    color: #ffff00 !important;
}

body.yellow-contrast * {
    background-color: #000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.no-animations * {
    animation: none !important;
    transition: none !important;
}

body.increased-spacing {
    line-height: 2 !important;
    letter-spacing: 0.1em !important;
}

body.increased-spacing * {
    margin: 1em !important;
    padding: 1em !important;
}

body.visible-focus *:focus {
    outline: 4px solid var(--primary) !important;
    outline-offset: 2px !important;
}

/* Hero Section */
main {
    margin-top: 80px;
}

.hero {
    padding: 3rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    background-image: url('../icons/Fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 3s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 3s ease-in-out infinite 2s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
    color: #572364;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

.hero-availability {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.platform-icons {
    display: flex;
    gap: 0.5rem;
}

.platform-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 0.75rem;
}

.icon-ios {
    background-color: #000;
}

.icon-android {
    background-color: var(--primary);
}

.hero-image {
    position: relative;
    animation: slideInRight 0.6s ease-out;
    display: flex;
    justify-content: center;
}

/* Phone Mockup Styles */
.phone-mockup {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
    .phone-mockup {
        max-width: 280px;
    }
}

/* Video Showcase Section */
.video-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.video-box {
    flex: 2;
}

.video-info {
    flex: 1.2;
    background: linear-gradient(135deg, #fff 0%, #f1ecf7 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(87, 35, 100, 0.12);
    border: 1px solid rgba(87, 35, 100, 0.1);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.video-info h3 {
    color: #572364;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.video-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-info ul li {
    margin-bottom: 0.8rem;
    color: #444;
    padding-left: 1.2rem;
    position: relative;
}

.video-info ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #572364;
    font-size: 1.2rem;
}

.video-cta {
    display: inline-block;
    margin-top: 1.8rem;
    padding: 0.8rem 1.5rem;
    background: #572364;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.video-cta:hover {
    background: #3d1a47;
}

/* Responsive */
@media (max-width: 992px) {
    .video-layout {
        flex-direction: column;
    }
}

.video-container {
    position: relative;
    width: 100%;
    /* 16:9 aspect ratio */
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(87, 35, 100, 0.2), 0 0 1px rgba(87, 35, 100, 0.1);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    border: 1px solid rgba(87, 35, 100, 0.15);
    background: linear-gradient(135deg, #f8f5fb 0%, #f5f2fa 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(87, 35, 100, 0.25), 0 0 1px rgba(87, 35, 100, 0.1);
}

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

@media (max-width: 768px) {
    .video-showcase {
        padding: 3rem 0;
    }

    .video-showcase::before {
        width: 300px;
        height: 300px;
    }

    .video-showcase::after {
        width: 250px;
        height: 250px;
    }

    .video-container {
        border-radius: 16px;
    }

    .video-container iframe {
        border-radius: 14px;
    }

    .video-showcase .section-header h2 {
        font-size: 2rem;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #572364;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #f7f7f7 0%, var(--white) 100%);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #572364;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #572364 #f5f5f5;
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: #572364;
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: #3d1a47;
}

@media (min-width: 768px) {
    .gallery-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        gap: 2rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
    flex: 0 0 calc(100% - 1rem);
    min-width: calc(100% - 1rem);
}

@media (min-width: 768px) {
    .gallery-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .gallery-item {
        flex: 0 0 calc(33.333% - 1.333rem);
        min-width: calc(33.333% - 1.333rem);
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #572364;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #572364;
    background: #ffffff;
    color: #572364;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: #572364;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(87, 35, 100, 0.3);
}

.gallery-btn:active {
    transform: scale(0.95);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--white);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: rgba(0, 168, 232, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.testimonials-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #572364 #f5f5f5;
}

.testimonials-grid::-webkit-scrollbar {
    height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: #572364;
    border-radius: 10px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
    background: #3d1a47;
}

.testimonials-grid.slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.testimonials-grid .testimonial-card {
    flex: 0 0 calc(100% - 1rem);
    min-width: calc(100% - 1rem);
}

@media (min-width: 768px) {
    .testimonials-grid {
        gap: 1.5rem;
    }

    .testimonials-grid .testimonial-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid .testimonial-card {
        flex: 0 0 calc(33.333% - 1.333rem);
        min-width: calc(33.333% - 1.333rem);
    }
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #ffc107;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    font-size: 2rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #572364;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease-out;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer ul {
    list-style: disc;
    /* O el estilo que prefieras */
    margin: 0 1.5rem 1.5rem;
    /* Margen para centrar la lista */
    padding-left: 1.5rem;
    /* Separación desde la izquierda */
}

.faq-answer ul li {
    padding-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button.hidden {
    display: none;
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 2rem);
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    max-height: 600px;
    animation: slideInRight 0.3s ease-out;
}

.chat-container.hidden {
    display: none;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #572364;
}

.chat-header-controls {
    display: flex;
    gap: 0.5rem;
}

.chat-header button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.chat-header button:hover {
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.quick-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1.5rem;
    margin-top: 1rem;
}

.quick-option-btn {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-option-btn:hover {
    background-color: rgba(87, 35, 100, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}


/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
}

.footer-divider {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}


.alert-spinner {
    /* Estas dos líneas arreglan el eje de rotación: */
    transform-box: fill-box;
    /* Le dice que calcule el tamaño basado en el elemento mismo */
    transform-origin: center;
    /* Pone el eje en el centro exacto de ese elemento */
}

/* La clase que activa el giro (igual que antes) */
.alert-spinner.spinning {
    animation: spin 3s linear forwards;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Estilos de la notificación (igual que tenías) */
#msgNotification {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
    pointer-events: none;
    /* Para que no estorbe si está invisible */
}

#msgNotification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes slideInNotif {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}