/* Tipografía y estilos base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5f7fb; /* Fondo claro */
    color: #222;
    line-height: 1.5;
}

/* CABECERA / NAVBAR */
.site-header {
    position: absolute;
    top: 18px;
    left: 50%;
    width: fit-content;
    max-width: calc(100% - 2rem);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.66), rgba(3, 7, 18, 0.48)),
        rgba(3, 7, 18, 0.38);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    z-index: 30;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.28rem 1rem 0.28rem 0.62rem;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.logo {
    height: 42px;
    width: auto;
    display: block;
    filter: none;
}

/* Menú principal */
.main-nav ul {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.48rem;
}

.main-nav a,
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1;
    padding: 0.66rem 0.82rem;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, transform 0.2s ease;
    text-shadow: none;
}

.main-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.nav-dropdown-trigger:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.main-nav a.active,
.nav-dropdown-trigger.active {
    color: #ffffff;
    background: linear-gradient(135deg, #b00000, #7f0000);
    border-color: rgba(176, 0, 0, 0.18);
    box-shadow: 0 10px 22px rgba(164, 0, 0, 0.3);
}

/* Posicionar li para el dropdown */
.main-nav li {
    position: relative;
    z-index: 1;
}

.has-dropdown::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.75rem;
    content: "";
}

/* Caja del dropdown de "Negocios" */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    min-width: 240px;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(8, 13, 24, 0.94);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transform-origin: top left;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 999;
}

/* Mostrar al pasar el ratón por "Negocios" */
.has-dropdown:hover .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Título del dropdown */
.nav-dropdown-title {
    font-weight: 700;
    margin: 0.25rem 0.6rem 0.45rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Enlaces dentro del dropdown (override de .main-nav a) */
.nav-dropdown a {
    display: block;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    border: none;
    border-radius: 14px;
    text-shadow: none;
}

.nav-dropdown a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    transform: none;
}

.nav-dropdown a.active {
    color: #ffffff;
    background: #a40000;
    box-shadow: none;
}

/* Dropdown específico para HARDWARE (en columnas) */
.nav-dropdown--hardware {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 0.7rem;
    min-width: 560px;
    padding: 0.7rem;
}

.nav-dropdown-column {
    min-width: 0;
}

.nav-dropdown--hardware .nav-dropdown-title {
    margin-bottom: 0.5rem;
}

.nav-dropdown--hardware a {
    font-size: 0.9rem;
    padding: 0.7rem 0.85rem;
}

/* SECCIÓN HERO (CABECERA GRANDE) */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Contenedor del carrusel */
.hero-slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

/* Capa oscura encima de las imágenes */
.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* ajusta el 0.45 si lo quieres más/menos oscuro */
    z-index: 1;
}

/* Cada imagen del carrusel */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Imagen visible */
.hero-image.active {
    opacity: 1;
}

/* Texto encima de la imagen */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* centra en X e Y */
    max-width: 600px;
    width: 90%;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 2; /* por encima de las imágenes */
    text-align: center;                /* centra h1, p y botón */
}
 
.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
 
.hero-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
 
.hero-button {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background-color: #ffffff;
    color: red; /* si quieres que combine con el menú */
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
 
.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE: ajustamos la altura del carrusel en móviles */
@media (max-width: 700px) {
    .hero-slider {
        height: 300px;
    }

    .hero-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }
}

/* CONTENIDO CENTRAL */
.main-content {
    min-height: 300px; /* Solo para que se vea espacio en blanco */
    padding: 3rem 2.5rem;
    background-color: #ffffff; /* Fondo claro */
}

/* SECCIÓN NUESTROS SERVICIOS */
.services-section {
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    text-align: center;
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 2rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* Grid de 3x2 tarjetas */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

/* Tarjeta individual */
.service-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 2rem 1.8rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid #e8eaef;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.10);
}

/* Icono de la tarjeta */
.service-icon {
    width: 60px;
    height: 60px;    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Título y texto de la tarjeta */
.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #ac0000;                  /* rojo oscuro */
}

.service-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Responsive: 2 columnas en tablets, 1 en móvil */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 1.8rem;
    }
}

/* === ÁGORA: selector Hostelería / Retail === */
.page-agora .main-content {
    padding-top: 2rem;
}

/* Contenedor, centrado */
.agora-segment-switch {
    display: flex;
    justify-content: center;
    margin: 0 0 1.5rem;
}

/* Pista del switch */
.agora-segment-inner {
    position: relative;
    display: inline-flex;
    width: 320px;
    background-color: #f3f4f6;
    padding: 4px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

/* “Pastilla” que se desliza */
.agora-segment-inner::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    background-color: #8b0000;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.35);
    transform: translateX(0%);
    transition: transform 0.2s ease;
    z-index: 0;
}

/* Cuando está seleccionado Retail, movemos la pastilla a la derecha */
.agora-segment-inner.is-retail::before {
    transform: translateX(100%);
}

/* Botones encima de la pista */
.agora-segment {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    transition: color 0.15s ease, transform 0.1s ease;
}

.agora-segment:hover {
    transform: translateY(-1px);
}

.agora-segment-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agora-segment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.15s ease, opacity 0.15s ease;
}

/* Activo: texto en blanco y icono a color */
.agora-segment.active {
    color: #ffffff;
}

.agora-segment.active .agora-segment-icon img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* Vistas (Hostelería / Retail) */
.agora-view {
    display: none;
}

.agora-view.active {
    display: block;
}

/* === RESTAURANTE: Gestión en el establecimiento === */
.rest-manage-section {
    max-width: 1100px;
    margin: 1rem auto 0;
}

.rest-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
    color: #8b0000; /* rojo oscuro */
    margin-bottom: 0.4rem;
}

.rest-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 0.8rem;
}

.rest-subtitle {
    max-width: 780px;
    margin: 0 auto 1.8rem;
    text-align: center;
    color: #4b5563;
    font-size: 0.95rem;
}

/* Tabs */
.rest-tabs-wrapper {
    position: relative;
    display: flex;
    max-width: 1120px;
    margin: 2.2rem auto 1.4rem;
    padding: 0.55rem;
    border: 1px solid rgba(139, 0, 0, 0.1);
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 10%, rgba(176, 0, 0, 0.08), transparent 28%),
        linear-gradient(145deg, #f8fafc, #eef1f5);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.rest-tabs {
    width: 100%;
}

.rest-tab {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    color: #334155;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
    transition: border-color 0.2s ease, background-color 0.2s ease,
                color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rest-tab:hover {
    z-index: 1;
    border-color: rgba(139, 0, 0, 0.24);
    color: #8b0000;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.rest-tab:focus-visible {
    z-index: 2;
    outline: 3px solid rgba(176, 0, 0, 0.2);
    outline-offset: 2px;
}

.rest-tab.active {
    border-color: transparent;
    color: #ffffff;
    background: linear-gradient(135deg, #b00000, #760000);
    box-shadow: 0 12px 26px rgba(139, 0, 0, 0.24);
    transform: translateY(-2px);
}

.rest-tabs--solutions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0;
    border-radius: 22px;
    background: transparent;
}

/* Paneles */
.rest-panels {
    position: relative;
    margin-top: 0;
}

.rest-panel {
    display: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: clamp(1.8rem, 4vw, 3.5rem);
    align-items: center;
    overflow: hidden;
    padding: clamp(1rem, 2.4vw, 2rem);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 8%, rgba(176, 0, 0, 0.055), transparent 32%),
        linear-gradient(145deg, #ffffff, #fbfcfe);
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.11);
}

.rest-panel.active {
    display: grid;
    animation: rest-panel-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.rest-panel-media {
    display: grid;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    padding: clamp(0.7rem, 1.6vw, 1.1rem);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 45%, #ffffff 0%, #f7f8fa 68%, #eef1f5 100%);
}

.rest-panel-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 16px;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.1));
}

.rest-panel-media--symbol {
    display: grid;
    min-height: 280px;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 52%, #f3f4f6 100%);
}

.rest-panel-media--symbol img {
    width: min(72%, 320px);
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.12));
}

.rest-panel-content > h3 {
    margin: 0 0 0.75rem;
    color: #111827;
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.rest-panel-content > .solution-kicker {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(176, 0, 0, 0.12);
    border-radius: 999px;
    color: #9d0000;
    background: rgba(176, 0, 0, 0.055);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes rest-panel-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-benefits {
    display: grid;
    gap: 0.65rem;
    margin: 0 0 1.6rem;
    padding: 0;
    color: #374151;
    list-style: none;
}

.solution-benefits li {
    position: relative;
    padding-left: 1.45rem;
}

.solution-benefits li::before {
    position: absolute;
    top: 0.48rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #b00000;
    content: "";
}

.solution-link {
    display: inline-flex;
    padding: 0.72rem 1.15rem;
    border-radius: 999px;
    background: #a40000;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.solution-link:hover {
    background: #7f0000;
    transform: translateY(-1px);
}

.retail-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.retail-solution-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.2fr);
    gap: 1.4rem;
    align-items: center;
    padding: 1.35rem;
    border: 1px solid #f0d6d6;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
}

.retail-solution-card--wide {
    grid-column: 1 / -1;
}

.retail-solution-media {
    display: grid;
    min-height: 210px;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 55%, #f3f4f6 100%);
}

.retail-solution-media img {
    width: 100%;
    max-width: 340px;
    height: 100%;
    max-height: 230px;
    object-fit: contain;
}

.retail-solution-content h3 {
    margin: 0 0 0.7rem;
    color: #111827;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.15;
}

.retail-solution-content p:not(.solution-kicker) {
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
}

.retail-solution-content .solution-benefits {
    margin-bottom: 0;
}

.retail-solution-cta {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.5rem;
    border-radius: 22px;
    background: #111827;
    color: #ffffff;
    font-weight: 700;
}

.retail-solution-cta .solution-link {
    flex-shrink: 0;
    background: #ffffff;
    color: #a40000;
}

.retail-solution-cta .solution-link:hover {
    background: #fee2e2;
}

/* === HIOPOS: switch por sectores === */
.hiopos-sector-section {
    max-width: 1180px;
    margin: 1rem auto 0;
}

.hiopos-intro {
    margin-bottom: 2rem;
}

.hiopos-sector-switch {
    display: grid;
    grid-template-columns: repeat(9, minmax(90px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.8rem;
    padding: 0.8rem;
    border: 1px solid #eceff3;
    border-radius: 28px;
    background: #f8fafc;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.hiopos-sector-tab {
    display: grid;
    gap: 0.45rem;
    place-items: center;
    min-height: 118px;
    padding: 0.75rem 0.55rem;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: #374151;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease;
}

.hiopos-sector-tab img {
    width: 52px;
    height: 52px;
    transition: transform 0.2s ease;
}

.hiopos-sector-tab:hover {
    transform: translateY(-2px);
    background: #ffffff;
}

.hiopos-sector-tab:hover img {
    transform: scale(1.05);
}

.hiopos-sector-tab.active {
    background: #a40000;
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(164, 0, 0, 0.24);
}

.hiopos-sector-tab.active img {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.16));
}

