/**
 * Biz Epos - Pure CSS3 Stylesheet
 * Strictly zero framework (no Tailwind, no Bootstrap)
 * Accessible (WCAG 2.2 AA), Responsive, High-Performance
 */

:root {
    /* Brand Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* 60-30-10 Color System */
    --color-bg: #FAFAF9;
    --color-surface: #FFFFFF;
    --color-surface-subtle: #F1F5F9;
    --color-surface-dark: #252e59;
    --color-surface-dark-subtle: #1C2541;

    --color-text-main: #0F172A;
    --color-text-muted: #475569;
    --color-text-light: #64748B;
    --color-text-inverse: #FFFFFF;
    --color-text-inverse-muted: #94A3B8;

    --color-border: #E2E8F0;
    --color-border-dark: #5476aa;

    /* High-Intent Accent */
    --color-accent: #0284C7;
    --color-accent-hover: #0369A1;
    --color-accent-focus: rgba(2, 132, 199, 0.4);
    --color-accent-subtle: #E0F2FE;

    --color-success: #15803D;
    --color-error: #B91C1C;

    /* Spacing & Layout */
    --container-max-width: 1200px;
    --header-height: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

/* Reset & Box-Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body.modal-open,
body.mobile-nav-open {
    overflow: hidden;
}

/* Accessible Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--color-text-main);
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--color-accent);
}

/* Focus Visibility (WCAG AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.25;
    font-weight: 700;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.65rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover {
    color: var(--color-accent-hover);
}

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

/* Container */
.site-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Buttons (Strict Single-Line & No Cliché Rounded Pill Capsules) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    min-height: 44px; /* Touch target minimum */
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #FFFFFF;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-text-main);
}

.btn-outline:hover {
    background-color: var(--color-surface-subtle);
    border-color: var(--color-text-main);
    color: var(--color-text-main);
}

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-subtle {
    background-color: transparent;
    color: var(--color-text-muted);
}

.btn-subtle:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-text-main);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 38px;
}

.btn-lg {
    padding: 0.9rem 1.85rem;
    font-size: 1.05rem;
    min-height: 48px;
}

.w-100 { width: 100%; }
.mb-2 { margin-bottom: 0.5rem; }
.text-center { text-align: center; }

/* Top Navigation Bar */
.site-header {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Zone 1: Single text wordmark */
.brand-wordmark {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
    text-decoration: none;
    white-space: nowrap;
}

.brand-wordmark:hover {
    color: var(--color-accent);
}

/* Zone 2: Navigation Links */
.desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 0.4rem 0.2rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-text-main);
    border-color: var(--color-accent);
}

.nav-link.active {
    color: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 600;
}

/* Zone 3: Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: none;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-main);
    align-items: center;
    gap: 0.4rem;
}

@media (min-width: 768px) {
    .header-phone {
        display: inline-flex;
    }
}

.header-phone:hover {
    color: var(--color-accent);
}

.header-cta {
    display: none;
}

@media (min-width: 640px) {
    .header-cta {
        display: inline-flex;
    }
    #single-slider{
        width: 100%!important;
        height: auto!important;
        margin-right: 0px!important;
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
    #single-slider{
        width: 100%!important;
        height: 330px!important;
        margin-right: 0px!important;
    }
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1080;
    transition: opacity 0.2s ease;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 360px;
    background: #FFFFFF;
    color: var(--color-text-main);
    z-index: 1090;
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    animation: drawer-slide-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawer-slide-in {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.mobile-nav-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-close {
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: var(--color-text-main);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background-color 0.15s, color 0.15s;
}

.mobile-nav-close:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-accent);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #1E293B;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: background-color 0.15s, color 0.15s, border-left-color 0.15s;
}

.mobile-nav-link:hover {
    background-color: #F1F5F9;
    color: var(--color-accent);
}

.mobile-nav-link.active {
    background-color: #E0F2FE;
    color: var(--color-accent-hover);
    border-left-color: var(--color-accent);
    font-weight: 700;
}

.mobile-nav-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

/* Main Layout */
main {
    flex: 1 0 auto;
}

