/**
 * ========================================
 * ARAMED Y LABORATORIOS - Landing Page CSS
 * ========================================
 * 
 * Estilos específicos para la landing page
 * 
 * @package    Aramed
 * @author     IDEAMIA Tech
 * @copyright  2025 Aramed y Laboratorios
 */

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero Swiper */
.hero-swiper {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    position: relative;
}

/* Hero Slide Image (Picture Element) */
.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    opacity: 1 !important;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1 !important;
    filter: none !important;
}

/* Hero Slide Background (Gradient Overlay) */
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* Removed overlay gradient to show images without color filters */

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

/* Hero Logo */
.hero-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-logo img {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Hero Content Layout */
.hero-content.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.hero-badge-wrapper {
    margin-top: 1rem;
}

/* Hero Badge */
.hero-badge {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    display: inline-block;
    animation: pulse 2s infinite;
}

/* Hero Title */
.hero-title {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: none;
    margin-bottom: 1.5rem;
}

.hero-title sup {
    font-size: 0.5em;
    top: -0.5em;
}

/* Hero Subtitle */
.hero-subtitle {
    font-weight: 400;
    line-height: 1.4;
    text-shadow: none;
}

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: none;
}

/* Hero Features List */
.hero-features {
    max-width: 600px;
}

.hero-features li {
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: none;
}

.hero-features i {
    font-size: 1.2rem;
}

/* Hero Actions */
.hero-actions .btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn-light:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Hero Stats */
.hero-stats {
    padding-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: none;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Swiper Navigation */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #ffffff;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 24px;
    font-weight: 900;
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
    bottom: 30px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ffffff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 40px;
    border-radius: 6px;
    background: #ffffff;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.scroll-down span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

.scroll-down span:nth-child(2) {
    top: 16px;
    animation-delay: 0.15s;
}

.scroll-down span:nth-child(3) {
    top: 24px;
    animation-delay: 0.3s;
}

@keyframes scrollDown {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Text helpers */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-swiper {
        height: 90vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767.98px) {
    .hero-swiper {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem !important;
    }
    
    .hero-features li {
        font-size: 0.875rem;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero-stats {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Ocultar navegación en móvil */
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
    
    /* Pagination más pequeña en móvil */
    .hero-swiper .swiper-pagination {
        bottom: 20px;
    }
    
    .hero-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .hero-swiper .swiper-pagination-bullet-active {
        width: 24px;
    }
    
    /* Scroll indicator más pequeño */
    .hero-scroll-indicator {
        bottom: 80px;
    }
    
    .scroll-down {
        width: 24px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Landscape móvil */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-swiper {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 4rem 0;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}

/* ========================================
   SECCIONES
   ======================================== */

.section-aliados {
    background-color: var(--color-white);
}

.section-services {
    background-color: var(--color-gray-100);
}

.section-productos {
    background-color: var(--color-white);
}

.section-newsletter {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

/* ========================================
   PLACEHOLDERS TEMPORALES
   ======================================== */

.hero-placeholder,
.aliados-placeholder,
.services-placeholder,
.productos-placeholder,
.newsletter-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-3xl);
    text-align: center;
}

.section-services .services-placeholder,
.section-productos .productos-placeholder {
    background-color: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ========================================
   TOPBAR
   ======================================== */

.topbar {
    background-color: var(--color-gray-900);
    font-size: var(--font-size-sm);
}

.topbar-message {
    font-weight: var(--font-weight-medium);
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar.sticky-top {
    z-index: var(--z-sticky);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-gray-700);
    font-weight: var(--font-weight-medium);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--color-primary);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--color-gray-900);
}

.footer h5 {
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
}

.footer a {
    transition: color var(--transition-base);
}

.footer a:hover {
    color: var(--color-primary) !important;
}

.social-links a {
    font-size: 1.5rem;
    display: inline-block;
    transition: all var(--transition-base);
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-links a:hover {
    color: var(--color-primary) !important;
    transform: translateY(-3px);
}

/* Social links en footer - asegurar visibilidad de iconos */
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.social-link:hover {
    background: var(--color-primary);
    color: #ffffff !important;
    transform: translateY(-4px);
}

.social-link:hover i {
    color: #ffffff !important;
}

/* ========================================
   MODAL DE CONTACTO
   ======================================== */

.modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
}

.modal-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
}

.modal-body {
    padding: var(--spacing-xl);
}

.modal-footer {
    border-top: 1px solid var(--color-gray-200);
    padding: var(--spacing-lg) var(--spacing-xl);
}

/* ========================================
   ANIMACIONES PERSONALIZADAS
   ======================================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   EFECTOS HOVER
   ======================================== */

.hover-lift {
    transition: all var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ========================================
   GRADIENTES
   ======================================== */

.gradient-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
}

.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.gradient-overlay > * {
    position: relative;
    z-index: 2;
}

/* ========================================
   SOCIAL PROOF - ALIADOS
   ======================================== */
.section-aliados {
    position: relative;
    overflow: hidden;
}

.section-aliados .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aramed-primary);
    margin-bottom: 1rem;
}

.section-aliados .section-subtitle {
    font-size: 1.125rem;
    color: var(--aramed-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Aliados Carousel */
.aliados-carousel-wrapper {
    position: relative;
    padding: 2rem 0;
}

.aliados-swiper {
    width: 100%;
    padding: 20px 0;
}

.aliados-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.aliado-card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.aliado-logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 200px;
    height: 100px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.aliado-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.aliado-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.aliado-logo-wrapper:hover .aliado-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Removed overlay and company names on hover */

/* ========================================
   TESTIMONIOS
   ======================================== */
.testimonios-section {
    position: relative;
}

.testimonios-swiper {
    padding: 20px 10px 60px !important;
}

.testimonios-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonio-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.15);
}

.testimonio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.testimonio-stars {
    display: flex;
    gap: 4px;
}

.testimonio-stars i {
    font-size: 1.125rem;
}

.quote-icon {
    font-size: 2.5rem;
    opacity: 0.15;
    line-height: 1;
}

.testimonio-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--aramed-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.testimonio-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.25rem;
    margin-top: auto;
}

