/* Variables CSS */
:root {
    /* Brand Colors */
    --color-primary: #E6007E;
    --color-secondary: #A44D9C;
    --color-complementary: #A2D6F9;
    --color-med: #4D4F9C;
    --color-bg-light: #F8F8F8;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #DDDDDD;
    --color-text-dark: #1E293B;
    --color-text-body: #334155;
    --color-bg-warm: #FAFAFA;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --section-padding: 5rem 0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    background: var(--color-bg-warm);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu .cta-button {
    background: var(--color-primary);
    color: white;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    font-weight: 500;
    height: 40px;
    display: flex;
    align-items: center;
}

.nav-menu .cta-button:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
}

.main-description {
    font-size: 1.25rem;
    color: var(--color-text-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.secondary-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-illustration {
    max-width: 100%;
    height: auto;
}

.cta-button {
    background: var(--color-primary);
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.25);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-text {
        max-width: 100%;
    }

    .doctor-illustration {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }

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

    .main-description {
        font-size: 1.1rem;
    }

    .secondary-description {
        font-size: 1rem;
    }

    .doctor-illustration {
        max-width: 100%;
    }
}

/* Solutions Section */
.solutions {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Título principal */
.section-title {
    color: #2C3E50;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Texto introductorio */
.section-subtitle {
    font-size: 1.2rem;
    color: #4B5563;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Solutions Tabs */
.solutions-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-button {
    flex: 1;
    max-width: 360px;
    min-width: 280px;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilos base para cada botón */
.tab-button[data-tab="medical"] {
    background: #00A3E0;
    color: white;
}

.tab-button[data-tab="wellness"] {
    background: #E6007E;
    color: white;
}

/* Estado inactivo */
.tab-button:not(.active) {
    opacity: 0.7; /* Opacidad base para inactivo */
    transform: scale(0.98); /* Ligeramente más pequeño */
}

/* Hover en botón inactivo */
.tab-button:not(.active):hover {
    opacity: 0.9; /* Aumenta opacidad en hover */
    transform: scale(1); /* Vuelve a tamaño normal */
}

/* Estado activo */
.tab-button.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Iconos en los botones */
.tab-button .icon {
    width: auto;
    height: 3em;
    flex-shrink: 0;
    object-fit: contain;
}

/* Contenedor del texto del botón */
.tab-button .button-text {
    font-size: 1.25rem;
    line-height: 1.2;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ajuste para el texto en dos líneas */
.tab-button .button-text br {
    display: block;
    content: "";
    margin-top: 0.2em;
}

/* Indicador de botón activo - Aumentado de tamaño y visibilidad */
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent; /* Aumentado de 10px a 15px */
    border-right: 15px solid transparent; /* Aumentado de 10px a 15px */
    border-top-width: 15px; /* Aumentado de 10px a 15px */
    border-top-style: solid;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1)); /* Añadido sombra para más visibilidad */
}

/* Color del indicador según el sector */
.tab-button[data-tab="medical"].active::after {
    border-top-color: #00A3E0;
}

.tab-button[data-tab="wellness"].active::after {
    border-top-color: #E6007E;
}

/* Contenedor del contenido después de los tabs */
.tab-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tab-content.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
}

/* Etiqueta del sector actual */
.sector-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: white;
}

.sector-label.medical {
    background: #00A3E0;
}

.sector-label.wellness {
    background: #E6007E;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .solutions {
        padding: 3rem 1rem;
    }

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

    .section-subtitle {
        padding: 0 1rem;
    }

    .solutions-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .tab-button {
        width: 100%;
        max-width: 100%; /* En móvil ocupan todo el ancho disponible */
    }

    .tab-button.active {
        transform: scale(1.05);
    }

    .tab-button:not(.active) {
        transform: scale(1);
    }

    .tab-button.active::after {
        display: none;
    }

    .medical-intro {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
}

.solutions-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.solution-card {
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s ease;
    min-width: 200px;
    text-align: center;
}

.solution-card.med {
    background: #0284C7;
    color: white;
}

.solution-card.salud {
    background: #FFE4F3;
    color: #BE185D;
}

.solution-card h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    white-space: normal;
}

.solution-card:hover {
    transform: none;
    box-shadow: none;
}

