﻿:root {
    --color-primary: #1f1f1f;
    --color-primary-dark: #121212;
    --color-secondary: #7fb800;
    --color-accent: #a4d233;
    --color-background: #f4f6f1;
    --color-text: #1f2420;
    --color-muted: #6b7468;
    --gradient-primary: linear-gradient(135deg, #1f1f1f 0%, #5f9000 45%, #a4d233 100%);
}

.about-hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(164, 210, 51, 0.15));
    border: 1px solid rgba(164, 210, 51, 0.25);
}

.timeline-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-left: 2rem;
}

.timeline-modern::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 16px;
    width: 2px;
    background: linear-gradient(180deg, rgba(31, 31, 31, 0.75), rgba(164, 210, 51, 0.6));
}

.timeline-modern-item {
    position: relative;
    display: flex;
    gap: 1.5rem;
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.timeline-modern-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 1.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 0 6px rgba(164, 210, 51, 0.18);
}

.timeline-modern-year {
    min-width: 70px;
    font-weight: 700;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
}

.timeline-modern-body h5 {
    font-size: 1.15rem;
}

.pillar-card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem 1.75rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(164, 210, 51, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 60px rgba(15, 23, 42, 0.14);
}

.metrics-section {
    background: radial-gradient(circle at top right, rgba(164, 210, 51, 0.15), transparent 55%);
}

.metric-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    height: 100%;
}

.metric-value {
    font-size: 2.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-weight: 600;
    color: var(--color-primary);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(164, 210, 51, 0.12);
    font-size: 0.95rem;
    font-weight: 500;
}

.highlight-item i {
    font-size: 1rem;
}

.portfolio-stat-light {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    padding: 1.8rem 1.4rem;
    border: 1px solid rgba(164, 210, 51, 0.25);
    backdrop-filter: blur(8px);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.portfolio-stat-light i {
    color: var(--color-secondary);
    font-size: 1.35rem;
}

.portfolio-stat-light .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.portfolio-stat-light .stat-label {
    font-weight: 500;
    color: var(--color-muted);
}

.client-mini-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(31, 31, 31, 0.05);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
}

.client-mini-card .client-logo {
    max-height: 54px;
    width: auto;
    object-fit: contain;
}

.mini-services {
    font-weight: 500;
}

.mini-quote {
    color: var(--color-primary);
}

.mini-quote i {
    color: var(--color-secondary);
    margin-right: 0.5rem;
}


.store-hero {
    padding: 6.5rem 0 5.5rem;
    background: linear-gradient(135deg, #111 0%, #161f03 45%, rgba(15, 60, 12, 0.85) 100%);
    color: #fff;
    position: relative;
}

.store-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, rgba(164, 210, 51, 0.35), transparent 55%), radial-gradient(circle at 85% 35%, rgba(164, 210, 51, 0.2), transparent 60%);
    opacity: 0.9;
}

.store-hero::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 55%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 65%);
    z-index: 0;
}

.store-hero .container {
    position: relative;
    z-index: 2;
}

.store-hero-copy {
    max-width: 560px;
}

