* {
    font-family:'Segoe UI',sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    /* Colores principales */
    --primary-color: #004F80;
    --primary-dark: #104e64;
    --primary-light: rgba(0, 150, 137, 0.15);
    --primary-light-hover: rgba(0, 150, 137, 0.3);
    
    /* Colores secundarios */
    --secondary-color: #f8f9fa;
    --accent-color: #3b82f6;
    --accent-dark: #2563eb;
    --success-color: #22c55e;
    --success-dark: #1d9248;
    
    /* Colores de texto */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --text-gray: #9ca3af;
    --text-gray-dark: #94a3b8;
    
    /* Colores de fondo */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1e293b;
    --bg-gray: #374151;
    --bg-light-blue: #f0f7ff;
    
    /* Colores de borde */
    --border-color: #e9ecef;
    --border-light: rgba(224, 224, 224, 0.3);
    
    /* Efectos */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Opacidades */
    --opacity-overlay: 0.2;
    --opacity-border: 0.3;
    --opacity-muted: 0.9;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;
    --spacing-5xl: 6rem;
    --spacing-9x1: 10rem;
    
    /* Tamaños de fuente */
    --font-xs: 0.75rem;
    --font-sm: 0.8rem;
    --font-base: 0.9rem;
    --font-md: 1rem;
    --font-lg: 1.1rem;
    --font-xl: 1.15rem;
    --font-2xl: 1.2rem;
    --font-3xl: 1.25rem;
    --font-4xl: 1.3rem;
    --font-5xl: 1.5rem;
    --font-6xl: 1.8rem;
    --font-7xl: 2rem;
    --font-8xl: 2.2rem;
    
    /* Radios de borde */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 20px;
    --radius-full: 50%;
    
    /* Z-index */
    --z-dropdown: 999;
    --z-navbar: 1000;
    --z-hamburger: 1001;

}

/* ==== Headers de sección ======*/
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: clamp(var(--font-7xl), 4vw, var(--font-2xl));
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.section-header p {
    font-size: var(--font-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-base);
    margin-bottom: var(--spacing-md);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Botones ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    color: var(--text-light);
}

.btn-success:hover {
    background: var(--success-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    margin-bottom: 1rem;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* =======  Cards Proovedsor y emplos======= */
.partners {
    background: var(--bg-secondary);
    padding: var(--spacing-4xl) 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.partner-card {
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.partner-card > * {
    position: relative;
    z-index: 2;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.provider-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
}

.job-card {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-color) 100%);
}

.partner-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.partner-card h3 {
    font-size: var(--font-5xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    color: var(--text-light);
}

.partner-card h4 {
    font-size: var(--font-7xl);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
}

.partner-card p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-size: var(--font-lg);
    opacity: 0.95;
    color: var(--text-light);
}

.partner-benefits {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    padding: 0;
}

.partner-benefits li {
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
    font-size: var(--font-lg);
    padding-left: var(--spacing-lg);
    position: relative;
    transition: var(--transition);
    color: var(--text-light);
}

.partner-benefits li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.partner-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-light);
    font-weight: bold;
    font-size: var(--font-xl);
}

.provider-card .partner-benefits li::before {
    color: rgba(255, 255, 255, 0.8);
}

.job-card .partner-benefits li::before {
    color: rgba(255, 255, 255, 0.8);
}

.partner-card .btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-lg);
    transition: var(--transition);
    display: inline-block;
    backdrop-filter: blur(10px);
}

