/* =========================================
   SYNTEXIA - DISEÑO ELEGANTE Y MODERNO
   ========================================= */

/* ✨ VARIABLES Y RESET */
:root {
    /* Paleta de Colores Profesional Premium */
    --bg-dark: #070b0f;
    --bg-secondary: #0f1519;
    --primary: #0099ff;
    --primary-light: #33b0ff;
    --secondary: #1a1f2e;
    --secondary-light: #2a3142;
    --accent: #00d9ff;
    
    /* Glows y Transparencias */
    --glow-primary: rgba(0, 153, 255, 0.08);
    --glow-secondary: rgba(0, 217, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-lighter: rgba(255, 255, 255, 0.02);
    
    /* Colores Premium */
    --gold: #B8860B;
    --gold-light: #C9A04D;
    
    /* Texto */
    --text-primary: #ffffff;
    --text-secondary: #a0aac0;
    --text-tertiary: #7a8294;
    
    /* Tipografía */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    
    /* Espaciado y Animaciones */
    --ease-smooth: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s var(--ease-out);
}

/* Reset Global */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* ===== FONDOS ANIMADOS ===== */
.glow-bg {
    position: fixed;
    top: -40%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -2;
    animation: float 20s ease-in-out infinite;
}

.glow-bg-accent {
    position: fixed;
    bottom: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -2;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

/* ===== UTILIDADES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 255, 217, 0.08);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideDown 0.8s var(--ease-out);
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 153, 255, 0.15);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 153, 255, 0.05);
}

.header__navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-display);
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 0.4rem;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link:hover::after {
    width: 100%;
}

.btn--sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-dark);
    border: 1px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 255, 217, 0.25), inset 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn--ghost {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 255, 217, 0.05);
}

.btn--lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    border-radius: 12px;
}

.btn--sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn--link {
    background: transparent;
    color: var(--primary);
    padding: 0;
    border: none;
}

.btn--link:hover {
    transform: translateX(5px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 2rem;
    align-items: center;
}

.hero__content {
    z-index: 10;
}

.hero__title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    animation: slideDown 0.8s var(--ease-out) 0.1s both;
    white-space: normal;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: slideDown 0.8s var(--ease-out) 0.2s both;
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
    animation: slideDown 0.8s var(--ease-out) 0.3s both;
}

.hero__visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-elements {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/images/panel2.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-element {
    display: none;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.08) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

/* ===== SECCIONES ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section--alt {
    background: rgba(99, 102, 241, 0.03);
    border-top: 1px solid var(--border-lighter);
    border-bottom: 1px solid var(--border-lighter);
}

.section--services {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 217, 0.03) 100%);
}

.section--benefits {
    background: rgba(217, 70, 239, 0.02);
}

.section--cta {
    padding: 100px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 5rem;
}

.section__header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.section__header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.team-grid {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== SERVICIOS CON VISUAL ===== */
.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.ai-badge {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid #B8860B;
    border-radius: 50px;
    color: #B8860B;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-illustration {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-svg {
    width: 320px;
    height: 400px;
    filter: drop-shadow(0 0 30px rgba(0, 153, 255, 0.2));
    animation: float-ai 6s ease-in-out infinite;
}

@keyframes float-ai {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== TARJETAS DE SERVICIOS ===== */
.service-card {
    padding: 2.5rem;
    border-radius: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 153, 255, 0.1);
    background: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    border-color: var(--primary);
    background: rgba(0, 153, 255, 0.04);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-family: var(--font-display);
    opacity: 0.8;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-lighter);
}

.service-features li {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    padding-left: 0;
}

.service-features li:before {
    content: '◦ ';
    color: var(--gold);
    font-weight: 700;
    margin-right: 0.6rem;
}

/* ===== BANNER PRÓXIMAS APLICACIONES ===== */
.coming-soon-banner {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.04) 0%, rgba(0, 217, 255, 0.02) 100%);
    border: none;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.coming-soon-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    opacity: 0.6;
}

.coming-soon-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.coming-soon-divider {
    display: none;
}

.coming-soon-banner h3 {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.coming-soon-banner p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.coming-soon-cta {
    color: var(--gold) !important;
    font-weight: 600;
    font-size: 1.05rem !important;
}

/* ===== TARJETAS DE PROYECTOS ===== */
.project-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    visibility: visible;
    opacity: 1;
}

.project-card.featured {
    border: 2px solid var(--primary);
    background: rgba(0, 153, 255, 0.05);
}

.project-card.featured:hover {
    background: rgba(0, 153, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.project-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.project-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(0, 153, 255, 0.15);
    color: var(--primary);
    font-family: var(--font-display);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.project-tag:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.project-tag.agora {
    background: rgba(0, 153, 255, 0.15);
    color: #0099ff;
}

.project-tag.billing {
    background: rgba(0, 166, 100, 0.15);
    color: #00a664;
}

.project-tag.lucy {
    background: rgba(180, 100, 200, 0.15);
    color: #d684d0;
}

.project-tag.elys {
    background: rgba(255, 130, 0, 0.15);
    color: #ff8200;
}

.project-tag.fintech {
    background: rgba(0, 255, 217, 0.15);
    color: var(--accent);
}

.project-tag.retail {
    background: rgba(217, 70, 239, 0.15);
    color: #d946ef;
}

.project-tag.ecom {
    background: rgba(99, 102, 241, 0.15);
    color: var(--secondary-light);
}

.project-tag.healthcare {
    background: rgba(72, 187, 120, 0.15);
    color: #48bb78;
}

.project-status {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(0, 153, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 6px;
}

.project-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    flex-grow: 1;
    line-height: 1.8;
}

.project-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-lighter);
}

