/* ============================================
   EMPRESAS.CSS — Math & Beer
   Estilos para /empresas y hero/testimonios del index
   ============================================ */

/* ── HERO DEL INDEX ─────────────────────────── */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem 1rem 8rem 1rem;
}

/* Glow radial detrás del contenido */
.hero-section::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 183, 0, 0.1) 0%, rgba(0, 242, 255, 0.04) 50%, transparent 75%);
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
    filter: blur(20px);
}

/* Grain cinematográfico */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
}

.hero-math-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

/* Símbolos matemáticos flotantes */
.hero-math-bg::before {
    content: '∑ π ∞ √ ∫ ≈ ÷ × ∂ φ Δ λ';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    font-size: 1.4rem;
    letter-spacing: 3.5rem;
    line-height: 5rem;
    color: rgba(255, 183, 0, 0.055);
    white-space: nowrap;
    word-spacing: 1.5rem;
    animation: float-symbols 60s linear infinite;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    pointer-events: none;
}

@keyframes float-symbols {
    from {
        transform: translateX(0) translateY(0);
    }

    to {
        transform: translateX(-50%) translateY(-30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 183, 0, 0.12);
    border: 1px solid rgba(255, 183, 0, 0.35);
    color: var(--accent-beer);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(3.2rem, 6vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 0 60px rgba(255, 183, 0, 0.15);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-beer), #ff8c00);
    color: #000 !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 183, 0, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 183, 0, 0.5);
    color: #000 !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-math);
    background: rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    background: rgba(0, 242, 255, 0.15);
    border-color: rgba(0, 242, 255, 0.4);
    transform: translateY(-3px);
    color: #00f2ff !important;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-stat-number {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-beer), var(--accent-math));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── TESTIMONIOS ─────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 90%;
    max-width: 1100px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 183, 0, 0.2);
    border-color: rgba(255, 183, 0, 0.3);
}

.testimonial-avatar {
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(-5deg);
}

.testimonial-stars {
    color: var(--accent-beer);
    font-size: 1rem;
    letter-spacing: 2px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-beer), var(--accent-math));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #000;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.testimonial-info strong {
    color: #fff;
    font-size: 0.9rem;
}

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

/* ── EMPRESAS HERO ─────────────────────────── */
.emp-hero {
    padding: 5rem 1.5rem 3rem;
    gap: 1.2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.emp-hero-badge {
    display: inline-block;
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.25);
    color: var(--accent-math);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.emp-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    line-height: 1.2;
    max-width: 700px;
}

.emp-hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.7;
    max-width: 600px;
}

/* ── CARDS DE PROPUESTA ──────────────────────── */
.emp-cards-section {
    width: 100%;
    padding: 1rem 0 2rem;
    display: flex;
    justify-content: center;
}

.emp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 90%;
    max-width: 1100px;
    align-items: start;
}

.emp-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

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

.emp-card-featured {
    border-color: rgba(255, 183, 0, 0.4);
    background: rgba(255, 183, 0, 0.04);
    box-shadow: 0 0 30px rgba(255, 183, 0, 0.08);
}

.emp-card-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-beer), #ff8c00);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emp-card-icon {
    font-size: 2.5rem;
}

.emp-card-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

.emp-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.emp-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.emp-card-list li {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emp-card-list li i {
    color: var(--accent-math);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.emp-card-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.emp-price-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emp-price-value {
    color: var(--accent-beer);
    font-size: 1.4rem;
    font-weight: 800;
}

/* ── PASOS ───────────────────────────────────── */
.emp-steps-section {
    padding: 1rem 0 2rem;
    width: 100%;
}

.emp-steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 90%;
    max-width: 900px;
}

.emp-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.emp-step:hover {
    border-color: rgba(255, 183, 0, 0.3);
    transform: translateY(-3px);
}

.emp-step-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-beer), var(--accent-math));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.emp-step-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.emp-step-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.emp-step-arrow {
    font-size: 2rem;
    color: rgba(255, 183, 0, 0.4);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── TEMAS ───────────────────────────────────── */
.emp-topics-section {
    padding: 1rem 0 2rem;
    width: 100%;
}

.emp-topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    width: 90%;
    max-width: 900px;
}

.emp-topic-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.emp-topic-pill:hover {
    background: rgba(255, 183, 0, 0.1);
    border-color: rgba(255, 183, 0, 0.35);
    color: var(--accent-beer);
    transform: translateY(-2px);
}

.emp-topic-pill span {
    font-size: 1rem;
}

/* ── FORMULARIO ──────────────────────────────── */
.emp-form-section {
    padding: 1rem 0 3rem;
    width: 100%;
}

.emp-form-intro {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.emp-form {
    width: 90%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.emp-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.emp-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.emp-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 0.65rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.3s ease;
    outline: none;
}

.emp-input:focus {
    border-color: rgba(255, 183, 0, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 183, 0, 0.1);
}

.emp-input::placeholder {
    color: rgba(182, 189, 231, 0.5);
}

.emp-select option {
    background: #1a0b35;
    color: #fff;
}

.emp-textarea {
    resize: vertical;
    min-height: 90px;
}

.emp-form-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.5rem;
}

.emp-email-link {
    color: var(--accent-beer);
    text-decoration: none;
}

.emp-email-link:hover {
    text-decoration: underline;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 640px) {
    .emp-form-row {
        grid-template-columns: 1fr;
    }

    .emp-step-arrow {
        display: none;
    }

    .hero-section {
        padding: 1rem 1.25rem 6rem;
        min-height: 88vh;
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 3rem);
        letter-spacing: -0.01em;
    }

    .hero-subtitle {
        font-size: .75rem;
    }

    .hero-stats {
        gap: 1.2rem;
        padding-top: 1.2rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }
}