:root {
    --em-primary-color: #0891B2;
    --em-secondary-color: #14B8A6;
    --em-color-blanco: #ffffff;
    --em-color-negro: #000000;
    --em-text-primary: #0f172a;
    --em-text-secondary: #64748b;
    --em-border-color: #e2e8f0;
    --em-shadow-sm: 0 2px 8px rgba(8, 145, 178, 0.08);
    --em-shadow-md: 0 8px 16px rgba(8, 145, 178, 0.12);
    --em-shadow-lg: 0 20px 40px rgba(8, 145, 178, 0.18);
    --em-spacing-lg: 4rem;
    --em-transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.em-hero {
    background: var(--em-color-blanco);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    color: white;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.em-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.em-hero-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.em-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: em-fadeInUp 0.8s ease-out;
}

.em-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .3;
    z-index: 0;
}

.em-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 37, 64, .85) 0%,
        rgba(10, 37, 64, .55) 60%,
        rgba(232, 184, 75, .18) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.em-hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.em-hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: em-floatImage 3s ease-in-out infinite;
    border-radius: 12px;
}

@keyframes em-floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

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

.em-hero h1 {
    font-size: 3rem;
    font-weight: 950;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.em-hero p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.3px;
    line-height: 1.6;
}


/* ===== HERO COWORKING ===== */
.em-hero-coworking {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* ===== SECCIONES GENÉRICAS ===== */
.em-features-section,
.em-casos-section,
.em-contact-section {
    padding: var(--em-spacing-lg) 0;
    background: white;
    border-bottom: 1px solid var(--em-border-color);
}

.em-experiencia-section {
    background: white;
    border-bottom: 1px solid var(--em-border-color);
    padding: 6rem 0;
}

.em-planes-section {
    padding: var(--em-spacing-lg) 0;
    background: white;
    border-bottom: 1px solid var(--em-border-color);
}

.em-faq-section {
    padding: var(--em-spacing-lg) 0;
    background: white;
    border-bottom: 1px solid var(--em-border-color);
}

/* ===== TÍTULOS ===== */
.em-features-section h2,
.em-casos-section h2,
.em-planes-section h2 {
    font-size: 2.2rem;
    color: var(--em-text-primary);
    letter-spacing: -0.5px;
    text-transform: none;
    margin-bottom: 3rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.25;
}

.em-section-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--em-text-primary);
    -webkit-text-fill-color: unset;
    background: none;
}

.em-experiencia-text h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--em-text-primary);
    letter-spacing: -0.3px;
}

/* ===== FEATURES GRID ===== */
.em-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.em-feature-card {
    background: white;
    padding: 0;
    border-radius: 14px;
    box-shadow: none;
    text-align: center;
    transition: var(--em-transition);
    border: 1.5px solid #374151;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.em-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.em-feature-icon {
    font-size: 3rem;
    padding: 2rem 2rem 0rem;
    background: white;
}

.em-feature-icon img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.em-feature-card h5 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--em-text-primary);
    margin: 0;
    padding: 0 1.5rem 1.5rem;
    background: white;
    letter-spacing: 0.2px;
}

.em-feature-card p {
    color: var(--em-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    background: #f3f4f6;
    margin: 0;
    padding: 1.25rem 1.5rem;
    flex: 1;
}

/* ===== EXPERIENCIA SECTION ===== */
.em-experiencia-section > .container > h2 {
    display: none;
}

.em-experiencia-section > .container {
    max-width: 100%;
    padding: 0 3rem;
}

.em-experiencia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.em-experiencia-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--em-shadow-lg);
    position: relative;
}

.em-experiencia-img img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
    transition: var(--em-transition);
}

.em-experiencia-img:hover img {
    transform: scale(1.04);
}

.em-experiencia-img-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.8rem 1.8rem;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
    color: white;
}

.em-experiencia-img-text p {
    margin: 0;
    font-size: 3.5rem;
    line-height: 1.35;
    color: white;
    font-weight: 400;
    background: none;
    padding: 0;
}

.em-experiencia-img-text strong {
    font-weight: 900;
    font-size: 3.5rem;
    display: block;
}

