:root {
    --primary: #0d9488;
    --primary-success-light: #14b8a6;
    --primary-success-dark: #0f766e;
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --success-color: #10b981;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --text-primary: #f1f5f9;
    --color-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-secondary-light: #64748b;
    /*--surface: #ffffff;*/
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: --primary-light 0 10px 25px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --border-color: #334155;
    --box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-primary-button: linear-gradient(135deg, var(--primary-success-light) 0%, var(--primary-success-dark) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-primary);
    min-height: 100vh;
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-float .tooltip-text {
    background: #ffffff;
    color: #075e54;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Animacion de pulso */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
0% {
    transform: scale(1);
    opacity: 0.6;
}
50% {
    transform: scale(1.3);
    opacity: 0;
}
100% {
    transform: scale(1);
    opacity: 0;
}
}

/* Badge de notificacion (opcional) */
.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ff5252;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    border: 2px solid white;
    animation: badge-bounce 2s infinite;
}

@keyframes badge-bounce {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-btn {
        width: 54px;
        height: 54px;
    }

    .whatsapp-btn::before {
        width: 54px;
        height: 54px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float .tooltip-text {
        display: none;
    }
}
/* FIN: WhatsApp Floating Button */
/* Navbar */
.navbar-custom {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-link-custom {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link-custom:hover {
    color: var(--primary-light) !important;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.search-input {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
}

.search-input:focus {
    background: var(--dark-card);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
/* Section Headers */
.section-header {
    margin: 4rem 0 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Service Cards */
.service-card_prescriptores {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-card_prescriptores .card_setprueba a{
    text-decoration:none;
    color:inherit;
}

.service-card_prescriptores:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    color: inherit;
}

.service-icon_prescriptores {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.icon-primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.2));
    color: var(--primary-light);
}

.icon-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: var(--secondary-color);
}

.icon-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    color: var(--accent-color);
}

.service-title_prescriptores {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description_prescriptores {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Entity Cards */
.entity-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.entity-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    color: inherit;
}

.entity-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-light);
}

.entity-name {
    font-weight: 600;
    font-size: 1rem;
}

/* Resource Cards */
.resource-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.resource-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.2);
    color: inherit;
}

.resource-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.resource-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.resource-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.btn-download {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

.btn-download:hover {
    background: #059669;
    transform: scale(1.02);
}
/* Hero Section Entidad seleccionada*/
.entidad-section {
    /* background: var(--gradient-primary); */
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.entidad-section::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");
    opacity: 0.5;
}

.entidad-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.entidad-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.entidad-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.entidad-section p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
}

.entidad-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.entidad-stat {
    text-align: center;
}

.entidad-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.entidad-stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