.store-hero .badge {
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-actions .btn {
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

.store-hero h1 {
    max-width: 540px;
}

.store-hero p.lead {
    max-width: 540px;
}

.hero-stats .hero-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    backdrop-filter: blur(6px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats .hero-stat {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.1rem;
}

.hero-stat .value {
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    color: #fff;
}

.hero-stat .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-featured-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 65px rgba(15, 23, 42, 0.18);
    max-width: 420px;
    margin-left: auto;
}

.hero-featured-card .ribbon {
    position: absolute;
    top: 20px;
    left: -58px;
    transform: rotate(-45deg);
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 2rem;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.hero-featured-card.placeholder-card {
    border: 1px dashed rgba(31, 31, 31, 0.15);
    padding: 3rem 2.5rem;
}

.store-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    background: #fff;
    border-radius: 22px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
}

.store-toolbar form {
    flex: 1;
}

.store-toolbar .form-label {
    font-weight: 500;
}

.store-filters .form-floating .form-select,
.store-filters .form-floating .form-control {
    border-radius: 14px;
}

.search-field {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #dee2e6;
    padding: 0.4rem;
    gap: 0.5rem;
}

.search-field i {
    color: var(--color-muted);
    margin-left: 0.35rem;
}

.search-field .form-control {
    border: none;
    box-shadow: none;
}

.search-field .form-control:focus {
    border: none;
    box-shadow: none;
}

.search-field .btn {
    border-radius: 12px;
    padding: 0.55rem 1.4rem;
}

.store-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.store-toolbar-actions span {
    white-space: nowrap;
}

.store-toolbar-actions .btn {
    border-radius: 12px;
    padding: 0.45rem 0.75rem;
}

.store-toolbar-actions i {
    font-size: 0.95rem;
}

.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 65px rgba(15, 23, 42, 0.16);
}

.product-card-media {
    position: relative;
    background: #f6f7f5;
}

.product-card-media img {
    height: 230px;
    object-fit: cover;
    width: 100%;
}

.product-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.product-chip {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

.chip-featured {
    background: linear-gradient(135deg, #1f1f1f, #4f7f00);
}

.chip-discount {
    top: 56px;
    background: linear-gradient(135deg, #d7263d, #f78e2c);
}

.product-quickview {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    display: grid;
    place-items: center;
    color: var(--color-primary);
    font-size: 0.95rem;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-quickview:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.22);
}

.product-info {
    padding: 1.9rem 1.6rem 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-info .btn-outline-secondary,
.product-info .btn-outline-primary {
    border-radius: 12px;
}

.product-info .btn-gradient {
    border-radius: 12px;
}

.product-info .d-flex.gap-2 {
    margin-top: auto;
}

.product-modal {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.2);
}

.product-modal .modal-body {
    padding: 0 2.5rem 2.5rem;
}

.modal-image-wrapper {
    background: linear-gradient(160deg, rgba(164, 210, 51, 0.15), rgba(31, 31, 31, 0.05));
    border-radius: 22px;
    padding: 1.5rem;
}

.modal-product-content .lead {
    color: var(--color-primary);
}

.modal-product-highlights {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.65rem;
}

.modal-product-highlights i {
    margin-right: 0.5rem;
}

.modal-product-content .btn {
    border-radius: 14px;
}

.financing-card,
.consult-card {
    background: #fff;
    border-radius: 26px;
    padding: 2.5rem;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(31, 31, 31, 0.06);
}

.consult-card-header .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(164, 210, 51, 0.12);
    display: grid;
    place-items: center;
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.consult-card form .form-control {
    border-radius: 14px;
    padding: 0.75rem 1rem;
}

.consult-card form .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.2rem rgba(127, 184, 0, 0.18);
}

.consult-card .btn-gradient {
    border-radius: 14px;
}

.consult-card .btn-outline-primary.btn-sm {
    border-radius: 999px;
}

.products-list-view > div > .product-card {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.products-list-view .product-card-media {
    flex: 0 0 40%;
}

.products-list-view .product-info {
    flex: 1;
    padding: 1.75rem;
}

.store-toolbar-actions .btn.active {
    background: var(--color-secondary);
    color: #fff;
}

.store-toolbar-actions .btn.active i {
    color: #fff;
}

@media (max-width: 991.98px) {
    .cta-stack {
        flex-direction: column;
        align-items: stretch;
    }

    .stats-pill-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .timeline-modern {
        padding-left: 1.5rem;
    }

    .timeline-modern-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .timeline-modern-item::before {
        left: -22px;
    }

    .store-toolbar {
        padding: 1.25rem;
        flex-direction: column;
        align-items: stretch;
    }

    .store-toolbar-actions {
        justify-content: space-between;
        width: 100%;
    }

    .product-modal .modal-body {
        padding: 0 1.5rem 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .swiper-slide {
        padding: 2.5rem 1.75rem;
    }

    .product-card-media img {
        height: 200px;
    }

    .store-hero {
        padding: 4.5rem 0 3.5rem;
    }

    .hero-stats .hero-stat {
        padding: 0.9rem 1rem;
    }

    .hero-featured-card {
        margin-top: 2.5rem;
    }

    .store-toolbar-actions {
        justify-content: flex-start;
    }

    .product-card-media img {
        height: 200px;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text);
    background-color: #fff;
    overflow-x: hidden;
}

/* Eliminar espacio encima del navbar */
.navbar.sticky-top {
    top: 0;
    z-index: 1030;
}

header.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.navbar {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    width: 100%;
}

.navbar .container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.navbar.scrolled {
    background: var(--color-primary-dark);
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.25);
}

.navbar-brand {
    letter-spacing: 0.5px;
}

.navbar-brand,
.navbar-brand span,
.navbar-nav .nav-link {
    color: #fff !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--color-secondary) !important;
}

/* Navbar dropdown styles */
.navbar-nav .dropdown-menu {
    border-radius: 16px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
    background: rgba(127, 184, 0, 0.15);
    color: var(--color-secondary);
}

.navbar-nav .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.4rem 0;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.4rem;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}


.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(31, 31, 31, 0.12);
}

.brand-logo {
    height: 36px;
    width: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
    color: #ffffff !important;
}

.btn-gradient {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.8rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(31, 31, 31, 0.25);
    color: #fff;
}

.btn-outline-light,
.btn-outline-primary {
    border-radius: 999px;
    font-weight: 600;
}

.btn-outline-primary {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
}

.hero-section {
    position: relative;
    min-height: 85vh;
    background: var(--color-primary-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 31, 31, 0.9) 10%, rgba(95, 144, 0, 0.85) 55%, rgba(164, 210, 51, 0.85) 100%);
    z-index: 1;
}

.hero-overlay--store {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.96) 15%, rgba(31, 31, 31, 0.9) 45%, rgba(127, 184, 0, 0.78) 100%);
}