.project-video-container {
    width: 100%;
    height: 340px;
    aspect-ratio: 16 / 9;
    background: rgba(0, 153, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1.5rem 0;
    border: 1px solid var(--border-light);
}

.video-placeholder {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.project-features {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-lighter);
}

.project-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.project-features li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: 0;
}

.project-features li:before {
    content: '';
    display: none;
}

.feature-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: rgba(0, 153, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    margin-bottom: 0.8rem;
}

.feature-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== PANEL EXPANDIBLE DE FUNDADORAS ===== */
.team-founders-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 0;
}

.team-founders-panel.active {
    max-height: 600px;
    opacity: 1;
    margin-top: 4rem;
}

.team-founders-panel h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary);
    font-family: var(--font-display);
}

.founders-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    border: 3px solid var(--primary);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.08) 0%, rgba(0, 217, 255, 0.04) 100%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    color: inherit;
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.founder-card:nth-child(1) {
    animation-delay: 0.1s;
}

.founder-card:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.founder-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.18) 0%, rgba(0, 217, 255, 0.1) 100%);
    box-shadow: 0 20px 50px rgba(0, 153, 255, 0.25);
}

.founder-card__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    overflow: hidden;
    transition: all 0.3s;
}

.founder-card:hover .founder-card__avatar {
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 153, 255, 0.4);
}

.founder-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-card__info {
    text-align: center;
}

.founder-card__info h4 {
    font-size: 1.6rem;
    font-family: var(--font-display);
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.founder-card__info p {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

/* ===== PANEL DE SELECCIÓN DE FUNDADORAS (DEPRECATED) ===== */
.team-selection-panel {
    margin-bottom: 5rem;
    text-align: center;
}

.team-selection-panel h3 {
    font-size: 2rem;
    font-family: var(--font-display);
    margin-bottom: 2.5rem;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-tabs {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.founder-tab {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border: 2px solid var(--primary);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.05) 0%, rgba(0, 217, 255, 0.02) 100%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 220px;
}

.founder-tab:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.2);
}

.founder-tab__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.founder-tab:hover .founder-tab__avatar {
    transform: scale(1.1);
    border-color: var(--accent);
}

.founder-tab__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-tab__content {
    text-align: left;
}

.founder-tab__content h4 {
    font-size: 1.2rem;
    font-family: var(--font-display);
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.founder-tab__content p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== TARJETAS DE EQUIPO ===== */
.team-card {
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card__image {
    margin-bottom: 2rem;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    color: var(--bg-dark);
}

.avatar-1 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.avatar-2 {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary-light) 100%);
}

/* ===== TEAM SECTION - ELEGANTE Y PROFESIONAL ===== */
.section--team {
    position: relative;
}

/* TEAM HERO SECTION - Mejorada */
.team-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.team-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 153, 255, 0.2);
}

.team-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-hero:hover .team-hero-image {
    transform: scale(1.05);
}

.team-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
    z-index: 1;
}

.team-hero-content {
    padding: 3.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(15, 33, 70, 0.8) 100%);
    border: 1px solid rgba(0, 153, 255, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 153, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gold);
    border-radius: 50px;
    width: fit-content;
}

.team-hero-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.team-hero-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-hero-content strong {
    color: var(--primary);
    font-weight: 700;
}

.text-accent {
    color: #00d9ff;
    font-weight: 600;
}

/* PANEL EXPANDIBLE DE FUNDADORAS */
.team-founders-panel {
    display: none;
}