.em-experiencia-text h3 {
    margin-bottom: 1.2rem;
    font-size: 2.4rem;
}

.em-experiencia-text p {
    font-size: 1.6rem;
    color: var(--em-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 700;
}

.em-features-list {
    list-style: none;
    padding: 0;
}

.em-features-list li {
    padding: 0.55rem 0;
    color: var(--em-text-secondary);
    font-weight: 500;
    font-size: 1.4rem;
    border-bottom: none;
}

.em-features-list li:last-child {
    border-bottom: none;
}

.em-features-list li::before {
    content: '• ';
    color: var(--em-color-negro);
    font-weight: 900;
    margin-right: 0.4rem;
    font-size: 1.2rem;
    line-height: 0;
    vertical-align: middle;
}

/* ===== CASOS DE ÉXITO ===== */
.em-testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 14px;
    box-shadow: var(--em-shadow-md);
    transition: var(--em-transition);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.em-testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 3rem;
    color: var(--em-primary-color);
    opacity: 0.3;
}

.em-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--em-shadow-lg);
}

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

.em-testimonial-author {
    font-weight: 700;
    color: var(--em-primary-color);
    font-style: normal;
    font-size: 0.95rem;
}

.em-testimonial-role {
    color: var(--em-text-secondary);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* ===== PLANES PRICING ===== */
.em-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.em-plan-card {
    background: white;
    padding: 2.5rem;
    border-radius: 14px;
    box-shadow: var(--em-shadow-md);
    text-align: center;
    transition: var(--em-transition);
    display: flex;
    flex-direction: column;
    border: 1.5px solid #cbd5e1;
    border-top: 4px solid var(--em-primary-color);
    position: relative;
}

.em-plan-card.featured {
    border: 1.5px solid var(--em-secondary-color);
    border-top: 4px solid var(--em-secondary-color);
    transform: scale(1.05);
    box-shadow: var(--em-shadow-lg);
}

.em-plan-card:hover {
    transform: translateY(-8px) scale(1);
    box-shadow: var(--em-shadow-lg);
}

.em-plan-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
}

.em-plan-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--em-text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.em-plan-card.featured .em-plan-name {
    color: var(--em-secondary-color);
}

.em-plan-features {
    flex: 1;
    text-align: left;
    margin-bottom: 2rem;
}

.em-plan-features p {
    color: var(--em-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.em-plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.em-plan-card .em-btn-primary {
    background: white;
    color: white;
}

.em-plan-card .em-btn-primary:hover {
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.3);
}

/* ===== METRICS SECTION ===== */
.em-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.em-metric-item {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: var(--em-shadow-md);
    text-align: center;
    transition: var(--em-transition);
}

.em-metric-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--em-shadow-lg);
}

.em-metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.em-metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--em-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .em-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .em-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .em-hero {
        min-height: auto;
        padding: 3rem 1rem;
    }

    .em-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .em-hero h1 {
        font-size: 2rem;
    }

    .em-hero p {
        font-size: 1rem;
    }

    .em-hero-cta {
        flex-direction: column;
    }

    .em-btn-primary {
        width: 100%;
    }

    .em-features-section h2,
    .em-casos-section h2,
    .em-planes-section h2 {
        font-size: 1.8rem;
    }

    .em-features-grid,
    .em-pricing-grid,
    .em-metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .em-experiencia-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .em-experiencia-section > /* .container */ {
        padding: 0 1rem;
    }

    .em-experiencia-img img {
        min-height: 260px;
    }

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

    .em-plan-card.featured:hover {
        transform: translateY(-8px) scale(1);
    }
}

@media (max-width: 576px) {
    .em-hero {
        padding: 2rem 1rem;
    }

    .em-hero h1 {
        font-size: 1.75rem;
    }

    .em-hero p {
        font-size: 0.95rem;
    }

    .em-btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .em-features-section h2,
    .em-casos-section h2,
    .em-planes-section h2 {
        font-size: 1.6rem;
    }

    .em-experiencia-img-text p {
        font-size: 1.1rem;
    }
}