.hero-section .container,
.hero-section .row {
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.hero-media {
    position: relative;
    padding: 2rem;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.hero-media-glow {
    position: absolute;
    inset: -25% -30% auto;
    height: 260px;
    background: radial-gradient(circle at top, rgba(164, 210, 51, 0.3), transparent 70%);
    filter: blur(45px);
    z-index: 0;
}

.hero-media-title,
.hero-media-subtitle,
.hero-media-list,
.hero-media-footer {
    position: relative;
    z-index: 1;
}

.hero-media-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-media-subtitle {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.hero-media-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.85rem;
}

.hero-media-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-media-list i {
    font-size: 1.1rem;
    color: rgba(164, 210, 51, 0.9);
    margin-top: 0.1rem;
}

.hero-media-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-section--store .hero-media {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.hero-highlights li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(31, 31, 31, 0.55);
    border-radius: 18px;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-highlights i {
    font-size: 1.1rem;
    color: rgba(164, 210, 51, 0.9);
    margin-top: 0.15rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-chip-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.hero-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(164, 210, 51, 0.85);
}

.hero-insight {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
    background: rgba(31, 31, 31, 0.6);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-insight i {
    font-size: 1.4rem;
    color: rgba(164, 210, 51, 0.9);
}

.hero-insight-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.hero-insight-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.about-media {
    min-height: 360px;
}

.about-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 31, 31, 0.45), rgba(127, 184, 0, 0.45));
}

.about-media-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

.hero-shape {
    position: absolute;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle at center, rgba(164, 210, 51, 0.55), transparent 60%);
    bottom: -20vw;
    right: -20vw;
    z-index: 0;
}

.page-hero {
    position: relative;
    background: var(--color-primary-dark);
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 31, 31, 0.92) 0%, rgba(95, 144, 0, 0.85) 60%, rgba(164, 210, 51, 0.8) 100%);
    z-index: 1;
}

.page-hero .container,
.page-hero .row {
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb {
    --bs-breadcrumb-divider: '\f105';
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.45);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb .active {
    color: #fff;
}

.page-hero-shape {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(127, 184, 0, 0.35), transparent 65%);
    bottom: -15vw;
    right: -10vw;
    z-index: 0;
}

.section-padding {
    padding: 5rem 0;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-heading.section-heading--left {
    text-align: left;
    align-items: flex-start;
}

.section-heading .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-heading .subtitle {
    color: var(--color-muted);
    max-width: 640px;
}

.cta-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-stack .btn {
    border-radius: 999px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
}

.stats-pill-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stats-pill {
    border-radius: 18px;
    padding: 1.1rem 1.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: #fff;
}

.stats-pill .value {
    font-size: 1.65rem;
    font-weight: 600;
    display: block;
}

.stats-pill .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    background: rgba(127, 184, 0, 0.12);
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.85rem;
}

.card-contrast {
    background: #fff;
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}

.section-badge {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
}

.info-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.service-card {
    background: #fff;
    padding: 2rem 1.75rem;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card .icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(127, 184, 0, 0.12);
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 60px rgba(15, 23, 42, 0.12);
}

.client-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: translateY(-8px);
}

.client-logo {
    max-height: 70px;
    object-fit: contain;
}

.product-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.product-card img {
    height: 220px;
    object-fit: cover;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-info {
    padding: 1.5rem;
}

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.offer-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-form .form-control {
    border-radius: 14px;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.25rem rgba(127, 184, 0, 0.15);
}

.footer {
    background: var(--color-primary-dark);
}

.footer a {
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 0.8;
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    padding: 3rem;
    min-height: 360px;
    color: #fff;
    background-position: center;
    background-size: cover;
}

.swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.8), rgba(127, 184, 0, 0.6));
}

.swiper-slide > div {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.stats-card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stats-card span {
    color: var(--color-muted);
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 2px;
    background: linear-gradient(180deg, rgba(31, 31, 31, 0.7), rgba(127, 184, 0, 0.7));
}

.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 0 6px rgba(164, 210, 51, 0.2);
}

.value-card,
.feature-card,
.service-detail-card,
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.value-card i {
    font-size: 1.8rem;
    color: var(--color-accent);
}

.feature-card .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 180, 216, 0.12);
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(31, 42, 122, 0.08);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 35px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.pricing-card .badge-soft {
    position: absolute;
    top: 18px;
    right: 18px;
}

.badge-soft {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 180, 216, 0.16);
    color: var(--color-secondary);
}

.offers-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.offers-table thead th {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-muted);
    border-bottom: none;
    padding: 0.75rem;
}

.offers-table tbody tr {
    background: #fff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border-radius: 16px;
}

.offers-table tbody td {
    padding: 1.25rem;
    vertical-align: middle;
}

.offers-table tbody tr td:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.offers-table tbody tr td:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
}

.contact-card .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(31, 42, 122, 0.1);
    color: var(--color-primary);
}

.contact-card ul li + li {
    margin-top: 0.75rem;
}

/* Navbar responsive styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(31, 31, 31, 0.98);
        border-radius: 16px;
        margin-top: 1rem;
        padding: 1rem;
        max-height: 85vh;
        overflow-y: auto;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.25rem;
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 1rem;
        border-radius: 10px;
    }

    .navbar-nav .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin-left: 1rem;
        margin-top: 0.25rem;
    }

    .navbar-nav .btn {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .navbar-nav .btn-sm {
        padding: 0.5rem 1rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 5rem;
    }

    .hero-card {
        margin-top: 2.5rem;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 575.98px) {
    .swiper-slide {
        padding: 2.5rem 1.75rem;
    }

    .product-card img {
        height: 180px;
    }

    .offer-card {
        padding: 1.75rem;
    }
}

/* Portal styles restored */
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portal-login-page,
.portal-body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #eef3f8 0%, #f7fafc 100%);
    color: #0f172a;
}

.portal-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: radial-gradient(circle at top left, rgba(29, 78, 216, 0.12), transparent 40%), radial-gradient(circle at bottom right, rgba(31, 122, 92, 0.14), transparent 38%);
}

.portal-login-copy h1 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.portal-login-copy p {
    font-size: 1.02rem;
    color: #475569;
    max-width: 56ch;
}