.partner-card .btn:hover {
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.provider-card .btn:hover {
    color: var(--primary-color);
}

.job-card .btn:hover {
    color: var(--success-color);
}

.provider-card::after {
    background: rgba(255, 255, 255, 0.08);
}

.job-card::after {
    background: rgba(255, 255, 255, 0.08);
}

/* Animación de entrada para las cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-card {
    animation: slideInUp 0.6s ease-out forwards;
}

.partner-card:nth-child(2) {
    animation-delay: 0.2s;
}
/* ===== Formularios ===== */
/* Page Headers */
.page-header {
    padding: var(--spacing-9x1) 0 var(--spacing-2xl);
    color: var(--text-light);
    text-align: center;
}

.provider-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.job-header {
    background: linear-gradient(135deg, var(--success-color), #16a34a);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: var(--spacing-xl);
    opacity: var(--opacity-muted);
    transition: var(--transition);
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-5px);
}

.header-content h1 {
    font-size: clamp(var(--font-7xl), 5vw, var(--font-8xl));
    margin-bottom: var(--spacing-md);
}

.header-content p {
    font-size: var(--font-2xl);
    opacity: var(--opacity-muted);
}

/* Form Sections */
.form-section {
    padding: var(--spacing-3xl) 0;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.form-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: var(--font-5xl);
}

.job-header .form-icon {
    background: var(--success-color);
}

.form-header h2 {
    color: var(--text-dark);
    font-size: var(--font-4xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-size: var(--font-base);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-md);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Job Page Specific */
.job-content {
   padding: var(--spacing-3xl) 0;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.job-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.job-showcase h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
}

.image-carousel {
    margin-bottom: var(--spacing-xl);
}

.carousel-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-nav:hover {
    background: var(--bg-primary);
}

.carousel-nav.prev {
    left: var(--spacing-md);
}

.carousel-nav.next {
    right: var(--spacing-md);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.benefits-card {
    background: #f0fdf4;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.benefits-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-lg);
}

.benefits-card ul {
    list-style: none;
    color: var(--primary-dark);
}

.benefits-card li {
    margin-bottom: var(--spacing-sm);
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary-color);
}

.file-upload-content i {
    font-size: var(--font-7xl);
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.file-upload-content p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.file-upload input[type="file"] {
    display: none;
}

.file-label {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    background: var(--primary-dark);
}

.file-upload small {
    display: block;
    color: var(--text-muted);
    font-size: var(--font-sm);
    margin-top: var(--spacing-sm);
}

.file-preview {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: none;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    background: var(--success-color);
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: none;
    align-items: center;
    gap: var(--spacing-md);
    z-index: var(--z-hamburger);
    max-width: 400px;
}

.toast.show {
    display: flex;
    animation: slideIn 0.3s ease;
}

.toast.error {
    background: #ef4444;
}

#toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: var(--font-2xl);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Cars de servicios ===== */
/* =====Servicios Paginas======== */
.service-card {
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow);
    margin-bottom: 50px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--primary-light)
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    border-color: var(--primary-light-hover);
}

.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
    align-items: center;
}

.card-text {
    padding: 50px;
}