/* TARJETAS INDIVIDUALES - EXPANDIBLE */
.team-founders-cards {
    margin: 5rem 0 4rem 0;
    padding-top: 3rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-founders-cards.active {
    max-height: 1000px;
    opacity: 1;
    border-top: 1px solid rgba(0, 153, 255, 0.2);
}

.team-founders-panel h3 {
    display: none;
}

.founders-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 153, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.founder-card:hover {
    background: rgba(0, 153, 255, 0.1);
    border-color: var(--primary);
    transform: translateX(3px);
}

.founder-card__avatar {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.founder-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    letter-spacing: 1px;
}

.founder-card__info {
    flex: 1;
    text-align: left;
}

.founder-card__info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.founder-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.founder-speciality {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.founder-arrow {
    color: var(--primary);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* TARJETAS INDIVIDUALES - PREMIUM */
.team-founders-section {
    margin-top: 5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-out, opacity 0.6s ease-out;
}

.team-founders-section.active {
    max-height: 1200px;
    opacity: 1;
}

.team-grid {
    gap: 3rem;
}

.team-card--premium {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.7) 0%, rgba(15, 33, 70, 0.7) 100%);
    border: 1px solid rgba(0, 153, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    aspect-ratio: auto;
}

.team-card--premium:hover {
    border-color: rgba(0, 153, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 153, 255, 0.2);
    transform: translateY(-8px);
}

.team-card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    text-transform: uppercase;
}

.team-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card--premium:hover .team-avatar {
    transform: scale(1.08);
}

.team-card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card--premium:hover .team-card-border {
    opacity: 1;
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
    z-index: 1;
}

.team-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-card__role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-card__bio {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 0.95rem;
    flex: 1;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.specialty-tag {
    display: inline-block;
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 153, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-dark);
    border-color: transparent;
}

/* Responsive Team Section */
@media (max-width: 1024px) {
    .team-hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-hero {
        aspect-ratio: 9 / 11;
        min-height: 380px;
    }
    
    .team-hero-content {
        padding: 2.5rem;
    }
    
    .team-hero-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .team-hero-section {
        margin-bottom: 3rem;
    }
    
    .team-hero {
        aspect-ratio: 9 / 10;
        min-height: 450px;
    }
    
    .team-hero-content {
        padding: 2rem;
    }
    
    .team-hero-content h3 {
        font-size: 1.5rem;
    }
    
    .team-founders-panel {
        padding: 2rem;
    }

    .team-founders-panel.active {
        max-height: 2000px;
    }

    .team-founders-cards.active {
        max-height: 1800px;
    }
    
    .founders-content {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-founders-section.active {
        max-height: 2200px;
    }
    
    .team-card--premium {
        aspect-ratio: auto;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border: none;
    padding: 0;
}

.modal-content {
    background: linear-gradient(135deg, rgba(7, 11, 15, 0.95) 0%, rgba(0, 51, 102, 0.3) 100%);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 153, 255, 0.3);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 153, 255, 0.2);
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.6rem;
}

.modal-close {
    color: #a0aac0;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    margin-bottom: 1.5rem;
    color: #a0aac0;
    line-height: 1.6;
}

.modal-body p {
    margin: 0.5rem 0;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Líneas divisoras de secciones */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 5rem 0;
    opacity: 0.4;
}

/* ===== NOTIFICACIONES ===== */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 400px;
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(20, 184, 166, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.notification--error {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(153, 27, 27, 0.95));
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.notification-icon {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 30px;
}

.notification-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .team-founders-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .team-grid {
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .founder-tabs {
        flex-direction: column;
        gap: 1rem;
    }

    .founder-tab {
        min-width: unset;
    }

    .team-selector-content {
        padding: 2rem;
        width: 95%;
    }

    .team-selector-content h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .team-selector-content .founder-tabs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-selector-content .founder-tab {
        padding: 1.5rem;
    }

    .team-selector-content .founder-tab__avatar {
        width: 80px;
        height: 80px;
    }

    .team-selector-content .founder-tab__content h4 {
        font-size: 1.2rem;
    }

    .team-founders-panel h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .founders-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .founder-card {
        padding: 1.5rem;
        flex-direction: row;
        justify-content: center;
    }

    .founder-card__avatar {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .founder-card__info h4 {
        font-size: 1.4rem;
    }

    .founder-card__info p {
        font-size: 1rem;
    }

    .team-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-hero-content {
        padding: 1.5rem;
    }

    .team-hero-content h3 {
        font-size: 1.4rem;
    }
}

.social-link {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 255, 217, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ===== BENEFICIOS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-box {
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-box:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    background: rgba(0, 153, 255, 0.08);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(0, 153, 255, 0.08);
    border: 1.5px solid rgba(0, 153, 255, 0.15);
    border-radius: 14px;
    color: var(--accent);
    transition: var(--transition);
    line-height: 1;
}

.benefit-box:hover .benefit-icon {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.benefit-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
}

.benefit-box p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== TARJETAS ANTES/DESPUÉS ===== */
/* ===== CARDS DE GANANCIAS MINIMALISTA ===== */
.gains-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gain-card {
    padding: 2rem;
    border: 1px solid rgba(0, 153, 255, 0.15);
    border-radius: 16px;
    transition: all var(--transition);
    background: transparent;
}

.gain-card:hover {
    border-color: var(--primary);
    background: rgba(0, 153, 255, 0.05);
    transform: translateY(-4px);
}

.gain-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary);
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gain-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gain-before,
.gain-after {
    flex: 1;
}

.gain-divider {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    text-align: center;
}

.gain-item {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gain-item:last-child {
    border-bottom: none;
}

/* ===== SUSANA SECTION - ARCHITECTURE STYLING ===== */

/* STACK MODULES */
.technical-stack {
    margin: 4rem 0;
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.03) 0%, rgba(0, 217, 255, 0.03) 100%);
    border: 1px solid rgba(0, 153, 255, 0.15);
}

.technical-stack h3 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stack-module {
    padding: 2rem;
    border: 2px solid rgba(0, 153, 255, 0.3);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(15, 33, 70, 0.6) 100%);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.stack-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.stack-module:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 153, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stack-module:hover::before {
    left: 100%;
}

.stack-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.stack-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.stack-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.stack-langs span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.stack-module:hover .stack-langs span {
    background: rgba(0, 217, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

/* FLOW DIAGRAM */
.systems-architecture {
    margin: 4rem 0;
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.03) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(184, 134, 11, 0.15);
}

.systems-architecture h3 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem;
    border: 2px solid rgba(184, 134, 11, 0.3);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(20, 40, 60, 0.6) 100%);
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 150px;
    padding: 1.5rem;
    border: 2px solid rgba(184, 134, 11, 0.3);
    border-radius: 12px;
    background: rgba(10, 14, 39, 0.9);
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
}

.flow-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.flow-step:hover::before {
    opacity: 1;
}

.flow-step:hover {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(184, 134, 11, 0.2);
}

.flow-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
    position: relative;
    z-index: 1;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.flow-arrow {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
    animation: pulse-flow 2s ease-in-out infinite;
}

@keyframes pulse-flow {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(3px);
        opacity: 1;
    }
}

/* DEMO INTERACTIVA FLUJO */
.architecture-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.flow-demo-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.flow-demo-controls .btn {
    font-size: 0.95rem;
    padding: 0.8rem 1.8rem;
}

/* Animaciones de demostración */
@keyframes stepActive {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.6);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(184, 134, 11, 0), 0 15px 40px rgba(184, 134, 11, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0);
    }
}

