:root {
    --brand-orange: #ff7a1a;
    --brand-orange-dark: #d95f05;
    --brand-blue: #123d6a;
    --brand-blue-dark: #0b2744;
    --brand-dark: #0b1220;
    --brand-steel: #1f2937;
    --surface: #f3f6f9;
    --surface-dark: #101826;
    --white: #ffffff;
    --muted: #667085;
    --success: #16a34a;
    --border: rgba(12, 18, 32, 0.08);
    --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.14);
    --shadow-md: 0 18px 35px rgba(11, 18, 32, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Barlow", sans-serif;
    color: var(--brand-dark);
    background:
        radial-gradient(circle at top left, rgba(255, 122, 26, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(18, 61, 106, 0.14), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eff4f8 100%);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.min-vh-75 {
    min-height: 75vh;
}

.section-space {
    padding: 88px 0;
}

.section-surface {
    background:
        linear-gradient(180deg, rgba(18, 61, 106, 0.04), rgba(255, 122, 26, 0.04)),
        var(--surface);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-orange-dark);
    margin-bottom: 1rem;
}

.section-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-orange), transparent);
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2,
h1,
h2,
h3,
h4 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.section-heading h2,
h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.flash-stack {
    margin-top: 20px;
}

.site-header {
    z-index: 1050;
}

.main-navbar {
    background: rgba(10, 17, 30, 0.84);
    backdrop-filter: blur(18px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-navbar.scrolled {
    background: rgba(10, 17, 30, 0.96);
    box-shadow: 0 16px 40px rgba(3, 8, 18, 0.28);
}

.navbar-brand {
    color: var(--white);
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-orange), #ffb347);
    color: var(--brand-dark);
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
}

.brand-title {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.12em;
    font-size: 0.62rem;
    margin-top: 0.35rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    padding: 0.65rem 1rem !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--white);
}

.hero-section {
    margin-top: 0;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-card {
    background: rgba(9, 15, 25, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 4vw, 3rem);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.hero-card h1 {
    margin-bottom: 1rem;
}

.hero-card p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.84);
    max-width: 56ch;
}

.hero-badge {
    display: inline-flex;
    background: rgba(255, 122, 26, 0.18);
    color: #ffd0ac;
    border: 1px solid rgba(255, 122, 26, 0.4);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.35rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-stat-card span {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-stat-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.page-hero {
    padding: 104px 0 72px;
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(10, 17, 30, 0.96), rgba(18, 61, 106, 0.88)),
        linear-gradient(45deg, rgba(255, 122, 26, 0.1), transparent);
}

.page-hero-sm {
    padding-top: 96px;
    padding-bottom: 72px;
}

.filter-shell,
.contact-form-card,
.map-card,
.contact-highlight-card,
.stats-panel,
.choice-card,
.info-card,
.why-card,
.category-card,
.product-card,
.empty-state-card,
.cta-panel,
.product-detail-media {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.filter-shell,
.contact-form-card,
.map-card,
.contact-highlight-card,
.stats-panel,
.choice-card,
.info-card,
.why-card,
.category-card,
.product-card,
.empty-state-card,
.product-detail-media {
    color: var(--brand-dark);
}

.filter-shell,
.contact-form-card,
.map-card,
.contact-highlight-card,
.stats-panel,
.why-card,
.cta-panel {
    padding: clamp(1.4rem, 3vw, 2rem);
}

.stats-panel {
    display: grid;
    gap: 1rem;
}

.stats-panel-item {
    padding: 1.2rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.08), rgba(18, 61, 106, 0.08));
    border-radius: 20px;
}

.stats-panel-item span {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.stats-panel-item p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.product-card {
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 48px rgba(11, 18, 32, 0.16);
}

.product-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 12;
    background: linear-gradient(135deg, #dbe4f0, #eef3f8);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image {
    transform: scale(1.04);
}

.category-chip {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(10, 17, 30, 0.78);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
}

.product-card-body {
    padding: 1.4rem;
}

.product-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-card-body p {
    color: var(--muted);
    min-height: 68px;
}

.product-price {
    color: var(--brand-orange-dark);
    font-weight: 700;
    white-space: nowrap;
}

.category-card {
    display: block;
    padding: 1.8rem;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 26, 0.36);
}

.category-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.18), rgba(18, 61, 106, 0.12));
    color: var(--brand-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.category-card h3,
.choice-card h3,
.info-card h3,
.why-card h3,
.footer-title {
    font-size: 1.4rem;
}

.category-card p,
.choice-card p,
.info-card p,
.why-card p {
    color: var(--muted);
    margin-bottom: 0;
}

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

.info-card {
    padding: 1.7rem;
}

.why-card {
    height: 100%;
    background:
        linear-gradient(150deg, rgba(255, 122, 26, 0.08), rgba(18, 61, 106, 0.08)),
        var(--white);
}

.why-list {
    display: grid;
    gap: 1rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(243, 246, 249, 0.92);
}

.why-item i {
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 2px;
}

.cta-section .cta-panel,
.cta-panel {
    background:
        linear-gradient(135deg, rgba(10, 17, 30, 0.96), rgba(18, 61, 106, 0.94)),
        linear-gradient(45deg, rgba(255, 122, 26, 0.12), transparent);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-panel p {
    max-width: 62ch;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.78);
}

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

.contact-highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(243, 246, 249, 0.8);
}

.contact-highlight-item i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(18, 61, 106, 0.14));
    color: var(--brand-blue);
}