.card-title {
    font-size: var(--font-7xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
    padding-bottom: var(--spacing-xl);
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.card-description {
    font-size: var(--font-xl);
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.card-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--bg-light-blue);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-image img {
    transform: scale(1.03);
}

.service-card.reverse .card-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-card.reverse .card-text {
    direction: ltr;
}

.feature-list {
    list-style: none;
    margin-top: 25px;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: var(--font-lg);
}

.feature-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23009689'%3E%3Cpath d='M9.707 19.121a.997.997 0 0 1-1.414 0l-5.646-5.647a1.5 1.5 0 0 1 0-2.121l.707-.707a1.5 1.5 0 0 1 2.121 0L9 14.171l9.525-9.525a1.5 1.5 0 0 1 2.121 0l.707.707a1.5 1.5 0 0 1 0 2.121z'/%3E%3C/svg%3E");
    background-size: contain;
}

.cta-container {
    max-width: 1000px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-2xl);
    padding: var(--spacing-5xl);
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-5xl);
    margin-bottom: var(--spacing-5xl);
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-container h3 {
    font-size: var(--font-8xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.cta-container p {
    font-size: var(--font-3xl);
    opacity: var(--opacity-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}
/* ==============================================
   ESTILOS RESPONSIVOS - DISEÑO ADAPTATIVO
   ============================================== */

/* ==============================================
   TABLET - PANTALLAS MEDIANAS (max-width: 1024px)
   ============================================== */
@media (max-width: 1024px) {
    /* Tarjetas de servicios */
    .card-content {
        grid-template-columns: 1fr;
    }
    
    .service-card.reverse .card-content {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .card-text {
        padding: 40px;
    }
    
    .card-image {
        min-height: 350px;
    }
}

/* ==============================================
   TABLET PEQUEÑA - MÓVIL GRANDE (max-width: 768px)
   ============================================== */
@media (max-width: 768px) {
    
    /* ===== NAVEGACIÓN ===== */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--text-light);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    /* ===== SECCIÓN DE SERVICIOS ===== */
    .services-cards-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .card-title {
        font-size: 1.7rem;
    }
    
    .card-text {
        padding: 30px;
    }
    
    .cta-container {
        padding: 40px 25px;
    }
    
    /* ===== BOTONES Y HERO ===== */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* ===== GRIDS RESPONSIVOS ===== */
    .features-grid,
    .mission-grid,
    .partners-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* ===== CAROUSEL DE SERVICIOS ===== */
    .services-carousel {
        flex-direction: column;
    }
    
    .service-numbers {
        flex-direction: row;
        justify-content: center;
    }
    
    /* ===== CONTENIDO DE RESULTADOS ===== */
    .results-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* ===== TRABAJOS Y FOOTER ===== */
    .job-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-stats {
        justify-content: center;
        gap: 1rem;
    }
}

/* ==============================================
   MÓVIL - PANTALLAS PEQUEÑAS (max-width: 480px)
   ============================================== */
@media (max-width: 480px) {
    
    /* ===== CONTENEDORES GENERALES ===== */
    .container {
        padding: 0 15px;
    }
    
    /* ===== SECCIÓN HERO ===== */
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* ===== ENCABEZADOS DE SECCIÓN ===== */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.05rem;
    }
    
    /* ===== TARJETAS DE SERVICIOS ===== */
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-text {
        padding: 25px;
    }
    
    .card-description {
        font-size: 1.05rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
    
    /* ===== CALL TO ACTION ===== */
    .cta-container h3 {
        font-size: 1.8rem;
    }
    
    .cta-container p {
        font-size: 1.05rem;
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 1.05rem;
    }
    
    /* ===== FORMULARIOS ===== */
    .form-container {
        padding: 1.5rem;
    }
    
    /* ===== NAVEGACIÓN DE CAROUSEL ===== */
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav.prev {
        left: 0.5rem;
    }
    
    .carousel-nav.next {
        right: 0.5rem;
    }
}

/* Privacidad */

.container-privacidad {
  display: flex;
  margin-top: var(--spacing-9x1);
  margin-bottom: var(--spacing-5xl);
  padding-top: 5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  background-color: var(--bg-light-blue);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.privacidad {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--primary-blue);
  padding-bottom: 15px;
}

.privacidad h1 {
  color: var(--deep-blue);
  margin-bottom: 10px;
}

.privacidad h2 {
  color: black;
  font-weight: normal;
}

.intro-privacidad {
  margin-bottom: 25px;
  padding: 15px;
  background-color: var(--light-blue);
  border-radius: 5px;
  font-style: italic;
}

.section-privacidad{
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--light-gray);
}

.container-privacidad h3 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.container-privacidad p {
  margin-bottom: 15px;
  text-align: justify;
  color: #000;
}


.fecha {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid var(--primary-blue);
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

 
}

/* ======== SECCIÓN SERVICIOS ========== */
        .servicios-section {
            max-width: 1300px;
            margin: 60px auto;
            padding: 20px;
        }

        .servicios-titulo {
            text-align: center;
            font-size: 2.6rem;
            font-weight: bold;
            color: #003a6f;
            margin-bottom: 40px;
        }

        .titulo-dentro {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 10px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
        }

        /* ======== ACORDEÓN DESKTOP ========== */
        .acordeon-lealco {
            display: flex;
            height: 350px;
            gap: 10px;
            border-radius: 12px;
            overflow: hidden;
        }

        .acordeon-item {
            position: relative;
            flex: 1;
            overflow: hidden;
            cursor: pointer;
            transition: flex 0.4s ease;
            border-radius: 10px;
        }

        .acordeon-item.open {
            flex: 4;
        }

        .fondo {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            filter: brightness(0.6);
            z-index: 0;
        }

        .overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
            transition: background 0.4s ease;
        }

        .acordeon-item.open .overlay {
            background: linear-gradient(135deg, #003a6f 0%, #0077b6 100%);
            opacity: 0.95;
        }

        /* === TÍTULO LATERAL ROTADO === */
        .label-bar {
            position: absolute;
            top: 85%;
            right: 150px;
            transform: translateY(-50%) rotate(-90deg);
            background-color: var(--primary-color);
            color: var(--text-light);
            padding: 12px 8px;
            font-weight: bold;
            font-size: 1.1rem;
            z-index: 2;
            transition: opacity 0.3s ease, transform 0.3s ease;
            pointer-events: none;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            border-radius: 12px;
        }

        .acordeon-item.open .label-bar {
            opacity: 0;
            transform: translateY(-50%) rotate(90deg) scale(0.95);
        }

        .acordeon-content {
            position: absolute;
            bottom: 20px;
            left: 20px;
            z-index: 3;
            max-width: 300px;
            color: #fff;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .acordeon-item.open .acordeon-content {
            opacity: 1;
            transform: translateY(0);
        }

        .acordeon-content p {
            font-size: 1rem;
            line-height: 1.5;
        }

        .btn-saber-mas {
            display: inline-block;
            margin-top: 12px;
            padding: 8px 18px;
            background: #ffffff;
            color: #003a6f;
            border-radius: 6px;
            font-weight: bold;
            text-decoration: none;
            transition: background 0.3s ease;
        }

        .btn-saber-mas:hover {
            background: #e0e0e0;
        }

        /* ======== ACORDEÓN VERTICAL PARA MÓVILES ========== */
        .acordeon-vertical {
            display: none;
            flex-direction: column;
            gap: 15px;
        }

        .acordeon-item-vertical {
            position: relative;
            height: 120px;
            overflow: hidden;
            cursor: pointer;
            transition: height 0.4s ease;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .acordeon-item-vertical.open {
            height: 280px;
        }

        .fondo-vertical {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            filter: brightness(0.7);
            z-index: 0;
        }

        .overlay-vertical {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1;
            transition: background 0.4s ease;
        }

        .acordeon-item-vertical.open .overlay-vertical {
            background: linear-gradient(135deg, #003a6f 0%, #0077b6 100%);
            opacity: 0.92;
        }

        .label-bar-vertical {
            position: absolute;
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
            background-color: var(--primary-color);
            color: var(--text-light);
            padding: 10px 16px;
            font-weight: bold;
            font-size: 1rem;
            z-index: 2;
            border-radius: 8px;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .acordeon-item-vertical.open .label-bar-vertical {
            opacity: 0;
            transform: translateY(-50%) scale(0.9);
        }

        .acordeon-content-vertical {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            z-index: 3;
            color: #fff;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .acordeon-item-vertical.open .acordeon-content-vertical {
            opacity: 1;
            transform: translateY(0);
        }

        .titulo-dentro-vertical {
            font-size: 1.4rem;
            font-weight: bold;
            margin-bottom: 10px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
        }

        .acordeon-content-vertical p {
            font-size: 0.95rem;
            line-height: 1.4;
            margin-bottom: 15px;
        }

        .btn-saber-mas-vertical {
            display: inline-block;
            padding: 10px 20px;
            background: #ffffff;
            color: #003a6f;
            border-radius: 8px;
            font-weight: bold;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .btn-saber-mas-vertical:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        /* ======== RESPONSIVE ========== */
        @media (max-width: 768px) {
            .servicios-titulo {
                font-size: 2rem;
                margin-bottom: 30px;
            }

            .acordeon-lealco {
                display: none;
            }

            .acordeon-vertical {
                display: flex;
            }

            .servicios-section {
                margin: 40px auto;
                padding: 15px;
            }
        }

        @media (max-width: 480px) {
            .servicios-titulo {
                font-size: 1.7rem;
            }

            .acordeon-item-vertical {
                height: 100px;
            }

            .acordeon-item-vertical.open {
                height: 260px;
            }

            .label-bar-vertical {
                font-size: 0.9rem;
                padding: 8px 12px;
            }

            .titulo-dentro-vertical {
                font-size: 1.2rem;
            }

            .acordeon-content-vertical p {
                font-size: 0.9rem;
            }
        }