@keyframes pulse-active {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes glow-highlight {
    0% {
        border-color: rgba(184, 134, 11, 0.3);
        background: rgba(10, 14, 39, 0.9);
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0);
    }
    50% {
        border-color: var(--gold);
        background: rgba(184, 134, 11, 0.4);
        box-shadow: 0 0 30px 10px rgba(184, 134, 11, 0.6), inset 0 0 20px rgba(184, 134, 11, 0.3);
        transform: scale(1.08);
    }
    100% {
        border-color: rgba(184, 134, 11, 0.3);
        background: rgba(10, 14, 39, 0.9);
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0);
        transform: scale(1);
    }
}

.flow-step.active {
    border: 3px solid #FFD700 !important;
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #0a0e27 !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    box-shadow: 0 0 50px 20px rgba(255, 215, 0, 0.9), inset 0 0 20px rgba(255, 215, 0, 0.5) !important;
    transform: scale(1.2) !important;
    animation: none !important;
}

.flow-step.demo-complete {
    border: 3px solid #00ff88 !important;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.8) 0%, rgba(0, 255, 136, 0.4) 100%) !important;
    color: #00ff88 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 45px rgba(0, 255, 136, 0.8) !important;
}

/* TECH PROJECTS */
.projects-section {
    margin: 4rem 0;
}

.projects-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #00ff88, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-project {
    padding: 2.5rem;
    border-left: 4px solid #00ff88;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 217, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.tech-project::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: right 0.6s ease;
    pointer-events: none;
}

.tech-project:hover {
    border-color: #00ff88;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.tech-project:hover::before {
    right: 100%;
}

.tech-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #00ff88, #00d9ff);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.projects-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
}

.tech-spec {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.projects-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* TECHNICAL STANDARDS */
.technical-standards {
    margin: 4rem 0;
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(184, 134, 11, 0.03) 100%);
    border: 1px solid rgba(184, 134, 11, 0.15);
}

.technical-standards h3 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.standard-item {
    padding: 2rem;
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 12px;
    background: rgba(10, 14, 39, 0.7);
    transition: all 0.4s var(--ease-smooth);
}

.standard-item:hover {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(184, 134, 11, 0.15);
}

.standard-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.standard-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* CAREER TIMELINE */
.career-timeline {
    margin: 4rem 0;
}

.career-timeline h3 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--gold));
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4.2rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 3px var(--primary), 0 0 15px rgba(0, 153, 255, 0.5);
}

.timeline-content {
    padding: 1.8rem;
    border-left: 2px solid rgba(0, 153, 255, 0.3);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.05) 0%, rgba(0, 217, 255, 0.03) 100%);
    transition: all 0.4s var(--ease-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.1) 0%, rgba(0, 217, 255, 0.08) 100%);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.15);
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.timeline-content p:first-of-type {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-diagram {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .stack-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-list {
        grid-template-columns: 1fr;
    }
    
    .flow-diagram {
        padding: 1.5rem;
    }
}

.gain-before .gain-item {
    color: #ffffff;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 0.8rem;
}

.gain-after .gain-item {
    color: #C9A04D;
    border-left: 3px solid #C9A04D;
    padding-left: 0.8rem;
}

/* ===== FORMULARIO CTA ===== */
.section--cta {
    position: relative;
    overflow: hidden;
}

.cta-section {
    max-width: 900px;
    margin: 0 auto;
}

.cta-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cta-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.cta-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.cta-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.05) 0%, rgba(0, 217, 255, 0.02) 100%);
    border: 1px solid var(--border-lighter);
    border-radius: 24px;
    padding: 3rem;
    overflow: hidden;
}

.cta-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.3;
}

.cta-decor-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-decor-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.cta-form {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid var(--border-lighter);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 153, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

.form-group--full {
    grid-column: 1 / -1;
}

.cta-form .btn {
    width: fit-content;
    margin-top: 1rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-header h2 {
        font-size: 2rem;
    }

    .cta-wrapper {
        padding: 2rem;
    }

    .cta-decor {
        display: none;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.98) 0%, rgba(5, 8, 25, 0.99) 100%);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    opacity: 0.6;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(0, 153, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer__divider {
    margin-bottom: 2.5rem;
}

.footer__content {
    margin-bottom: 3rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
}

.footer__col--main {
    gap: 1.5rem;
}

.footer__logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.footer__col p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer__cta {
    margin-top: auto;
    padding-top: 1rem;
}

.footer__col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-display);
}

.footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer__col ul li {
    margin: 0;
}

.footer__col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: fit-content;
    position: relative;
}

.footer__col a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.footer__col a:hover {
    color: var(--primary);
}

.footer__col a:hover::before {
    width: 100%;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 153, 255, 0.08);
    border: 1.5px solid rgba(0, 153, 255, 0.2);
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-dark);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 153, 255, 0.25);
}

.footer__bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 153, 255, 0.1);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer__separator {
    margin: 0 0.6rem;
    opacity: 0.5;
}

