
:root {
    --white: #ffffff;
    --off-white: #f1f3f4;
    --dark: #202124;
    --gray-dark: #3c4043;
    --gray: #5f6368;
    --gray-light: #9aa0a6;
    --border: #dadce0;
    --error: #d93025;
    --warning: #f9ab00;
    --success: #188038;
    --star: #ffb400;

    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    --max-width: 1200px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Google Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--off-white);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    scroll-behavior: smooth;
    padding-top: 72px;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
}

nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--green-light) 0%, var(--white) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-links.active::before {
    opacity: 1;
}

.nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links.active li {
    opacity: 1;
    transform: translateX(0);
}

.nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-links.active li:nth-child(2) {
    transition-delay: 0.15s;
}

.nav-links.active li:nth-child(3) {
    transition-delay: 0.2s;
}

.nav-links.active li:nth-child(4) {
    transition-delay: 0.25s;
}

.nav-links.active li:nth-child(5) {
    transition-delay: 0.3s;
}

@media (max-width: 767px) {
    .top-nav.menu-open {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom-color: transparent;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--green);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--green);
    }

    .nav-links.active {
        animation: menuBounce 0.5s ease-out;
    }
}

@keyframes menuBounce {
    0% {
        transform: translateX(100%);
    }

    70% {
        transform: translateX(-5%);
    }

    100% {
        transform: translateX(0);
    }
}

.nav-links a:active {
    transform: scale(0.95);
    color: var(--green-dark);
}

body.menu-prevent-scroll {
    overflow: hidden !important;
    touch-action: none;
}

.nav-links,
.bar,
.menu-toggle {
    perspective: 1000px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.nav-links.active {
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
}

@supports (padding: env(safe-area-inset-top)) {
    .nav-links {
        padding-top: calc(100px + env(safe-area-inset-top));
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 320px) {
    .nav-links {
        width: 100%;
        padding: 80px 20px;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation: shimmer 1.5s infinite linear;
    max-width: 100%;
}

.top-nav {
    background: var(--white);
    height: 72px;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
    width: 100%;
}

.top-nav.scrolled {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    overflow: hidden;

}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.8px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--gray);
    font-weight: 500;
    font-size: 18px;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #ffffff;
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: #000000;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero-banner {
    height: 420px;
    background: #202124;
    background-image: url('/image/banner.png');
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(32, 33, 36, 0.9) 0%, rgba(32, 33, 36, 0.3) 100%);
}

.hero-content {
    z-index: 10;
    padding: 0 24px;
    max-width: 800px;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin: 16px 0;
    letter-spacing: -1px;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.badge {
    background: #ffffff;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    color: #000000;
}

.container {
    max-width: 1100px;
    margin: -60px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 100;
    width: 100%;
}

.main-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.6s ease-out;
    overflow: hidden;
}

.app-row {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 2;
    min-width: 280px;
}

.app-icon {
    width: 120px;
    height: 120px;
    background-image: url(/icon/icon.png);
    border-radius: var(--radius-xl);

    font-size: 52px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(121, 85, 72, 0.3);
}

.app-info-main {
    min-width: 0;
}

.app-info-main h1 {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 6px;
    color: var(--dark);
    word-break: break-word;
}

.author {
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author:hover {
    text-decoration: underline;
}

.ads-tag {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
    display: block;
}

.app-stats-row {
    display: flex;
    gap: 20px;
    text-align: center;
    flex: 1;

    justify-content: space-around;
    padding: 10px 0;
    flex-wrap: nowrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.bold {
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.bold i.star {
    color: var(--star);
    font-size: 16px;
}

.label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    white-space: nowrap;
}

.divider {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    align-self: center;
}

.btn-download {
    display: inline-block;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    border: none;

    background: #d4af37;
    color: #261e02;
    border: none;
    padding: 14px 60px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-normal);
    max-width: 100%;
    filter: brightness(1.1);
}

.btn-download:hover {
    background: #d4af37;
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-download:active {
    transform: translateY(0);

}

.capturas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;    
    gap: 12px;

}

.control-btn {
    width: 40px;
    height: 54px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: #000000;
    font-weight: 600;
}

.control-btn:hover {
    background-color:  #fcc204;
    box-shadow: var(--shadow-sm);
    color: #000000;
    border-color: #fcc204;
}

.carousel-section {
    position: relative;
    margin: 32px 0;
    width: 100%;
    overflow: hidden;
}

.gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.card {
    min-width: 240px;
    height: 420px;
    border-radius: var(--radius-lg);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    font-weight: bold;
    scroll-snap-align: start;
    transition: var(--transition-slow);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;


    background-size: cover;     
    background-position: center;  
    background-repeat: no-repeat; 
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.card-text {
    position: relative;
    z-index: 2;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    word-break: break-word;
}

.c1 {
    background-image: url(/image/salinas-tech-santa-biblia_01.webp);
    
}

.c2 {
    background-image: url(/image/salinas-tech-santa-biblia_02.webp);
}

.c3 {
    background-image: url(/image/salinas-tech-santa-biblia_03.webp);
}

.c4 {
    background-image: url(/image/salinas-tech-santa-biblia_04.webp);
}

.c5 {
    background-image: url(/image/salinas-tech-santa-biblia_05.webp);
}

.footer-bottom {
    background: var(--white);
    padding: 60px 24px;
    border-top: 1px solid var(--border);
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        right: auto !important;
        flex-direction: row !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .nav-links li {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .footer-bottom {

        justify-content: space-between;
        padding: 40px 24px;
        text-align: center;
    }

    section[id] {
        scroll-margin-top: 90px;
    }

    .top-nav {
        width: 100%;
        max-width: 100vw;
    }
}

.copyright {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 10000;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

@media (max-width: 1024px) {
    .container {
        margin-top: -40px;
    }

    .hero-banner {
        height: 320px;
    }

    .app-brand {
        flex: 1;
    }

    .card {
        min-width: 210px;
        height: 380px;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
        z-index: 2000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-banner {
        height: 260px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .app-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .app-brand {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .app-stats-row {
        width: 100%;
        background: rgba(223, 221, 212, 0.298);
        padding: 20px 5px;
        border-radius: var(--radius-md);
        margin: 12px 0;
        border: 1px solid var(--border);
        justify-content: space-evenly;
    }

    .stat-item {
        padding: 0 5px;
    }

    .bold {
        font-size: 16px;
    }

    .label {
        font-size: 9px;
    }

    .btn-main {
        width: 100%;
        padding: 14px 100px;
        font-size: 18px;
    }

    .carousel-controls {
        display: none;
    }

    .card {
        min-width: 180px;
        height: 320px;
    }
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 100%;
    max-width: 100%;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.break-word {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.safe-area {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.gallery {
    will-change: transform;
    backface-visibility: hidden;
}

.mb-sm {
    margin-bottom: 8px;
}

.mb-md {
    margin-bottom: 16px;
}

.mb-lg {
    margin-bottom: 32px;
}

.full-height-fix {
    height: -webkit-fill-available;
}

::selection {
    background: var(--green-light);
    color: var(--green-dark);
}

body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background: var(--off-white);
}

body::-webkit-scrollbar-thumb {
    background: var(--gray-light);
    border-radius: 10px;
}

.app-row,
.app-stats-row {
    max-width: 100%;
}

.main-card section {
    width: 100%;
    clear: both;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

.text-green {
    color: var(--green);
}

.text-gray {
    color: var(--gray);
}

.card:active {
    transform: scale(0.98);
}

@media screen and (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}

.aria-hidden {
    display: none;
}

:focus {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.no-animate * {
    animation: none !important;
    transition: none !important;
}