/* ==========================================================================
   Amelia Software - Estilos del Slider Full-Bleed y SVG (Versión Ajustada)
   ========================================================================== */

:root {
    --am-blue: #1665d8;
    --am-blue-dark: #0d4fb0;
    --am-green: #2fa84f;
    --am-text-dark: #1c2733;
    --am-text-gray: #6b7480;
    --am-container-max: 1320px; /* Alineación con Bootstrap XXL para desplazar texto a la izquierda */
}

.am-icon {
    vertical-align: -3px;
    margin-left: 2px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--am-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8fafc; /* Fondo general suave */
}

/* ============ NAVBAR ============ */
.am-navbar {
    padding: 11px 0; /* Reducido de 18px para compactar altura vertical */
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.am-navbar .navbar-brand img {
    height: 60px;
}

/* ============ BARRA DE NAVEGACIÓN: CATEGORÍAS + SERVICIOS + BUSCADOR ============ */
.am-nav-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 650px;
    width: 100%;
}

.am-nav-buttons-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Botón Inicio (Casita Home) */
.btn-am-home {
    background-color: #ffffff !important;
    color: var(--am-blue) !important;
    font-size: 16px;
    height: 38px;
    width: 38px;
    padding: 0;
    border-radius: 6px !important;
    border: 1.5px solid var(--am-blue) !important;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-am-home:hover,
.btn-am-home:focus {
    background-color: #eff6ff !important;
    color: var(--am-blue-dark) !important;
    border-color: var(--am-blue-dark) !important;
    box-shadow: 0 4px 10px rgba(22, 101, 216, 0.12);
}

/* Botón Desplegable Tienda (Sólido Azul) */
.am-store-dropdown-wrapper {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.btn-am-categories {
    background-color: var(--am-blue) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    height: 38px;
    padding: 0 14px;
    border-radius: 6px !important;
    border: 1px solid var(--am-blue) !important;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.btn-am-categories:hover,
.btn-am-categories:focus,
.btn-am-categories[aria-expanded="true"] {
    background-color: var(--am-blue-dark) !important;
    border-color: var(--am-blue-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(22, 101, 216, 0.2);
}

.btn-am-categories::after {
    margin-left: 4px;
    vertical-align: middle;
}

/* Botón Servicios (Outline Borde Azul) */
.btn-am-services-nav {
    background-color: #ffffff !important;
    color: var(--am-blue) !important;
    font-size: 14px;
    font-weight: 600;
    height: 38px;
    padding: 0 16px;
    border-radius: 6px !important;
    border: 1.5px solid var(--am-blue) !important;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-am-services-nav:hover,
.btn-am-services-nav:focus {
    background-color: #eff6ff !important;
    color: var(--am-blue-dark) !important;
    border-color: var(--am-blue-dark) !important;
    box-shadow: 0 4px 10px rgba(22, 101, 216, 0.12);
}

/* Menú desplegable de categorías */
.am-dropdown-categories {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 8px;
    min-width: 230px;
    margin-top: 6px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    animation: fadeInDown 0.2s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.am-dropdown-categories .dropdown-item {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    border-radius: 6px;
    padding: 7px 12px;
    transition: all 0.2s ease;
}

.am-dropdown-categories .dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--am-blue);
    transform: translateX(4px);
}

.am-dropdown-categories .dropdown-item i {
    font-size: 15px;
    width: 20px;
    text-align: center;
}

/* Grupo de Búsqueda */
.am-search-group {
    flex-grow: 1;
    position: relative;
    display: flex;
    height: 38px;
}

.am-search-input {
    border-radius: 6px 0 0 6px !important;
    border: 1px solid #dee2e6;
    border-right: none;
    padding: 0 14px;
    font-size: 14px;
    height: 38px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.am-search-input:focus {
    box-shadow: none;
    border-color: var(--am-blue);
    background-color: #ffffff;
}

/* Botón Lupa */
.btn-am-search {
    background-color: var(--am-blue) !important;
    color: #ffffff !important;
    border: 1px solid var(--am-blue) !important;
    border-radius: 0 6px 6px 0 !important;
    padding: 0 16px;
    font-size: 14px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-am-search:hover {
    background-color: var(--am-blue-dark) !important;
    border-color: var(--am-blue-dark) !important;
    color: #ffffff !important;
}

/* ============ ADAPTABILIDAD RESPONSIVA (MÓVILES) ============ */
@media (max-width: 991.98px) {
    .am-nav-search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        max-width: 100%;
        margin-top: 14px;
        margin-bottom: 10px;
    }
    
    .am-nav-buttons-row {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .btn-am-home {
        height: 40px;
        width: 42px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .am-store-dropdown-wrapper {
        flex: 1;
        width: auto;
    }
    
    .btn-am-categories {
        width: 100%;
        justify-content: space-between;
        font-size: 14px;
        height: 40px;
    }

    .btn-am-services-nav {
        flex: 1;
        height: 40px;
        font-size: 14px;
    }
    
    .am-dropdown-categories {
        width: 100%;
    }
    
    .am-search-group {
        width: 100%;
        height: 40px;
    }
    
    .am-search-input {
        font-size: 14px;
        height: 40px;
        padding: 0 14px;
        border-radius: 6px 0 0 6px !important;
    }
    
    .btn-am-search {
        height: 40px;
        padding: 0 16px;
        border-radius: 0 6px 6px 0 !important;
    }
    
    .am-navbar .am-btn-quote {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 11px 20px;
    }
}

.am-btn-quote {
    background: #0b9444;
    color: #fff;
    border-radius: 6px;
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
}

.am-btn-quote:hover,
.am-btn-quote:focus {
    background: #097a38;
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 148, 68, 0.25);
    transform: translateY(-1px);
}

/* ============ HERO / SLIDER ============ */
/* La ola (hero_fondo.png) cubre TODO el ancho de la sección; el contenido
   lleva padding arriba/abajo para que se alcance a ver la ola fina arriba
   y la ola gruesa abajo, igual que en la referencia. */
.am-hero {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    background-color: #ffffff; /* Fondo blanco para fundirse con las imágenes */
}

.am-hero .carousel-item {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .am-hero .carousel-inner {
        aspect-ratio: 1129 / 354 !important;
        width: 100%;
        position: relative;
    }
    
    .am-hero .carousel-item {
        height: 100% !important;
    }
    
    .am-hero-slide-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
    
    .am-hero-caption {
        position: relative;
        z-index: 2;
        width: 48%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: max(60px, calc((100vw - var(--am-container-max)) / 2 + 30px));
        padding-right: 20px;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .am-hero .carousel-inner {
        aspect-ratio: auto !important;
        height: auto !important;
    }
    
    .am-hero .carousel-item {
        display: flex;
        flex-direction: column;
    }
    
    .am-hero-caption {
        padding: 30px 20px;
        background-color: #ffffff;
        text-align: left;
        order: 1;
    }
    
    .am-hero-slide-img {
        width: 100%;
        height: 180px !important;
        object-fit: cover;
        object-position: right center; /* Enfoca la ilustración a la derecha en móviles */
        order: 2;
    }
    
    .am-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px;
    }
    
    .am-text {
        font-size: 0.9rem !important;
        margin-bottom: 20px;
    }
}

/* Corrección del fundido (fade transition) del carrusel para un cross-fade limpio sin superposiciones de texto */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out !important;
    transform: none !important;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
    z-index: 0;
    transition: opacity 0.6s ease-in-out !important;
}

.am-hero .carousel-item {
    width: 100%;
}

/* Fila a todo lo ancho: NO va dentro de .container para que la foto
   pueda pegar contra el borde derecho de la pantalla (full-bleed).
   La imagen llega hasta el borde inferior de la sección, tapando la
   ola de abajo-derecha; solo queda visible la ola de arriba-izquierda. */
.am-slide-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 460px; /* Altura original restaurada */
    height: 460px;
    margin: 0;
}

/* --- Columna de texto --- */
.am-slide-text {
    width: 100%;
    height: 460px; /* Altura original restaurada */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 24px 24px max(80px, calc((100vw - var(--am-container-max)) / 2 + 65px));
    padding-right: 40px;
}

.am-eyebrow {
    color: var(--am-green);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.am-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.am-title .am-accent {
    color: var(--am-blue);
}

.am-title .am-accent-green {
    color: var(--am-green);
}

.am-text {
    color: var(--am-text-gray);
    font-size: 1rem;
    max-width: 550px; /* Ajustado a 550px para texto más ancho */
    margin-bottom: 28px;
}

.am-btn-primary {
    background: var(--am-blue);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}

.am-btn-primary:hover {
    background: var(--am-blue-dark);
    color: #fff;
}

.am-btn-primary.green {
    background: var(--am-green);
}

.am-btn-primary.green:hover {
    background: #24893f;
}

.am-btn-outline {
    background: transparent;
    border: 1px solid var(--am-blue);
    color: var(--am-blue);
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.am-btn-outline:hover {
    background: var(--am-blue);
    color: #fff;
}

.am-btn-outline.green {
    border-color: var(--am-green);
    color: var(--am-green);
}

.am-btn-outline.green:hover {
    background: var(--am-green);
    color: #fff;
}

/* --- Columna de imagen: FULL-BLEED hasta el borde derecho --- */
.am-slide-media {
    width: 100%;
    height: 460px; /* Altura original restaurada */
    position: relative;
    overflow: hidden;
}

.am-slide-media .am-hero-img {
    width: 100%;
    height: 460px; /* Altura original restaurada */
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (min-width: 992px) {
    .am-slide-text {
        width: 48%; /* Ampliado para dar más espacio horizontal al texto */
    }
    .am-slide-media {
        width: 52%; /* Ajustado en correspondencia */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 10%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 10%);
    }
}

/* Tarjetas flotantes sobre la imagen removidas */

/* ============ INDICADORES DEL CARRUSEL ============ */
.am-hero .carousel-indicators {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: 0;
    justify-content: center;
    z-index: 6;
}

.am-hero .carousel-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #c7d1de;
    border: none;
    opacity: 1;
    margin-right: 8px;
}

.am-hero .carousel-indicators button.active {
    background-color: var(--am-blue);
    width: 22px;
    border-radius: 5px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
    .am-slide-row {
        height: auto;
        min-height: 0;
    }
    .am-slide-text {
        height: auto;
        padding: 24px;
        text-align: left;
    }
    .am-slide-media {
        height: 320px;
    }
    .am-slide-media .am-hero-img {
        height: 320px;
    }
    .am-title {
        font-size: 2rem;
    }
}

/* ============ TIENDA / STORE VIEW ============ */
.am-sidebar-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.am-sidebar-header {
    background-color: var(--am-blue, #1665d8);
    padding: 14px 18px;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

.am-sidebar-header h5 {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.am-sidebar-menu {
    list-style: none;
    padding: 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.am-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.am-menu-item-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.am-cat-icon {
    font-size: 17px;
    width: 22px;
    text-align: center;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.am-cat-name {
    line-height: 1.2;
}

.am-cat-chevron {
    font-size: 11px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: translateX(-4px);
}

.am-menu-item:hover {
    color: var(--am-blue, #1665d8);
    background-color: #f1f5f9;
    transform: translateX(3px);
}

.am-menu-item:hover .am-cat-chevron {
    opacity: 0.7;
    transform: translateX(0);
}

.am-menu-item.active {
    background-color: #e8f5e9; /* Fondo verde suave */
    color: #0b9444; /* Verde corporativo */
    font-weight: 600;
}

.am-menu-item.active .am-cat-chevron {
    opacity: 1;
    color: #0b9444;
    transform: translateX(0);
}

/* Tarjeta de Soporte / Asesoría */
.am-sidebar-support-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.support-icon-circle {
    width: 44px;
    height: 44px;
    background-color: #eff6ff;
    color: #1665d8;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.am-sidebar-support-box h6 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.am-sidebar-support-box p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.45;
}

.btn-am-whatsapp-support {
    background-color: #0b9444;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-am-whatsapp-support:hover {
    background-color: #097d39;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 148, 68, 0.25);
}

/* ============ CUADRÍCULA DE PRODUCTOS ============ */
.am-product-card {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    cursor: pointer;
}

.am-product-card:hover {
    transform: translateY(-6px);
    border-color: #2fa84f;
    /* Resplandor neón azul y verde en hover */
    box-shadow: 0 14px 28px rgba(22, 101, 216, 0.08), 
                0 4px 16px rgba(47, 168, 79, 0.08),
                0 0 20px rgba(47, 168, 79, 0.18);
}

/* Insignia Flotante */
.am-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.am-product-badge .badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
}

.am-product-badge .badge.bg-success {
    background-color: #0b9444 !important; /* Verde oferta */
    color: #ffffff;
}

.am-product-badge .badge.bg-primary {
    background-color: #1665d8 !important; /* Azul primario */
    color: #ffffff;
}

/* Imagen del Producto */
.am-product-img-wrapper {
    height: 180px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 16px;
    position: relative;
}

.am-product-img-wrapper img,
.am-product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.am-product-card:hover .am-product-img {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.no-image-placeholder i {
    font-size: 32px;
}

/* Detalles del Producto */
.am-product-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.am-product-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}

/* Precios */
.am-price-actual {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.am-price-actual.text-success {
    color: #0b9444 !important;
}

.am-price-actual.text-dark {
    color: #0f172a !important;
}

.am-price-old {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 1px;
}

/* ============ GALERÍA DE IMÁGENES (DETALLE) ============ */
.am-product-gallery {
    user-select: none;
}

/* Miniaturas a la izquierda */
.am-gallery-thumbs {
    width: 80px;
    flex-shrink: 0;
}

.thumb-wrapper {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.thumb-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.thumb-wrapper:hover {
    border-color: #cbd5e1;
}

.thumb-wrapper.active {
    border-color: #1665d8;
    box-shadow: 0 0 0 2px rgba(22, 101, 216, 0.15);
}

/* Contenedor Principal (Imagen Grande) */
.am-gallery-main {
    position: relative;
}

.main-image-card {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-card img {
    max-height: 100%;
    max-width: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: cover;
    cursor: crosshair;
}

/* Icono Lupa Flotante */
.zoom-icon-overlay {
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background-color: rgba(241, 245, 249, 0.9);
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
}

.zoom-icon-overlay:hover {
    background-color: #1665d8;
    color: #ffffff;
    border-color: #1665d8;
}

/* ============ VISTA DETALLES OPTIMIZADA ============ */
.btn-back-store {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    margin-top: 4px;
}

.btn-back-store:hover {
    color: #0f172a;
}

.am-detail-content-wrapper {
    padding-top: 2px;
}

.am-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.am-detail-summary-line {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 600;
}

.am-detail-price-vivid {
    font-size: 28px;
    font-weight: 800;
    color: #0b9444; /* Verde vivo C$ del diseño original */
    font-family: 'Outfit', sans-serif;
}

.am-detail-description p {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

/* Especificaciones sin Recuadros */
.specs-list-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #1e293b;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 4px;
    margin-bottom: 8px !important;
}

.am-specs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-list-row {
    font-size: 13.5px;
    line-height: 1.4;
}

.spec-list-icon {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #475569; /* Iconos en gris apagado como en el diseño */
}

.spec-list-prop {
    color: #0f172a;
    font-weight: 600;
    font-size: 13px;
}

.spec-list-value {
    color: #475569;
    font-size: 13.5px;
}

/* Notas Adicionales */
.am-detail-clean-notes {
    font-size: 12px;
    color: #475569;
    background-color: #f8fafc;
    padding: 6px 12px;
    border-radius: 6px;
    border-left: 3px solid #cbd5e1;
}

/* Botón WhatsApp */
.btn-whatsapp-cta {
    background-color: #0b9444; /* Verde más vivo y brillante */
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(11, 148, 68, 0.15);
    transition: all 0.2s ease-in-out;
}

.btn-whatsapp-cta:hover {
    background-color: #097d39;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(11, 148, 68, 0.25);
}

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

/* Ajuste de Galería unificado arriba */

/* ============ SECCIÓN PRODUCTOS DESTACADOS ============ */
.am-featured-products {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.featured-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: #0b9444; /* Verde vivo decorativo */
    margin: 0 auto;
    border-radius: 2px;
}

/* ============ FOOTER (PIE DE PÁGINA CLARO) ============ */
.am-footer {
    background-color: #f8fafc; /* Fondo claro premium */
    color: #475569; /* Gris oscuro para el texto */
    font-family: 'Segoe UI', Roboto, sans-serif;
    border-top: 1px solid #e2e8f0;
}

.am-footer .footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a; /* Títulos en negro/slate */
    letter-spacing: 0.5px;
}

.am-footer .footer-links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.am-footer .footer-links a:hover {
    color: var(--am-blue);
}

.am-footer .footer-contact i {
    font-size: 16px;
    width: 20px;
}

.am-footer .footer-socials .social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.am-footer .footer-socials .social-btn:hover {
    background-color: var(--am-blue);
    border-color: var(--am-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Tarjeta WhatsApp Footer (Estilo Unicell Claro) */
.footer-whatsapp-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 8px 18px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.footer-whatsapp-card:hover {
    border-color: #0b9444;
    box-shadow: 0 4px 12px rgba(11, 148, 68, 0.08);
    transform: translateY(-1px);
    color: #1e293b;
}

.footer-whatsapp-card .wa-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #0b9444;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-whatsapp-card .wa-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.footer-whatsapp-card .wa-text-wrapper .wa-sub {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
}

.footer-whatsapp-card .wa-text-wrapper .wa-main {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.footer-divider {
    border-top: 1px solid #e2e8f0;
    opacity: 1;
}

.footer-bottom-links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-bottom-links a:hover {
    color: var(--am-blue);
}

/* ============ SECCIÓN NUESTROS SERVICIOS ============ */
.am-services {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* ============ SECCIÓN PRODUCTOS DESTACADOS ============ */
.am-featured-products {
    background-color: #ffffff;
}

.services-eyebrow {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1.5px;
    font-size: 13px;
    font-weight: 700;
}

.services-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

/* Efecto gradiente de texto fluorescente */
.am-text-gradient {
    background: linear-gradient(135deg, #1665d8 0%, #2fa84f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.title-underline,
.am-services .title-underline,
.am-services-page .title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #1665d8, #2fa84f);
    margin: 0 auto;
    border-radius: 2px;
}

/* Tarjeta de Servicio */
.am-service-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0px !important;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Círculo del icono */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon {
    font-size: 24px;
    background: linear-gradient(135deg, #1665d8 0%, #2fa84f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.service-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #1e293b;
    font-size: 18px;
    transition: color 0.3s ease;
}

.service-card-desc {
    line-height: 1.5;
}

/* Hover de la Tarjeta con Animación y Sombra Fluorescente */
.am-service-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    /* Sombra con resplandor neón azul y verde combinados */
    box-shadow: 0 12px 24px rgba(22, 101, 216, 0.08), 
                0 4px 16px rgba(47, 168, 79, 0.08),
                0 0 20px rgba(47, 168, 79, 0.15);
}

/* Al pasar el mouse por la tarjeta, el círculo del icono también se anima y resalta */
.am-service-card:hover .service-icon-wrapper {
    border-color: #1665d8;
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(22, 101, 216, 0.15);
}

/* ============ VISTA DE SERVICIOS / SHOWCASE (DISEÑO FIEL) ============ */
.am-services-page {
    background-color: #ffffff;
    min-height: calc(100vh - 200px);
}

.am-section-badge {
    color: #1665d8;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    font-family: 'Outfit', sans-serif;
}

.am-services-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.am-services-page .title-underline {
    width: 65px;
    height: 4px;
    background: linear-gradient(to right, #1665d8, #2fa84f);
    margin: 0 auto;
    border-radius: 2px;
}

/* Tarjeta / Fila de Servicio Plana sobre fondo blanco */
.am-service-showcase-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    box-shadow: none;
    position: relative;
    scroll-margin-top: 100px;
}

/* Icono circular de gran tamaño con halo suave y sombra sutil (Diseño Fiel) */
.am-service-icon-circle {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(22, 101, 216, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 2px 16px rgba(47, 168, 79, 0.12),
                0 4px 20px rgba(22, 101, 216, 0.08),
                0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icono con degradado azul nítido y toque sutil verde en la inclinación */
.am-service-icon-circle i {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #0b63d8 0%, #0b63d8 55%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 0.3s ease;
}

.am-service-icon-circle:hover {
    transform: scale(1.06);
    border-color: rgba(22, 101, 216, 0.28);
    box-shadow: -6px 2px 22px rgba(47, 168, 79, 0.18),
                0 8px 25px rgba(22, 101, 216, 0.14);
}

/* Insignia / Tag del servicio */
.am-service-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #1665d8;
    font-family: 'Outfit', sans-serif;
}

/* Título de la tarjeta */
.am-service-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 2.3vw, 27px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

/* Párrafos de la tarjeta */
.am-service-card-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
}

/* Contenedor de la imagen con hover y resplandor neón */
.am-service-img-container {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.am-service-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover interactivo concentrado exclusivamente en la imagen */
.am-service-img-container:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(22, 101, 216, 0.25);
    box-shadow: 0 20px 40px rgba(22, 101, 216, 0.12),
                0 8px 25px rgba(47, 168, 79, 0.12);
}

.am-service-img-container:hover .am-service-img {
    transform: scale(1.02);
}

/* Checklist para Cloud & IT */
.am-service-checklist .am-checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    padding: 6px 0;
    background-color: transparent;
    border: none;
    transition: all 0.2s ease;
}

.am-checklist-item i {
    font-size: 20px;
    color: #0b9444 !important;
    font-weight: 700;
}

.am-checklist-item:hover {
    transform: translateX(4px);
    color: #1665d8;
}

/* Tarjeta Banner CTA */
.am-service-cta-card {
    background: linear-gradient(135deg, #092c63 0%, #1665d8 100%);
    border-radius: 20px;
    padding: 36px 40px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(9, 44, 99, 0.18);
    position: relative;
    overflow: hidden;
}

.am-service-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 168, 79, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.am-cta-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    flex-shrink: 0;
}

.am-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.am-cta-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-whatsapp-service-cta {
    background-color: #0b9444;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 148, 68, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-service-cta:hover {
    background-color: #097d39;
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(11, 148, 68, 0.45);
}

.btn-whatsapp-service-cta i {
    font-size: 20px;
}

/* Responsive para la vista de servicios */
@media (max-width: 991.98px) {
    .am-service-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .am-service-icon-circle i {
        font-size: 26px;
    }
    
    .am-service-cta-card {
        padding: 28px 20px;
    }
}

