/* ===================================================
   MIA RETAIL SOLUTIONS — Homepage Stylesheet
   Brand: Modular Grid Concept
   Colors: #0B1D33, #0F766E, #C7F1E6, #E6EEF2
   Font: Satoshi (300, 400, 500, 700, 900)
   =================================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0B1D33;
    --teal: #0F766E;
    --teal-dark: #0A5C56;
    --mint: #C7F1E6;
    --ice: #E6EEF2;
    --white: #FFFFFF;
    --gray-50: #F8FAFB;
    --gray-100: #F1F5F7;
    --gray-200: #E2E8ED;
    --gray-300: #CBD5DC;
    --gray-500: #6B7B8A;
    --gray-700: #374151;
    --gray-900: #111827;
    --font: 'Satoshi', sans-serif;
    --shadow-sm: 0 1px 3px rgba(11,29,51,0.06);
    --shadow-md: 0 4px 16px rgba(11,29,51,0.08);
    --shadow-lg: 0 8px 32px rgba(11,29,51,0.12);
    --shadow-xl: 0 16px 48px rgba(11,29,51,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--teal);
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.938rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.938rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: #162A42;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--navy);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.938rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- UTILITY BAR --- */
.utility-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: all 0.4s ease;
}

.utility-bar.hidden {
    transform: translateY(-100%);
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.utility-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.utility-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.utility-item a {
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}

.utility-item a:hover {
    color: var(--mint);
}

.utility-item svg {
    opacity: 0.6;
}

.utility-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.2);
    margin: 0 10px;
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(7, 30, 52, 0.10);
    border-bottom: 1px solid rgba(7, 30, 52, 0.06);
}

/* Scrolled (light bar) overrides */
.site-header.scrolled .logo {
    filter: none;
}

.site-header.scrolled .nav-link {
    color: rgba(7, 30, 52, 0.80);
}

.site-header.scrolled .nav-link:hover {
    color: var(--navy);
}

.site-header.scrolled .nav-link svg {
    opacity: 0.6;
}

.site-header.scrolled .mobile-menu-toggle span {
    background: var(--navy);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: 0;
    transition: all var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--white);
    background: transparent;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link svg {
    opacity: 0.5;
    transition: transform var(--transition);
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* ============================================
   MEGA MENU
   ============================================ */
.has-mega { position: static; }

.mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: min(1160px, calc(100vw - 32px));
    background: #0E2235;
    border: 1px solid rgba(199,241,230,0.10);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 90px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
    padding: 26px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 1001;
}

/* invisible hover bridge so the menu doesn't close in the gap */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    height: 22px;
}

.has-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* ----- Rjesenja mega: list + feature ----- */
.mega-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
}

.mega-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint);
    margin: 4px 8px 14px;
}

.mega-list { display: flex; flex-direction: column; gap: 4px; }

.mega-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    transition: background 0.25s ease, transform 0.25s ease;
}

.mega-item:hover,
.mega-item.is-active {
    background: rgba(199,241,230,0.07);
}

.mega-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(15,118,110,0.22);
    color: var(--mint);
    transition: background 0.25s ease, color 0.25s ease;
}

.mega-item:hover .mega-item-icon,
.mega-item.is-active .mega-item-icon {
    background: var(--teal);
    color: #fff;
}

.mega-item-text { display: flex; flex-direction: column; gap: 2px; }
.mega-item-text strong { font-size: 0.95rem; font-weight: 600; color: #fff; }
.mega-item-text small { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* feature panel */
.mega-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 280px;
    background: #0B1D33;
}

.mega-feature-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}

.mega-feature::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,29,51,0.1) 0%, rgba(11,29,51,0.55) 55%, rgba(11,29,51,0.92) 100%);
}

.mega-feature:hover .mega-feature-img { transform: scale(1.05); }

.mega-feature-body {
    position: relative;
    z-index: 1;
    padding: 22px;
}

.mega-feature-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.mega-feature-desc {
    display: block;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.78);
    margin-bottom: 14px;
}

.mega-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mint);
}

.mega-feature-cta svg { transition: transform 0.3s ease; }
.mega-feature:hover .mega-feature-cta svg { transform: translateX(4px); }

/* ----- Proizvodi mega: grid of cards ----- */
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mega-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.mega-card:hover {
    background: rgba(199,241,230,0.06);
    border-color: rgba(199,241,230,0.14);
    transform: translateY(-2px);
}

.mega-card.is-active {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.35);
}
.mega-card.is-active .mega-card-text strong { color: #fff; }
.mega-card.is-active .mega-card-text small { color: rgba(199,241,230,0.85); }

.mega-card-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.mega-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-card-text { display: flex; flex-direction: column; gap: 3px; }
.mega-card-text strong { font-size: 0.92rem; font-weight: 600; color: #fff; }
.mega-card-text small { font-size: 0.76rem; color: rgba(255,255,255,0.55); line-height: 1.35; }

.mega-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(199,241,230,0.10);
}

.mega-foot span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.mega-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mint);
}