.hiopos-sector-panels {
    position: relative;
}

.hiopos-sector-panel {
    display: none;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.2fr);
    gap: 2.2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(164, 0, 0, 0.09), transparent 36%),
        #ffffff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.09);
}

.hiopos-sector-panel.active {
    display: grid;
    animation: hioposPanelIn 0.25s ease both;
}

.hiopos-panel-visual {
    display: grid;
    min-height: 310px;
    place-items: center;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 54%, #f3f4f6 100%);
}

.hiopos-panel-visual img {
    width: 100%;
    max-width: 560px;
    height: 100%;
    max-height: 330px;
    object-fit: contain;
}

.hiopos-panel-copy h3 {
    margin: 0 0 0.8rem;
    color: #111827;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.hiopos-panel-copy p:not(.solution-kicker) {
    margin-bottom: 1.3rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.65;
}

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

.rest-panel-content > p {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
}

/* Features con iconos */
.rest-panel-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem 2rem;
}

.rest-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.rest-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rest-feature-icon img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.rest-feature h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: #111827;
}

.rest-feature p {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 960px) {
    .rest-tabs--solutions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hiopos-sector-switch {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hiopos-sector-panel {
        grid-template-columns: 1fr;
    }

    .hiopos-panel-visual {
        min-height: 240px;
    }

    .retail-solutions-grid {
        grid-template-columns: 1fr;
    }

    .rest-panel {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        padding: 1.25rem;
    }

    .rest-panel-media {
        order: -1; /* imagen arriba en móviles */
    }

    .rest-panel-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .rest-title {
        font-size: 1.8rem;
    }

    .rest-tabs {
        flex-wrap: wrap;
        row-gap: 0.4rem;
        justify-content: center;
    }

    .rest-tabs--solutions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 0.45rem;
        border-radius: 18px;
    }

    .rest-tab {
        min-height: 58px;
        padding: 0.58rem;
        border-radius: 14px;
        font-size: 0.76rem;
    }

    .rest-tabs-wrapper {
        margin-top: 1.6rem;
        padding: 0.45rem;
        border-radius: 22px;
    }

    .rest-panel {
        border-radius: 22px;
    }

    .rest-panel-media {
        padding: 0.5rem;
        border-radius: 18px;
    }

    .retail-solution-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .retail-solution-media {
        min-height: 180px;
    }

    .retail-solution-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .hiopos-sector-switch {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.6rem;
    }

    .hiopos-sector-tab {
        min-height: 104px;
    }

    .hiopos-sector-panel {
        padding: 1.25rem;
    }

    .hiopos-panel-visual {
        min-height: 200px;
    }
}

/* === RESTAURANTE: Tipos de establecimiento === */
.rest-types-section {
    background-color: #ff3333; /* rojo fuerte */
    margin-top: 2.5rem;

    /* truco para que el rojo ocupe TODO el ancho,
       “saltándose” el padding horizontal de .main-content */
    width: calc(100% + 5rem);      /* 2.5rem + 2.5rem */
    margin-left: -2.5rem;
    margin-right: -2.5rem;
}

.rest-types-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.rest-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Icono en cuadrado con borde redondeado */
.rest-type-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rest-type-icon img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
    .rest-types-inner {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 1.5rem;
    }

    .rest-type {
        flex: 0 1 120px;
    }
}

@media (max-width: 640px) {
    .rest-types-section {
        margin-top: 2rem;
        width: calc(100% + 2.5rem);
        margin-left: -1.25rem;
        margin-right: -1.25rem;
    }

    .rest-types-inner {
        padding: 2rem 1rem 2.5rem;
    }
}

/* SECCIÓN ALGUNOS DE NUESTROS CLIENTES (INFINITE SCROLL) */
.clients-section {
    max-width: 1200px;
    margin: 4rem auto 0;
}

.clients-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* Contenedor del marquee */
.clients-marquee {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 0;
}

/* Cinta de logos que se mueve */
.clients-marquee-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;                 /* ancho según contenido */
    animation: clients-scroll 30s linear infinite;
}

/* Cada logo */
.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 60px;
    width: auto;
    display: block;
    transition: opacity 0.15s ease, filter 0.15s ease, transform 0.15s ease;
}

.client-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-1px);
}

/* Animación infinito: desplazamos media cinta (está duplicada) */
@keyframes clients-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Degradados laterales */
.clients-marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

/* Color base igual que el fondo del main (ajusta si cambiaste) */
.clients-marquee-fade--left {
    left: 0;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        rgba(245, 247, 251, 0) 100%
    );
}

.clients-marquee-fade--right {
    right: 0;
    background: linear-gradient(
        to left,
        #ffffff 0%,
        rgba(245, 247, 251, 0) 100%
    );
}

/* === ACERCA DE NOSOTROS === */
.about-section {
    background-color: #f5f5f7;
    margin-top: 3rem;

    /* ocupar todo el ancho como una franja */
    width: calc(100% + 5rem);   /* 2.5rem + 2.5rem del padding horizontal del main */
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding: 3rem 2.5rem 3.5rem;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
}

/* Texto izquierda */
.about-title {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

.about-lead {
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.about-body {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Grid de tarjetas derecha */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}

.about-stat {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Números grandes */
.about-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.1;
}

/* Gradiente tipo +100 / +500 */
.about-stat-number--gradient {
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Azul sólido para 37 y <24 */
.about-stat-number--blue {
    background: linear-gradient(135deg, #ec4848, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  /*  color: #2563eb; */ 
}

.about-stat-label {
    font-size: 1.0rem;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 960px) {
    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .about-section {
        padding: 2.5rem 1.5rem 3rem;
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .about-title {
        font-size: 2rem;
    }
}

/* === AUTOMATIZACIÓN INTELIGENTE EN INICIO === */
.home-auto-section {
    --home-auto-x: 72%;
    --home-auto-y: 42%;
    position: relative;
    width: calc(100% + 5rem);
    margin-right: -2.5rem;
    margin-bottom: 0;
    margin-left: -2.5rem;
    padding: clamp(5rem, 9vw, 8.5rem) 2.5rem;
    overflow: hidden;
    isolation: isolate;
    color: #ecfeff;
    background:
        radial-gradient(circle at 12% 18%, rgba(27, 191, 174, 0.17), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(38, 104, 204, 0.16), transparent 34%),
        linear-gradient(145deg, #02070e 0%, #06121d 48%, #02060c 100%);
}

.home-auto-section::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(103, 247, 208, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.045) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 76%, transparent 100%);
    content: "";
}

.home-auto-section::after {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle 340px at var(--home-auto-x) var(--home-auto-y), rgba(103, 247, 208, 0.12), transparent 72%);
    content: "";
    transition: background-position 0.18s ease;
}

.home-auto-ambient,
.home-auto-orbit,
.home-auto-node {
    position: absolute;
    pointer-events: none;
}

.home-auto-ambient {
    inset: 0;
    z-index: -1;
}

.home-auto-orbit {
    border: 1px solid rgba(103, 247, 208, 0.12);
    border-radius: 50%;
    animation: home-auto-drift 14s ease-in-out infinite alternate;
}

.home-auto-orbit--one {
    top: -260px;
    right: -120px;
    width: 720px;
    height: 720px;
}

.home-auto-orbit--two {
    bottom: -280px;
    left: -180px;
    width: 580px;
    height: 580px;
    border-color: rgba(86, 168, 255, 0.11);
    animation-delay: -5s;
}

.home-auto-node {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #67f7d0;
    box-shadow: 0 0 0 7px rgba(103, 247, 208, 0.08), 0 0 26px rgba(103, 247, 208, 0.72);
    animation: home-auto-pulse 2.8s ease-in-out infinite;
}

.home-auto-node--one { top: 19%; left: 7%; }
.home-auto-node--two { top: 71%; left: 46%; animation-delay: -1.1s; }
.home-auto-node--three { top: 13%; right: 12%; animation-delay: -2s; }

.home-auto-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    max-width: 1320px;
    margin: 0 auto;
}

.home-auto-copy {
    max-width: 590px;
}

.home-auto-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    color: #77f9d8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-auto-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #67f7d0;
    box-shadow: 0 0 0 5px rgba(103, 247, 208, 0.1), 0 0 18px rgba(103, 247, 208, 0.8);
    animation: home-auto-pulse 2s ease-in-out infinite;
}

.home-auto-copy h2 {
    margin: 0;
    color: #f3feff;
    font-size: clamp(2.55rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.home-auto-lead {
    margin: 1.7rem 0 0;
    color: #a9bec9;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.75;
}

.home-auto-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 2rem;
}

.home-auto-capabilities span {
    display: flex;
    min-height: 54px;
    padding: 0.7rem 0.85rem;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(103, 247, 208, 0.12);
    border-radius: 14px;
    background: rgba(7, 20, 32, 0.66);
    color: #cfe2e7;
    font-size: 0.86rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home-auto-capabilities span:hover {
    border-color: rgba(103, 247, 208, 0.35);
    background: rgba(13, 40, 52, 0.78);
    transform: translateY(-2px);
}

.home-auto-capabilities img {
    width: 29px;
    height: 29px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(89%) sepia(25%) saturate(1168%) hue-rotate(100deg) brightness(101%);
}

.home-auto-link {
    display: inline-flex;
    min-height: 58px;
    margin-top: 2.2rem;
    padding: 0 1.45rem 0 1.65rem;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    border: 1px solid rgba(103, 247, 208, 0.48);
    border-radius: 999px;
    color: #04120f;
    background: linear-gradient(135deg, #80f9dd, #55dfbe);
    box-shadow: 0 16px 42px rgba(59, 226, 190, 0.18);
    font-weight: 850;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-auto-link span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #d9fff6;
    background: #09241e;
    transition: transform 0.3s ease;
}

.home-auto-link:hover {
    box-shadow: 0 20px 52px rgba(59, 226, 190, 0.28);
    transform: translateY(-3px);
}

.home-auto-link:hover span {
    transform: translateX(4px);
}

.home-auto-link:focus-visible {
    outline: 3px solid rgba(128, 249, 221, 0.45);
    outline-offset: 5px;
}

.home-auto-visual {
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(103, 247, 208, 0.18);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(12, 29, 43, 0.82), rgba(3, 11, 19, 0.9));
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.48), 0 0 70px rgba(44, 198, 174, 0.08);
    backdrop-filter: blur(16px);
    transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.5s ease;
}

.home-auto-visual:hover {
    border-color: rgba(103, 247, 208, 0.34);
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.54), 0 0 90px rgba(44, 198, 174, 0.13);
    transform: perspective(1400px) rotateY(0) rotateX(0) translateY(-5px);
}

.home-auto-visual-top {
    display: flex;
    min-height: 46px;
    padding: 0 0.45rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #78919f;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-auto-visual-top span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #82f8db;
    font-weight: 800;
}

.home-auto-visual-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #67f7d0;
    box-shadow: 0 0 12px rgba(103, 247, 208, 0.9);
}