/* About Section */
.about {
    padding: var(--space-xl) 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--color-text-dark);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en PC */
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-body);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Ajuste para móvil */
@media (max-width: 768px) {
    .testimonials-grid {
        display: grid;
        grid-template-columns: 1fr; /* Una columna en móvil */
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: var(--space-xl) 0;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-bg-warm);
    padding: 3rem;
    border-radius: 16px;
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.chat-icon {
    font-size: 1.75rem;
    color: var(--color-complementary);
}

.contact-title {
    color: var(--color-primary);
    font-size: 2rem;
    margin: 0;
}

.contact p {
    font-size: 1rem;
    color: var(--color-text-body);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 1rem 0;
    background: white;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}

.footer-content {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    align-items: center;
}

.legal-nav {
    display: flex;
    gap: var(--space-md);
}

.legal-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.legal-nav a:hover {
    color: var(--color-primary);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards 0.2s;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards 0.4s;
}

.fade-in-delay-3 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-normal);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .main-description {
        font-size: 1.25rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr; /* Una columna en tablet */
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: calc(60px + var(--space-lg)) var(--space-md) var(--space-lg);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .solutions-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-card {
        width: 100%;
        max-width: 300px;
    }
    
    .logo-img {
        max-height: 32px;
    }
    
    .footer-content {
        height: auto;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .footer-logo img {
        max-height: 32px;
    }
    
    .legal-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .highlight-box {
        margin: var(--space-sm) 0;
        padding: var(--space-sm);
    }
    
    .highlight-box p {
        font-size: 1.25rem;
    }

    .testimonials {
        padding: 3rem 0;
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem;
        gap: 1rem;
    }

    .testimonial-card {
        min-width: calc(100% - 2rem);
        scroll-snap-align: center;
    }

    /* Ocultar scrollbar pero mantener funcionalidad */
    .testimonials-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .nav-menu .cta-button {
        height: 36px;
        padding: 0.4rem 1.2rem;
    }

    .contact-wrapper {
        padding: 3rem 1.5rem;
        margin: 0 1rem;
    }

    .contact h2 {
        font-size: 2.5rem;
    }

    .contact p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: calc(60px + var(--space-lg)) 0 var(--space-lg);
    }
    
    .main-description {
        font-size: 1.5rem;
    }
    
    .value-propositions p {
        font-size: 1.1rem;
    }
    
    .solutions h2 {
        font-size: 2rem;
    }
}

.logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Email popup styles */
.email-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.email-popup.active {
    display: flex;
}

.email-popup-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 400px;
    position: relative;
}

.email-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.email-popup-header h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.25rem;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 0.5rem;
    line-height: 1;
}

.close-button:hover {
    color: var(--color-text);
}

.email-popup-body p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.email-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--color-bg-light);
    padding: 1rem;
    border-radius: 6px;
}

.email-text {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--color-text);
    user-select: all;
    flex-grow: 1;
}

.copy-button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-button:hover {
    background: #cc0070;
}

.copy-button.copied {
    background: #4CAF50;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .email-popup-content {
        padding: 1.5rem;
    }

    .email-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .copy-button {
        width: 100%;
        padding: 0.75rem;
    }
}

/* Section Titles with Icons */
.section-title-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-title-with-icon h2 {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin: 0;
}

.section-title-with-icon .icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

/* Iconos usando CSS */
.icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Icono de medalla/premio */
.icon-medal::before {
    content: '🏆';
    font-size: 1.2rem;
}

/* Icono de comentarios */
.icon-comments::before {
    content: '💬';
    font-size: 1.2rem;
}

/* Icono de mensaje */
.icon-message::before {
    content: '✉️';
    font-size: 1.2rem;
}

/* Estilos específicos para cada sección */
.why-blendarsys h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #E6007E;
}

.testimonials h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
}

.contact h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #E6007E;
}

