:root {
    --color-primary: #111827;
    --color-secondary: #1f2937;
    --color-accent: #FF5722;
    --color-text: #F3F4F6;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

html, body {
    background-color: var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

.bg-dark-textured {
    background-color: #111827;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%231f2937' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.textured-light {
    background-color: #1f2937;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23111827' fill-opacity='0.2' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.99-7.5L26 15v18.5l-13 7.5L0 33.5V15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#header {
    background-color: transparent;
}

#header.scrolled {
    background-color: rgba(17, 24, 39, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: white;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 1.25rem 2rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: var(--color-accent);
    color: white;
}

.cta-button-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    border: 2px solid var(--color-accent);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.cta-button-main:hover {
    background-color: transparent;
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.5);
}

.cta-pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 87, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-section .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-title {
    font-family: var(--font-heading);
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.7);
}

.typed-cursor {
    font-size: 5rem;
    color: var(--color-accent);
    animation: typedjsBlink 0.7s infinite;
}

@keyframes typedjsBlink {
    50% { opacity: 0.0; }
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 87, 34, 0.1);
    border-color: var(--color-accent);
}

.transformation-card {
    background-color: var(--color-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.before-after-label {
    text-align: center;
    margin-top: 0.5rem;
    font-family: var(--font-heading);
    color: #9ca3af;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.before-after-label.after {
    color: var(--color-accent);
}

.transformation-name {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

.transformation-result {
    color: var(--color-accent);
    font-weight: 700;
}

.testimonial-slider {
    width: 100%;
    padding-bottom: 50px;
}

.testimonial-card {
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-accent);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: #d1d5db;
    max-width: 600px;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
    font-size: 1.25rem;
}

.testimonial-role {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.swiper-pagination-bullet {
    background: gray !important;
    opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent) !important;
    opacity: 1 !important;
}

.plan-card {
    background-color: var(--color-secondary);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid var(--color-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
}

.plan-card.popular {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.08) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: -45px;
    background-color: var(--color-accent);
    color: white;
    padding: 0.25rem 3rem;
    transform: rotate(45deg);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.plan-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-accent);
    margin: 1rem 0;
}

.plan-period {
    font-size: 1rem;
    color: #9ca3af;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.plan-features li i {
    color: var(--color-accent);
    flex-shrink: 0;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-heading);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background-color: var(--color-accent);
    color: white;
}

.plan-button-popular {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--color-accent);
    background-color: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.plan-button-popular:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.tip-card {
    background: var(--color-secondary);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.tip-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tip-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.75rem;
}

.tip-excerpt {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.tip-read-more {
    color: var(--color-accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-read-more i {
    width: 100%;
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.tip-read-more:hover i {
    transform: translateX(5px);
}

.horario-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-secondary);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    color: white;
}

.faq-item {
    background-color: var(--color-secondary);
    border-radius: 0.5rem;
    border-left: 3px solid var(--color-secondary);
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-left-color: var(--color-accent);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: #d1d5db;
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent);
}

.social-link {
    display: inline-block;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--color-accent);
    transform: scale(1.2);
}

/* Community Section Styles */
.community-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(255, 87, 34, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 87, 34, 0.15);
    border-color: var(--color-accent);
}

.community-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.3) 0%, rgba(255, 87, 34, 0.1) 100%);
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.community-card:hover .community-icon {
    background: linear-gradient(135deg, var(--color-accent), rgba(255, 87, 34, 0.8));
    color: white;
    transform: scale(1.1);
}

.community-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.community-desc {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
}

.iframe-map {
    border: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

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

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

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .grid {
        gap: 1rem;
    }

    .feature-card,
    .plan-card,
    .tip-card,
    .testimonial-card,
    .transformation-card,
    .community-card {
        padding: 1.5rem 1rem;
    }

    .plan-price {
        font-size: 2.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .cta-button-main {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .tip-image {
        height: 150px;
    }

    .horario-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.95rem;
    }

    iframe {
        min-height: 300px;
    }

    .grid.md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid.lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid.lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid.lg\:grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .plan-card.popular {
        transform: scale(1);
    }
}

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

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

    .plan-price {
        font-size: 2rem;
    }

    #header .container {
        flex-wrap: wrap;
    }

    .testimonial-card {
        min-height: initial;
    }

    .community-icon {
        width: 48px;
        height: 48px;
    }

    .community-title {
        font-size: 1.1rem;
    }

    .community-desc {
        font-size: 0.9rem;
    }
}