.home-auto-visual-top strong {
    font-weight: 700;
}

.home-auto-visual-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 21px;
    background: #05090d;
}

.home-auto-visual-frame::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 13, 0.28), transparent 20%, transparent 80%, rgba(2, 8, 13, 0.38)),
        linear-gradient(to top, rgba(2, 8, 13, 0.38), transparent 34%);
    content: "";
}

.home-auto-visual-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.88) contrast(1.06) brightness(0.84);
    transform: scale(1.015);
}

.home-auto-signal {
    position: absolute;
    z-index: 3;
    display: grid;
    min-width: 142px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(103, 247, 208, 0.2);
    border-radius: 15px;
    background: rgba(3, 14, 23, 0.82);
    box-shadow: 0 15px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(15px);
    animation: home-auto-float 5s ease-in-out infinite;
}

.home-auto-signal small {
    color: #8197a3;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-auto-signal strong {
    margin-top: 0.16rem;
    color: #7cf5d8;
    font-size: 0.86rem;
}

.home-auto-signal--security {
    top: 22%;
    right: -28px;
}

.home-auto-signal--energy {
    bottom: 10%;
    left: -34px;
    animation-delay: -2.4s;
}

.home-auto-section.is-enhanced .home-auto-copy > *,
.home-auto-section.is-enhanced .home-auto-visual {
    opacity: 0;
    transform: translateY(28px);
}

.home-auto-section.is-enhanced .home-auto-visual {
    filter: blur(7px);
    transform: perspective(1400px) translateY(36px) scale(0.96);
}

.home-auto-section.is-visible .home-auto-copy > *,
.home-auto-section.is-visible .home-auto-visual {
    opacity: 1;
    filter: none;
    transform: none;
    transition: opacity 0.75s ease, filter 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.home-auto-section.is-visible .home-auto-copy > :nth-child(2) { transition-delay: 0.08s; }
.home-auto-section.is-visible .home-auto-copy > :nth-child(3) { transition-delay: 0.16s; }
.home-auto-section.is-visible .home-auto-copy > :nth-child(4) { transition-delay: 0.24s; }
.home-auto-section.is-visible .home-auto-copy > :nth-child(5) { transition-delay: 0.32s; }
.home-auto-section.is-visible .home-auto-visual { transition-delay: 0.18s; }

@keyframes home-auto-pulse {
    0%, 100% { opacity: 0.55; transform: scale(0.86); }
    50% { opacity: 1; transform: scale(1.12); }
}

@keyframes home-auto-drift {
    from { transform: translate3d(-12px, -8px, 0) scale(0.98); }
    to { transform: translate3d(18px, 14px, 0) scale(1.03); }
}

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

@media (max-width: 1050px) {
    .home-auto-inner {
        grid-template-columns: 1fr;
    }

    .home-auto-copy {
        max-width: 760px;
    }

    .home-auto-visual {
        width: min(850px, calc(100% - 20px));
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .home-auto-section {
        width: calc(100% + 2.5rem);
        margin-right: -1.25rem;
        margin-bottom: 0;
        margin-left: -1.25rem;
        padding: 4.5rem 1.25rem 5rem;
    }

    .home-auto-copy h2 {
        font-size: clamp(2.45rem, 12vw, 3.6rem);
    }

    .home-auto-capabilities {
        grid-template-columns: 1fr 1fr;
    }

    .home-auto-capabilities span {
        padding: 0.65rem;
        font-size: 0.77rem;
    }

    .home-auto-capabilities img {
        width: 25px;
        height: 25px;
    }

    .home-auto-link {
        width: 100%;
        padding-right: 1rem;
        padding-left: 1.15rem;
        gap: 0.7rem;
        font-size: 0.88rem;
    }

    .home-auto-visual {
        width: 100%;
        padding: 0.65rem;
        border-radius: 22px;
    }

    .home-auto-visual-top {
        min-height: 40px;
        font-size: 0.58rem;
    }

    .home-auto-visual-frame {
        border-radius: 15px;
    }

    .home-auto-signal {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-auto-section *,
    .home-auto-section *::before,
    .home-auto-section *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .home-auto-section.is-enhanced .home-auto-copy > *,
    .home-auto-section.is-enhanced .home-auto-visual {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

/* === CASHDRO EN INICIO === */
.home-cashdro-section {
    position: relative;
    width: calc(100% + 5rem);
    margin-right: -2.5rem;
    margin-bottom: -3rem;
    margin-left: -2.5rem;
    padding: clamp(5rem, 8vw, 8rem) 2.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 24%, rgba(180, 154, 124, 0.16), transparent 32%),
        linear-gradient(145deg, #f7f4ef 0%, #ffffff 52%, #f1eee9 100%);
}

.home-cashdro-section::before {
    position: absolute;
    top: -240px;
    right: -160px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(17, 24, 39, 0.025),
        0 0 0 140px rgba(17, 24, 39, 0.018);
    content: "";
    pointer-events: none;
}

.home-cashdro-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    max-width: 1280px;
    margin: 0 auto;
}

.home-cashdro-visual {
    position: relative;
}

.home-cashdro-image {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border: 10px solid #ffffff;
    border-radius: 30px;
    background: #10151d;
    box-shadow: 0 32px 75px rgba(15, 23, 42, 0.2);
}

.home-cashdro-image::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(7, 11, 18, 0.38), transparent 38%),
        linear-gradient(110deg, transparent 54%, rgba(255, 255, 255, 0.08));
    content: "";
    pointer-events: none;
}

.home-cashdro-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.home-cashdro-visual:hover .home-cashdro-image img {
    transform: scale(1.035);
}

.home-cashdro-status {
    position: absolute;
    right: -20px;
    bottom: 34px;
    display: inline-flex;
    min-height: 50px;
    padding: 0 1.1rem;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    color: #f8fafc;
    background: rgba(10, 15, 23, 0.9);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.3);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    backdrop-filter: blur(14px);
}

.home-cashdro-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #75d99b;
    box-shadow: 0 0 0 5px rgba(117, 217, 155, 0.12), 0 0 15px rgba(117, 217, 155, 0.7);
}

.home-cashdro-copy {
    max-width: 550px;
}

.home-cashdro-logo {
    display: block;
    width: min(190px, 52%);
    height: auto;
    margin-bottom: 1.6rem;
}

