:root {
    --color-charcoal: #1f2a2f;
    --color-charcoal-900: #161f23;
    --color-charcoal-700: #2b3a41;
    --color-slate: #354349;
    --color-smoke: #f5f6f7;
    --color-ash: #d0d6d8;
    --color-accent: #5b7f69;
    --color-accent-dark: #3f5a47;
    --color-text: #233236;
    --color-muted: #6c7a7f;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-soft: 0 20px 60px rgba(14, 22, 26, 0.25);
    --shadow-card: 0 18px 40px rgba(13, 20, 24, 0.2);
    --max-width: 1320px;

    /* Bootstrap overrides */
    --bs-body-font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    --bs-body-color: var(--color-text);
    --bs-body-bg: var(--color-smoke);
    --bs-primary: var(--color-accent);
    --bs-primary-rgb: 91, 127, 105;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Hero Section - Custom implementation needed for background */
.hero {
    position: relative;
    min-height:50vh;
    background: radial-gradient(circle at top right, rgba(91, 127, 105, 0.35), transparent 55%),
        radial-gradient(circle at bottom left, rgba(43, 58, 65, 0.45), transparent 60%),
        linear-gradient(120deg, var(--color-charcoal-900), var(--color-charcoal));
    color: #fefefe;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.08) 0,
            rgba(255, 255, 255, 0.08) 8px,
            rgba(255, 255, 255, 0.02) 8px,
            rgba(255, 255, 255, 0.02) 16px);
    opacity: 0.18;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero__logo {
        max-height: 80px;
        width: auto;
    }
}

@media (max-width: 767.98px) {
    .hero__logo {
        width: 100%;
        height: auto;
        max-width: 300px;
        /* Optional constraint to prevent pixelation */
    }
}

@media (min-width: 992px) {
    .hero__title {
        font-size: 58px;
    }
}

/* Buttons */
.btn {
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 18px 40px rgba(91, 127, 105, 0.32);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(91, 127, 105, 0.4);
}

.btn-outline-light.ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fefefe;
    background: transparent;
}

.btn-outline-light.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section--features {
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f3 100%);
}

.section--catalog {
    background: #fdfdfd;
}

.section--contact {
    background: linear-gradient(180deg, #eef0f1 0%, #f9fafa 100%);
}

.section-header p {
    color: var(--color-muted);
    font-size: 1.1rem;
}

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

.feature-card .icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(91, 127, 105, 0.34), rgba(63, 90, 71, 0.7));
    margin-bottom: 18px;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 127, 105, 0.12), transparent 60%);
    pointer-events: none;
    border-radius: var(--radius-md);
}

/* Product Card */
.product-card {
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(15, 23, 28, 0.32);
    color: inherit;
}

.product-card__media {
    position: relative;
    padding-top: 62%;
    background: linear-gradient(135deg, rgba(91, 127, 105, 0.35), rgba(35, 50, 54, 0.6));
}

.product-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .card-body h3 {
    font-size: 22px;
    color: var(--color-slate);
}

.product-card__meta {
    background: rgba(91, 127, 105, 0.08);
    border-radius: var(--radius-sm);
    color: var(--color-slate);
    font-size: 14px;
}

.product-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--color-charcoal), var(--color-charcoal-700));
    color: #f5f7f8;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(16, 24, 29, 0.35);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.78);
}

/* Contact Card */
.contact-card h3 {
    color: var(--color-slate);
    font-size: 1.25rem;
}

.contact-card a {
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--color-charcoal-900);
    color: rgba(255, 255, 255, 0.72);
    padding: 40px 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 14px;
}

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