
/* ==================================================
   SYMBOL ANDROID NATIVE EXPERIENCE V1
   Exclusivo para dispositivos Android
================================================== */

html.symbol-android {
    --sa-background: #0B0A12;
    --sa-panel: #191426;
    --sa-border: #42334F;
    --sa-green: #43F58F;
    --sa-purple: #873BFF;
    --sa-text: #F6F4FC;
    --sa-muted: #B9B6C5;
    --sa-nav-height: 74px;
}

html.symbol-android body {
    padding-bottom: calc(
        var(--sa-nav-height) +
        env(safe-area-inset-bottom, 0px)
    ) !important;

    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-x: none;
}

/* BOTONES TÁCTILES */

.symbol-android .sa-button,
.symbol-android .sa-nav-button {
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform .15s, background .2s;
}

.symbol-android .sa-button:active,
.symbol-android .sa-nav-button:active {
    transform: scale(.94);
}

/* NAVEGACIÓN INFERIOR */

.symbol-android .sa-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    padding: 8px 4px;
    padding-bottom: calc(
        8px + env(safe-area-inset-bottom, 0px)
    );

    min-height: var(--sa-nav-height);
    background: rgba(15, 12, 23, .97);
    backdrop-filter: blur(22px);
    border-top: 1px solid var(--sa-border);
    box-shadow: 0 -10px 35px #0006;
}

.symbol-android .sa-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 54px;
    padding: 7px 2px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--sa-muted);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
}

.symbol-android .sa-nav-button svg {
    width: 23px;
    height: 23px;
}

.symbol-android .sa-nav-button.is-active {
    color: var(--sa-green);
    background: rgba(67, 245, 143, .08);
}

/* VENTANAS DESLIZABLES */

.symbol-android .sa-sheet {
    position: fixed;
    inset: auto 0 0;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    max-height: 85dvh;

    color: var(--sa-text);
    background: var(--sa-background);
    border: 1px solid var(--sa-border);
    border-radius: 26px 26px 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 -20px 80px #0009;
}

.symbol-android .sa-sheet[open] {
    animation: sa-slide-up .25s ease;
}

.symbol-android .sa-sheet::backdrop {
    background: rgba(0, 0, 0, .68);
    backdrop-filter: blur(5px);
}

@keyframes sa-slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.symbol-android .sa-sheet-inner {
    padding: 22px 18px;
    padding-bottom: calc(
        24px + env(safe-area-inset-bottom, 0px)
    );
}

.symbol-android .sa-handle {
    width: 42px;
    height: 4px;
    margin: 0 auto 20px;
    border-radius: 10px;
    background: #645771;
}

.symbol-android .sa-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.symbol-android .sa-sheet-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.symbol-android .sa-close {
    width: 42px;
    height: 42px;
    color: white;
    background: var(--sa-panel);
    border: 1px solid var(--sa-border);
    border-radius: 12px;
    font-size: 24px;
}

/* BUSCADOR DE SERVICIOS */

.symbol-android .sa-search {
    display: block;
    width: 100%;
    min-height: 50px;
    margin-bottom: 18px;
    padding: 14px 16px;

    background: var(--sa-panel);
    border: 1px solid var(--sa-border);
    border-radius: 13px;
    color: white;
    font-size: 16px;
    outline: none;
}

.symbol-android .sa-search:focus {
    border-color: var(--sa-green);
}

.symbol-android .sa-service-list {
    display: grid;
    gap: 11px;
}

.symbol-android .sa-service-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 76px;
    padding: 14px;

    background: var(--sa-panel);
    border: 1px solid var(--sa-border);
    border-radius: 15px;
}

.symbol-android .sa-service-link {
    flex: 1;
    min-width: 0;
    color: var(--sa-text);
    font-size: 14px;
    font-weight: 700;
}

.symbol-android .sa-service-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    color: var(--sa-green);
    background: #43F58F0D;
    border-radius: 10px;
}

.symbol-android .sa-service-icon svg {
    width: 24px;
    height: 24px;
}

.symbol-android .sa-favorite {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    border: 1px solid var(--sa-border);
    border-radius: 10px;
    background: transparent;
    color: var(--sa-muted);
    font-size: 23px;
}

.symbol-android .sa-favorite.is-saved {
    color: var(--sa-green);
    border-color: var(--sa-green);
}

/* MENÚ DE OPCIONES */

.symbol-android .sa-menu-list {
    display: grid;
    gap: 10px;
}

.symbol-android .sa-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 56px;
    padding: 15px;

    background: var(--sa-panel);
    color: var(--sa-text);
    border: 1px solid var(--sa-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.symbol-android .sa-menu-item svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    color: var(--sa-green);
}

.symbol-android .sa-menu-item span {
    margin-left: auto;
    color: var(--sa-muted);
}

.symbol-android .sa-empty {
    padding: 25px 10px;
    text-align: center;
    color: var(--sa-muted);
    font-size: 14px;
}