.home-cashdro-kicker {
    margin-bottom: 0.9rem;
    color: #8a6e50;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-cashdro-copy h2 {
    max-width: 620px;
    margin: 0;
    color: #111827;
    font-size: clamp(2.5rem, 4.5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.home-cashdro-lead {
    margin: 1.5rem 0 0;
    color: #4b5563;
    font-size: clamp(1rem, 1.35vw, 1.13rem);
    line-height: 1.75;
}

.home-cashdro-benefits {
    display: grid;
    gap: 0.8rem;
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
}

.home-cashdro-benefits li {
    position: relative;
    padding-left: 2rem;
    color: #273142;
    font-size: 0.94rem;
    font-weight: 700;
}

.home-cashdro-benefits li::before {
    position: absolute;
    top: 0.05rem;
    left: 0;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #111827;
    font-size: 0.72rem;
    content: "✓";
}

.home-cashdro-link {
    display: inline-flex;
    min-height: 58px;
    margin-top: 2.2rem;
    padding: 0 1.25rem 0 1.6rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 999px;
    color: #ffffff;
    background: #111827;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
    font-weight: 800;
    text-decoration: none;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.home-cashdro-link span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #111827;
    background: #d6c1a8;
    transition: transform 0.28s ease;
}

.home-cashdro-link:hover {
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.28);
    transform: translateY(-3px);
}

.home-cashdro-link:hover span {
    transform: translateX(4px);
}

.home-cashdro-link:focus-visible {
    outline: 3px solid rgba(138, 110, 80, 0.32);
    outline-offset: 5px;
}

.home-cashdro-section.is-enhanced .home-cashdro-visual,
.home-cashdro-section.is-enhanced .home-cashdro-copy > * {
    opacity: 0;
    transform: translateY(26px);
}

.home-cashdro-section.is-visible .home-cashdro-visual,
.home-cashdro-section.is-visible .home-cashdro-copy > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.home-cashdro-section.is-visible .home-cashdro-copy > :nth-child(2) { transition-delay: 0.06s; }
.home-cashdro-section.is-visible .home-cashdro-copy > :nth-child(3) { transition-delay: 0.12s; }
.home-cashdro-section.is-visible .home-cashdro-copy > :nth-child(4) { transition-delay: 0.18s; }
.home-cashdro-section.is-visible .home-cashdro-copy > :nth-child(5) { transition-delay: 0.24s; }
.home-cashdro-section.is-visible .home-cashdro-copy > :nth-child(6) { transition-delay: 0.3s; }

@media (max-width: 1020px) {
    .home-cashdro-inner {
        grid-template-columns: 1fr;
    }

    .home-cashdro-copy {
        max-width: 720px;
    }

    .home-cashdro-visual {
        width: min(820px, calc(100% - 20px));
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .home-cashdro-section {
        width: calc(100% + 2.5rem);
        margin-right: -1.25rem;
        margin-bottom: -2rem;
        margin-left: -1.25rem;
        padding: 4.5rem 1.25rem 5rem;
    }

    .home-cashdro-image {
        border-width: 6px;
        border-radius: 22px;
    }

    .home-cashdro-status {
        right: 12px;
        bottom: 14px;
        min-height: 44px;
        font-size: 0.72rem;
    }

    .home-cashdro-copy h2 {
        font-size: clamp(2.35rem, 11.5vw, 3.5rem);
    }

    .home-cashdro-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-cashdro-section *,
    .home-cashdro-section *::before,
    .home-cashdro-section *::after {
        transition-duration: 0.01ms !important;
    }

    .home-cashdro-section.is-enhanced .home-cashdro-visual,
    .home-cashdro-section.is-enhanced .home-cashdro-copy > * {
        opacity: 1;
        transform: none;
    }
}

/* FOOTER */
.site-footer {
    background-color: #111827;
    color: #e5e7eb;
    padding: 2.5rem 2.5rem 1.5rem;
    margin-top: 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-column p {
    font-size: 0.9rem;
    color: #cbd5f5;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.35rem;
}

.footer-column a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-column a:hover {
    text-decoration: underline;
}

/* Parte inferior del footer */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Iconos redes sociales en el footer */
.social-icons {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-icons img {
    width: 22px;   /* tamaño pequeño */
    height: 22px;
    display: block;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-icons a:hover img {
    transform: translateY(-1px) scale(1.05);
    opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .site-header {
        top: 10px;
        width: min(calc(100% - 1rem), 720px);
        max-width: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0.65rem;
        padding: 0.8rem;
        border-radius: 26px;
    }

    .logo-container {
        justify-content: center;
        padding: 0 0 0.55rem;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    }

    .logo {
        height: 44px;
    }
 
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
    }

    .main-nav a,
    .nav-dropdown-trigger {
        padding: 0.62rem 0.78rem;
        font-size: 0.86rem;
    }

    .nav-dropdown {
        left: 50%;
        transform: translate(-50%, 10px) scale(0.98);
        transform-origin: top center;
    }

    .has-dropdown:hover .nav-dropdown,
    .has-dropdown.is-open .nav-dropdown {
        transform: translate(-50%, 0) scale(1);
    }

    .hero-text {
        position: absolute;
        top: 50%;                    /* centrado vertical */
        left: 10%;
        transform: translateY(-50%); /* ajusta al centro real */
        max-width: 450px;
        color: #ffffff;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
        z-index: 2;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 700px) {
    .hero-image {
        height: 220px;
    }

    .main-content {
        padding: 2rem 1.25rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: absolute;
        padding: 0.7rem;
    }

    .main-nav ul {
        gap: 0.25rem;
    }

    .main-nav a,
    .nav-dropdown-trigger {
        padding: 0.52rem 0.62rem;
        font-size: 0.8rem;
    }

    .nav-dropdown {
        min-width: 220px;
    }

    .nav-dropdown--hardware {
        grid-template-columns: 1fr;
        min-width: min(290px, calc(100vw - 2rem));
        max-height: 72vh;
        overflow-y: auto;
    }

    .site-footer {
        padding: 2rem 1.25rem 1.25rem;
    }
}

/* ====== AUTOMATIZACIÓN INTELIGENTE ====== */

/* Fondo blanco en esta página */
body.page-automatizacion {
    background-color: #ffffff;
}

.page-automatizacion .main-content {
    background-color: #ffffff;
}

/* HERO */
/* HERO AUTOMATIZACIÓN: degradado + carrusel de fondo */
.auto-hero {
    position: relative;
    padding: 6rem 2.5rem 2.5rem;
    color: #ffffff;
    overflow: hidden;
    background-color: #033b74; /* por si no carga la imagen */
}

/* Capa con las imágenes del carrusel */
.auto-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.auto-hero-slide {
    position: absolute;
    inset: 0;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.auto-hero-slide.active {
    opacity: 1;
}

/* Degradado por encima de las imágenes (siempre visible) */
.auto-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(18, 126, 105, 0.55) 0, transparent 55%),
        linear-gradient(
            to right,
            #033b74 0%,
            rgba(3, 59, 116, 0.97) 28%,
            rgba(3, 59, 116, 0.6) 45%,
            rgba(7, 172, 117, 0.2) 65%,
            rgba(7, 253, 138, 0) 85%
        );
    z-index: 1;
}

/* Contenido por encima de todo lo anterior */
.auto-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.auto-hero-text {
    max-width: 520px;
}
 
.auto-hero-text {
    max-width: 520px;
}

.auto-pill {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.auto-hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

.auto-hero-lead {
    font-size: 0.98rem;
    max-width: 520px;
    margin-bottom: 1.4rem;
}

.auto-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.6rem;
}

.auto-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.auto-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.auto-primary-btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background-color: #ffffff;
    color: #033b74;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auto-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
}

.auto-ghost-btn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #ffffff;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
}
 
/* Responsive: ya tenías esto, sigue valiendo */
@media (max-width: 1024px) {
    .auto-hero-inner {
        grid-template-columns: 1fr;
    }
 
    .auto-hero-visual {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
}

/* Secciones debajo del hero */
.auto-logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 2.5rem 0.5rem;
}

.auto-logo-strip img {
    max-height: 150px;
    width: auto;
}

/* === AUTOMATIZACIÓN: cards de características rápidas === */
.auto-specs {
    background-color: #ffffff;
    margin-top: 0.5rem;
    padding: 1.8rem 2.5rem 2.2rem;
}

.auto-specs-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

/* Card individual */
.auto-spec-card {
    background-color: #ffffff;
    border-radius: 18px;
    border: 1px solid #127e69;   /* borde fino verde */
    padding: 1.4rem 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.auto-spec-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-spec-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.auto-spec-card h3 {
    font-size: 0.9rem;
    font-weight: 700;           /* negrita */
    text-align: center;
    color: #111827;
}

/* Responsive */
@media (max-width: 1200px) {
    .auto-specs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .auto-specs {
        padding: 1.6rem 1.5rem 2rem;
    }

    .auto-specs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .auto-specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.auto-benefits,
.auto-flow {
    max-width: 1100px;
    margin: 1rem auto 0;
}

.auto-benefits h2,
.auto-flow h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

.auto-section-subtitle {
    color: #4b5563;
    font-size: 0.95rem;
    max-width: 620px;
    margin-bottom: 1.8rem;
}

/* Tarjetas de beneficios */
.auto-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
}

.auto-benefit-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.3rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.auto-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #e0f2f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.auto-benefit-icon img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.auto-benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #033b74;
}

.auto-benefit-card p {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Flujo / pasos */
.auto-flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.auto-step {
    background: #f9fafb;
    border-radius: 14px;
    padding: 1.2rem 1.1rem 1.1rem;
    border: 1px solid #e5e7eb;
}

.auto-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #033b74, #127e69);
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.auto-step h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: #111827;
}

.auto-step p {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .auto-hero-inner {
        grid-template-columns: 1fr;
    }

    .auto-hero-visual {
        justify-content: flex-start;
    }

    .auto-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auto-flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .auto-hero {
        padding: 5rem 1.5rem 3.3rem;
    }

    .auto-hero-text h1 {
        font-size: 2rem;
    }

    .auto-benefits,
    .auto-flow {
        margin-top: 2.5rem;
    }

    .auto-benefits-grid,
    .auto-flow-steps {
        grid-template-columns: 1fr;
    }
}

/* === AUTOMATIZACIÓN: Casos de uso (Retail / Restaurante / ...) === */
.auto-usecases {
    max-width: 1100px;
    margin: 3rem auto 0;
}

/* Tira de pestañas */
.auto-use-tabs-wrapper {
    max-width: 1100px;          /* mismo ancho que los paneles */
    margin: 0 auto 1.75rem;
    padding: 0 0.25rem;
}
 
.auto-use-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background-color: #f5f7fb;  /* banda gris clara como en el ejemplo */
    border-radius: 24px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
 
/* Cada botón */
.auto-use-tab {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;     /* icono arriba, texto debajo */
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 0.4rem;
    border-radius: 18px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #111827;
    font-weight: 500;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
}
 
.auto-use-tab:hover {
    transform: translateY(-1px);
}
 
/* Icono dentro del botón */
.auto-use-tab-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.auto-use-tab-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.15s ease, opacity 0.15s ease;
}
 
/* Inactivas: icono grisecito */
.auto-use-tab:not(.active) .auto-use-tab-icon img {
    filter: grayscale(100%);
    opacity: 0.55;
}
 
/* Activa: “pastilla” blanca, icono y texto en verde */
.auto-use-tab.active {
    background-color: #ffffff;
    color: #127e69;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}
 
/* Responsive: que respiren mejor en pantallas pequeñas */
@media (max-width: 900px) {
    .auto-use-tabs {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        row-gap: 0.5rem;
    }
}

/* (El icono será de su color original; si tus SVG ya son verdes, queda perfecto) */

/* Paneles con imagen y card */
.auto-use-panels {
    margin-top: 0.5rem;
}

.auto-use-panel {
    position: relative;
    display: none;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.auto-use-panel.active {
    display: block;
}

.auto-use-panel-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Card blanca encima de la imagen */
.auto-use-card {
    position: absolute;
    top: 10%;
    right: 6%;
    left: auto;
    max-width: 460px;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 1.8rem 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    color: #111827;
}

.auto-use-panel--right .auto-use-card {
    right: 6%;
    left: auto;
}

.auto-use-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.auto-use-card > p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* Lista en dos columnas con “flechas” verdes */
.auto-use-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.2rem;
    font-size: 0.9rem;
    color: #4b5563;
    padding: 0;
    margin: 0;
}

.auto-use-list li {
    position: relative;
    padding-left: 1.1rem;
}

.auto-use-list li::before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 0.06rem;
    font-size: 0.75rem;
    color: #127e69;
}

/* Responsive */
@media (max-width: 1024px) {
    .auto-use-card {
        top: 8%;
        right: 6%;
        left: auto;
        max-width: 420px;
    }

    .auto-use-panel--right .auto-use-card {
        right: 6%;
        left: auto;
    }
}

@media (max-width: 800px) {
    .auto-usecases {
        margin-top: 2.5rem;
    }

    .auto-use-card {
        top: 7%;
        left: 6%;
        right: 6%;
        max-width: none;
    }

    .auto-use-list ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .auto-use-card {
        top: 6%;
        padding: 1.4rem 1.3rem;
    }
}

/* ===== AUTOMATIZACION INTELIGENTE: EXPERIENCIA INMERSIVA ===== */
.page-automatizacion {
    --auto-bg: #030811;
    --auto-surface: rgba(10, 21, 35, 0.72);
    --auto-border: rgba(115, 255, 219, 0.16);
    --auto-cyan: #67f7d0;
    --auto-blue: #56a8ff;
    --auto-text: #eefcff;
    --auto-muted: #91a9b8;
    color: var(--auto-text);
    background:
        radial-gradient(circle at 12% 32%, rgba(15, 139, 159, 0.12), transparent 30%),
        radial-gradient(circle at 88% 58%, rgba(27, 111, 184, 0.1), transparent 32%),
        var(--auto-bg);
}

.page-automatizacion .main-content {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.page-automatizacion .main-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(103, 247, 208, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.page-automatizacion .site-header {
    z-index: 20;
}

.page-automatizacion .site-footer {
    position: relative;
    z-index: 2;
    margin-top: 0;
    border-top: 1px solid rgba(103, 247, 208, 0.12);
    background: #02060d;
}

.auto-hero {
    min-height: 860px;
    padding: 12rem 4rem 7rem;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: #020711;
}

.auto-hero-slides {
    z-index: -4;
}

.auto-hero-slide {
    background-position: center;
    filter: saturate(0.68) contrast(1.1);
    transform: scale(1.04);
    transition: opacity 1.4s ease, transform 7s ease;
}

.auto-hero-slide.active {
    transform: scale(1);
}

.auto-hero::before {
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2, 7, 17, 0.98) 0%, rgba(2, 10, 21, 0.9) 42%, rgba(2, 10, 21, 0.42) 72%, rgba(2, 7, 17, 0.7) 100%),
        linear-gradient(0deg, #030811 0%, transparent 24%, rgba(1, 6, 14, 0.15) 80%);
}

.auto-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--auto-bg));
}