.portal-login-points {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.portal-login-points div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.portal-login-points i {
    color: var(--color-secondary);
}

.portal-login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.portal-login-card .form-control {
    border-radius: 14px;
    padding: 0.75rem 0.95rem;
}

.portal-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.portal-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
}

.portal-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(180deg, #0f172a 0%, #10233a 50%, #184a61 100%);
    color: #fff;
    overflow-y: auto;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    margin-bottom: 1.4rem;
}

.portal-brand strong,
.portal-brand small {
    display: block;
    color: #fff;
}

.portal-brand small {
    color: rgba(255, 255, 255, 0.7);
}

.portal-company-card {
    padding: 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.25rem;
}

.portal-company-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.35rem;
}

.portal-company-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
    color: #fff;
}

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

.portal-nav {
    display: grid;
    gap: 0.55rem;
}

.portal-nav a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portal-nav a:hover,
.portal-nav a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(2px);
}

.portal-sidebar-footer {
    display: grid;
    gap: 1rem;
}

.portal-user-meta span,
.portal-user-meta small {
    display: block;
}

.portal-user-meta span {
    color: #fff;
    font-weight: 600;
}

.portal-user-meta small {
    color: rgba(255, 255, 255, 0.68);
}

.portal-content {
    padding: 1.6rem;
}

.portal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.25rem;
}

.portal-topbar-eyebrow {
    color: #64748b;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.portal-topbar h1 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: #0f172a;
}

.portal-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.portal-main {
    display: grid;
    gap: 1.25rem;
}

.portal-panel,
.portal-hero-card,
.portal-ticket-summary-card,
.portal-metric-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.07);
}

.portal-panel {
    border-radius: 24px;
    padding: 1.35rem;
}

.portal-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.portal-panel-head h3 {
    margin: 0 0 0.2rem;
    color: #0f172a;
}

.portal-panel-head p {
    margin: 0;
    color: #64748b;
}

.portal-hero-card,
.portal-report-hero,
.portal-ticket-hero {
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #10233a 0%, #184a61 56%, #1f7a5c 100%);
    padding: 1.5rem;
}

.portal-hero-card h2,
.portal-report-hero h2,
.portal-ticket-hero h2 {
    color: #fff;
}

.portal-sync-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.portal-sync-note {
    color: rgba(255, 255, 255, 0.82);
}

.portal-sync-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
    color: #64748b;
    font-size: 0.92rem;
}

.portal-metrics-grid,
.portal-report-kpis,
.portal-ticket-summary-grid {
    display: grid;
    gap: 1rem;
}

.portal-metrics-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.portal-report-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-ticket-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-metric-card,
.portal-report-kpi,
.portal-ticket-summary-card {
    border-radius: 22px;
    padding: 1.15rem;
    display: grid;
    gap: 0.35rem;
}

.portal-metric-card .icon,
.portal-ticket-summary-card .icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(127, 184, 0, 0.12);
    color: var(--color-secondary);
}

.portal-metric-card strong,
.portal-report-kpi strong {
    font-size: 1.8rem;
    color: #0f172a;
    line-height: 1.1;
}

.portal-metric-card small,
.portal-report-kpi small,
.portal-ticket-summary-card small {
    color: #64748b;
    font-weight: 600;
}

.portal-report-kpi span {
    color: #64748b;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.portal-metric-card--accent {
    background: linear-gradient(135deg, rgba(127, 184, 0, 0.18), rgba(255, 255, 255, 0.98));
}

.portal-ticket-list,
.portal-account-list {
    display: grid;
    gap: 0.9rem;
}

.portal-ticket-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #fbfdff;
}

.portal-ticket-main {
    min-width: 0;
}

.portal-ticket-code {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.32rem 0.7rem;
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.portal-ticket-link {
    color: inherit;
}

.portal-ticket-link:hover {
    color: var(--color-secondary);
}

.portal-ticket-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0.7rem 0 0;
    font-size: 1rem;
    color: #0f172a;
    line-height: 1.5;
}

