:root {
    --primary: #1a73e8;
    --secondary: #0f172a;
    --accent: #f97316;
    --light: #f8fafc;
    --dark: #0b1120;
    --muted: #64748b;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-soft: 0 24px 48px -32px rgba(15, 23, 42, 0.32);
    --shadow-card: 0 16px 40px -28px rgba(15, 23, 42, 0.45);
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--secondary);
    scroll-behavior: smooth;
    background-color: #ffffff;
}

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

.hero {
    position: relative;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(30, 64, 175, 0.78));
    color: #fff;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26, 115, 232, 0.18), transparent 55%);
    z-index: 1;
}

.hero .carousel-item {
    min-height: 75vh;
}

.hero .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.68), rgba(30, 64, 175, 0.45));
}

.hero .carousel-item img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-content {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    max-width: none;
    padding: 0 1.5rem;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 3vw + 0.8rem, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-content h1.caption-changing {
    opacity: 0;
    transform: translateY(18px);
}

.hero-content p {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 1.5rem;
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 70vh;
        background: none;
    }

    .hero .carousel-item {
        min-height: 70vh;
    }

    .hero::before,
    .hero .carousel-item::before {
        display: none;
    }

    .hero .carousel-item img {
        height: 70vh;
    }

    .hero-content {
        display: none;
    }
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-image: linear-gradient(120deg, #2563eb, #38bdf8);
    color: #fff;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 18px 30px -18px rgba(37, 99, 235, 0.65);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 24px 45px -20px rgba(14, 165, 233, 0.75);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 360px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -26px rgba(15, 23, 42, 0.48);
}

.product-card-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    background: #fff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-card .card-body {
    padding: 1.1rem 1.25rem 1.3rem;
    display: flex;
    flex-direction: column;
}


.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(120deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    border: none;
    box-shadow: 0 12px 24px -20px rgba(22, 163, 74, 0.6);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-order i {
    font-size: 0.95rem;
}

.product-card .btn-order {
    align-self: flex-start;
}

.btn-order:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 22px 40px -20px rgba(21, 128, 61, 0.75);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.4rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(71, 85, 105, 0.9);
    font-size: 0.9rem;
}

.product-features li::before {
    content: '\2713';
    color: var(--primary);
    font-weight: 700;
}

#galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 18px 35px -30px rgba(15, 23, 42, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.68);
}

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

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 2rem;
}

.gallery-lightbox.active {
    opacity: 1;
}

.gallery-lightbox img {
    max-width: min(900px, 90vw);
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 45px 70px -40px rgba(15, 23, 42, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    border: none;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.05);
    background: rgba(15, 23, 42, 0.8);
}

.contact-section {
    background: linear-gradient(130deg, #f8fafc, #e0f2fe);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

.contact-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.4);
}

.contact-card h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--secondary);
}

.contact-info li i {
    font-size: 1.3rem;
    color: var(--primary);
}

.contact-social {
    flex-wrap: wrap;
}

.btn-contact-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact-social.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 14px 28px -20px rgba(18, 140, 126, 0.7);
}

.btn-contact-social.facebook {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 14px 28px -20px rgba(37, 99, 235, 0.7);
}

.btn-contact-social.tiktok {
    background: linear-gradient(135deg, #111827, #0f172a);
    box-shadow: 0 14px 28px -20px rgba(15, 23, 42, 0.7);
}

.btn-contact-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -22px rgba(15, 23, 42, 0.75);
}

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 2rem 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer-dev-link {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.footer-dev-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(120deg, #38bdf8, #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.footer-dev-link:hover {
    color: #60a5fa;
}

.footer-dev-link:hover::after {
    transform: scaleX(1);
}

.btn-install-app {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(120deg, #38bdf8, #60a5fa);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-weight: 600;
    box-shadow: 0 16px 32px -20px rgba(59, 130, 246, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-install-app i {
    font-size: 1rem;
}

.btn-install-app:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 20px 40px -24px rgba(37, 99, 235, 0.75);
}

@media (max-width: 992px) {
    .hero {
        min-height: 70vh;
    }

    .hero .carousel-item img {
        height: 70vh;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 65vh;
    }

    .hero .carousel-item img {
        height: 65vh;
    }

    .contact-section {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero .carousel-item img {
        height: 60vh;
    }

    .contact-section {
        padding: 1.5rem;
    }
}