.auto-tech-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(103, 247, 208, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.12) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
    transform: perspective(650px) rotateX(58deg) scale(1.7) translateY(22%);
    transform-origin: bottom;
    animation: auto-grid-drift 12s linear infinite;
}

.auto-orb {
    position: absolute;
    z-index: -1;
    width: 460px;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.16;
}

.auto-orb--one {
    top: 12%;
    right: 18%;
    background: #00e5c3;
    animation: auto-orbit 12s ease-in-out infinite alternate;
}

.auto-orb--two {
    bottom: -20%;
    left: 22%;
    background: #087dff;
    animation: auto-orbit 16s ease-in-out -5s infinite alternate-reverse;
}

.auto-hero-inner {
    width: 100%;
    max-width: 1320px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.auto-hero-text {
    max-width: 700px;
}

.auto-pill,
.auto-kicker {
    color: var(--auto-cyan);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auto-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.52rem 0.9rem;
    border: 1px solid rgba(103, 247, 208, 0.22);
    background: rgba(8, 28, 35, 0.56);
    backdrop-filter: blur(12px);
}

.auto-pill i,
.auto-command-top i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 0 5px rgba(103, 247, 208, 0.1), 0 0 18px var(--auto-cyan);
    animation: auto-pulse 2s ease-out infinite;
}

.auto-hero-text h1 {
    max-width: 680px;
    margin-bottom: 1.35rem;
    color: #f5fdff;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.auto-hero-text h1 span {
    color: transparent;
    background: linear-gradient(100deg, #fff 5%, var(--auto-cyan) 48%, var(--auto-blue));
    background-clip: text;
    -webkit-background-clip: text;
}

.auto-hero-lead {
    max-width: 650px;
    margin-bottom: 1.8rem;
    color: #b8cbd4;
    font-size: 1.08rem;
    line-height: 1.75;
}

.auto-hero-badges {
    gap: 0.7rem;
    margin-bottom: 2.2rem;
}

.auto-badge {
    position: relative;
    padding: 0.5rem 0.9rem 0.5rem 1.6rem;
    color: #d6e9ed;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 12, 23, 0.55);
    backdrop-filter: blur(12px);
}

.auto-badge::before {
    content: "";
    position: absolute;
    left: 0.72rem;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 10px var(--auto-cyan);
    transform: translateY(-50%);
}

.auto-hero-actions {
    gap: 0.9rem;
}

.auto-primary-btn,
.auto-ghost-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.25rem;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auto-primary-btn {
    color: #00130f;
    background: linear-gradient(135deg, #9affdf, #44ddb9);
    box-shadow: 0 12px 38px rgba(49, 232, 190, 0.22);
}

.auto-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(49, 232, 190, 0.32);
}

.auto-ghost-btn {
    border-color: rgba(255, 255, 255, 0.18);
    color: #eafcff;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(10px);
}

.auto-ghost-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(103, 247, 208, 0.45);
    background: rgba(103, 247, 208, 0.08);
}

.auto-command-center {
    position: relative;
    padding: 1.1rem;
    border: 1px solid rgba(125, 244, 220, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(150deg, rgba(17, 41, 55, 0.8), rgba(4, 12, 24, 0.72)),
        rgba(3, 10, 18, 0.7);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.35s ease;
}

.auto-command-center::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    opacity: 0.65;
    background: linear-gradient(120deg, rgba(103, 247, 208, 0.35), transparent 25%, transparent 70%, rgba(86, 168, 255, 0.26));
}

.auto-command-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.45rem 1.1rem;
    color: #d9faf2;
    font-size: 0.78rem;
}

.auto-command-top > span:first-child {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.auto-command-time {
    color: #71909d;
}

.auto-command-core {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(103, 247, 208, 0.1);
    border-radius: 20px;
    background:
        radial-gradient(circle at center, rgba(42, 228, 191, 0.12), transparent 48%),
        linear-gradient(rgba(103, 247, 208, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.025) 1px, transparent 1px),
        rgba(2, 10, 18, 0.48);
    background-size: auto, 25px 25px, 25px 25px, auto;
}

.auto-core-rings {
    position: relative;
    width: 168px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
}

.auto-core-rings span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(103, 247, 208, 0.45);
    border-radius: 50%;
    box-shadow: inset 0 0 28px rgba(103, 247, 208, 0.06);
    animation: auto-ring 8s linear infinite;
}

.auto-core-rings span:nth-child(2) {
    inset: 20px;
    border-style: dashed;
    border-color: rgba(86, 168, 255, 0.52);
    animation-direction: reverse;
    animation-duration: 11s;
}

.auto-core-rings span:nth-child(3) {
    inset: 42px;
    border-width: 2px;
    box-shadow: 0 0 36px rgba(103, 247, 208, 0.2);
    animation-duration: 5s;
}

.auto-core-rings strong {
    color: #efffff;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    text-shadow: 0 0 22px var(--auto-cyan);
}

.auto-command-core p {
    margin: 0 0 0.25rem;
    color: var(--auto-cyan);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auto-command-core > strong {
    color: #d9e9ed;
    font-size: 0.92rem;
}

.auto-command-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 0.7rem;
}