.portal-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.portal-ticket-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.42rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.portal-ticket-badge--status {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.portal-ticket-badge--priority {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.portal-ticket-date,
.portal-table-date {
    color: #64748b;
    white-space: nowrap;
    font-size: 0.84rem;
}

.portal-account-list div {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-account-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.portal-account-list span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
}

.portal-account-list strong {
    color: #0f172a;
}

.portal-sticky-panel {
    position: sticky;
    top: 1.5rem;
}

.portal-filters {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(240px, 1fr) minmax(240px, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.portal-filter-group-card {
    background: #f8fbff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 0.95rem;
}

.portal-filter-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.portal-filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.48rem 0.9rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.portal-filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.portal-filter-chip.is-selected {
    background: rgba(127, 184, 0, 0.14);
    border-color: rgba(127, 184, 0, 0.4);
    color: #456300;
}

.portal-filter-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.portal-table-wrap {
    overflow-x: auto;
}

.portal-panel--tickets {
    padding: 1.05rem;
}

.portal-panel--tickets .portal-panel-head {
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.portal-panel--tickets .portal-panel-head h3 {
    font-size: 1.08rem;
}

.portal-panel--tickets .portal-panel-head p {
    font-size: 0.88rem;
}

.portal-panel--tickets .portal-sync-summary {
    gap: 0.55rem;
    font-size: 0.82rem;
}

.portal-panel--tickets .portal-filters {
    grid-template-columns: minmax(220px, 1.3fr) minmax(210px, 1fr) minmax(210px, 1fr) auto;
    gap: 0.8rem;
    margin-bottom: 0.85rem !important;
}

.portal-panel--tickets .portal-filter-group-card {
    padding: 0.75rem;
    border-radius: 16px;
}

.portal-panel--tickets .portal-filter-chip {
    padding: 0.38rem 0.72rem;
    font-size: 0.76rem;
}

.portal-panel--tickets .portal-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
}

.portal-panel--tickets .portal-table {
    min-width: 980px;
}

.portal-panel--tickets .portal-table thead th {
    font-size: 0.7rem;
    padding-top: 0.2rem;
    padding-bottom: 0.7rem;
}

.portal-panel--tickets .portal-table tbody td {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    font-size: 0.85rem;
}

.portal-panel--tickets .portal-ticket-code,
.portal-panel--tickets .portal-ticket-badge {
    font-size: 0.72rem;
}

.portal-panel--tickets .portal-table-title-wrap {
    min-width: 240px;
    max-width: 340px;
}

.portal-panel--tickets .portal-table-title {
    font-size: 0.88rem;
    line-height: 1.35;
}

.portal-panel--tickets .portal-table-date,
.portal-panel--tickets .portal-table-cell-truncate {
    font-size: 0.82rem;
}

.portal-table {
    width: 100%;
    min-width: 1040px;
    table-layout: auto;
}

.portal-table thead th {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    border-bottom-color: rgba(15, 23, 42, 0.08);
    padding-bottom: 0.9rem;
}

.portal-table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #1e293b;
    vertical-align: middle;
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.portal-table-title-wrap {
    min-width: 280px;
    max-width: 420px;
}

.portal-table-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #0f172a;
    line-height: 1.45;
    font-weight: 500;
    word-break: break-word;
}

.portal-table-cell-truncate {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.portal-empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.portal-empty-state i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.85rem;
}

.portal-empty-state h4 {
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.portal-empty-state p {
    color: #64748b;
    margin-bottom: 0;
}

.portal-empty-state--compact {
    padding: 1rem;
}

.portal-ticket-detail-shell {
    display: grid;
    gap: 1.4rem;
}

.portal-ticket-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 1.5rem;
    align-items: start;
}

.portal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.portal-back-link:hover {
    color: #fff;
}

.portal-ticket-hero-kicker-wrap,
.portal-ticket-hero-meta,
.portal-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.portal-ticket-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.36rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-ticket-hero-meta {
    color: rgba(255, 255, 255, 0.82);
}

.portal-ticket-hero-meta strong,
.portal-ticket-state-item strong,
.portal-ticket-hero-sync strong {
    color: #fff;
}

.portal-ticket-state-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.portal-ticket-state-item,
.portal-ticket-hero-sync {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-ticket-state-item span,
.portal-ticket-hero-sync span {
    display: block;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.portal-ticket-hero-side {
    display: grid;
    gap: 0.9rem;
}

.portal-ticket-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.portal-detail-card--wide {
    grid-column: 1 / -1;
}

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

.portal-detail-meta-grid div {
    padding: 1rem;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-detail-meta-grid span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
}

.portal-detail-meta-grid strong {
    color: #0f172a;
    line-height: 1.55;
    word-break: break-word;
}

.portal-detail-richtext {
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1.25rem 1.35rem;
    color: #1e293b;
    line-height: 1.8;
    word-break: break-word;
}

.portal-detail-richtext--emphasis {
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.portal-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.portal-report-chart-card,
.portal-report-annual-panel,
.portal-report-months-panel {
    overflow: hidden;
}

.portal-report-chart-wrap {
    position: relative;
    min-height: 220px;
    max-height: 220px;
}

.portal-report-chart-wrap--tall {
    min-height: 250px;
    max-height: 250px;
}

.portal-report-chart-wrap--annual {
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
}

.portal-report-chart-wrap--status,
.portal-report-chart-wrap--pie {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
}

.portal-report-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.portal-report-breakdown {
    display: grid;
    gap: 0.8rem;
}

.portal-report-breakdown--months {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.portal-report-breakdown div,
.portal-report-filter-summary {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-report-breakdown span,
.portal-report-filter-summary span {
    display: block;
    color: #64748b;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.portal-report-breakdown strong,
.portal-report-filter-summary strong {
    color: #0f172a;
}

.portal-report-breakdown small {
    color: #475569;
}

.portal-report-breakdown .is-current {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(31, 122, 92, 0.12));
    border-color: rgba(29, 78, 216, 0.22);
}

.portal-report-filter-row {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 0.85rem;
    align-items: end;
}

.portal-report-list-head {
    align-items: flex-start;
    flex-wrap: wrap;
}

.portal-report-table-tools {
    width: min(320px, 100%);
}

.portal-report-table {
    min-width: 1080px;
}

.portal-report-table--monthly {
    width: 100%;
    min-width: 900px;
    table-layout: fixed;
}

.portal-report-table--monthly th,
.portal-report-table--monthly td {
    vertical-align: top;
}

.portal-report-table--monthly .portal-table-title-wrap {
    min-width: 0;
    max-width: none;
}

.portal-report-table--monthly .portal-table-title {
    -webkit-line-clamp: 3;
}

.portal-report-table--monthly .portal-ticket-badge {
    max-width: 100%;
    white-space: nowrap;
    text-align: center;
    line-height: 1.15;
    font-size: 0.74rem;
}

.portal-report-table--monthly .portal-table-cell-truncate {
    display: block;
    max-width: 100%;
}

.portal-col-ticket { width: 11%; }
.portal-col-company { width: 16%; }
.portal-col-created { width: 15%; }
.portal-col-summary { width: 34%; }
.portal-col-status { width: 10%; }
.portal-col-assigned { width: 14%; }

@media (max-width: 1199.98px) {
    .portal-metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-ticket-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .portal-sidebar {
        position: static;
        height: auto;
        border-radius: 0 0 24px 24px;
    }

    .portal-content {
        padding-top: 1rem;
    }

    .portal-topbar,
    .portal-panel-head,
    .portal-ticket-row,
    .portal-ticket-hero,
    .portal-report-kpis,
    .portal-report-grid,
    .portal-ticket-detail-grid,
    .portal-detail-meta-grid,
    .portal-report-filter-row,
    .portal-filters {
        grid-template-columns: 1fr;
    }

    .portal-topbar,
    .portal-panel-head {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-topbar-actions,
    .portal-sync-summary,
    .portal-ticket-meta {
        justify-content: flex-start;
    }

    .portal-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-report-kpis,
    .portal-ticket-summary-grid {
        grid-template-columns: 1fr;
    }

    .portal-sticky-panel {
        position: static;
        top: auto;
    }

    .portal-panel--tickets {
        padding: 1rem;
    }

    .portal-panel--tickets .portal-filters {
        grid-template-columns: 1fr;
    }

    .portal-panel--tickets .portal-table-wrap {
        overflow-x: auto;
        overflow-y: visible;
    }

    .portal-ticket-state-panel {
        grid-template-columns: 1fr;
    }

    .portal-report-chart-wrap--annual {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    .portal-report-chart-wrap--status,
    .portal-report-chart-wrap--pie {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    .portal-report-table-tools {
        width: 100%;
    }

    .portal-report-table--monthly {
        min-width: 900px;
    }
}

@media (max-width: 575.98px) {
    .portal-content {
        padding: 1rem;
    }

    .portal-login-card,
    .portal-panel,
    .portal-hero-card,
    .portal-ticket-summary-card,
    .portal-topbar {
        border-radius: 20px;
    }

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

    .portal-report-breakdown--months {
        grid-template-columns: 1fr;
    }
}

/* Portal brand polish */
.portal-brand,
.portal-login-brand {
    text-decoration: none;
}

.portal-brand .brand-badge,
.portal-login-brand .brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 0.7rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.portal-login-brand .brand-badge {
    width: 76px;
    height: 76px;
}

.portal-brand .brand-logo,
.portal-login-brand .brand-logo {
    width: 100%;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    display: block;
}

.portal-brand > div {
    min-width: 0;
}

.portal-brand strong {
    font-size: 1rem;
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.portal-brand small {
    font-size: 0.82rem;
    line-height: 1.2;
}

.portal-login-brand {
    gap: 0.95rem;
}

.portal-login-brand span:last-child {
    font-size: 1.05rem;
    line-height: 1.2;
}

.portal-nav a i {
    width: 18px;
    text-align: center;
}

.portal-topbar {
    backdrop-filter: blur(10px);
}

.portal-topbar-actions .btn {
    border-radius: 999px;
    padding: 0.62rem 1.05rem;
    font-weight: 600;
}

.portal-topbar-actions .btn-outline-secondary {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.1);
    color: #334155;
}

.portal-topbar-actions .btn-outline-secondary:hover {
    background: #eef5ff;
    border-color: rgba(29, 78, 216, 0.18);
    color: #1d4ed8;
}

.portal-company-card {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portal-sidebar-footer .btn {
    border-radius: 16px;
}

@media (max-width: 575.98px) {
    .portal-brand .brand-badge,
    .portal-login-brand .brand-badge {
        width: 64px;
        height: 64px;
        padding: 0.6rem;
    }

    .portal-brand .brand-logo,
    .portal-login-brand .brand-logo {
        max-height: 38px;
    }
}

/* Portal palette alignment */
.portal-login-shell {
    background: radial-gradient(circle at top left, rgba(127, 184, 0, 0.16), transparent 42%), radial-gradient(circle at bottom right, rgba(31, 31, 31, 0.1), transparent 40%);
}

.portal-sidebar {
    background: linear-gradient(180deg, #121212 0%, #1f1f1f 48%, #4f7f00 100%);
}

.portal-hero-card,
.portal-report-hero,
.portal-ticket-hero {
    background: linear-gradient(135deg, #121212 0%, #1f1f1f 52%, #5f9000 100%);
}

.portal-ticket-badge--status {
    background: rgba(127, 184, 0, 0.14);
    color: #456300;
}

.portal-report-breakdown .is-current {
    background: linear-gradient(135deg, rgba(127, 184, 0, 0.14), rgba(164, 210, 51, 0.12));
    border-color: rgba(127, 184, 0, 0.28);
}

.portal-topbar-actions .btn-outline-secondary:hover {
    background: rgba(127, 184, 0, 0.1);
    border-color: rgba(127, 184, 0, 0.22);
    color: #456300;
}

.portal-ticket-code {
    background: rgba(127, 184, 0, 0.12);
    color: #456300;
}

.portal-filter-chip.is-selected {
    background: rgba(127, 184, 0, 0.16);
    border-color: rgba(127, 184, 0, 0.4);
    color: #456300;
}



.portal-company-switch .form-select {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.18);
    color: #0f172a;
    border-radius: 14px;
    font-size: 0.9rem;
}

.portal-company-switch .form-select:focus {
    border-color: rgba(127, 184, 0, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(127, 184, 0, 0.18);
}

.portal-ticket-company-inline {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5b6b77;
}


.ticket-embed-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.ticket-embed-card__header,
.ticket-embed-card__footer {
    padding: 1.5rem 1.75rem;
}

.ticket-embed-card__header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ticket-embed-card__footer {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.ticket-embed-frame-wrap {
    background: linear-gradient(180deg, rgba(164, 210, 51, 0.08), rgba(255, 255, 255, 0));
    padding: 1rem;
}

.ticket-embed-frame {
    width: 100%;
    min-height: 1120px;
    border: 0;
    border-radius: 18px;
    background: #fff;
}

.ticket-side-card {
    position: sticky;
    top: 104px;
}

.ticket-checklist {
    display: grid;
    gap: 0.95rem;
}

.ticket-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #475569;
}

.ticket-checklist i {
    margin-top: 0.15rem;
    color: var(--color-secondary);
}

.ticket-side-card__block {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 991.98px) {
    .ticket-side-card {
        position: static;
    }

    .ticket-embed-frame {
        min-height: 1280px;
    }
}


.ticket-intro-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(27, 67, 20, 0.94));
    border-radius: 24px;
    padding: 1.75rem 2rem;
    color: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.ticket-intro-band .text-muted {
    color: rgba(255, 255, 255, 0.78) !important;
}

.ticket-intro-band__actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ticket-channel-list {
    display: grid;
    gap: 0.85rem;
}

.ticket-channel-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
}

.ticket-channel-item i {
    color: var(--color-secondary);
    margin-top: 0.2rem;
}

.ticket-channel-item strong,
.ticket-channel-item span {
    display: block;
}

.ticket-channel-item span {
    color: #64748b;
    font-size: 0.92rem;
}

.support-entry-section {
    padding: 0 0 5rem;
    margin-top: -1rem;
}

.support-entry-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 26px;
    padding: 1.8rem 2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.support-entry-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    .ticket-intro-band,
    .support-entry-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticket-intro-band__actions,
    .support-entry-actions {
        width: 100%;
        justify-content: flex-start;
    }
}


.contact-location-card {
    display: flex;
    flex-direction: column;
}

.contact-location-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-location-head p {
    color: #0f172a;
    font-weight: 600;
}

.contact-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.contact-map-wrap {
    margin-top: auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    min-height: 320px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.contact-map-frame {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}


.hero-featured-card--compact {
    padding: 1.6rem 1.6rem 1.5rem;
    display: grid;
    gap: 1.1rem;
    align-content: start;
    max-width: 460px;
    margin-left: auto;
}

.hero-featured-card--compact .hero-featured-media {
    background: #f3f6ef;
    border-radius: 22px;
    padding: 1rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-featured-card--compact .hero-featured-image {
    width: 100%;
    max-width: 100%;
    max-height: 230px;
    object-fit: contain;
    display: block;
}

.hero-featured-card--compact .hero-featured-copy {
    display: grid;
    gap: 0.75rem;
    color: #0f172a;
}

.hero-featured-card--compact .hero-featured-category {
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-featured-card--compact .hero-featured-title {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0;
    color: #0f172a;
}

.hero-featured-card--compact .hero-featured-description {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.hero-featured-card--compact .hero-featured-price {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1;
    color: #111827;
    font-weight: 700;
}

.hero-featured-card--compact .ribbon {
    top: 18px;
    right: 18px;
    left: auto;
    transform: none;
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font-size: 0.72rem;
}

@media (max-width: 991.98px) {
    .hero-featured-card--compact {
        max-width: none;
        margin-left: 0;
    }
}

.home-differentiators {
    background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(244,248,240,0.92) 100%);
}

.differentiator-card {
    text-align: left;
    border: 1px solid rgba(127, 184, 0, 0.18);
}

.differentiator-card i,
.outsourcing-feature-card i,
.portal-service-card i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    background: rgba(127, 184, 0, 0.14);
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.home-process-grid,
.outsourcing-steps-grid,
.outsourcing-scope-grid,
.clients-trust-grid,
.services-metrics-grid,
.portal-service-strip {
    display: grid;
    gap: 1rem;
}

.home-process-grid,
.outsourcing-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-process-card,
.outsourcing-step-card {
    background: #fff;
    border-radius: 22px;
    padding: 1.35rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.home-process-card span,
.outsourcing-step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(127, 184, 0, 0.16), rgba(31, 31, 31, 0.08));
    color: #456300;
    font-weight: 700;
    margin-bottom: 1rem;
}

.outsourcing-overview {
    background: linear-gradient(180deg, rgba(248,250,252,0.96) 0%, rgba(240,246,238,0.92) 100%);
}

.outsourcing-hero-card,
.outsourcing-cta-band,
.clients-message-band,
.services-commitment-band {
    background: #fff;
    border-radius: 28px;
    padding: 1.6rem;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.outsourcing-copy {
    font-size: 1.05rem;
    color: var(--color-muted);
}

.outsourcing-side-panel {
    display: grid;
    gap: 0.85rem;
    background: linear-gradient(180deg, rgba(18,18,18,0.96), rgba(31,31,31,0.94));
    color: #fff;
    border-radius: 24px;
    padding: 1.3rem;
}

.outsourcing-side-panel span {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.2rem;
}

.outsourcing-side-panel strong {
    color: #fff;
}

.outsourcing-feature-card {
    background: #fff;
    border-radius: 22px;
    padding: 1.35rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.outsourcing-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.outsourcing-cta-band,
.services-commitment-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.outsourcing-cta-actions,
.services-commitment-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.services-commitment-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: rgba(127, 184, 0, 0.12);
    color: #456300;
    font-weight: 600;
}

.services-metrics-grid,
.clients-trust-grid,
.portal-service-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-metric-card,
.client-trust-card {
    padding: 1.3rem 1rem;
}

.portal-service-strip {
    margin-top: -0.15rem;
}

.portal-service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 22px;
    padding: 1.15rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.portal-service-card h4 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    color: #0f172a;
}

.portal-service-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 1199.98px) {
    .home-process-grid,
    .outsourcing-steps-grid,
    .services-metrics-grid,
    .clients-trust-grid,
    .portal-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .outsourcing-scope-grid,
    .home-process-grid,
    .outsourcing-steps-grid,
    .services-metrics-grid,
    .clients-trust-grid,
    .portal-service-strip {
        grid-template-columns: 1fr;
    }

    .outsourcing-cta-band,
    .services-commitment-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

.services-showcase {
    background: linear-gradient(180deg, rgba(248,250,252,0.96) 0%, rgba(243,248,241,0.92) 100%);
}

.service-showcase-card {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.35rem;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf7 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 62px rgba(15, 23, 42, 0.12);
    border-color: rgba(127, 184, 0, 0.28);
}

.service-showcase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-showcase-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.service-showcase-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(127, 184, 0, 0.18), rgba(95, 144, 0, 0.08));
    color: #456300;
    font-size: 1.35rem;
    box-shadow: inset 0 0 0 1px rgba(127, 184, 0, 0.14);
}

.service-showcase-body {
    display: grid;
    gap: 0.55rem;
}

.service-showcase-eyebrow {
    margin: 0;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    font-weight: 700;
}

.service-showcase-title {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.25;
    color: #0f172a;
}

.service-showcase-description {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    min-height: 4.8rem;
}

.service-showcase-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.service-showcase-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    background: rgba(127, 184, 0, 0.12);
    color: #456300;
    font-size: 0.78rem;
    font-weight: 700;
}

.service-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #0f172a;
    font-weight: 700;
}

.service-showcase-link:hover {
    color: #456300;
}

@media (max-width: 575.98px) {
    .service-showcase-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}


.services-summary-card {
    background: linear-gradient(160deg, #121212 0%, #1f1f1f 58%, #5f9000 100%);
    border-radius: 28px;
    padding: 1.4rem;
    color: #fff;
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 1rem;
}

.services-summary-head .badge-soft {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.services-summary-grid {
    display: grid;
    gap: 0.85rem;
}

.services-summary-copy {
    display: grid;
    gap: 1rem;
}

.services-summary-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.7;
}

.services-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.services-summary-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.services-summary-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-summary-stat .icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #d8f59a;
    font-size: 1.2rem;
}

.services-summary-stat .value,
.services-summary-stat .label {
    display: block;
}

.services-summary-stat .value {
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
}

.services-summary-stat .label {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
    margin-top: 0.2rem;
}

.services-summary-cta {
    width: 100%;
}

.services-metrics-grid {
    gap: 1.35rem;
}

.service-metric-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.45rem 1.35rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 0.85rem;
    text-align: center;
    min-height: 190px;
    align-content: center;
    justify-items: center;
}

.service-metric-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(127, 184, 0, 0.14);
    color: #456300;
    font-size: 1.12rem;
}

.service-metric-card .stat-value,
.service-metric-card .stat-label {
    display: block;
}

.service-metric-card .stat-value {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: #0f172a;
    margin-top: 0.1rem;
}

.service-metric-card .stat-label {
    color: #64748b;
    font-weight: 700;
    line-height: 1.45;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 14ch;
}


.services-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.services-kpi-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.75rem;
    min-height: 190px;
    text-align: center;
}

.services-kpi-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(127, 184, 0, 0.14);
    color: #456300;
    font-size: 1.15rem;
}

.services-kpi-value {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #0f172a;
}

.services-kpi-label {
    display: block;
    max-width: 14ch;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-detail-media-card {
    padding: 1.5rem;
}

.product-detail-main-media {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.product-detail-media-card .product-detail-main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.product-detail-thumb-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.product-detail-thumb-card .product-detail-thumb-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #f8fafc;
}

.product-detail-thumb-card p {
    padding: 0 0.9rem 0.9rem;
}

@media (max-width: 1199.98px) {
    .services-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .product-detail-main-media {
        aspect-ratio: 4 / 3;
    }

    .services-kpi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .product-detail-media-card {
        padding: 1rem;
    }

    .product-detail-main-media {
        aspect-ratio: 1 / 1;
        border-radius: 20px;
    }
}