.testimonio-author strong {
    color: var(--aramed-text);
    font-size: 1rem;
    font-weight: 600;
}

.testimonio-author .text-muted {
    font-size: 0.875rem;
}

.testimonio-author .text-primary {
    font-weight: 500;
}

/* Testimonios Swiper Navigation */
.testimonios-swiper .swiper-pagination {
    bottom: 20px !important;
}

.testimonios-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--aramed-primary);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonios-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    position: relative;
    padding: 2rem 0;
}

.stat-box {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.15);
}

.stat-box .stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive para Aliados y Testimonios */
@media (max-width: 991.98px) {
    .section-aliados .section-title {
        font-size: 2rem;
    }
    
    .testimonio-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-box .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-aliados .section-title {
        font-size: 1.75rem;
    }
    
    .aliado-logo-wrapper {
        max-width: 150px;
        height: 80px;
        padding: 15px;
    }
    
    .testimonio-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonio-text {
        font-size: 0.9375rem;
    }
    
    .stat-box .stat-number {
        font-size: 2rem;
    }
    
    .stat-box .stat-label {
        font-size: 0.8rem;
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.section-services {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-services .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aramed-text);
}

/* Service Card */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--aramed-primary), var(--aramed-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2);
}

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

/* Featured Card */
.service-card.featured {
    border: 2px solid var(--aramed-success);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #198754 !important;  /* Verde Bootstrap Success */
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.5);
    z-index: 10;
}

.featured-badge i {
    color: white !important;
}