/* Sections */
.section {
    /*padding-top: clamp(3rem, 6vw, 5.5rem);*/
    /*padding-bottom: clamp(3rem, 6vw, 5.5rem);*/
    padding-top: 27px;
    padding-bottom: 27px;
}

.section-dark {
    background-color: var(--color-surface-dark);
    color: var(--color-text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--color-text-inverse);
}

.section-dark p {
    color: var(--color-text-inverse-muted);
}

.section-subtle {
    background-color: var(--color-surface-subtle);
}

/* Section Header (Anti-slop: natural editorial title, unboxed metadata, text-wrap balance) */
.section-header {
    /*margin-bottom: clamp(2rem, 4vw, 3.5rem);*/
    margin-bottom: 3px;
}

.section-kicker {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.65rem;
    display: block;
}

.section-title {
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 68ch;
}

.section-lead-center {
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.section-hero {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3.5rem;
    }
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw + 0.8rem, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    color: var(--color-text-main);
}

.hero-supporting-message {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.85rem;
    max-width: 60ch;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-support-line {
    font-size: 0.875rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-media-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    background: #000;
    aspect-ratio: 16/9;
}

.hero-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bento Grid & Card Architecture (Single Elevation, Hairline Dividers) */
.grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-cards-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-cards-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-cards-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.card:hover {
    border-color: #CBD5E1;
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-accent-subtle);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--color-text-main);
}

.card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    flex-grow: 1;
}

.card-meta {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Feature Showcase Split Layouts */
.showcase-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.showcase-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .showcase-row {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .showcase-row.reversed {
        direction: rtl;
    }
    .showcase-row.reversed > * {
        direction: ltr;
    }
}

.showcase-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    background: #000;
}

.showcase-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-checklist {
    list-style: none;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.feature-checklist li i {
    color: var(--color-accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Problem vs Solution Comparison Section */
.problem-card {
    background: #FFF1F2;
    border: 1px solid #FECDD3;
    border-radius: var(--radius-md);
    padding: 2rem;
}

.solution-card {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: var(--radius-md);
    padding: 2rem;
}

.problem-list,
.solution-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #9F1239;
    font-size: 0.95rem;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #166534;
    font-size: 0.95rem;
}

/* Customer Journey Steps */
.journey-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .journey-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .journey-flow {
        grid-template-columns: repeat(4, 1fr);
    }
}

.journey-step {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.journey-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.journey-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* FAQ Accordion Component */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    transition: background-color 0.15s;
}

.faq-question-btn:hover {
    background-color: var(--color-surface-subtle);
}

.faq-question-btn i {
    transition: transform 0.2s ease-in-out;
    color: var(--color-accent);
    font-size: 0.9rem;
}

.faq-question-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

/* Forms (Contact, Demo Request) */
.form-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-accent-focus);
}

.form-control::placeholder {
    color: #94A3B8;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.form-checkbox-label input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #F0FDF4;
    border: 1px solid #86EFAC;
    color: #166534;
}