.footer__bottom a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__bottom a:hover {
    text-decoration: underline;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__col--main {
        border-bottom: 1px solid var(--border-lighter);
        padding-bottom: 2rem;
    }

    .footer__bottom {
        padding-top: 2rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__visual {
        display: none;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .nav__list {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .section__header h2 {
        font-size: 2rem;
    }
    
    .grid--3,
    .grid--2 {
        grid-template-columns: 1fr;
    }
    
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-visual {
        min-height: 300px;
    }

    .ai-svg {
        width: 250px;
        height: 300px;
    }

    .section {
        padding: 50px 0;
    }

    .cta-card {
        padding: 2rem !important;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .gains-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gain-comparison {
        flex-direction: column;
        gap: 0.8rem;
    }

    .coming-soon-banner {
        padding: 2rem;
        margin-top: 2rem;
    }

    .coming-soon-banner h3 {
        font-size: 1.5rem;
    }

    .coming-soon-divider::before,
    .coming-soon-divider::after {
        font-size: 0.9rem;
        top: -0.5rem;
    }

    .gain-divider {
        transform: rotate(90deg);
        min-height: 20px;
    }
    .section__header h2 {
        font-size: 1.6rem;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(15, 20, 50, 0.98) 100%);
    border-top: 1px solid var(--border-lighter);
    backdrop-filter: blur(12px);
    z-index: 999;
    padding: 1.5rem;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner.hide {
    animation: slideOutDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn--accept {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-dark);
    border: 1px solid var(--primary);
}

.cookie-btn--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.3);
}

.cookie-btn--decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-lighter);
}

.cookie-btn--decline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* ===== READY TO WORK SECTION ===== */
.section--ready {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.ready-wrapper {
    position: relative;
    padding: 4rem;
    border: 1px solid rgba(0, 153, 255, 0.2);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.7) 0%, rgba(15, 33, 70, 0.7) 100%);
    backdrop-filter: blur(15px);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 153, 255, 0.1);
}

.ready-content {
    position: relative;
    z-index: 2;
}

.ready-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.ready-title .text-gradient {
    background: linear-gradient(135deg, #0099ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ready-subtitle {
    font-size: 1.2rem;
    color: #a0aac0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ready-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.ready-actions .btn {
    min-width: 200px;
}

.ready-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.ready-glow {
    position: absolute;
    opacity: 0.3;
    filter: blur(60px);
}

.ready-glow-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0099ff, transparent);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.ready-glow-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #B8860B, transparent);
    bottom: -80px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

/* Responsive para Ready Section */
@media (max-width: 768px) {
    .section--ready {
        padding: 4rem 0;
    }
    
    .ready-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .ready-title {
        font-size: 2rem;
    }
    
    .ready-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .ready-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .ready-actions .btn {
        width: 100%;
    }
    
    .ready-glow-1,
    .ready-glow-2 {
        display: none;
    }
}

/* ===== HAMBURGER MENU & LANGUAGE SELECTOR ===== */

/* Header Controls */
.header__controls {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

/* Language Selector */
.language-selector {
    display: none;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 153, 255, 0.3);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #0a0e27;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
    width: 30px;
}

.hamburger span {
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Mobile Navigation Menu */
@media (max-width: 768px) {
    .header__controls {
        display: flex;
    }

    .language-selector {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .header__navbar {
        position: relative;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(10, 14, 39, 0.98) 0%, rgba(20, 30, 60, 0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 153, 255, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: 99;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem 0;
    }

    .nav__list li {
        width: 100%;
    }

    .nav__list li a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(0, 153, 255, 0.05);
    }

    .nav__link::after {
        display: none;
    }

    .nav__link:hover {
        background: rgba(0, 153, 255, 0.1);
        color: var(--primary);
    }

    .lang-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Tablet Navigation */
@media (max-width: 1024px) and (min-width: 769px) {
    .header__controls {
        display: flex;
    }

    .language-selector {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .nav {
        flex: 1;
    }

    .nav__list {
        gap: 1.5rem;
    }
}

/* ===== HERO RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px 0;
        background: linear-gradient(135deg, rgba(7, 11, 15, 1) 0%, rgba(10, 20, 40, 0.95) 50%, rgba(15, 30, 60, 0.9) 100%);
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 20% 50%, rgba(0, 153, 255, 0.15) 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 80%, rgba(0, 217, 255, 0.12) 0%, transparent 50%),
                    radial-gradient(ellipse at 50% 0%, rgba(184, 134, 11, 0.08) 0%, transparent 40%);
        pointer-events: none;
        z-index: 1;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        position: relative;
        z-index: 2;
    }

    .hero__content {
        order: 2;
    }

    .hero__title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero__subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: rgba(200, 210, 230, 0.85);
    }

    .hero__actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero__visual {
        height: 300px;
        order: 1;
    }

    .hero-visual-elements {
        background-image: linear-gradient(135deg, rgba(0, 153, 255, 0.2) 0%, rgba(0, 217, 255, 0.15) 100%);
        background-size: cover;
        border-radius: 16px;
        border: 1px solid rgba(0, 153, 255, 0.2);
    }

    .badge {
        font-size: 0.9rem;
    }
}

/* ===== HERO TABLET ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        padding: 80px 0;
    }

    .hero .container {
        grid-template-columns: 1fr 1.2fr;
        gap: 2.5rem;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__visual {
        height: 400px;
    }
}
/* ============================================================
   BE DJ SCHOOL — CHATBOT ELEGANTE
   Paleta: Negro profundo · Cyan (#00D4FF) · Blanco
   Instrucciones: añade este archivo con un <link> DESPUÉS de
   style.css, o pega el contenido al final de style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cb-cyan:        #00D4FF;
  --cb-cyan-dim:    rgba(0, 212, 255, 0.12);
  --cb-cyan-mid:    rgba(0, 212, 255, 0.35);
  --cb-bg:          #0b0d10;
  --cb-surface:     #111418;
  --cb-surface2:    #181c22;
  --cb-border:      rgba(0, 212, 255, 0.18);
  --cb-border-soft: rgba(255,255,255,0.06);
  --cb-text:        #EEF2F5;
  --cb-muted:       #6B7A8A;
  --cb-radius:      20px;
  --cb-font:        'DM Sans', sans-serif;
  --cb-display:     'Bebas Neue', sans-serif;
}

/* ── Botón flotante ─────────────────────────────────────────── */
.chatbot-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: var(--cb-font);
}

.chatbot-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cb-bg);
  border: 1.5px solid var(--cb-cyan);
  color: var(--cb-cyan);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.chatbot-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(0,212,255,0.4), 0 10px 30px rgba(0,0,0,0.6);
}

/* Anillo de pulso */
.chatbot-button::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.45);
  animation: cb-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes cb-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0;   }
  100% { transform: scale(1.5); opacity: 0;   }
}