/* Service Icon */
.service-icon-wrapper {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon-image {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Convierte iconos a blanco */
    display: block;
}

.service-icon i {
    color: white !important;
    font-size: 2.5rem !important;
    display: inline-block !important;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-icon i.bi {
    color: #ffffff !important;
    font-size: 2.5rem !important;
}

.service-icon i::before {
    color: white !important;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Service Title */
.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aramed-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Service Description */
.service-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--aramed-text-light);
    margin-bottom: 1.5rem;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--aramed-text);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-features li i {
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Service CTA Button */
.service-cta {
    margin-top: auto;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    transition: all 0.3s ease;
    border-width: 2px;
}

/* Mejorar contraste de botones outline */
.btn-outline-info {
    color: #0a5a72;
    border-color: #0a5a72;
}

.btn-outline-info:hover {
    background-color: #0a5a72;
    border-color: #0a5a72;
    color: white;
}

.btn-outline-warning {
    color: #8b6000;
    border-color: #8b6000;
}

.btn-outline-warning:hover {
    background-color: #8b6000;
    border-color: #8b6000;
    color: white;
}

.btn-outline-danger {
    color: #b91c1c;
    border-color: #b91c1c;
}

.btn-outline-danger:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    color: white;
}

.btn-outline-secondary {
    color: #374151;
    border-color: #374151;
}

.btn-outline-secondary:hover {
    background-color: #374151;
    border-color: #374151;
    color: white;
}

.service-cta:hover {
    transform: translateX(5px);
}

/* Services CTA Box */
.services-cta-box {
    background: linear-gradient(135deg, var(--aramed-primary) 0%, var(--aramed-primary-dark) 100%);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.services-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.services-cta-box h3 {
    color: white;
}

.services-cta-box .btn {
    white-space: nowrap;
}

/* Responsive para Services */
@media (max-width: 991.98px) {
    .section-services .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-icon-image {
        width: 65%;
        height: 65%;
    }
    
    .service-icon i {
        font-size: 2rem !important;
    }
    
    .service-title {
        font-size: 1.375rem;
    }
    
    .services-cta-box {
        padding: 2rem;
        text-align: center;
    }
    
    .services-cta-box .btn {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section-services .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.75rem 1.25rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .service-icon-image {
        width: 65%;
        height: 65%;
    }
    
    .service-icon i {
        font-size: 1.75rem !important;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.875rem;
    }
    
    .service-features li {
        font-size: 0.875rem;
    }
    
    .featured-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }
    
    .services-cta-box {
        padding: 1.5rem;
    }
}

/* ========================================
   PRODUCTOS DESTACADOS
   ======================================== */
.section-productos {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.section-productos .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aramed-text);
}

/* Product Showcase (Layout Alternado / Zigzag) */
.product-showcase {
    position: relative;
    padding: 2rem 0;
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.4s ease;
}

.product-image-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2);
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 6/5;
    object-fit: cover;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--aramed-primary);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
    z-index: 2;
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-badge i {
    color: white !important;
}

.product-badge.bg-info {
    background: #17a2b8 !important;
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.product-badge.bg-warning {
    background: #ffc107 !important;
    color: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-badge.bg-warning i {
    color: #1a1a1a !important;
}

.product-badge.bg-danger {
    background: #dc3545 !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Product Content */
.product-content {
    padding: 1rem 0;
}

.product-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--aramed-primary);
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--aramed-text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--aramed-text-light);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--aramed-text);
    margin-bottom: 1.5rem;
}