.contact-highlight-item span {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.contact-highlight-item a,
.contact-highlight-item p {
    margin: 0;
    font-weight: 600;
    text-decoration: none;
}

.map-card iframe {
    border-radius: 22px;
    margin-top: 1rem;
}

.product-detail-media {
    padding: 1rem;
}

.product-detail-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-orange-dark);
}

.product-detail-meta {
    display: grid;
    gap: 0.65rem;
    color: var(--muted);
}

.choice-card {
    padding: 1.7rem;
}

.choice-card i {
    font-size: 1.6rem;
    color: var(--brand-orange-dark);
    margin-bottom: 1rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(11, 18, 32, 0.05);
}

.category-pill.active,
.category-pill:hover {
    background: linear-gradient(135deg, var(--brand-orange), #ffa652);
    color: var(--brand-dark);
    border-color: transparent;
}

.custom-pagination .page-link {
    border: 0;
    color: var(--brand-dark);
    margin: 0 0.25rem;
    border-radius: 999px !important;
    min-width: 44px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(11, 18, 32, 0.08);
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: var(--white);
}

.empty-state-card {
    padding: 3rem 1.5rem;
}

.empty-state-card i {
    font-size: 2.5rem;
    color: var(--brand-orange-dark);
    margin-bottom: 1rem;
}

.site-footer {
    padding: 72px 0 32px;
    background:
        linear-gradient(180deg, rgba(8, 14, 26, 0.98), rgba(18, 61, 106, 0.98)),
        var(--surface-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.85rem;
}

.footer-links a,
.footer-admin-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover,
.footer-admin-link:hover {
    color: var(--white);
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.62);
}

.floating-socials {
    position: fixed;
    right: 22px;
    bottom: 24px;
    display: grid;
    gap: 14px;
    z-index: 1080;
}

.social-fab {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(11, 18, 32, 0.22);
    animation: fabGlow 2.2s ease-in-out infinite;
    transition: transform 0.25s ease;
}

.social-fab:hover {
    transform: translateY(-6px) scale(1.04);
}

.social-fab.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-fab.facebook {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.social-fab.instagram {
    background: linear-gradient(135deg, #fd5949, #d6249f);
}

@keyframes fabGlow {
    0%,
    100% {
        box-shadow: 0 12px 28px rgba(11, 18, 32, 0.22);
    }
    50% {
        box-shadow: 0 18px 36px rgba(255, 122, 26, 0.28);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.admin-body {
    background: linear-gradient(180deg, #08101d 0%, #0f1f35 100%);
    color: var(--brand-dark);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 290px 1fr;
}

.admin-sidebar {
    padding: 28px 20px;
    background: rgba(7, 13, 24, 0.94);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--white);
    margin-bottom: 2rem;
}

.admin-brand small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

.admin-nav {
    display: grid;
    gap: 0.65rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-weight: 600;
}

.admin-nav a.active,
.admin-nav a:hover {
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.18), rgba(18, 61, 106, 0.4));
    color: var(--white);
}

.admin-main {
    padding: 32px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.22), rgba(18, 61, 106, 0.3)),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.admin-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.58);
}

.admin-page-title {
    color: var(--white);
}

.admin-user {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 600;
}

.admin-flash-stack {
    margin-top: 24px;
}

.admin-card,
.table-card,
.login-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lg);
}

.admin-card {
    padding: 1.6rem;
}

.metric-card {
    height: 100%;
    padding: 1.6rem;
}

.metric-card .metric-label {
    display: block;
    color: var(--muted);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

.metric-card .metric-value {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.table-card {
    padding: 1.2rem;
}

.table-card .table {
    margin-bottom: 0;
}

.table thead th {
    white-space: nowrap;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.thumb-sm {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 14px;
}

.admin-form-card {
    padding: 1.8rem;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 26, 0.25), transparent 30%),
        radial-gradient(circle at bottom right, rgba(18, 61, 106, 0.28), transparent 28%),
        linear-gradient(145deg, #08101d, #10243f 56%, #08101d);
}

.login-card {
    width: min(100%, 480px);
    padding: 2rem;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.login-brand .brand-title {
    color: var(--brand-dark);
}

.btn-warning {
    background: linear-gradient(135deg, var(--brand-orange), #ffaf57);
    border-color: transparent;
    color: var(--brand-dark);
    font-weight: 700;
}

.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, var(--brand-orange-dark), var(--brand-orange));
    color: var(--white);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    border-color: transparent;
}

.form-control,
.form-select {
    border-radius: 16px;
    border: 1px solid rgba(11, 18, 32, 0.12);
    padding: 0.85rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(255, 122, 26, 0.56);
    box-shadow: 0 0 0 0.25rem rgba(255, 122, 26, 0.16);
}

.table-responsive {
    border-radius: 18px;
}

.badge-soft {
    display: inline-flex;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 61, 106, 0.08);
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.78rem;
}

.badge-soft.warning {
    background: rgba(255, 122, 26, 0.12);
    color: var(--brand-orange-dark);
}

@media (max-width: 1199.98px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }
}

@media (max-width: 991.98px) {
    .section-space {
        padding: 72px 0;
    }

    .hero-card {
        margin: 32px 0;
    }

    .hero-stat-grid {
        margin-bottom: 24px;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .hero-card,
    .filter-shell,
    .contact-form-card,
    .map-card,
    .contact-highlight-card,
    .stats-panel,
    .why-card,
    .cta-panel,
    .admin-card,
    .table-card,
    .login-card {
        border-radius: 22px;
    }

    .floating-socials {
        right: 16px;
        bottom: 16px;
    }

    .social-fab {
        width: 50px;
        height: 50px;
    }

    .admin-main {
        padding: 18px;
    }
}