.mega-foot-link svg { transition: transform 0.3s ease; }
.mega-foot-link:hover svg { transform: translateX(4px); }

/* Header CTA */
.header-actions {
    display: flex;
    align-items: center;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--teal);
    color: var(--white);
    font-size: 0.813rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.header-cta:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.4);
}

.header-cta:hover::before {
    left: 100%;
}

.header-cta .cta-arrow {
    transition: transform 0.3s ease;
}

.header-cta:hover .cta-arrow {
    transform: translateX(3px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- HERO --- */
.hero {
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    animation: heroZoom 8s ease-in-out forwards;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,29,51,0.82) 0%, rgba(11,29,51,0.6) 50%, rgba(11,29,51,0.4) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(199, 241, 230, 0.15);
    border: 1px solid rgba(199, 241, 230, 0.4);
    color: var(--mint);
    font-size: 0.813rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--mint);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
}

.stat .stat-label {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
}

/* Hero Form */
.hero-form-wrapper {
    position: relative;
}

.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-header {
    margin-bottom: 24px;
}

.form-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--mint);
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 12px;
}

.form-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.form-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--font);
    font-size: 0.875rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-900);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15,118,110,0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7B8A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.hero-form button[type="submit"] {
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 12px;
}

/* --- BRAND STRIP --- */
.brand-strip {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.brand-strip-label {
    text-align: center;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
}

.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.logo-track img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition);
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--ice);
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.063rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- VALUES --- */
.values {
    padding: 100px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--mint);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- INDUSTRIES --- */
.industries {
    padding: 100px 0;
    background: var(--gray-50);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(11, 29, 51, 0.25);
}

/* Full-bleed background image */
.industry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.industry-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-bg img {
    transform: scale(1.08);
}

/* Gradient overlay from bottom */
.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(11, 29, 51, 0.9) 0%, rgba(11, 29, 51, 0.6) 40%, transparent 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.industry-card:hover .industry-overlay {
    height: 80%;
    background: linear-gradient(to top, rgba(11, 29, 51, 0.95) 0%, rgba(11, 29, 51, 0.7) 50%, transparent 100%);
}

/* Icon circle */
.industry-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(199, 241, 230, 0.15);
    border: 1px solid rgba(199, 241, 230, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    z-index: 3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.4);
}

/* Content at bottom */
.industry-content {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.industry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.industry-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-content p {
    max-height: 80px;
    opacity: 1;
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mint);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.industry-link svg {
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-link {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover .industry-link svg {
    transform: translateX(4px);
}

/* CTA Card */
.industry-card--cta {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
    border: 2px dashed rgba(56, 178, 143, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-card--cta:hover {
    border-color: var(--teal);
    background: linear-gradient(135deg, #0d2440 0%, #1a3a5c 100%);
}

.industry-cta-content {
    text-align: center;
    padding: 32px;
}

.industry-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(56, 178, 143, 0.15);
    border: 1px solid rgba(56, 178, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--teal);
    transition: all 0.4s ease;
}

.industry-card--cta:hover .industry-cta-icon {
    background: rgba(56, 178, 143, 0.25);
    transform: scale(1.1);
}

.industry-cta-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.industry-cta-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}

.industry-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    padding: 10px 24px;
    border: 1.5px solid var(--teal);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.industry-cta-btn svg {
    transition: transform 0.3s ease;
}

.industry-card--cta:hover .industry-cta-btn {
    background: var(--teal);
    color: var(--white);
}

.industry-card--cta:hover .industry-cta-btn svg {
    transform: translateX(4px);
}

/* --- CATEGORIES --- */
.categories {
    padding: 100px 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    text-align: center;
}

.category-card:hover {
    border-color: var(--teal);
    background: var(--ice);
    transform: translateY(-2px);
}

.category-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.category-card p {
    font-size: 0.813rem;
    color: var(--gray-500);
}

.categories-cta {
    text-align: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- REALIZACIJE / SHOWCASE --- */
.realizacije {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background slider - fullwidth */
.realizacije-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.realizacije-bg .slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.realizacije-bg .slider-slide.active {
    opacity: 1;
    transform: scale(1);
}

.realizacije-bg .slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay: gradient from navy on left to transparent on right */
.realizacije-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        linear-gradient(to right, var(--navy) 0%, var(--navy) 30%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.3) 75%, rgba(15, 23, 42, 0.1) 100%),
        linear-gradient(to top, var(--navy) 0%, transparent 20%),
        linear-gradient(to bottom, var(--navy) 0%, transparent 15%);
}

/* Content - overlaid on top */
.realizacije-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}

.realizacije-text {
    color: var(--white);
    max-width: 480px;
}

.realizacije-text .section-eyebrow {
    color: var(--teal);
    border-color: var(--teal);
}

.realizacije-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.realizacije-text h2 .highlight {
    color: var(--teal);
}

.realizacije-text > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.realizacije-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.real-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 4px;
}

.real-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Shine button effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-shine:hover::after {
    left: 100%;
}

/* Slider info (title + dots) - bottom right */
.realizacije-slider-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.slider-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--teal);
    border-color: var(--teal);
    transform: scale(1.2);
}