/* MENSAJES DE CONFIRMACIÓN */

.symbol-android .sa-toast {
    position: fixed;
    z-index: 9999;
    bottom: calc(
        var(--sa-nav-height) + 16px +
        env(safe-area-inset-bottom, 0px)
    );
    left: 16px;
    right: 16px;
    padding: 15px;

    color: white;
    background: #21192E;
    border: 1px solid var(--sa-border);
    border-radius: 13px;
    box-shadow: 0 10px 30px #0008;
    font-size: 13px;
    text-align: center;
}

.symbol-android .sa-toast[hidden] {
    display: none;
}

/* ESTADO DE CONEXIÓN */

.symbol-android .sa-offline {
    position: fixed;
    z-index: 9001;
    left: 0;
    right: 0;
    bottom: calc(
        var(--sa-nav-height) +
        env(safe-area-inset-bottom, 0px)
    );

    padding: 8px;
    color: #FFD38A;
    background: #392818;
    text-align: center;
    font-size: 11px;
}

.symbol-android .sa-offline[hidden] {
    display: none;
}

/* HERRAMIENTAS DEL FORMULARIO */

.symbol-android .sa-draft-tools {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--sa-border);
    border-radius: 12px;
}

.symbol-android .sa-draft-tools button {
    min-height: 44px;
    background: var(--sa-panel);
    color: var(--sa-green);
    border: 1px solid var(--sa-border);
    border-radius: 10px;
}

.symbol-android .sa-draft-tools small {
    color: var(--sa-muted);
    line-height: 1.6;
}

/* EVITAR SUPERPOSICIONES */

.symbol-android .back-top {
    display: none !important;
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .symbol-android .sa-sheet,
    .symbol-android .sa-button,
    .symbol-android .sa-nav-button {
        animation: none !important;
        transition: none !important;
    }
}



/* ==================================================
   SYMBOL ANDROID V15
   NATIVE EXPERIENCE PREMIUM
================================================== */

html.symbol-android {
    --sa-radius: 18px;
    --sa-surface: #15111F;
    --sa-glass: rgba(22, 17, 32, .97);
    --sa-gradient: linear-gradient(
        115deg, #8000FF, #0066FF, #00E69A
    );
}

.symbol-android body {
    background: #0B0A12;
    min-height: 100dvh;
}

/* HEADER UNIFICADO */

.symbol-android .navbar {
    position: sticky !important;
    top: 0;
    background: rgba(11, 10, 18, .94) !important;
    backdrop-filter: blur(24px);
    border-bottom: 1px solid #ffffff12;
    z-index: 1000;
}

.symbol-android .nav-inner {
    width: calc(100% - 28px) !important;
    min-height: 70px;
    gap: 10px !important;
}

.symbol-android .utility {
    display: none !important;
}

.symbol-android .nav-live,
.symbol-android .nav-button {
    display: none !important;
}

/* SUPERFICIES TIPO APP */

.symbol-android .section {
    padding: 48px 0 !important;
}

.symbol-android .container {
    width: calc(100% - 30px) !important;
}

.symbol-android .section h2 {
    font-size: clamp(26px, 7vw, 38px);
    line-height: 1.18;
    letter-spacing: -1.2px;
}

.symbol-android .section-side {
    max-width: 100%;
}

.symbol-android .section-side p {
    line-height: 1.75;
}

.symbol-android .subpage-hero {
    padding: 45px 0 40px !important;
}

.symbol-android .subpage-hero h1 {
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.15;
}

/* TARJETAS UNIFORMES */

.symbol-android :is(
    .service-card,
    .svc-card,
    .need-card,
    .catalog-card,
    .portfolio-card,
    .team-card,
    .identity-card,
    .review-card,
    .connectivity-card,
    .value-item,
    .capability-tile-v41,
    .contact-form-wrap
) {
    border-radius: var(--sa-radius) !important;
    background: linear-gradient(
        145deg,
        #20182C,
        #14111E 85%
    ) !important;

    border: 1px solid #49375F !important;
    box-shadow: 0 8px 24px #0003;
    min-width: 0;
    color: #F6F4FC !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.symbol-android :is(
    .service-card,
    .svc-card,
    .need-card,
    .catalog-card,
    .portfolio-card,
    .team-card,
    .identity-card,
    .review-card
) :is(h3, strong) {
    color: #F6F4FC;
}

.symbol-android .primary-card
.service-body h3 em {
    color: #43F58F;
}

.symbol-android .primary-card
.service-body p {
    color: #CFC8DB;
}

/* DISTRIBUCIÓN DE TARJETAS */

.symbol-android :is(
    .service-grid,
    .svc-grid,
    .needs-grid,
    .portfolio-grid,
    .team-grid,
    .identity-grid,
    .reviews-grid,
    .connectivity-grid
) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
}

.symbol-android .service-card:last-child {
    grid-column: auto;
}

/* BOTONES TÁCTILES */