.auto-command-metrics > div {
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.auto-command-metrics span,
.auto-command-metrics small {
    display: block;
    color: #708c99;
    font-size: 0.64rem;
}

.auto-command-metrics strong {
    display: inline-block;
    margin-top: 0.15rem;
    color: #efffff;
    font-size: 1.35rem;
}

.auto-command-metrics small {
    display: inline;
}

.auto-command-metrics .auto-status-ok {
    color: var(--auto-cyan);
    font-size: 1rem;
}

.auto-scroll-cue {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 2.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6f8995;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.auto-scroll-cue span {
    position: relative;
    width: 1px;
    height: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.auto-scroll-cue span::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 14px;
    background: var(--auto-cyan);
    box-shadow: 0 0 10px var(--auto-cyan);
    animation: auto-scroll-line 2s ease-in-out infinite;
}

.auto-logo-strip {
    position: relative;
    z-index: 1;
    min-height: clamp(340px, 34vw, 450px);
    padding: 2rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(30, 207, 172, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(235, 250, 252, 0.45), rgba(255, 255, 255, 0));
}

.auto-logo-strip::before {
    content: "";
    position: absolute;
    inset: 1.5rem 0;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(13, 115, 126, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 115, 126, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at center, #000 18%, rgba(0, 0, 0, 0.82) 48%, transparent 76%);
    animation: auto-logo-grid 14s linear infinite;
}

.auto-logo-strip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: min(620px, 72vw);
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 170, 154, 0.2);
    filter: blur(24px);
    transform: translateX(-50%);
}

.auto-logo-strip img {
    position: relative;
    z-index: 3;
    width: clamp(300px, 32vw, 500px);
    max-width: 88vw;
    max-height: none;
    filter: none;
    opacity: 1;
    animation: auto-logo-float 5s ease-in-out infinite;
}

.auto-logo-atmosphere,
.auto-logo-atmosphere span {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auto-logo-atmosphere {
    top: 50%;
    left: 50%;
    width: clamp(300px, 29vw, 400px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
}

.auto-logo-atmosphere span {
    inset: 16%;
    border: 1px solid rgba(12, 137, 137, 0.18);
    animation: auto-logo-ring 11s linear infinite;
}

.auto-logo-atmosphere span::before,
.auto-logo-atmosphere span::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16b89e;
    box-shadow: 0 0 16px 4px rgba(22, 184, 158, 0.35);
}

.auto-logo-atmosphere span::before {
    top: 11%;
    left: 12%;
}

.auto-logo-atmosphere span::after {
    right: 4%;
    bottom: 24%;
}

.auto-logo-atmosphere span:nth-child(2) {
    inset: 27%;
    border-style: dashed;
    border-color: rgba(19, 93, 154, 0.22);
    animation-direction: reverse;
    animation-duration: 15s;
}

.auto-logo-atmosphere span:nth-child(3) {
    inset: 6%;
    border-color: rgba(22, 184, 158, 0.09);
    animation-duration: 20s;
}

.auto-section-heading {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: 2.4rem;
}

.auto-section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.auto-kicker {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.7rem;
}

.auto-section-heading h2,
.auto-benefits h2,
.auto-flow h2 {
    margin-bottom: 0.8rem;
    color: #0b2233;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.auto-section-heading p,
.auto-section-subtitle {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--auto-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.auto-section-heading--center p {
    margin-right: auto;
    margin-left: auto;
}

.auto-specs {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
    background: transparent;
}

.auto-specs-grid {
    max-width: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.auto-spec-card {
    position: relative;
    min-height: 168px;
    justify-content: center;
    overflow: hidden;
    border-color: var(--auto-border);
    border-radius: 20px;
    color: var(--auto-text);
    background: linear-gradient(155deg, rgba(16, 35, 48, 0.72), rgba(4, 13, 24, 0.66));
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.auto-spec-card::before {
    content: "";
    position: absolute;
    inset: auto 12% 0;
    height: 1px;
    opacity: 0;
    background: var(--auto-cyan);
    box-shadow: 0 0 22px 4px rgba(103, 247, 208, 0.5);
    transition: opacity 0.35s ease, inset 0.35s ease;
}

.auto-spec-card:hover,
.auto-spec-card:focus-visible,
.auto-spec-card.active {
    z-index: 2;
    border-color: rgba(103, 247, 208, 0.45);
    outline: none;
    background: linear-gradient(155deg, rgba(22, 57, 65, 0.86), rgba(5, 19, 30, 0.78));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24), inset 0 0 30px rgba(103, 247, 208, 0.035);
    transform: translateY(-8px);
}

.auto-spec-card:hover::before,
.auto-spec-card:focus-visible::before,
.auto-spec-card.active::before {
    inset: auto 24% 0;
    opacity: 1;
}

.auto-spec-icon {
    width: 52px;
    height: 52px;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.auto-spec-card:hover .auto-spec-icon,
.auto-spec-card.active .auto-spec-icon {
    filter: drop-shadow(0 0 13px rgba(103, 247, 208, 0.48));
    transform: scale(1.08);
}

.auto-spec-card h3 {
    color: #e8f8fb;
}

.auto-spec-detail {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    min-height: 410px;
    margin-top: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(103, 247, 208, 0.2);
    border-radius: 26px;
    color: #eafcff;
    background:
        radial-gradient(circle at 88% 18%, rgba(77, 220, 190, 0.13), transparent 32%),
        linear-gradient(135deg, #071827, #04101d);
    box-shadow: 0 28px 70px rgba(5, 28, 41, 0.22);
}

.auto-spec-detail::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(103, 247, 208, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, transparent 35%, #000);
}

.auto-spec-detail-image {
    position: relative;
    min-height: 410px;
    overflow: hidden;
}

.auto-spec-detail-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, #071827 100%);
}

.auto-spec-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.05);
    transition: opacity 0.3s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.auto-spec-detail-image img.auto-spec-detail-image--contain {
    padding: 2rem;
    object-fit: contain;
    background: radial-gradient(circle, rgba(40, 184, 171, 0.2), transparent 62%);
}

.auto-spec-detail-number {
    position: absolute;
    z-index: 2;
    left: 1.25rem;
    bottom: 1.2rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(2, 12, 22, 0.62);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    backdrop-filter: blur(12px);
}

.auto-spec-detail-content {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: clamp(2rem, 5vw, 4rem);
}

.auto-spec-detail-kicker {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--auto-cyan);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.auto-spec-detail-content h3 {
    margin-bottom: 1rem;
    color: #f3fdff;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.auto-spec-detail-content p {
    max-width: 530px;
    color: #a9bec7;
    font-size: 0.96rem;
    line-height: 1.72;
}

.auto-spec-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.auto-spec-detail-tags li {
    padding: 0.45rem 0.78rem;
    border: 1px solid rgba(103, 247, 208, 0.18);
    border-radius: 999px;
    color: #c8e8e4;
    background: rgba(103, 247, 208, 0.07);
    font-size: 0.74rem;
}

.auto-spec-detail.is-switching .auto-spec-detail-image img {
    animation: auto-spec-image-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.auto-spec-detail.is-switching .auto-spec-detail-content > * {
    animation: auto-spec-copy-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auto-spec-detail.is-switching .auto-spec-detail-content > *:nth-child(2) { animation-delay: 0.04s; }
.auto-spec-detail.is-switching .auto-spec-detail-content > *:nth-child(3) { animation-delay: 0.08s; }
.auto-spec-detail.is-switching .auto-spec-detail-content > *:nth-child(4) { animation-delay: 0.12s; }

.auto-benefits,
.auto-flow,
.auto-usecases {
    position: relative;
    z-index: 1;
    max-width: 1260px;
    padding: 5.5rem 2rem;
    margin: 0 auto;
}

.auto-benefits::before,
.auto-flow::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 460px;
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
    pointer-events: none;
}

.auto-benefits::before {
    top: 10%;
    right: -20%;
    background: var(--auto-cyan);
}

.auto-flow::before {
    bottom: 0;
    left: -20%;
    background: var(--auto-blue);
}

.auto-benefits-grid {
    gap: 1rem;
}

.auto-benefit-card {
    position: relative;
    min-height: 295px;
    padding: 1.7rem;
    overflow: hidden;
    border-color: var(--auto-border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(13, 30, 43, 0.82), rgba(4, 13, 24, 0.68));
    box-shadow: none;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.auto-benefit-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 130px;
    aspect-ratio: 1;
    border: 1px solid rgba(103, 247, 208, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(103, 247, 208, 0.025), 0 0 0 45px rgba(103, 247, 208, 0.018);
}

.auto-benefit-card:hover {
    border-color: rgba(103, 247, 208, 0.38);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    transform: translateY(-8px);
}

.auto-benefit-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(103, 247, 208, 0.18);
    background: rgba(103, 247, 208, 0.08);
}

.auto-benefit-card h3 {
    margin-bottom: 0.75rem;
    color: #e9fcff;
    font-size: 1.12rem;
}

.auto-benefit-card p,
.auto-step p {
    color: var(--auto-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.auto-flow-steps {
    position: relative;
    gap: 1rem;
    margin-top: 2.2rem;
}

.auto-flow-steps::before {
    content: "";
    position: absolute;
    top: 31px;
    left: 9%;
    right: 9%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--auto-cyan) 12%, var(--auto-blue) 88%, transparent);
    box-shadow: 0 0 14px rgba(103, 247, 208, 0.28);
}

.auto-step {
    position: relative;
    padding: 4.1rem 1.4rem 1.6rem;
    border-color: var(--auto-border);
    border-radius: 20px;
    background: rgba(6, 17, 29, 0.7);
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.auto-step:hover {
    border-color: rgba(103, 247, 208, 0.35);
    background: rgba(11, 31, 43, 0.82);
    transform: translateY(-6px);
}

.auto-step-badge {
    position: absolute;
    z-index: 2;
    top: 17px;
    left: 1.4rem;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(103, 247, 208, 0.45);
    color: var(--auto-cyan);
    background: #071722;
    box-shadow: 0 0 0 7px #030811, 0 0 20px rgba(103, 247, 208, 0.18);
}

.auto-step h3 {
    color: #e7f8fb;
    font-size: 1rem;
}

.auto-usecases {
    max-width: 1320px;
    padding-bottom: 8rem;
}

.auto-use-tabs-wrapper {
    position: relative;
    z-index: 4;
    margin-bottom: 1rem;
    padding: 0;
}

.auto-use-tabs {
    gap: 0.45rem;
    padding: 0.55rem;
    border: 1px solid rgba(103, 247, 208, 0.14);
    border-radius: 18px;
    background: rgba(5, 16, 27, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
}

.auto-use-tab {
    position: relative;
    min-height: 86px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #8299a5;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.auto-use-tab:hover {
    color: #d8f4f2;
    transform: translateY(-2px);
}

.auto-use-tab.active {
    color: var(--auto-cyan);
    border-color: rgba(103, 247, 208, 0.22);
    background: linear-gradient(135deg, rgba(103, 247, 208, 0.12), rgba(86, 168, 255, 0.07));
    box-shadow: inset 0 -2px var(--auto-cyan), 0 10px 28px rgba(0, 0, 0, 0.16);
}

.auto-use-tab-icon {
    width: 34px;
    height: 34px;
}

.auto-use-tab:not(.active) .auto-use-tab-icon img {
    filter: grayscale(1) brightness(1.7);
    opacity: 0.5;
}

.auto-use-tab.active .auto-use-tab-icon img {
    filter: drop-shadow(0 0 8px rgba(103, 247, 208, 0.5));
}

.auto-use-panels {
    min-height: 610px;
    margin-top: 0;
}

.auto-use-panel {
    min-height: 610px;
    border: 1px solid rgba(103, 247, 208, 0.13);
    border-radius: 28px;
    background: #07101b;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.auto-use-panel.active {
    display: grid;
    animation: auto-panel-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auto-use-panel-image,
.auto-use-panel-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.auto-use-panel-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 8, 16, 0.12), rgba(2, 8, 16, 0.62));
}

.auto-use-panel-image img {
    opacity: 0;
    object-fit: cover;
    filter: saturate(0.72) contrast(1.06) brightness(0.78);
    transform: scale(1);
    transition: opacity 0.9s ease-in-out, transform 7s ease;
    will-change: opacity, transform;
}

.auto-use-panel-image img.active {
    opacity: 1;
}

.auto-use-panel.active .auto-use-panel-image img.active {
    transform: scale(1.035);
}

.auto-use-card {
    top: 50%;
    right: 5%;
    left: auto;
    z-index: 2;
    max-width: 520px;
    padding: 2rem;
    border: 1px solid rgba(103, 247, 208, 0.2);
    border-radius: 22px;
    color: #e9f9fc;
    background: rgba(4, 14, 24, 0.82);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(22px);
    transform: translateY(-50%);
}

.auto-use-card h3 {
    color: #f1fdff;
    font-size: 1.75rem;
}

.auto-use-card > p,
.auto-use-list ul {
    color: #a7bbc3;
    line-height: 1.65;
}

.auto-use-list li::before {
    content: "";
    top: 0.58em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 9px var(--auto-cyan);
}

.auto-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.auto-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes auto-grid-drift {
    to { background-position: 0 64px, 64px 0; }
}

@keyframes auto-logo-grid {
    to { background-position: 46px 46px, -46px -46px; }
}

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

@keyframes auto-logo-ring {
    to { transform: rotate(360deg); }
}

@keyframes auto-spec-image-in {
    from { opacity: 0.35; transform: scale(1.045); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes auto-spec-copy-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes auto-orbit {
    to { transform: translate3d(90px, -50px, 0) scale(1.12); }
}

@keyframes auto-pulse {
    70%, 100% { box-shadow: 0 0 0 10px rgba(103, 247, 208, 0), 0 0 18px var(--auto-cyan); }
}

@keyframes auto-ring {
    to { transform: rotate(360deg); }
}

@keyframes auto-scroll-line {
    0% { transform: translateY(-110%); }
    60%, 100% { transform: translateY(240%); }
}

@keyframes auto-panel-in {
    from { opacity: 0; transform: translateY(16px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1050px) {
    .auto-hero {
        min-height: auto;
        padding: 11rem 2rem 7rem;
    }

    .auto-hero-inner {
        grid-template-columns: 1fr;
    }

    .auto-command-center {
        width: min(100%, 620px);
        transform: none;
    }

    .auto-specs-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .auto-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .auto-hero {
        padding: 10rem 1.25rem 6rem;
    }

    .auto-hero-text h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .auto-command-center {
        padding: 0.75rem;
    }

    .auto-command-core {
        min-height: 260px;
    }

    .auto-command-metrics {
        grid-template-columns: 1fr;
    }

    .auto-command-metrics > div {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: baseline;
        gap: 0.35rem;
    }

    .auto-command-metrics strong {
        font-size: 1rem;
    }

    .auto-scroll-cue {
        display: none;
    }

    .auto-logo-strip {
        min-height: 300px;
        padding: 2rem 1rem;
    }

    .auto-logo-strip img {
        width: min(420px, 82vw);
    }

    .auto-logo-atmosphere {
        width: min(280px, 76vw);
    }

    .auto-specs,
    .auto-benefits,
    .auto-flow,
    .auto-usecases {
        padding: 4rem 1.25rem;
    }

    .auto-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auto-spec-detail {
        grid-template-columns: 1fr;
    }

    .auto-spec-detail-image {
        min-height: 300px;
    }

    .auto-spec-detail-image::after {
        background: linear-gradient(0deg, #071827 0%, transparent 45%);
    }

    .auto-spec-detail-content {
        padding: 2rem;
    }

    .auto-flow-steps::before {
        display: none;
    }

    .auto-use-tabs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .auto-use-tabs::-webkit-scrollbar {
        display: none;
    }

    .auto-use-tab {
        min-width: 132px;
        scroll-snap-align: center;
    }

    .auto-use-panels,
    .auto-use-panel {
        min-height: 680px;
    }

    .auto-use-card,
    .auto-use-panel--right .auto-use-card {
        top: auto;
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        max-width: none;
        padding: 1.4rem;
        transform: none;
    }

    .auto-use-panel-image::after {
        background: linear-gradient(0deg, rgba(2, 8, 16, 0.92), rgba(2, 8, 16, 0.08) 75%);
    }
}

@media (max-width: 560px) {
    .auto-pill {
        font-size: 0.62rem;
        line-height: 1.45;
    }

    .auto-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auto-primary-btn,
    .auto-ghost-btn {
        width: 100%;
    }

    .auto-specs-grid,
    .auto-benefits-grid,
    .auto-flow-steps {
        grid-template-columns: 1fr;
    }

    .auto-spec-card {
        min-height: 132px;
    }

    .auto-logo-strip {
        min-height: 250px;
        padding: 1.5rem 0.75rem;
    }

    .auto-logo-strip img {
        width: 82vw;
    }

    .auto-logo-atmosphere {
        width: min(230px, 72vw);
    }

    .auto-spec-detail-image {
        min-height: 240px;
    }

    .auto-spec-detail-content {
        padding: 1.5rem;
    }

    .auto-benefit-card {
        min-height: auto;
    }

    .auto-use-panels,
    .auto-use-panel {
        min-height: 760px;
    }

    .auto-use-list ul {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-automatizacion *,
    .page-automatizacion *::before,
    .page-automatizacion *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .auto-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== HERO HIOPOS 156 (HARDWARE) ===== */
.hero-hardware {
    position: relative;
    width: 100%;
    height: clamp(560px, 56.3vw, 980px);
    overflow: hidden;
    isolation: isolate;
    background: #030711;
}

.hero-hardware-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    filter: brightness(0.88) contrast(1.04) saturate(0.96);
    transform: none;
    z-index: -2;
}

.hero-hardware::before,
.hero-hardware::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-hardware::before {
    z-index: -1;
    background:
        radial-gradient(ellipse at center, rgba(3, 7, 18, 0) 22%, rgba(3, 7, 18, 0.2) 52%, rgba(3, 7, 18, 0.84) 100%),
        linear-gradient(90deg, rgba(3, 7, 18, 0.94), rgba(3, 7, 18, 0.16) 25%, rgba(3, 7, 18, 0.16) 75%, rgba(3, 7, 18, 0.94)),
        linear-gradient(0deg, rgba(3, 7, 18, 0.82), transparent 36%, rgba(3, 7, 18, 0.52));
}

.hero-hardware::after {
    z-index: 0;
    inset: auto 0 0;
    height: 170px;
    background: linear-gradient(to bottom, transparent, #ffffff);
}

/* Texto centrado por encima de la imagen */
.hero-hardware-text {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero-hardware-tag {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ef4444; /* rojo para la palabra HARDWARE */
    margin-bottom: 0.4rem;
}

.hero-hardware h1 {
    font-size: 2.4rem;
    margin-bottom: 0.4rem;
}

.hero-hardware-subtitle {
    font-size: 1rem;
    color: #e5e7eb;
}

/* Responsive */
@media (max-width: 700px) {
    .hero-hardware {
        height: clamp(420px, 56.3vw, 520px);
    }

    .hero-hardware h1 {
        font-size: 2rem;
    }

    .hero-hardware-subtitle {
        font-size: 0.95rem;
    }
}

/* ===== HIOPOS 156: Altas prestaciones ===== */
.page-hiopos156 .main-content {
    padding-top: 2.5rem;
}

/* Banda gris de fondo que ocupa todo el ancho */
.hw-specs {
    background-color: #f5f7fb;
    padding: 3rem 2.5rem 3.3rem;

    /* nos “saltamos” el padding horizontal de main */
    width: calc(100% + 5rem);       /* 2.5rem izquierda + 2.5rem derecha */
    margin-left: -2.5rem;
    margin-right: -2.5rem;
}

.hw-specs-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.hw-specs-title {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.hw-specs-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 2.1rem;
}

/* Grid de 4 tarjetas */
.hw-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

/* Card */
.hw-spec-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 2.2rem 1.7rem 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.hw-spec-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
}

.hw-spec-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hw-spec-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.hw-spec-card p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 1024px) {
    .hw-specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hw-specs {
        padding: 2.5rem 1.5rem 3rem;
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .hw-specs-grid {
        grid-template-columns: 1fr;
    }

    .hw-specs-title {
        font-size: 2rem;
    }
}

/* ===== HIOPOS 156: Pantallas trabajador / cliente ===== */
.hw-screens {
    max-width: 1100px;
    margin: 3.5rem auto 4rem;
}

/* Cada fila */
.hw-screen-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Texto */
.hw-screen-text {
    max-width: 520px;
}

.hw-screen-tag {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f97373; /* rojo suave tipo etiqueta */
    margin-bottom: 0.5rem;
}

.hw-screen-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.hw-screen-subtitle {
    font-size: 1.4rem;
    color: #4b5563;
    margin-bottom: 0.7rem;
}

.hw-screen-body {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Imagen */
.hw-screen-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Hace que imágenes y vídeos con esta clase sean responsivos */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* La segunda fila invierte texto/imagen en escritorio */
.hw-screen-row--text-right {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.05fr);
}

/* Responsive */
@media (max-width: 960px) {
    .hw-screen-row,
    .hw-screen-row--text-right {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* En móvil ponemos siempre imagen arriba y texto debajo para ambas filas */
    .hw-screen-row.hw-screen-row--text-left .hw-screen-text,
    .hw-screen-row.hw-screen-row--text-right .hw-screen-text {
        order: 2;
    }

    .hw-screen-row.hw-screen-row--text-left .hw-screen-image,
    .hw-screen-row.hw-screen-row--text-right .hw-screen-image {
        order: 1;
    }

    .hw-screen-title {
        font-size: 1.7rem;
    }

    .hw-screen-subtitle {
        font-size: 1.2rem;
    }
}

/* ===== HIOPOS 156: Inclinación / Anclaje estándar ===== */
.hw-ergonomics {
    max-width: 1100px;
    margin: 1rem auto 4rem;
}

/* Cada fila */
.hw-erg-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Texto */
.hw-erg-text {
    max-width: 520px;
}

.hw-erg-tag {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f97373;   /* rojo suave tipo etiqueta */
    margin-bottom: 0.5rem;
}

.hw-erg-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.hw-erg-subtitle {
    font-size: 1.4rem;
    color: #4b5563;
    margin-bottom: 0.7rem;
}

.hw-erg-body {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Media (vídeo / imagen) */
.hw-erg-media .img-fluid,
.hw-erg-media video.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Segunda fila: ponemos el texto a la derecha (imagen primero) */
.hw-erg-row--text-right {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

/* Responsive */
@media (max-width: 960px) {
    .hw-erg-row,
    .hw-erg-row--text-right {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* En móvil: media arriba, texto abajo en ambas filas */
    .hw-erg-row .hw-erg-media {
        order: 1;
    }

    .hw-erg-row .hw-erg-text {
        order: 2;
    }

    .hw-erg-title {
        font-size: 1.7rem;
    }

    .hw-erg-subtitle {
        font-size: 1.2rem;
    }
}

/* ===== HIOPOS 156: Características hardware ===== */
.hw-features {
    padding: 0 2.5rem 4rem;

    /* que respete el fondo blanco del body */
}

.hw-features-inner {
    max-width: 1150px;
    margin: 0 auto;
    background-color: #f9fafb;
    border-radius: 24px;
    padding: 2.4rem 2.6rem 2.6rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.hw-features-col--intro {
    align-self: flex-start;
}

.hw-features-tag {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f97373;
    margin-bottom: 0.5rem;
}

.hw-features-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.hw-features-subtitle {
    font-size: 1.4rem;
    color: #4b5563;
}

/* Items de características */
.hw-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.hw-feature-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hw-feature-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hw-feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.hw-feature-text p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .hw-features-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        row-gap: 2rem;
    }

    .hw-features-col--intro {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .hw-feature-icon {
        width: 48px;
        height: 48px;
    }

    .hw-feature-text h4 {
        font-size: 1rem;
    }

    .hw-feature-text p {
        font-size: 0.9rem;
    }

    .hw-features {
        padding: 0 1.5rem 3rem;
    }

    .hw-features-inner {
        padding: 2.1rem 1.7rem 2.2rem;
        grid-template-columns: 1fr;
    }

    .hw-features-title {
        font-size: 2rem;
    }

    .hw-features-subtitle {
        font-size: 1.25rem;
    }
}

/* ===== HIOPOS M278: carrusel "Diseñado por HIOPOS" ===== */
/* ===== BALANZA TS10 ===== */
.page-ts10 .hero-hardware-text {
    justify-content: flex-start;
    padding-top: clamp(5.5rem, 9vw, 9rem);
}

.page-ts10 .hw-specs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-ts10 .hw-spec-card {
    border: 1px solid rgba(164, 0, 0, 0.06);
}

.ts10-product {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.ts10-product .hw-screen-row {
    margin-bottom: 0;
}

.ts10-product-image {
    min-height: 330px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 42%, rgba(176, 0, 0, 0.08), transparent 52%),
        #f5f7fb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.ts10-product-image img {
    max-width: 580px;
    filter: drop-shadow(0 22px 18px rgba(15, 23, 42, 0.18));
}

.ts10-contact {
    padding: 1rem 2.5rem 4.5rem;
}

.ts10-contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.4rem 2.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 20%, rgba(176, 0, 0, 0.28), transparent 35%),
        linear-gradient(135deg, #111827, #050912);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
}

.ts10-contact-inner h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.ts10-contact-inner > p:not(.hw-features-tag) {
    max-width: 620px;
    margin: 0 auto 1.6rem;
    color: #d1d5db;
    line-height: 1.7;
}

.ts10-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.35rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #b00000, #7f0000);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(176, 0, 0, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ts10-contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(176, 0, 0, 0.36);
}

/* ===== BALANZA TS20 ===== */
.page-ts20 .hero-hardware-text {
    max-width: 570px;
    margin: 0;
    padding-left: clamp(2rem, 8vw, 8rem);
    align-items: flex-start;
    text-align: left;
}

.ts20-product {
    margin-top: 5rem;
    margin-bottom: 4rem;
}

.ts20-product .hw-screen-row {
    margin-bottom: 0;
}

.ts20-product-image {
    min-height: 440px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 48%, rgba(176, 0, 0, 0.09), transparent 58%),
        #f5f7fb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.ts20-product-image img {
    filter: drop-shadow(0 24px 20px rgba(15, 23, 42, 0.18));
}

.page-ts20 .hw-feature-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.hardware-contact {
    padding: 0 2.5rem 4.5rem;
}

.hardware-contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.4rem 2.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 20%, rgba(176, 0, 0, 0.28), transparent 35%),
        linear-gradient(135deg, #111827, #050912);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
}

.hardware-contact-inner h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hardware-contact-inner > p:not(.hw-features-tag) {
    max-width: 620px;
    margin: 0 auto 1.6rem;
    color: #d1d5db;
    line-height: 1.7;
}

.hardware-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.35rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #b00000, #7f0000);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(176, 0, 0, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hardware-contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(176, 0, 0, 0.36);
}

@media (max-width: 1024px) {
    .page-ts10 .hw-specs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .page-ts10 .hero-hardware-text {
        padding-top: 4.5rem;
    }

    .page-ts10 .hw-specs-grid {
        grid-template-columns: 1fr;
    }

    .ts10-product {
        margin-top: 3rem;
    }

    .ts10-product-image {
        min-height: 240px;
        padding: 2rem 1rem;
    }

    .ts10-contact {
        padding: 0 1.5rem 3rem;
    }

    .ts10-contact-inner {
        padding: 2.6rem 1.5rem;
    }

    .page-ts20 .hero-hardware-text {
        padding-left: 2rem;
    }

    .ts20-product {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .ts20-product-image {
        min-height: 300px;
        padding: 1.5rem 1rem;
    }

    .hardware-contact {
        padding: 0 1.5rem 3rem;
    }

    .hardware-contact-inner {
        padding: 2.6rem 1.5rem;
    }
}

.page-hioposm278 .main-content {
    padding-top: 2.5rem;
}

/* Título centrado */
.hw-gallery {
    padding: 3rem 2.5rem 4rem;
    width: calc(100% + 5rem);
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    background-color: #ffffff;
}

.hw-gallery-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
}

/* Tarjeta grande con las imágenes y las flechas */
.hw-gallery-card {
    max-width: 1150px;
    margin: 0 auto;
    background-color: #f9fafb;
    border-radius: 24px;
    padding: 1.5rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

/* Flechas */
.hw-gallery-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    color: #4b5563;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hw-gallery-arrow:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

/* Ventana del carrusel */
.hw-gallery-viewport {
    overflow: hidden;
    flex: 1 1 auto;
}

/* Cinta deslizante */
.hw-gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* Cada imagen ocupa 1/3 del ancho visible */
.hw-gallery-item {
    flex: 0 0 calc(100% / 3);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hw-gallery-item img {
    width: 100%;
    max-width: 256px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
}

/* Dots inferiores */
.hw-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.hw-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.hw-gallery-dot.active {
    background-color: #6b7280;
    transform: scale(1.1);
}

/* ===== HARDWARE ÁGORA ===== */
.page-hw-agora {
    background: #f4f5f7;
    color: #111827;
    overflow-x: hidden;
}

.page-hw-agora .hero-hardware-text {
    max-width: 760px;
}

.page-hw-agora .hero-hardware h1 {
    font-size: clamp(2.5rem, 5vw, 4.9rem);
    letter-spacing: -0.04em;
}

.page-hw-agora .hero-hardware-subtitle {
    max-width: 610px;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
}

.agora-hw-main {
    overflow: hidden;
}

.agora-hw-intro {
    width: min(820px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 54px;
    text-align: center;
}

.agora-hw-eyebrow {
    margin: 0 0 14px;
    color: #b60000;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.agora-hw-intro h2,
.agora-hw-cta h2 {
    margin: 0;
    color: #101827;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.agora-hw-intro > p:last-child {
    max-width: 720px;
    margin: 24px auto 0;
    color: #586174;
    font-size: 1.08rem;
    line-height: 1.75;
}

.agora-hw-catalog {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto 100px;
}

.agora-hw-tabs {
    display: grid;
    grid-template-columns: repeat(7, minmax(115px, 1fr));
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(18px);
}

.agora-hw-tab {
    position: relative;
    display: flex;
    min-height: 116px;
    padding: 14px 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    color: #4b5563;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.agora-hw-tab::after {
    content: "";
    position: absolute;
    right: 24%;
    bottom: 8px;
    left: 24%;
    height: 3px;
    border-radius: 99px;
    background: #e11717;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.agora-hw-tab img {
    width: 46px;
    height: 42px;
    object-fit: contain;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    opacity: 0.65;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.agora-hw-tab:hover {
    color: #111827;
    background: #f7f7f8;
    transform: translateY(-2px);
}

.agora-hw-tab.is-active {
    color: #fff;
    background: linear-gradient(145deg, #bd0000, #8e0000);
    box-shadow: 0 14px 28px rgba(166, 0, 0, 0.25);
}

.agora-hw-tab.is-active::after {
    background: #fff;
    transform: scaleX(1);
}

.agora-hw-tab.is-active img {
    filter: grayscale(1) invert(1);
    mix-blend-mode: screen;
    opacity: 1;
    transform: scale(1.06);
}

.agora-hw-tab:focus-visible {
    outline: 3px solid rgba(225, 23, 23, 0.35);
    outline-offset: 3px;
}

.agora-hw-panels {
    position: relative;
    margin-top: 20px;
}

.agora-hw-panel {
    padding: clamp(24px, 4vw, 54px);
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
}

.agora-hw-panel[hidden] {
    display: none;
}

.agora-hw-panel.is-entering {
    animation: agora-panel-in 0.48s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes agora-panel-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.agora-hw-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: clamp(34px, 6vw, 86px);
}

#comanderos {
    scroll-margin-top: 7rem;
}

.agora-hw-feature-copy h3 {
    max-width: 650px;
    margin: 0;
    color: #101827;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.agora-hw-feature-copy > p:not(.agora-hw-eyebrow) {
    margin: 22px 0 0;
    color: #5d6573;
    font-size: 1.04rem;
    line-height: 1.75;
}

.agora-hw-checks {
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.agora-hw-checks li {
    position: relative;
    padding-left: 28px;
    color: #303949;
    line-height: 1.55;
}

.agora-hw-checks li::before {
    content: "";
    position: absolute;
    top: 0.42em;
    left: 1px;
    width: 10px;
    height: 10px;
    border: 3px solid #bd0000;
    border-radius: 50%;
}

.agora-hw-feature-image {
    position: relative;
    min-height: 390px;
    margin: 0;
    overflow: hidden;
    border-radius: 26px;
    background: radial-gradient(circle at 50% 44%, #fff 0, #f5f5f6 56%, #e9eaed 100%);
}

.agora-hw-feature-image::after {
    content: "";
    position: absolute;
    inset: auto 10% 5% 10%;
    height: 22%;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.12);
    filter: blur(30px);
}

.agora-hw-feature-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.agora-hw-feature-image:hover img {
    transform: scale(1.035);
}

.agora-hw-feature-image--product img {
    padding: 28px;
    object-fit: contain;
}

.agora-hw-feature-image--photo img {
    object-position: center;
}

.agora-hw-product-grid {
    display: grid;
    gap: 18px;
    margin-top: 46px;
}

.agora-hw-product-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agora-hw-product-grid--single {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.agora-hw-product-card {
    position: relative;
    padding: 20px 20px 24px;
    overflow: hidden;
    border: 1px solid #eceef1;
    border-radius: 23px;
    background: linear-gradient(155deg, #fff, #f7f7f8);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.agora-hw-product-card:hover {
    border-color: rgba(182, 0, 0, 0.2);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.1);
    transform: translateY(-6px);
}

.agora-hw-product-card > img {
    width: 100%;
    height: 205px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.agora-hw-product-card h4,
.agora-hw-mini-grid h4 {
    margin: 12px 0 0;
    color: #111827;
    font-size: 1.22rem;
}

.agora-hw-product-lead {
    min-height: 44px;
    margin: 8px 0 16px;
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.5;
}

.agora-hw-product-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 15px 0 0;
    border-top: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.86rem;
    list-style: none;
}

.agora-hw-product-card li::before {
    content: "+";
    margin-right: 7px;
    color: #b60000;
    font-weight: 900;
}

.agora-hw-product-card--horizontal {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 36px;
    padding: 28px 38px;
}

.agora-hw-product-card--horizontal > img {
    height: 280px;
}

.agora-hw-product-kicker {
    margin: 0;
    color: #b60000;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.agora-hw-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.agora-hw-mini-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agora-hw-mini-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agora-hw-mini-grid article {
    position: relative;
    padding: 22px;
    overflow: hidden;
    border-radius: 19px;
    background: #f4f5f7;
}

.agora-hw-mini-grid article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 38px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: #c40000;
}

.agora-hw-mini-grid h4 {
    margin-top: 4px;
}

.agora-hw-mini-grid p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.55;
}

.agora-hw-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 50px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 100px;
    padding: clamp(34px, 5vw, 68px);
    border-radius: 32px;
    background: linear-gradient(135deg, #121722, #07090e);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
}

.agora-hw-cta h2 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 3.1rem);
}

.agora-hw-cta p:last-child {
    max-width: 700px;
    margin: 18px 0 0;
    color: #aeb6c5;
    line-height: 1.65;
}

.agora-hw-cta-link {
    display: inline-flex;
    min-height: 54px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #c60000;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(198, 0, 0, 0.28);
    transition: background 0.25s ease, transform 0.25s ease;
}

.agora-hw-cta-link:hover {
    background: #e00000;
    transform: translateY(-3px);
}

@media (max-width: 1080px) {
    .agora-hw-tabs {
        grid-template-columns: repeat(7, 125px);
    }

    .agora-hw-feature {
        grid-template-columns: 1fr 0.9fr;
        gap: 34px;
    }

    .agora-hw-product-grid--four,
    .agora-hw-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .page-hw-agora .hero-hardware {
        height: clamp(440px, 90vw, 580px);
    }

    .agora-hw-intro {
        padding: 66px 0 40px;
    }

    .agora-hw-catalog {
        width: min(100% - 24px, 1320px);
        margin-bottom: 72px;
    }

    .agora-hw-tabs {
        padding: 8px;
        border-radius: 22px;
    }

    .agora-hw-tab {
        min-height: 98px;
    }

    .agora-hw-panel {
        border-radius: 25px;
    }

    .agora-hw-feature {
        grid-template-columns: 1fr;
    }

    .agora-hw-feature-image,
    .agora-hw-feature-image img {
        min-height: 300px;
    }

    .agora-hw-product-grid--four,
    .agora-hw-mini-grid,
    .agora-hw-mini-grid--three,
    .agora-hw-mini-grid--two {
        grid-template-columns: 1fr;
    }

    .agora-hw-product-card--horizontal {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .agora-hw-product-card--horizontal > img {
        height: 230px;
    }

    .agora-hw-cta {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 72px;
    }

    .agora-hw-cta-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .agora-hw-panel.is-entering {
        animation: none;
    }

    .agora-hw-tab,
    .agora-hw-tab img,
    .agora-hw-feature-image img,
    .agora-hw-product-card,
    .agora-hw-cta-link {
        transition: none;
    }
}