/* ── Ventana del chat ────────────────────────────────────────── */
.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 355px;
  max-height: 530px;
  background: var(--cb-bg);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.07),
    0 28px 64px rgba(0,0,0,0.75);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  position: absolute;
}

.chatbot-window.active {
  display: flex;
  animation: cb-open 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cb-open {
  from { opacity: 0; transform: scale(0.88) translateY(14px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* Barra decorativa superior (línea cyan) */
.chatbot-window::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cb-cyan), transparent);
  border-radius: 0 0 4px 4px;
  z-index: 1;
}

/* ── Header ──────────────────────────────────────────────────── */
.chatbot-header {
  padding: 16px 18px 13px;
  background: var(--cb-surface);
  border-bottom: 1px solid var(--cb-border);
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  position: relative;
}

/* Indicador online (verde) */
.chatbot-header::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DEB81;
  box-shadow: 0 0 8px rgba(61,235,129,0.7);
}

.chatbot-header h3 {
  font-family: var(--cb-display);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--cb-cyan);
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
}

/* Subtítulo dentro del header (si lo tienes) */
.chatbot-header p,
.chatbot-header small {
  font-size: 11px;
  color: var(--cb-muted);
  margin: 2px 0 0;
  letter-spacing: 0.3px;
}

/* ── Área de mensajes ────────────────────────────────────────── */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar { width: 3px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(0,212,255,0.22);
  border-radius: 3px;
}

/* ── Burbujas ─────────────────────────────────────────────────── */
.message {
  display: flex;
  max-width: 88%;
  animation: cb-msg 0.2s ease both;
}

@keyframes cb-msg {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0);   }
}

.message.bot  { align-self: flex-start; }
.message.user { align-self: flex-end; flex-direction: row-reverse; }

.message-text {
  font-size: 13.5px;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 16px;
  word-wrap: break-word;
  color: var(--cb-text);
}

/* Bot: fondo oscuro con borde sutil */
.message.bot .message-text {
  background: var(--cb-surface2);
  border: 1px solid var(--cb-border-soft);
  border-bottom-left-radius: 4px;
}

/* User: relleno cyan */
.message.user .message-text {
  background: var(--cb-cyan);
  color: #050709;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

/* ── Indicador "escribiendo" ──────────────────────────────────── */
.typing-indicator {
  font-size: 12px;
  color: var(--cb-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}

.typing-dots {
  letter-spacing: 2px;
  animation: cb-blink 1.3s step-end infinite;
}

@keyframes cb-blink {
  0%, 100% { opacity: 1;   }
  50%       { opacity: 0.2; }
}

/* ── Área de entrada ──────────────────────────────────────────── */
.chatbot-input-container {
  padding: 10px 12px 13px;
  background: var(--cb-surface);
  border-top: 1px solid var(--cb-border);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

/* Botones de acción rápida (Información / Agendar) */
.chatbot-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.chatbot-btn {
  background: var(--cb-surface2);
  border: 1px solid var(--cb-border);
  color: var(--cb-cyan);
  font-family: var(--cb-font);
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, transform 0.12s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

/* ======================================= */
/* CHATBOT — ESTÉTICA ELEGANTE             */
/* Reemplaza desde la línea 3734 hasta     */
/* la línea 4714 de tu style.css           */
/* ======================================= */

/* ── Contenedor flotante ── */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

/* ── Botón toggle ── */
.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 1.5px solid #00d4ff;
    color: #00d4ff;
    font-size: 1.6em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 10000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.chatbot-button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(0,212,255,0.45), 0 8px 28px rgba(0,0,0,0.65);
}

/* Anillo de pulso */
.chatbot-button::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,212,255,0.4);
    animation: cb-pulse 2.6s ease-out infinite;
    pointer-events: none;
}

@keyframes cb-pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(1.55); opacity: 0;  }
    100% { transform: scale(1.55); opacity: 0;  }
}

/* ── Ventana del chat ── */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 580px;
    height: auto;
    background: #0a0a0a;
    border: 1px solid rgba(0,212,255,0.22);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(0,212,255,0.06),
        0 24px 60px rgba(0,0,0,0.85);
    display: none;
    flex-direction: column;
    overflow: hidden;
    justify-content: flex-start;
}

/* Línea decorativa superior */
.chatbot-window::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    border-radius: 0 0 4px 4px;
    z-index: 1;
}

.chatbot-window.open {
    display: flex;
    animation: cb-open 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cb-open {
    from { opacity: 0; transform: scale(0.9) translateY(12px); }
    to   { opacity: 1; transform: scale(1)   translateY(0);    }
}

/* ── Header ── */
.chatbot-header {
    background: #111;
    border-bottom: 1px solid rgba(0,212,255,0.18);
    padding: 14px 18px 12px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    position: relative;
}

/* Punto online (verde) */
.chatbot-header::after {
    content: '';
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3DEB81;
    box-shadow: 0 0 8px rgba(61,235,129,0.7);
}

/* Avatar circular */
.chatbot-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,212,255,0.1);
    border: 1.5px solid rgba(0,212,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 0.95em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #00d4ff;
    text-align: left;
    text-transform: uppercase;
}

.chatbot-header-sub {
    font-size: 10.5px;
    color: #6B7A8A;
    letter-spacing: 0.3px;
}

/* Nav buttons (prev/next) — se mantienen funcionales */
.chatbot-nav-btn {
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.25);
    color: #00d4ff;
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-weight: 600;
}