/* Search Section */
.search-section-entidad {
    max-width: 1400px;
    margin: -3rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.search-card-entidad {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
}

.search-wrapper-entidad {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-wrapper-entidad {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-input-wrapper-entidad i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-entidad {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
}

.search-input-entidad:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.filter-dropdown-entidad {
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-primary); /*Blanco*/
    background: var(--dark-bg);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-dropdown-entidad:focus {
    outline: none;
    border-color: var(--primary-color);
}
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.btn-back:hover {
    background: var(--surface);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
 /* Convenios Grid Entidad Convenios */
.convenios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.convenio-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.convenio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.convenio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.convenio-card:hover::before {
    transform: scaleX(1);
}

.convenio-header_entidad {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.convenio-logo_entidad {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.convenio-info_entidad {
    flex: 1;
    min-width: 0;
}

.convenio-name_entidad {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.convenio-description_entidad {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.convenio-badges_entidad {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.convenio-badge_entidad {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-obra-social {
    background: #dbeafe;
    color: #1e40af;
}

.badge-art {
    background: #fef3c7;
    color: #92400e;
}

.badge-prepaga {
    background: #d1fae5;
    color: #065f46;
}

.badge-estatal {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-sistema {
    background: #fce7f3;
    color: #9d174d;
}

.convenio-footer_entidad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.convenio-status_entidad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.convenio-status_entidad i {
    font-size: 0.6rem;
}

.convenio-action_entidad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.convenio-action_entidad i {
    transition: transform 0.2s;
}

.convenio-card:hover .convenio-action_entidad i {
    transform: translateX(4px);
}
/* Categories Tabs */
.categories-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.categories-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-tab {
    padding: 0.75rem 1.25rem;
    border: none;
    background: var(--surface);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tab:hover {
    background: var(--shadow);
    color: var(--text-primary);
}

.category-tab.active {
    background: var(--shadow);
    color: white;
}

.category-tab .count {
    background: rgba(0,0,0,0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

.category-tab.active .count {
    background: rgba(255,255,255,0.2);
}

/* Video Cards */
.video-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
    color: inherit;
}

.video-card video{
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px; 
    background: #000;
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.video-content {
    padding: 1.5rem;
}

.video-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.video-duration {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* SECCION CONTACTO */
 /* Hero Section */
 /* background: var(--dark-card);
    border-radius: 16px;
    box-shadow: var(--box-shadow); */
.hero-contact {
    /* background: linear-gradient(135deg, var(--dark) 0%, var(--gray-800) 100%); */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: var(--box-shadow);
    padding: 10rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-contact h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-contact p {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}
.contact-section {
    padding: 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    /* background: var(--primary-dark); */
    border-radius: 20px;
    padding: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.contact-info-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

.contact-info-card > p {
    opacity: 0.9;
    margin-bottom: 2.5rem;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
    position: relative;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    font-size: 1.25rem;
}

.contact-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.contact-item-content a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-item-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    position: relative;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    /* background: var(--text-primary); */
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Contact Form Card */
.contact-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.contact-form-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

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

.form-group-contact {
    margin-bottom: 1.25rem;
}

.form-group-contact.full-width {
    grid-column: 1 / -1;
}

.form-group-contact label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group-contact label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.2s;
    font-family: var(--font-family);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}


/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 6rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

/*INFO CONVENIO */
/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}
.main-container::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");
    opacity: 0.5;
}
/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
    position: relative;
}

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

.breadcrumb-nav .separator {
    color: var(--gray-300);
}

.breadcrumb-nav .current {
    color: var(--gray-300);
    font-weight: 500;
}

/* Convenio Header */
.convenio-header_info {
    background: var(--dark-card);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}
/*Tarjeta del Convenio HEADER */
.convenio-header-top_info {
    background: var(--dark-card);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.convenio-header-top_info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.convenio-header-content_info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.convenio-logo_info {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: var(--box-shadow-lg);
}

.convenio-logo_info img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.convenio-logo-placeholder_info {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.convenio-info_info {
    flex: 1;
    /* color: white; */
}

.convenio-badges_info {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.convenio-badge_info {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    color: white;
}

.convenio-badge_info.active {
    background: var(--success-color);
}

.convenio-title_info {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.convenio-subtitle_info {
    opacity: 0.9;
    font-size: 1rem;
}

.convenio-header-bottom_info {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--gray-100);
    /* position: relative; 
    z-index: 10; */
}

.convenio-stats {
    display: flex;
    gap: 2rem;
}

.convenio-stat {
    text-align: center;
}

.convenio-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.convenio-stat-label {
    font-size: 0.75rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.convenio-actions_info {
    display: flex;
    gap: 0.75rem;
}

.btn-action_info {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.btn-action-primary_info {
    background: var(--gradient-primary-button);
    color: white;
}

.btn-action-primary_info:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    color: white;
}

.btn-action-outline_info {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-action-outline_info:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Services Grid */
/* Section Title */
.section-title_convenio {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-title-icon_convenio {
    width: 40px;
    height: 40px;
    background: var(--primary);
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.section-title_convenio h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.section-title_convenio p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}
.services-grid_convenio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--dark-card);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}
.service-card:hover .service-arrow {
    background: var(--primary-color);
    color: white;
    transform: translateX(3px);
}

.service-card-header {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--dark-card);
} 

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-icon.validador {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.service-icon.homologacion {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.service-icon.soap {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
}

.service-icon.documentacion {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.service-icon.soporte {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.service-content {
    flex: 1;
}
.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.service-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.5;
}

.service-card-footer {
    padding: 1rem 1.5rem;
    background: var(--dark-card);
    border-top: 1px solid var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.service-status.active {
    color: var(--success-color);
}

.service-status.active i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.service-arrow {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.2s;
}

 /* Info Section */
.info-section {
    background: var(--dark-card);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--gray-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-content label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-content span {
    font-weight: 600;
    color: var(--text-primary);
}