.alert-error {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

/* Pre-Footer Section */
.section-pre-footer {
    background: var(--color-surface-dark);
    color: #FFFFFF;
    padding: clamp(3.5rem, 6vw, 5rem) 1.25rem;
    border-top: 1px solid var(--color-border-dark);
}

.pre-footer-title {
    color: #FFFFFF;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.pre-footer-subtitle {
    color: #94A3B8;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.pre-footer-statement {
    color: #CBD5E1;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

.pre-footer-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pre-footer-hint {
    color: #64748B;
    font-size: 0.875rem;
}

/* Main Site Footer */
.site-footer {
    background: #070D1E;
    color: #94A3B8;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-brand-message {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.footer-brand-tagline {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 1.25rem;
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.footer-phone-row,
.footer-web-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0;
}

.footer-phone-link,
.footer-web-link {
    color: #E2E8F0;
    font-weight: 500;
}

.footer-phone-link:hover,
.footer-web-link:hover {
    color: #38BDF8;
}

.footer-heading {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-list a {
    color: #94A3B8;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.footer-nav-list a:hover {
    color: #FFFFFF;
}

.btn-link-footer {
    background: none;
    border: none;
    padding: 0;
    color: #94A3B8;
    font-size: 0.9rem;
    font-family: var(--font-body);
    cursor: pointer;
    text-align: left;
}

.btn-link-footer:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748B;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-closing-pill {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #CBD5E1;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

/* Cookie Policy Popup (Floating Compact Dialog) */
.cookie-popup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #0F172A;
    color: #F8FAFC;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    z-index: 9990;
    overflow: hidden;
    animation: cookiePopupSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookiePopupSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-popup-card {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cookie-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cookie-popup-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cookie-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.2);
    color: #38BDF8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.cookie-popup-heading {
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.cookie-popup-dismiss {
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s, background-color 0.15s;
}

.cookie-popup-dismiss:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.cookie-popup-text {
    font-size: 0.825rem;
    color: #CBD5E1;
    line-height: 1.45;
    margin: 0;
}

.cookie-popup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.cookie-btn-accept {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
}

.cookie-btn-reject {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
    border-color: #475569;
    color: #E2E8F0;
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.cookie-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid #1E293B;
    font-size: 0.76rem;
}

.cookie-prefs-link {
    background: transparent;
    border: none;
    color: #38BDF8;
    font-size: 0.76rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.cookie-prefs-link:hover {
    text-decoration: underline;
}

.cookie-policy-link {
    color: #94A3B8;
    text-decoration: none;
}

.cookie-policy-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(2px);
    z-index: 9998;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
}

.cookie-modal-dialog {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
}

.cookie-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-heading {
    font-size: 1.25rem;
}

.cookie-modal-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-modal-intro {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.cookie-category-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem;
    background: var(--color-surface-subtle);
    border-radius: var(--radius-md);
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.cookie-badge-required {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
}

.cookie-category-desc {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.cookie-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: var(--color-surface-subtle);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #CBD5E1;
    transition: 0.2s;
    border-radius: 24px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-accent);
}

input:checked + .slider::before {
    transform: translateX(20px);
}

/* Utility Helpers */
[hidden] {
    display: none !important;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Floating WhatsApp Chat Widget */
.whatsapp-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9980;
    font-family: var(--font-body);
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, background-color 0.2s;
    outline-offset: 4px;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    background-color: #22BF5B;
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn:active {
    transform: scale(0.96);
}

.whatsapp-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.8;
    animation: whatsapp-pulse 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #EF4444;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

/* WhatsApp Chat Popup Dialog */
.whatsapp-chat-popup {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: whatsapp-slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

@keyframes whatsapp-slide-in {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.whatsapp-popup-header {
    background: #075E54;
    color: #FFFFFF;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.whatsapp-header-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.whatsapp-header-meta {
    flex: 1;
}

.whatsapp-header-name {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.whatsapp-status-online {
    font-size: 0.8rem;
    color: #D1FAE5;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    display: inline-block;
}

.whatsapp-popup-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s, background-color 0.15s;
}

.whatsapp-popup-close:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.15);
}

.whatsapp-popup-body {
    background-color: #EFEAE2;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 440px;
    overflow-y: auto;
}

.whatsapp-chat-bubble {
    background: #FFFFFF;
    border-radius: 10px;
    border-top-left-radius: 2px;
    padding: 0.85rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.whatsapp-chat-bubble p {
    font-size: 0.9rem;
    color: #1E293B;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.whatsapp-chat-bubble p:last-of-type {
    margin-bottom: 0;
}

.whatsapp-message-time {
    display: block;
    font-size: 0.72rem;
    color: #94A3B8;
    text-align: right;
    margin-top: 0.35rem;
}

.whatsapp-quick-questions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.whatsapp-quick-btn {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    color: #0F172A;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.86rem;
    font-weight: 500;
    transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.whatsapp-quick-btn:hover {
    background-color: #F8FAFC;
    border-color: #25D366;
    color: #047857;
    transform: translateY(-1px);
}

.quick-btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background-color: #E8F5E9;
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.quick-btn-text {
    line-height: 1.35;
}

.whatsapp-custom-form {
    margin-top: 0.25rem;
}

.whatsapp-input-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 0.25rem 0.35rem 0.25rem 0.85rem;
    border: 1px solid #CBD5E1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.whatsapp-input-row:focus-within {
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
}

.whatsapp-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: #0F172A;
    background: transparent;
    padding: 0.45rem 0;
}

.whatsapp-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background-color 0.15s, transform 0.1s;
}

.whatsapp-send-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-popup-footer {
    background: #FFFFFF;
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.whatsapp-direct-link {
    font-size: 0.8rem;
    color: #075E54;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.whatsapp-direct-link:hover {
    color: #25D366;
    text-decoration: underline;
}

/* ==========================================================================
   Mobile Media Query Optimizations: Cookie Popup & WhatsApp Widget
   ========================================================================== */
@media (max-width: 640px) {
    /* Mobile Cookie Policy Popup Card */
    .cookie-popup {
        bottom: 12px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: calc(100vw - 24px);
        margin: 0 auto;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    }

    .cookie-popup-card {
        padding: 0.95rem 1rem;
        gap: 0.65rem;
    }

    .cookie-popup-heading {
        font-size: 0.92rem;
    }

    .cookie-popup-text {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .cookie-popup-actions {
        gap: 0.45rem;
    }

    .cookie-btn-accept,
    .cookie-btn-reject {
        padding: 0.48rem 0.65rem;
        font-size: 0.8rem;
    }

    /* While the Cookie Popup is open on mobile, hide the WhatsApp floating button to prevent overlap & clutter */
    body.has-cookie-popup .whatsapp-widget-container,
    body:has(#cookie-consent-banner:not([hidden])) .whatsapp-widget-container {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.8);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    /* Mobile Floating WhatsApp Widget Button */
    .whatsapp-widget-container {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
        font-size: 26px;
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -1px;
        right: -1px;
    }

    /* Mobile WhatsApp Chat Popup Dialog (Prevents any horizontal/vertical viewport overflow) */
    .whatsapp-chat-popup {
        position: fixed;
        bottom: 76px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: calc(100vw - 24px);
        max-height: calc(100dvh - 96px);
        border-radius: 14px;
    }

    .whatsapp-popup-header {
        padding: 0.75rem 0.95rem;
    }

    .whatsapp-header-avatar {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .whatsapp-header-name {
        font-size: 0.92rem;
    }

    .whatsapp-popup-body {
        max-height: calc(100dvh - 240px);
        padding: 0.85rem;
        gap: 0.75rem;
    }

    .whatsapp-chat-bubble p {
        font-size: 0.84rem;
    }

    .whatsapp-quick-btn {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .quick-btn-icon {
        width: 24px;
        height: 24px;
        font-size: 0.78rem;
    }

    .whatsapp-input-row {
        padding: 0.2rem 0.3rem 0.2rem 0.75rem;
    }

    .whatsapp-input {
        font-size: 0.82rem;
    }

    .whatsapp-send-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Top Multi-Slider Showcase Styles */
.section-top-showcase {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-bottom: 2px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.top-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.top-showcase-title-group {
    max-width: 65ch;
}

.top-showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
}

.top-showcase-heading {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.top-showcase-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.top-showcase-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.showcase-filter-tabs {
    display: inline-flex;
    background: #E2E8F0;
    padding: 4px;
    border-radius: var(--radius-full);
    gap: 4px;
}

.showcase-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.showcase-filter-btn:hover {
    color: var(--color-text-main);
}

.showcase-filter-btn.active {
    background: #FFFFFF;
    color: var(--color-accent);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.slider-track-block {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.slider-track-block.is-hidden {
    display: none;
}

.slider-track-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding: 0 0.25rem;
}

.track-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-main);
}

.track-label i {
    color: var(--color-accent);
    font-size: 1.05rem;
}

.track-hint {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.swiper-slider-wrapper {
    position: relative;
}

.biz-showcase-swiper {
    padding: 0.5rem 0.25rem 3.25rem 0.25rem !important;
}

.showcase-slide-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.showcase-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.slide-media-box {
    position: relative;
    width: 100%;
    /*aspect-ratio: 16/10;*/
    background: #0B132B;
    overflow: hidden;
    height: auto;
}

.slide-media-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.showcase-slide-card:hover .slide-media-box img {
    transform: scale(1.03);
}

.slide-tag-pill {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--color-accent);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.slide-info-box {
    padding: 1.15rem 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.slide-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.slide-desc {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.slide-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.slide-meta-note {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-success);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
/* Custom Swiper Controls */
.biz-showcase-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #94A3B8;
    opacity: 0.45;
    transition: width 0.2s, background-color 0.2s, opacity 0.2s;
    border-radius: 5px;
}

.biz-showcase-swiper .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--color-accent);
    opacity: 1;
}

.biz-showcase-swiper .swiper-button-next,
.biz-showcase-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #fff!important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border);
    transition: background-color 0.15s, color 0.15s, transform 0.15s;
    top: 42%;
}

/* Custom left and right chevrons */
.biz-showcase-swiper .swiper-button-next::after,
.biz-showcase-swiper .swiper-button-prev::after {
    content: '';
    width: 8px;
    height: 8px;
    font-size: 0;
    border-top: 2px solid currentColor;
}

.biz-showcase-swiper .swiper-button-next::after {
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: -4px;
}

.biz-showcase-swiper .swiper-button-prev::after {
    border-left: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-right: -4px;
}

/* Hover effect */
.biz-showcase-swiper .swiper-button-next,
.biz-showcase-swiper .swiper-button-prev {
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: scale(1.08);
}

/* ==========================================================================
   11. ALL PACKAGES & SETUP SELECTOR (£799 / £1,086 / £1,299)
   ========================================================================== */
.section-packages {
    /*padding: clamp(3.5rem, 6vw, 6rem) 0;*/
    padding: 7px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.packages-sector-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0 1.5rem 0;
}

.sector-tab-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.sector-tab-btn:hover {
    border-color: #94A3B8;
    transform: translateY(-2px);
}

.sector-tab-btn.active {
    border-color: var(--color-accent);
    background: #F0F9FF;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

.sector-tab-btn i {
    font-size: 1.75rem;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.sector-tab-btn.active i {
    color: var(--color-accent);
}

.sector-tab-content {
    display: flex;
    flex-direction: column;
}

.sector-tab-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.25;
}

.sector-tab-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.2rem;
}

.sector-context-banner {
    background: #FFFFFF;
    border: 1px solid #BAE6FD;
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.25rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.sector-context-icon {
    color: var(--color-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.package-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border: 2px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

.package-badge-popular {
    position: absolute;
    top: 0;
    right: 0;
    background: #DC2626;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-bottom-left-radius: var(--radius-md);
}

.package-badge-value {
    position: absolute;
    top: 0;
    right: 0;
    background: #059669;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-bottom-left-radius: var(--radius-md);
}

.package-card-header {
    padding: 1.75rem 1.75rem 1rem 1.75rem;
    border-bottom: 1px solid var(--color-border);
}

.package-symbol {
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.package-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: 0.02em;
    margin-bottom: 0.65rem;
}

.package-discount-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #DCFCE7;
    color: #15803D;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.package-price-box {
    padding: 1.5rem 1.75rem;
    background: #F8FAFC;
    border-bottom: 1px solid var(--color-border);
}

.package-price-current {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1;
    display: inline-block;
}

.package-price-current .currency {
    font-size: 1.75rem;
    font-weight: 700;
    vertical-align: super;
    margin-right: 2px;
}

.package-price-current .decimals {
    font-size: 1.5rem;
}

.vat-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.package-price-was {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-top: 0.35rem;
}

.package-body {
    padding: 1.75rem;
    flex-grow: 1;
}

.package-subheading {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin: 1rem 0 0.65rem 0;
}

.package-subheading:first-child {
    margin-top: 0;
}

.package-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.package-features-list li {
    font-size: 0.9rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    line-height: 1.45;
}

.package-features-list li i {
    color: var(--color-accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.benefits-list li i {
    color: var(--color-success);
}

.package-footer {
    padding: 1.25rem 1.75rem 1.75rem 1.75rem;
    background: #FFFFFF;
}

.packages-contact-ribbon {
    margin-top: 3.5rem;
    background: #0B132B;
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ribbon-text strong {
    display: block;
    font-size: 1.15rem;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.ribbon-text span {
    font-size: 0.9rem;
    color: #94A3B8;
}

.ribbon-actions {
    display: flex;
    gap: 0.85rem;
    flex-shrink: 0;
}

.ribbon-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

.ribbon-actions .btn-outline:hover {
    background: #FFFFFF;
    color: var(--color-text-main);
}

/* ==========================================================================
   12. CONNECTED ORDERS: WEBSITE CONNECTED TO EPOS (1 UNIFIED SCREEN)
   ========================================================================== */
.section-connected-orders {
    background: #0B132B;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.connected-channels-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .connected-channels-grid {
        grid-template-columns: 1fr;
    }
}

.connected-features-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.channel-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: background 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.channel-icon-box {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.channel-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
}

.channel-info p {
    font-size: 0.86rem;
    color: #94A3B8;
    line-height: 1.45;
    margin: 0;
}

.simulation-terminal-frame {
    background: #020617;
    border: 2px solid #1E293B;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.terminal-topbar {
    background: #0F172A;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #1E293B;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #EF4444; }
.terminal-dot.yellow { background: #F59E0B; }
.terminal-dot.green { background: #10B981; }

.terminal-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: #94A3B8;
    margin-left: 0.5rem;
    flex-grow: 1;
}

.terminal-status {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.terminal-order-stream {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sim-order-row {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.2s ease;
}

.sim-order-row:hover {
    border-color: #38BDF8;
}

.sim-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.sim-badge.web { background: rgba(56, 189, 248, 0.2); color: #38BDF8; }
.sim-badge.instore { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.sim-badge.app { background: rgba(139, 92, 246, 0.2); color: #A78BFA; }
.sim-badge.tv { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }

.sim-details {
    display: flex;
    flex-direction: column;
}

.sim-details strong {
    font-size: 0.88rem;
    color: #F8FAFC;
}

.sim-details span {
    font-size: 0.75rem;
    color: #64748B;
}

.sim-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #F8FAFC;
}

.sim-status {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-full);
}

.sim-status.prep { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.sim-status.paid { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.sim-status.ready { background: rgba(56, 189, 248, 0.2); color: #38BDF8; }
.sim-status.live { background: rgba(139, 92, 246, 0.2); color: #A78BFA; }

.terminal-footer-metrics {
    background: #090D16;
    border-top: 1px solid #1E293B;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric-pill {
    font-size: 0.8rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.metric-pill strong {
    color: #F8FAFC;
}

/* ==========================================================================
   13. CUSTOMER LIST ICONS & SCROLLING MARQUEE SLIDER
   ========================================================================== */
.section-customer-slider {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
    background: #FFFFFF;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.customer-slider-header {
    margin-bottom: 2rem;
}

.customer-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.customer-marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}

.customer-marquee-container:hover .customer-marquee-track {
    animation-play-state: paused;
}

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

.customer-card-pill {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #F8FAFC;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 0.65rem 1.25rem 0.65rem 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.customer-card-pill:hover {
    transform: translateY(-2px);
    border-color: #94A3B8;
    background: #FFFFFF;
}

.customer-icon-bubble {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.customer-text-meta {
    display: flex;
    flex-direction: column;
}

.customer-brand-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.2;
}

.customer-brand-type {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.customer-loc {
    color: var(--color-text-light);
    font-weight: 600;
}

.customer-badge-tag {
    font-size: 0.7rem;
    font-weight: 700;
    background: #E2E8F0;
    color: var(--color-text-main);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.35rem;
}

.customer-trust-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.trust-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   14. CUSTOMER ICONS AUTO-SCROLLING SLIDER (300x150)
   ========================================================================== */
.section-customer-icons-slider {
    padding: 7px;
    background: #F8FAFC;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.customer-icons-header {
    margin-bottom: 2rem;
}

.customer-icons-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.customer-icons-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: customerLogosScroll 38s linear infinite;
}

.customer-icons-marquee:hover .customer-icons-track {
    animation-play-state: paused;
}

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

.customer-icon-card {
    width: 240px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.customer-icon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #94A3B8;
}

.customer-icon-img-wrap {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #0F172A;
}

.customer-icon-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.customer-icon-card:hover .customer-icon-img-wrap img {
    transform: scale(1.04);
}

.customer-icon-info {
    padding-top: 0.65rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.customer-icon-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.25;
}

.customer-icon-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.2rem;
}

.customer-icons-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------
   Footer social icons
   --------------------------------------------------------------------- */

/* ========================================
   FOOTER SOCIAL MEDIA ICONS
======================================== */

.site-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__social li {
    margin: 0;
    padding: 0;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    text-decoration: none;

    transition:
            background-color 0.25s ease,
            color 0.25s ease,
            transform 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.25s ease;
}

.site-footer__social svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* General hover effect */
.site-footer__social a:hover {
    transform: translateY(-4px);
    background: #ffffff;
    color: #111827;
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Facebook */
.site-footer__social li:nth-child(1) a:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #ffffff;
}

/* Instagram */
.site-footer__social li:nth-child(2) a:hover {
    background: #E4405F;
    border-color: #E4405F;
    color: #ffffff;
}

/* YouTube */
.site-footer__social li:nth-child(3) a:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #ffffff;
}

/* TikTok */
.site-footer__social li:nth-child(4) a:hover {
    background: #000000;
    border-color: #FE2C55;
    color: #ffffff;
}

/* Keyboard accessibility */
.site-footer__social a:focus-visible {
    outline: 3px solid #60A5FA;
    outline-offset: 4px;
}

/* Footer bottom alignment */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    padding-top: 24px;
    padding-bottom: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright {
    margin: 0;
}

/* Mobile layout */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 18px;
    }

    .site-footer__social {
        justify-content: center;
        gap: 10px;
    }

    .site-footer__social a {
        width: 42px;
        height: 42px;
    }

    .site-footer__social svg {
        width: 19px;
        height: 19px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .site-footer__social a {
        transition: none;
    }

    .site-footer__social a:hover {
        transform: none;
    }
}

/* ==========================================================================
       PACKAGES: Desktop = original grid, Mobile (<=767px) = Swiper slider
       ========================================================================== */

/* Hide mobile-only controls on desktop/tablet */
.packages-mobile-pagination,
.packages-mobile-prev,
.packages-mobile-next {
    display: none;
}

/* --------------------------------------------------------------------------
   DESKTOP (>=768px): completely reset Swiper so the grid behaves as before
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .packages-slider-mobile .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)) !important;
        gap: 1rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
        flex-wrap: wrap !important;
    }

    .packages-slider-mobile .swiper-slide {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        flex-shrink: 1 !important;
    }

    /* Ensure card fills its grid cell */
    .packages-slider-mobile .package-card {
        height: 100%;
    }
}

/* --------------------------------------------------------------------------
   MOBILE (<=767px): Swiper takes full control
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .packages-slider-mobile {
        display: block !important;
        position: relative;
        overflow: hidden;
        padding-left: 4px;
        padding-right: 4px;
    }

    .packages-slider-mobile .swiper-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .packages-slider-mobile .swiper-slide {
        width: auto;
        height: auto;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .packages-slider-mobile .package-card {
        height: 100%;
        margin: 0;
    }

    /* Pagination */
    .packages-mobile-pagination {
        display: block !important;
        position: static !important;
        margin-top: 1rem;
        text-align: center;
    }

    /* Arrows */
    .packages-mobile-prev,
    .packages-mobile-next {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background-color: var(--color-accent);
        color: #fff!important;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        z-index: 10;
        margin-top: -2rem;
    }

    .packages-mobile-prev { left: 4px; }
    .packages-mobile-next { right: 4px; }

    .packages-mobile-prev::after,
    .packages-mobile-next::after {
        font-size: 13px !important;
        font-weight: 700;
        color: #fff;
    }
}