.chatbot-nav-btn:hover:not(:disabled) {
    background: rgba(0,212,255,0.15);
    border-color: #00d4ff;
}

.chatbot-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ── Área de mensajes ── */
.chatbot-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 14px;
    background: #0a0a0a;
    min-height: 200px;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.2) transparent;
}

.chatbot-messages::-webkit-scrollbar { width: 3px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.22);
    border-radius: 3px;
}

/* ── Mensajes ── */
.message {
    margin-bottom: 6px;
    display: flex;
    gap: 10px;
    animation: cb-msg 0.22s ease both;
}

@keyframes cb-msg {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0);   }
}

.message.bot  { justify-content: flex-start; }
.message.user { justify-content: flex-end;   }

.message-text {
    max-width: 85%;
    padding: 11px 15px;
    border-radius: 14px;
    word-wrap: break-word;
    font-size: 0.95em;
    line-height: 1.55;
}

/* Bot: fondo oscuro con tinte */
.message.bot .message-text {
    background: #151c1a;
    border: 1px solid rgba(255,255,255,0.05);
    color: #dffaf6;
    border-bottom-left-radius: 4px;
}

/* User: relleno cyan */
.message.user .message-text {
    background: #00d4ff;
    color: #020e10;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

/* Markdown */
.message-text strong { font-weight: 600; }
.message-text em     { font-style: italic; }
.message-text code   {
    background: rgba(255,255,255,0.08);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.88em;
}
.message-text ul { margin: 8px 0; padding-left: 18px; }
.message-text li { margin: 4px 0; }

/* ── Indicador de escritura ── */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    font-size: 0.88em;
    color: #6B7A8A;
}

.typing-dots {
    display: inline-block;
    letter-spacing: 2px;
    animation: cb-blink 1.3s step-end infinite;
}

@keyframes cb-blink {
    0%, 100% { opacity: 1;   }
    50%       { opacity: 0.2; }
}

/* ── Área de entrada ── */
.chatbot-input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 11px 12px 13px;
    background: #111;
    border-top: 1px solid rgba(0,212,255,0.18);
    flex-shrink: 0;
    position: relative;
    z-index: 101;
    width: 100%;
}

/* Botones de acción rápida */
.chatbot-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
}

/* ── Botón estándar ── */
.chatbot-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.28);
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.chatbot-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-1px);
}

.chatbot-btn:active { transform: translateY(0); }

/* ── Freeform row ── */
.chatbot-freeform-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    align-items: center;
    flex-shrink: 0;
    min-height: 46px;
    padding: 6px 0 0;
    border-top: 1px solid rgba(0,212,255,0.12);
    margin-top: 2px;
}

.chatbot-freeform-container #freeform-input-always {
    flex: 1;
    margin: 0;
}

.chatbot-freeform-container #chatbot-send-freeform {
    flex-shrink: 0;
    width: auto;
    min-width: 80px;
    margin: 0;
}

/* ── Campo de texto ── */
.chatbot-input-field {
    background: #181c22;
    border: 1px solid rgba(0,212,255,0.2);
    color: #dffaf6;
    padding: 10px 13px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92em;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    height: 44px;
}

.chatbot-input-field::placeholder { color: #6B7A8A; }

.chatbot-input-field:focus {
    border-color: rgba(0,212,255,0.55);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
    background: #1a1f28;
}

/* ── Botón Enviar ── */
.chatbot-btn-send {
    background: #00d4ff;
    color: #020e10;
    border: none;
    padding: 0 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    transition: opacity 0.16s ease, transform 0.12s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
    width: auto;
    min-width: 80px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-btn-send:hover  { opacity: 0.85; transform: translateY(-1px); }
.chatbot-btn-send:active { transform: translateY(0); opacity: 1; }

/* ── Botón de info elegante ── */
.chatbot-btn-info {
    background: rgba(0,212,255,0.06);
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    transition: all 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.chatbot-btn-info::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.12), transparent);
    transition: left 0.45s ease;
}

.chatbot-btn-info:hover::before { left: 100%; }

.chatbot-btn-info:hover {
    background: rgba(0,212,255,0.13);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,212,255,0.18);
}

.chatbot-btn-info:active { transform: translateY(0); }

/* Container info buttons */
#chatbot-buttons.info-buttons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding: 4px 0;
    width: 100%;
}

/* ── Botón slot ── */
.chatbot-slot-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 10px 6px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85em;
    transition: all 0.2s ease;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 76px;
}

.chatbot-slot-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,212,255,0.22);
}

.chatbot-slot-btn:active { transform: translateY(0); }

/* ── Grid slots ── */
.chatbot-slots-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.chatbot-slots-grid::-webkit-scrollbar { width: 4px; }
.chatbot-slots-grid::-webkit-scrollbar-track { background: transparent; }
.chatbot-slots-grid::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.3);
    border-radius: 4px;
}

/* ── Botones de fecha ── */
.chatbot-date-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 10px 6px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    transition: all 0.2s ease;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 68px;
}

.chatbot-date-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,212,255,0.2);
}

.chatbot-date-btn:active { transform: translateY(0); }

/* Grid fechas */
.chatbot-date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    width: 100%;
    padding: 8px 0;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.chatbot-date-grid::-webkit-scrollbar { width: 4px; }
.chatbot-date-grid::-webkit-scrollbar-track { background: transparent; }
.chatbot-date-grid::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.3);
    border-radius: 4px;
}

/* ── Botones de hora ── */
.chatbot-time-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 10px 6px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    transition: all 0.2s ease;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 90px;
}

.chatbot-time-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 14px rgba(0,212,255,0.22);
}