/* Why Blendarsys Section Styles */
.why-blendarsys {
    padding: var(--section-padding);
    background: var(--color-bg-warm);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.feature-card h3 {
    color: var(--color-text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-body);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* Animation for features */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Medical Content Styles */
.medical-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #F0F9FF, #E0F2FE);
    border-radius: 16px;
}

.medical-hero h3 {
    font-size: 2.5rem;
    color: #00A0D1;
    margin-bottom: 1.5rem;
}

.pain-points {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.pain-point-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.pain-point-card h4 {
    color: #00A0D1;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.solutions-cards {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.solution-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pain-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.solution-card {
    background: #FFF1F7;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-cta {
    background: #f8f9fa;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.section-separator {
    height: 4rem;
    width: 100%;
}

/* Wellness Section Specific Styles */
.wellness-hero {
    margin: 3rem 0;
    padding: 3.5rem;
    background: linear-gradient(135deg, #FFF5FA 0%, #FFE4F3 100%);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(230, 0, 126, 0.1);
    box-shadow: 0 8px 24px rgba(230, 0, 126, 0.08);
}

.wellness-hero .sector-label {
    display: inline-block;
    background: #E6007E;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.wellness-hero h2 {
    color: #E6007E;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wellness-hero h3 {
    color: #BE185D;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    color: #4B5563;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-description .highlight {
    color: #E6007E;
    font-weight: 500;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .wellness-hero {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .wellness-hero h2 {
        font-size: 2rem;
    }

    .wellness-hero h3 {
        font-size: 1.25rem;
    }

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

/* Estilos específicos solo para las cajas de retos en el sector salud */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    grid-template-rows: auto auto; /* 2 filas */
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.challenge-card {
    width: 100%;
    height: 100%;
    min-height: 250px; /* Altura mínima para mantener consistencia */
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(230, 0, 126, 0.06);
    border: 1px solid rgba(230, 0, 126, 0.1);
}

/* Asignación específica de posiciones */
.challenge-card:nth-child(1) { grid-area: 1 / 1; }
.challenge-card:nth-child(2) { grid-area: 1 / 2; }
.challenge-card:nth-child(3) { grid-area: 2 / 1; }
.challenge-card:nth-child(4) { grid-area: 2 / 2; }

@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .challenge-card {
        min-height: auto; /* Altura automática en móvil */
    }

    /* Reset de posiciones en móvil */
    .challenge-card:nth-child(n) {
        grid-area: auto;
    }
}

.challenge-question {
    color: #E6007E;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.challenge-icon {
    color: #E6007E;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.challenge-solution {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.challenge-solution strong {
    color: #BE185D;
    font-weight: 500;
}

.benefits-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F7FF 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 163, 224, 0.1);
    box-shadow: 0 8px 24px rgba(0, 163, 224, 0.08);
}

.benefits-section .sector-label {
    display: inline-block;
    background: #00A3E0;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.benefits-title {
    color: #2C3E50;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.benefits-description {
    text-align: center;
    color: #4B5563;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 163, 224, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 163, 224, 0.12);
    border-color: rgba(0, 163, 224, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: #00A3E0;
}

.benefit-card p {
    margin: 0;
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 2rem;
        margin-top: 3rem;
    }

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

    .benefits-title {
        font-size: 1.75rem;
    }

    .benefits-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.medical-intro {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2.5rem;
    text-align: center;
}

.medical-intro .sector-label {
    display: inline-block;
    background: #00A3E0;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.medical-intro h3 {
    color: #2C3E50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.medical-intro p {
    color: #4B5563;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .medical-intro {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .medical-intro h3 {
        font-size: 1.5rem;
    }

    .medical-intro p {
        font-size: 1rem;
    }
}

/* Estilos específicos para el sector bienestar */
.wellness-benefits {
    background: #fff1f7; /* Fondo rosa suave para el sector bienestar */
}

.wellness-benefits .benefits-title {
    color: #E6007E; /* Color rosa para títulos del sector bienestar */
}

.wellness-benefits .benefit-card {
    background: white;
    border-left: 3px solid #E6007E;
}

.wellness-cta {
    background: #fff1f7;
}

.wellness-cta h3 {
    color: #E6007E;
}

.cta-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .wellness-benefits .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .wellness-cta h3 {
        font-size: 1.4rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2rem auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.privacy-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.privacy-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.privacy-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
    position: sticky;
    bottom: 0;
    background: white;
    border-radius: 0 0 12px 12px;
}

.close-button {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.ok-button {
    background: #E6007E; /* Color primario de Blendarsys */
    color: white;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ok-button:hover {
    background: #cc0070;
}

.last-update {
    font-style: italic;
    color: #666;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 1rem;
    }
}

/* Estilos compartidos para modales de privacidad y aviso legal */
.modal-body h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.indented-content {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.indented-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.indented-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-content h3:first-of-type {
    margin-top: 1rem;
}

.last-update {
    font-style: italic;
    color: #666;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Estilo del botón */
.tab-button[data-tab="wellness"] {
    background: #E6007E;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.tab-button[data-tab="wellness"]:hover {
    background: #D1006F;
    transform: translateY(-1px);
}

.tab-button[data-tab="wellness"].active {
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.25);
}

/* Sección introductoria del sector salud */
.wellness-hero {
    margin: 3rem 0;
    padding: 3.5rem;
    background: linear-gradient(135deg, #FFF5FA 0%, #FFE4F3 100%);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(230, 0, 126, 0.1);
    box-shadow: 0 8px 24px rgba(230, 0, 126, 0.08);
}

.wellness-hero .sector-label {
    display: inline-block;
    background: #E6007E;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.wellness-hero h2 {
    color: #E6007E;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wellness-hero h3 {
    color: #BE185D;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    color: #4B5563;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-description .highlight {
    color: #E6007E;
    font-weight: 500;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .wellness-hero {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .wellness-hero h2 {
        font-size: 2rem;
    }

    .wellness-hero h3 {
        font-size: 1.25rem;
    }

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

/* Sección de retos */
.challenges-section {
    padding: 4rem 0;
}

.challenges-section h3 {
    color: #2C3E50;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.challenge-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(230, 0, 126, 0.1);
    box-shadow: 0 4px 16px rgba(230, 0, 126, 0.06);
}

.challenge-icon {
    color: #E6007E;
    font-size: 1.75rem;
}

.challenge-question {
    color: #E6007E;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.challenge-text {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

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

.pain-solution-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 300px; /* Altura mínima para mantener consistencia */
}

.pain-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pain-block {
    background: #F0F9FF;
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 163, 224, 0.1);
    position: relative;
}

.pain-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.pain-icon {
    font-size: 1.5rem;
    color: #00A3E0;
    flex-shrink: 0;
}

.pain-block h4 {
    color: #00A3E0;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.pain-block p {
    color: #4B5563;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.solution-block {
    padding: 2rem;
    background: white;
    border-left: 4px solid #00A3E0;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-icon {
    font-size: 1.5rem;
    color: #00A3E0;
}

.solution-block h5 {
    color: #00A3E0;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.solution-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-block li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #4B5563;
}

.solution-block li:last-child {
    margin-bottom: 0;
}

.solution-block li::before {
    content: "✓";
    color: #00A3E0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.wellness-solutions {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #FFF5FA 0%, #FFE4F3 100%);
    border-radius: 16px;
    margin: 4rem 0;
}

.wellness-solutions h3 {
    color: #2C3E50;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.solutions-header {
    text-align: center;
    margin-bottom: 3rem;
}

.solutions-header .check-icon {
    color: #E6007E;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solutions-header h4 {
    color: #E6007E;
    font-size: 1.2rem;
    font-weight: 500;
}

.solutions-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 0, 126, 0.1);
}

.solution-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(230, 0, 126, 0.1);
}

.solution-icon {
    color: #E6007E;
    font-size: 1.25rem;
    padding-top: 0.25rem;
}

.solution-text {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
}

.solution-text .ia-highlight {
    color: #2C3E50;
    font-weight: 500;
}

@media (max-width: 768px) {
    .wellness-solutions {
        padding: 3rem 1.5rem;
    }

    .solution-item {
        padding: 1.25rem;
    }

    .solution-item:hover {
        transform: none;
    }
}

/* SOLO para el bloque inmediatamente después del botón */
.wellness-intro {
    background: #FFF5FA;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 16px;
    margin: 0 auto 3rem;
}

.wellness-intro h2 {
    color: #E6007E;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wellness-intro h3 {
    color: #E6007E;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.wellness-intro p {
    color: #2C3E50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wellness-intro .highlight-text {
    color: #E6007E;
    font-style: italic;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .wellness-intro {
        padding: 3rem 1.5rem;
    }

    .wellness-intro h2 {
        font-size: 2rem;
    }

    .wellness-intro h3 {
        font-size: 1.25rem;
    }
}