/* Product Features List */
.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.product-features-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--aramed-text);
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.product-features-list li i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-actions .btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.product-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Productos CTA Box */
.productos-cta-box {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.productos-cta-box h3 {
    color: var(--aramed-text);
}

/* Responsive para Productos */
@media (max-width: 991.98px) {
    .section-productos .section-title {
        font-size: 2rem;
    }
    
    .product-showcase {
        padding: 1.5rem 0;
    }
    
    .product-title {
        font-size: 1.75rem;
    }
    
    .product-subtitle {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.9375rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        min-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .section-productos .section-title {
        font-size: 1.75rem;
    }
    
    .product-showcase {
        padding: 1rem 0;
        margin-bottom: 2rem !important;
    }
    
    /* En móvil, siempre imagen primero */
    .product-showcase .col-lg-6 {
        order: 1 !important;
    }
    
    .product-showcase .col-lg-6:last-child {
        order: 2 !important;
    }
    
    .product-image-wrapper {
        border-radius: 16px;
    }
    
    .product-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        top: 15px;
        right: 15px;
    }
    
    .product-content {
        padding: 1.5rem 0 0 0;
    }
    
    .product-category {
        font-size: 0.75rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }
    
    .product-description {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .product-features-list li {
        font-size: 0.875rem;
        padding: 0.625rem 0;
    }
    
    .product-actions .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .productos-cta-box {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.section-newsletter {
    position: relative;
    background: linear-gradient(135deg, var(--aramed-primary) 0%, var(--aramed-primary-dark) 100%);
    overflow: hidden;
}

.section-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section-newsletter .section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

/* Newsletter Form Wrapper */
.newsletter-form-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.newsletter-form-wrapper .form-label {
    color: var(--aramed-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Asegurar visibilidad de labels en newsletter */
.section-newsletter .form-label {
    color: #1a1a1a !important;
    font-weight: 600;
}

.newsletter-form-wrapper .form-control,
.newsletter-form-wrapper .form-select {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #1a1a1a !important;
    background-color: #ffffff !important;
}

.newsletter-form-wrapper .form-control::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

.newsletter-form-wrapper textarea.form-control {
    color: #1a1a1a !important;
}

.newsletter-form-wrapper .form-select {
    color: #1a1a1a !important;
    background-color: #ffffff !important;
}

.newsletter-form-wrapper .form-select option {
    color: #1a1a1a !important;
    background-color: #ffffff !important;
}

.newsletter-form-wrapper .form-control:focus,
.newsletter-form-wrapper .form-select:focus {
    border-color: var(--aramed-primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);
    color: #1a1a1a !important;
}

.newsletter-form-wrapper .form-control.is-invalid,
.newsletter-form-wrapper .form-select.is-invalid {
    border-color: var(--aramed-danger);
}

.newsletter-form-wrapper .form-control.is-valid,
.newsletter-form-wrapper .form-select.is-valid {
    border-color: var(--aramed-success);
}

/* Form Check (Privacy Policy) */
.newsletter-form-wrapper .form-check {
    padding: 1.25rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.newsletter-form-wrapper .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--aramed-primary);
    margin-top: 0.125rem;
    cursor: pointer;
    background-color: #ffffff;
}

.newsletter-form-wrapper .form-check-input:checked {
    background-color: #0B9FD9 !important;
    border-color: #0B9FD9 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.newsletter-form-wrapper .form-check-input:focus {
    border-color: #0B9FD9;
    box-shadow: 0 0 0 0.25rem rgba(11, 159, 217, 0.25);
}

.newsletter-form-wrapper .form-check-label {
    color: #1a1a1a !important;  /* Color oscuro para visibilidad */
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.newsletter-form-wrapper .form-check-label a {
    color: var(--aramed-primary) !important;
    text-decoration: underline;
}

.newsletter-form-wrapper .form-check-label a:hover {
    color: var(--aramed-primary-dark) !important;
}

/* Submit Button */
.newsletter-form-wrapper .btn-light {
    background: #0B9FD9 !important;  /* Azul Aramed */
    color: white !important;
    border: none !important;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 159, 217, 0.4);
    font-size: 1.125rem;
}

.newsletter-form-wrapper .btn-light:hover {
    background: #0988BA !important;  /* Azul oscuro */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11, 159, 217, 0.5);
}

.newsletter-form-wrapper .btn-light i {
    color: white !important;
}

/* Alerts */
.newsletter-form-wrapper .alert {
    border-radius: 12px;
    border: none;
    margin-bottom: 2rem;
}

/* Input Group (Teléfono con extensión) */
.newsletter-form-wrapper .input-group .form-control {
    border-radius: 12px 0 0 12px;
}

.newsletter-form-wrapper .input-group .form-control:last-child {
    border-radius: 0 12px 12px 0;
}

/* Responsive para Newsletter */
@media (max-width: 991.98px) {
    .section-newsletter .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form-wrapper {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-newsletter .section-title {
        font-size: 1.75rem;
    }
    
    .newsletter-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .newsletter-form-wrapper .form-control,
    .newsletter-form-wrapper .form-select {
        font-size: 0.9375rem;
    }
    
    .newsletter-form-wrapper .btn-light {
        width: 100%;
        padding: 1rem 2rem !important;
    }
    
    .newsletter-form-wrapper .form-check {
        padding: 1rem;
    }
}


/* ========================================
   SECCIÓN ALIADOS ESTRATÉGICOS - DETALLE
   ======================================== */

.section-aliados-detalle {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Aliado Card */
.aliado-detalle-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.aliado-detalle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(11, 159, 217, 0.15);
}

/* Logo Wrapper */
.aliado-logo-wrapper {
    width: 100%;
    max-width: 220px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.aliado-detalle-card:hover .aliado-logo-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: scale(1.05);
}

.aliado-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.aliado-detalle-card:hover .aliado-logo {
    filter: grayscale(0%) brightness(1.1);
}

/* Aliado Info */
.aliado-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.aliado-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--aramed-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.aliado-description {
    font-size: 0.9375rem;
    color: var(--aramed-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 991.98px) {
    .aliado-detalle-card {
        padding: 1.5rem;
    }
    
    .aliado-logo-wrapper {
        max-width: 180px;
        height: 120px;
    }
    
    .aliado-name {
        font-size: 1.125rem;
    }
    
    .aliado-description {
        font-size: 0.875rem;
    }
}

@media (max-width: 767.98px) {
    .section-aliados-detalle {
        padding: 3rem 0 !important;
    }
    
    .aliado-detalle-card {
        padding: 1.5rem 1rem;
    }
    
    .aliado-logo-wrapper {
        max-width: 160px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .aliado-name {
        font-size: 1rem;
    }
    
    .aliado-description {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
}

/* ========================================
   ALIADOS DETALLE CAROUSEL
   ======================================== */

.aliados-detalle-swiper {
    position: relative;
    padding: 0 50px;
    overflow: hidden;
}

.aliados-detalle-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.aliados-detalle-swiper .aliado-detalle-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Navegación del carrusel */
.aliados-detalle-swiper .swiper-button-next,
.aliados-detalle-swiper .swiper-button-prev {
    color: var(--aramed-primary);
    background: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.aliados-detalle-swiper .swiper-button-next:hover,
.aliados-detalle-swiper .swiper-button-prev:hover {
    background: var(--aramed-primary);
    color: white;
    transform: scale(1.1);
}

.aliados-detalle-swiper .swiper-button-next:after,
.aliados-detalle-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}

/* Paginación del carrusel */
.aliados-detalle-swiper .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.aliados-detalle-swiper .swiper-pagination-bullet {
    background: rgba(11, 159, 217, 0.3);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.aliados-detalle-swiper .swiper-pagination-bullet-active {
    background: var(--aramed-primary);
    transform: scale(1.2);
}

/* Responsive para el carrusel */
@media (max-width: 767.98px) {
    .aliados-detalle-swiper {
        padding: 0 30px;
    }
    
    .aliados-detalle-swiper .swiper-button-next,
    .aliados-detalle-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .aliados-detalle-swiper .swiper-button-next:after,
    .aliados-detalle-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* ========================================
   PRODUCTOS - LOGOS DE EMPRESAS
   ======================================== */

.product-content .company-logo {
    height: 30px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-content .company-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 767.98px) {
    .product-content .company-logo {
        height: 25px;
        max-width: 100px;
    }
}
