/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    /* Colors */
    --bg-dark: #07070a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    
    /* Gradients & Accents: Premium Purple/Blue */
    --primary-color: #7c3aed;
    --secondary-color: #3b82f6;
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --accent-glow: rgba(124, 58, 237, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Structure */
    --nav-height: 80px;
    --container-width: 1200px;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
    color: #fff;
    border: none;
}

.instagram-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.instagram-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
    color: #fff;
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 2px 5px 2px 0; /* padding for the light effect not to cut off */
}

.logo a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: shineRay 4s infinite 1s;
}

@keyframes shineRay {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.logo span {
    color: transparent;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Specific styling for the CTA inside navbar */
.nav-links a.btn-primary {
    color: #fff;
}
.nav-links a.btn-primary:hover {
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 5% 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeUp 1s ease-out forwards;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Background Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
}

.glow-orb-1 {
    width: 40vw;
    height: 40vw;
    background: rgba(124, 58, 237, 0.15);
    top: -10%;
    left: -10%;
}

.glow-orb-2 {
    width: 35vw;
    height: 35vw;
    background: rgba(59, 130, 246, 0.15);
    bottom: -10%;
    right: -10%;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   SERVICIOS SECTION
   ========================================= */
.servicios-section {
    padding: 6rem 5%;
    background: #040406;
    position: relative;
    z-index: 2;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.servicio-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(124, 58, 237, 0.3);
}

.servicio-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--text-main);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.servicio-card h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.servicio-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.servicio-card .btn-primary,
.servicio-card .btn-secondary {
    align-self: flex-start;
    margin-top: auto;
}

/* =========================================
   PLANES / PRICING SECTION
   ========================================= */
.planes-section {
    padding: 6rem 5%;
    position: relative;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(124, 58, 237, 0.3);
}

.popular-plan {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
    z-index: 10;
}

.popular-plan:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4);
}

.plan-header {
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-features .icon {
    color: var(--primary-color);
    font-weight: bold;
}

.btn-plan {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* =========================================
   EQUIPO / TEAM SECTION
   ========================================= */
.equipo-section {
    padding: 6rem 5%;
    background: var(--bg-dark);
    position: relative;
    z-index: 2;
}

.equipo-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.team-lists {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.team-window, .info-window {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.window-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-header h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.window-body {
    padding: 2.5rem 2rem;
}

.window-body p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.05);
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.member-info .member-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modifiers for horizontal profile cards */
.team-grid.vertical-stack {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.team-member.horizontal-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 2rem;
    padding: 2.5rem;
}

.horizontal-card .member-avatar {
    margin: 0;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.horizontal-card .member-info {
    display: flex;
    flex-direction: column;
}

.horizontal-card .member-role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.horizontal-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.horizontal-card .member-mission {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.page-spacing {
    padding-top: calc(var(--nav-height) + 4rem);
    min-height: 100vh;
}


/* =========================================
   FOOTER / CONTACT SECTION
   ========================================= */
.footer-section {
    background: #040406;
    padding: 5rem 5% 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.5rem;
    max-width: 350px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
    color: #fff;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.footer-links ul, .contact-info {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* =========================================
   PLAN DETAILS PAGE
   ========================================= */
.plan-hero {
    text-align: center;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 3rem;
}

.plan-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.plan-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
}

.plan-details {
    padding: 2rem 5% 6rem;
    background: var(--bg-dark);
}

.plan-details-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.detailed-features {
    list-style: none;
    margin-top: 2rem;
}

.detailed-features li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.detailed-features li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.detailed-features .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.detailed-features strong {
    color: var(--text-main);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.plan-media h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.media-hint {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.media-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.media-item:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.video-placeholder {
    grid-column: 1 / -1;
    aspect-ratio: 21/9;
}

.reel-format {
    grid-column: 1 / -1;
    aspect-ratio: 9/16;
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
}

.play-icon {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* =========================================
   TESTIMONIOS / SOCIAL PROOF SECTION
   ========================================= */
.testimonios-section {
    padding: 6rem 5%;
    background: #040406;
    position: relative;
    z-index: 2;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
}

.stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

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

/* =========================================
   CONTACT FORM SECTION
   ========================================= */
.contacto-section {
    padding: 6rem 5%;
    background: var(--bg-dark);
}

.contacto-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contacto-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contacto-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contacto-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.25rem;
    font-size: 1.1rem;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
    will-change: opacity;
}

.fade-up.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(7, 7, 10, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
    }

    .planes-grid {
        gap: 3rem;
    }

    .equipo-container {
        grid-template-columns: 1fr;
    }

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

    .plan-details-container,
    .media-grid,
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .plan-hero h1 {
        font-size: 2.2rem;
    }

    .planes-section,
    .equipo-section,
    .plan-details {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .team-member.horizontal-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }


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

    .popular-plan:hover {
        transform: translateY(-10px);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contacto-container {
        padding: 2rem 1.5rem;
    }
    
    .contacto-header h2 {
        font-size: 2rem;
    }
}