.chatbot-time-btn:active { transform: translateY(0) scale(1); }

/* Grid horas */
.chatbot-time-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    padding: 8px 0;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.chatbot-time-grid::-webkit-scrollbar { width: 4px; }
.chatbot-time-grid::-webkit-scrollbar-track { background: transparent; }
.chatbot-time-grid::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.3);
    border-radius: 4px;
}

/* Encabezado franja horaria */
.chatbot-time-franja-header {
    grid-column: 1 / -1;
    color: #00d4ff;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    padding: 6px 0 4px;
    border-bottom: 1px solid rgba(0,212,255,0.22);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Slot y confirm buttons heredados */
.slot-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 10px 16px;
    border-radius: 10px;
    margin: 6px 6px 6px 0;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92em;
    transition: all 0.2s ease;
    box-shadow: none;
}

.slot-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-2px);
}

.slot-btn.selected {
    background: rgba(0,212,255,0.14);
    color: #00e5ff;
    border-color: #00d4ff;
    box-shadow: 0 0 12px rgba(0,212,255,0.25);
}

.send-confirm-btn {
    background: #00d4ff;
    color: #020e10;
    border: none;
    padding: 11px 20px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-top: 8px;
    transition: opacity 0.2s ease, transform 0.12s ease;
}

.send-confirm-btn:hover  { opacity: 0.85; transform: translateY(-1px); }
.send-confirm-btn:active { transform: translateY(0); }

.send-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-send:hover {
    opacity: 0.85;
    transform: scale(1.04);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
    .chatbot-window {
        width: 340px;
        bottom: 80px;
        max-height: 80vh;
    }
    .chatbot-messages {
        max-height: calc(80vh - 200px);
    }
    .chatbot-button {
        width: 54px;
        height: 54px;
        font-size: 1.4em;
    }
}

@media (max-width: 600px) {
    .chatbot-container {
        bottom: 15px;
        left: 12px;
        right: auto;
    }
    .chatbot-window {
        width: calc(100vw - 24px);
        max-width: 340px;
        bottom: 78px;
        left: 12px;
        right: auto;
        max-height: 80vh;
        border-radius: 16px;
    }
    .chatbot-messages {
        max-height: calc(80vh - 210px);
        padding: 12px;
    }
    .chatbot-button {
        width: 52px;
        height: 52px;
        font-size: 1.3em;
    }
    .chatbot-header {
        padding: 11px 14px;
        border-radius: 16px 16px 0 0;
    }
    .chatbot-header h3 { font-size: 0.88em; }
    .message-text { padding: 8px 12px; font-size: 0.88em; }
    .chatbot-input-container { padding: 9px 10px 11px; gap: 7px; }
    .chatbot-buttons { gap: 7px; }
    .chatbot-freeform-container { min-height: 44px; }
    .chatbot-input-field { height: 44px; font-size: 0.9em; }
    .chatbot-btn-send { height: 44px; min-width: 72px; font-size: 0.82em; }
    .chatbot-btn { padding: 9px 10px; font-size: 0.82em; }
}

@media (max-width: 480px) {
    .chatbot-container {
        bottom: 12px;
        left: 10px;
        right: auto;
    }
    .chatbot-window {
        width: calc(100vw - 20px);
        max-width: 360px;
        bottom: 76px;
        left: 10px;
        right: auto;
        max-height: 75vh;
    }
    .chatbot-messages { max-height: calc(75vh - 210px); padding: 10px; }
    .chatbot-button { width: 50px; height: 50px; font-size: 1.3em; }
    .chatbot-header { padding: 10px 12px; border-radius: 14px 14px 0 0; }
    .chatbot-header h3 { font-size: 0.85em; }
    .message-text { padding: 7px 10px; font-size: 0.86em; line-height: 1.45; }
    .chatbot-input-container { padding: 8px; }
    .chatbot-buttons { grid-template-columns: 1fr; gap: 6px; }
    .chatbot-input-field { padding: 8px 10px; font-size: 0.88em; height: 42px; }
    .chatbot-btn-send { padding: 0 12px; font-size: 0.8em; height: 42px; min-width: 70px; }
    .chatbot-btn { padding: 8px 10px; font-size: 0.78em; }
    .slot-btn { padding: 8px 12px; font-size: 0.82em; }
    .chatbot-freeform-container { gap: 6px; padding: 6px 0 0; }
}

@media (max-width: 420px) {
    .chatbot-container { bottom: 10px; left: 8px; right: auto; }
    .chatbot-window {
        width: calc(100vw - 16px);
        max-width: 300px;
        bottom: 70px;
        left: 8px;
        right: auto;
        max-height: 55vh;
    }
    .chatbot-button { width: 48px; height: 48px; font-size: 1.2em; }
    .chatbot-header { padding: 9px 11px; border-radius: 12px 12px 0 0; }
    .chatbot-header h3 { font-size: 0.8em; letter-spacing: 1px; }
    .chatbot-messages { max-height: 35vh; padding: 8px; }
    .message-text { max-width: 90%; padding: 6px 10px; font-size: 0.84em; }
    .chatbot-input-container { padding: 6px; }
    .chatbot-buttons { grid-template-columns: 1fr; gap: 5px; padding-bottom: 5px; }
    .chatbot-btn { padding: 8px 10px; font-size: 0.75em; }
    .chatbot-input-field { padding: 7px 9px; font-size: 0.85em; border-radius: 8px; }
    .chatbot-btn-send { padding: 7px 11px; font-size: 0.78em; border-radius: 8px; }
    .slot-btn { padding: 7px 10px; font-size: 0.78em; }
    .chatbot-freeform-container { gap: 5px; padding: 5px 0 0; }
}