.slider-dot:hover {
    border-color: var(--white);
}

@media (max-width: 992px) {
    .realizacije {
        min-height: 500px;
    }
    
    .realizacije-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .realizacije-slider-info {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .realizacije {
        min-height: 450px;
    }
    
    .realizacije-text h2 {
        font-size: 2rem;
    }
    
    .realizacije-overlay {
        background: 
            linear-gradient(to right, var(--navy) 0%, rgba(15, 23, 42, 0.7) 100%),
            linear-gradient(to top, var(--navy) 0%, transparent 25%);
    }
}

/* --- PROCESS --- */
.process {
    padding: 100px 0;
    background: var(--gray-50);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 0 16px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.process-connector {
    width: 40px;
    height: 2px;
    background: var(--gray-200);
    margin-top: 24px;
    flex-shrink: 0;
}

/* --- STATS BANNER --- */
.stats-banner {
    padding: 64px 0;
    background: var(--navy);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mint);
    margin-bottom: 8px;
}

.stat-item .stat-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* --- BLOG / INSIGHTS --- */
.blog-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.blog-header-text .section-eyebrow {
    margin-bottom: 8px;
}

.blog-header-text h2 {
    margin-bottom: 0;
}

.blog-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-all-link:hover {
    gap: 10px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card--featured .blog-card-image {
    height: 260px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 100px;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-body time {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 10px;
    display: block;
}

.blog-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card--featured .blog-card-body h3 {
    font-size: 1.2rem;
}

.blog-card-body > p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more {
    transform: translateX(4px);
}

/* --- WIZARD BANNER --- */
.wizard-banner {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--ice) 0%, var(--mint) 100%);
}

.wizard-content {
    text-align: center;
}

.wizard-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.wizard-content p {
    font-size: 1.063rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* --- SUPPLIERS --- */
.suppliers {
    padding: 100px 0;
    background: var(--white);
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.supplier-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.supplier-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
}

.supplier-card img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter var(--transition);
}

.supplier-card:hover img {
    filter: grayscale(0%);
}

.supplier-card span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}

/* --- FOOTER --- */
.site-footer {
    padding: 80px 0 0;
    background: var(--navy);
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-nav h5,
.footer-contact h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--mint);
}

.footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--mint);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.4);
}

/* --- STICKY CTA (Mobile) --- */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--teal);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
}

.sticky-cta-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-form-card {
        max-width: 480px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-card--featured {
        grid-column: span 2;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .suppliers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-container {
        height: 64px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat .stat-number {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .process-connector {
        width: 2px;
        height: 24px;
        margin: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card--featured {
        grid-column: span 1;
    }
    
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .suppliers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sticky-cta {
        display: block;
    }

    .categories-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .suppliers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- CONSULTATION MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    max-width: 580px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gray-50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--gray-500);
}

.modal-close:hover {
    background: var(--navy);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--ice);
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.modal-form .form-group {
    margin-bottom: 16px;
}

.modal-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--navy);
    background: var(--gray-50);
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.modal-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.modal-submit:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.modal-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.modal-submit:hover::after {
    left: 100%;
}

.modal-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 12px;
}

@media (max-width: 576px) {
    .modal-container {
        padding: 28px 20px;
    }
    
    .modal-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-header h3 {
        font-size: 1.25rem;
    }
}

/* ============================================================
   MOBILE DRAWER (off-canvas) — built dynamically by script.js
   Hidden by default so it never leaks as plain text at page bottom.
   ============================================================ */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100%;
    background: #0B1D33;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
    padding: 88px 26px 32px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    z-index: 9998;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

/* dark backdrop behind the drawer */
.mobile-drawer::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 16, 28, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.mobile-drawer.is-open::before {
    opacity: 1;
}

.mobile-drawer-link {
    display: block;
    padding: 14px 4px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-link.has-children {
    color: #2DD4BF;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 18px 4px 6px;
    border-bottom: none;
    pointer-events: none;
}

.mobile-drawer-sublink {
    display: block;
    padding: 11px 4px 11px 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer-sublink:hover,
.mobile-drawer-link:hover {
    color: #2DD4BF;
}

.mobile-drawer-cta {
    margin-top: 22px;
    justify-content: center;
    width: 100%;
}

body.nav-open {
    overflow: hidden;
}

/* Hamburger -> X animation when drawer is open */
.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* keep hamburger above the drawer so it can toggle/close */
.mobile-menu-toggle {
    position: relative;
    z-index: 9999;
}

/* On small screens, fully neutralize the desktop mega-menu so its
   absolutely-positioned content can never leak onto the page. */
@media (max-width: 768px) {
    .mega-menu {
        display: none !important;
    }
}