.symbol-android :is(
    .btn,
    .svc-link,
    .portfolio-action,
    .nav-button
) {
    min-height: 48px;
    border-radius: 12px !important;
    touch-action: manipulation;
}

.symbol-android :is(
    button,
    .btn,
    .sa-nav-button
):active {
    transform: scale(.97);
}

/* PORTADA SIN SUPERPOSICIONES */

.symbol-android .hero-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 36px !important;
    min-height: 0 !important;
    height: auto !important;
}

.symbol-android .hero-copy {
    position: relative !important;
    width: 100%;
    height: auto !important;
}

.symbol-android .hero-bottom {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px !important;
    margin: 30px 0 0 !important;
    inset: auto !important;
    transform: none !important;
}

.symbol-android .hero-divider {
    display: none !important;
}

.symbol-android .hero-tag {
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 6px;
    font-size: 10px;
}

.symbol-android .hero-visual {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 0 36px !important;
    margin: 0 !important;
    transform: none !important;
}

.symbol-android .command-card {
    position: relative !important;
    inset: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    animation: none !important;
}

/* BARRA INFERIOR PREMIUM */

.symbol-android .sa-bottom-nav {
    left: 10px;
    right: 10px;
    bottom: calc(
        10px + env(safe-area-inset-bottom, 0px)
    );

    min-height: 68px;
    padding: 6px;
    border-radius: 22px;
    border: 1px solid #49365F;
    background: rgba(20, 15, 30, .97);
    backdrop-filter: blur(25px);
    box-shadow: 0 10px 40px #0009;
}

.symbol-android body {
    padding-bottom: calc(
        100px + env(safe-area-inset-bottom, 0px)
    ) !important;
}

.symbol-android .sa-nav-button {
    position: relative;
    border-radius: 16px;
    gap: 5px;
}

.symbol-android .sa-nav-button.is-active {
    background: linear-gradient(
        145deg,
        #43F58F19,
        #873BFF12
    );
}

.symbol-android .sa-nav-button.is-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 20px;
    height: 3px;
    border-radius: 5px;
    background: #43F58F;
    box-shadow: 0 0 12px #43F58F70;
}

/* MENÚ DESLIZABLE CON EFECTO CRISTAL */

.symbol-android .sa-sheet {
    background: var(--sa-glass);
    backdrop-filter: blur(28px);
    border-radius: 30px 30px 0 0;
    border-color: #60467A;
    max-height: 88dvh;
}

.symbol-android .sa-sheet[open] {
    animation: sa-premium-open .42s
        cubic-bezier(.16, 1, .3, 1) both;
}

.symbol-android .sa-sheet.sa-closing {
    animation: sa-premium-close .26s
        cubic-bezier(.4, 0, 1, 1) both;
}

.symbol-android .sa-sheet::backdrop {
    background: rgba(4, 3, 9, .72);
    backdrop-filter: blur(9px);
    animation: sa-backdrop-in .3s ease both;
}

.symbol-android .sa-sheet.sa-closing::backdrop {
    animation: sa-backdrop-out .26s ease both;
}

@keyframes sa-premium-open {
    from {
        transform: translateY(105%) scale(.97);
        opacity: .6;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes sa-premium-close {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(105%);
        opacity: .5;
    }
}

@keyframes sa-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes sa-backdrop-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* OPCIONES DEL MENÚ EN CUADRÍCULA */

.symbol-android .sa-menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.symbol-android .sa-menu-item {
    position: relative;
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 17px;

    border-radius: 17px;
    background: linear-gradient(
        145deg, #281D39, #191323
    );

    animation: sa-item-enter .38s
        cubic-bezier(.16, 1, .3, 1) both;
}

.symbol-android .sa-menu-item svg {
    width: 27px;
    height: 27px;
}

.symbol-android .sa-menu-item span {
    position: absolute;
    right: 12px;
    top: 12px;
}

.symbol-android .sa-menu-item:active {
    border-color: #43F58F;
    background: #43F58F15;
}

@keyframes sa-item-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER ADAPTADO */

.symbol-android footer {
    padding-bottom: 30px;
}

.symbol-android .footer-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.symbol-android .footer-nav {
    justify-content: flex-start;
    gap: 15px;
}

.symbol-android .back-top,
.symbol-android .motion-toggle {
    display: none !important;
}

/* PANTALLAS ANDROID GRANDES */

@media (min-width: 768px) {
    .symbol-android :is(
        .svc-grid,
        .needs-grid,
        .portfolio-grid,
        .team-grid
    ) {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .symbol-android .sa-bottom-nav {
        max-width: 600px;
        margin: auto;
    }

    .symbol-android .sa-sheet {
        max-width: 600px;
        margin-inline: auto;
    }
}

/* RESPETAR ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .symbol-android .sa-sheet,
    .symbol-android .sa-sheet.sa-closing,
    .symbol-android .sa-menu-item,
    .symbol-android .sa-sheet::backdrop {
        animation: none !important;
        transition: none !important;
    }
}
