﻿:root {
    --bs-primary: #12C5E0;
    --bs-primary-rgb: 18, 197, 224;
    --bs-body-font-family: 'Poppins', system-ui, sans-serif;
    --bs-body-bg: #ffffff;
    --bs-body-color: #64748b;

    --accent: #12C5E0;
    --accent-light: #56D5EA;
    --accent-dark: #0EA8C9;
    --navy: #1F2A88;
    --navy-mid: #2938A6;
    --navy-light: #2460C7;
    --light-bg: #f4f8fc;
    --text-muted: #64748b;
    --border: #e8ecf1;

    --gradient-brand: linear-gradient(135deg, #1F2A88 0%, #2444A5 45%, #12C5E0 100%);
    --gradient-brand-soft: linear-gradient(135deg, #1F2A88 0%, #243694 55%, #2460C7 100%);
    --gradient-accent: linear-gradient(135deg, #0EA8C9 0%, #12C5E0 55%, #5dd4ff 100%);
    --gradient-accent-hover: linear-gradient(135deg, #0A90AD 0%, #0EA8C9 50%, #12C5E0 100%);
    --gradient-surface: linear-gradient(160deg, #1F2A88 0%, #253A9F 40%, #1C7BC0 75%, #12C5E0 140%);
    --gradient-overlay: linear-gradient(105deg, rgba(31, 42, 136, 0.94) 0%, rgba(36, 54, 148, 0.82) 45%, rgba(28, 123, 192, 0.55) 100%);
}

body.desicat-theme {
    font-family: var(--bs-body-font-family);
    color: var(--text-muted);
    background: #fff;
}

/* Topbar */
.topbar {
    background: var(--gradient-brand-soft);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8125rem;
    padding: 0.6rem 0;
}

.topbar-info li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-info i {
    color: var(--accent);
}

.topbar-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-link:hover {
    color: var(--accent);
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Navbar */
.main-navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(12, 30, 53, 0.08);
    padding: 0.75rem 0;
    align-items: center;
}

.main-navbar > .container {
    align-items: center;
}

.navbar-brand {
    margin-right: 1.25rem;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.site-logo--header {
    max-height: 50px;
    max-width: 220px;
    width: auto;
    height: auto;
}

.site-logo--footer {
    max-height: 40px;
    max-width: 190px;
    width: auto;
    height: auto;
}

/* Services dropdown */
.nav-dropdown-services .dropdown-menu {
    min-width: 580px;
    width: min(640px, calc(100vw - 2rem));
    padding: 1.15rem 1.25rem 1.25rem;
    border-radius: 0.5rem;
    margin-top: 0.85rem !important;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 18px 48px rgba(31, 42, 136, 0.14) !important;
}

.services-dropdown-menu {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.services-dropdown-menu.show {
    display: grid;
}

.services-dropdown-menu > li {
    min-width: 0;
}

.services-dropdown-menu > li:first-child,
.services-dropdown-menu > li:nth-child(2) {
    grid-column: 1 / -1;
}

.services-dropdown-menu > li:nth-child(2) {
    margin: 0.15rem 0 0.25rem;
}

.services-dropdown-menu > li:nth-child(2) .dropdown-divider {
    margin: 0;
    opacity: 0.65;
}

.services-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 2.25rem;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}

.dropdown-service-item {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 1rem 1.1rem;
    min-height: 76px;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--navy);
    transition: all 0.2s ease;
    position: relative;
    height: 100%;
}

.dropdown-service-item:hover,
.dropdown-service-item.active {
    background: rgba(18, 197, 224, 0.08);
    color: var(--navy);
}

.dropdown-service-item.active {
    box-shadow: inset 3px 0 0 var(--accent);
}

.dropdown-service-overview {
    background: linear-gradient(135deg, rgba(31, 42, 136, 0.04) 0%, rgba(18, 197, 224, 0.08) 100%);
    min-height: 84px;
    border: 1px solid rgba(18, 197, 224, 0.12);
}

.dropdown-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: rgba(18, 197, 224, 0.12);
    color: var(--accent);
}

.dropdown-service-icon.icon-web {
    background: rgba(31, 42, 136, 0.08);
    color: var(--navy);
}

.dropdown-service-icon.icon-software {
    background: rgba(18, 197, 224, 0.15);
    color: var(--accent);
}

.dropdown-service-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.dropdown-service-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

.dropdown-service-text small {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.dropdown-service-arrow {
    margin-left: auto;
    font-size: 1.35rem;
    color: var(--accent);
    align-self: center;
}

.dropdown-submenu {
    margin-top: 0.25rem;
}

.dropdown-submenu-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.65rem 1rem 0.35rem;
}

.dropdown-submenu-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0.25rem 3.35rem;
}

.dropdown-service-sub {
    padding: 1rem 1.1rem;
    margin: 0;
    margin-left: 0;
    border-left: none;
    background: rgba(31, 42, 136, 0.03);
    border: 1px dashed rgba(18, 197, 224, 0.22);
}

.dropdown-service-sub .dropdown-service-text strong {
    font-size: 0.9375rem;
}

.dropdown-service-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.85rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--gradient-accent);
    color: #fff;
    padding: 0.15rem 0.45rem;
    border-radius: 2rem;
}

/* Software sub-tabs */
.software-subtabs-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    max-width: 640px;
    margin: 0 auto;
}

.software-subtabs-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.software-subtabs-label i {
    color: var(--accent);
}

.nav-link {
    color: var(--navy) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1.1rem !important;
    transition: color 0.2s;
}

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

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(12, 30, 53, 0.12);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(18, 197, 224, 0.08);
    color: var(--accent);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
    box-shadow: 0 4px 18px rgba(18, 197, 224, 0.25);
}

.btn-accent:hover {
    background: var(--gradient-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 197, 224, 0.35);
}

.btn-primary {
    background: var(--gradient-accent) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(18, 197, 224, 0.22);
}

.btn-primary:hover {
    background: var(--gradient-accent-hover) !important;
    border: none !important;
    box-shadow: 0 8px 22px rgba(18, 197, 224, 0.32);
}

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

.btn-outline-primary:hover,
.btn-primary.rounded-pill {
    background: var(--gradient-accent);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(18, 197, 224, 0.22);
}

/* Hero */
.hero-swiper {
    height: 85vh;
    min-height: 520px;
    max-height: 780px;
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-swiper .swiper-slide-active .hero-content {
    animation: heroContentIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-overlay {
    display: none;
}

.hero-slide--classic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 18, 38, 0.82) 0%,
        rgba(10, 18, 38, 0.58) 36%,
        rgba(10, 18, 38, 0.24) 62%,
        transparent 82%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-slide--classic .hero-content {
    max-width: 500px;
    padding: 1.2rem 1.45rem;
    background: rgba(10, 18, 38, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.85rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.hero-slide--classic .hero-title {
    font-size: clamp(1.65rem, 3.6vw, 2.45rem);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.7);
}

.hero-slide--classic .hero-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

.hero-slide--classic .btn-lg {
    padding: 0.55rem 1.15rem;
    font-size: 0.95rem;
}

.hero-slide--split::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.62) 38%,
        rgba(15, 23, 42, 0.2) 62%,
        rgba(15, 23, 42, 0.05) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-split-row {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem 0;
}

.hero-slide-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(18, 197, 224, 0.18);
    border: 1px solid rgba(18, 197, 224, 0.45);
    color: #d7f7ff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-slide--split .hero-content {
    max-width: none;
}

.hero-preview-wrap {
    margin-left: auto;
    max-width: min(540px, 100%);
    background: #fff;
    border-radius: 0.85rem;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-preview-wrap:hover {
    transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translateY(-4px);
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.hero-preview-shot {
    display: block;
    width: 100%;
    border-radius: 0.55rem;
    border: 1px solid var(--border);
}

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

.hero-content {
    max-width: 650px;
    padding: 2rem 0;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.btn-outline-hero {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 600;
    border-radius: 0.375rem;
}

.btn-outline-hero:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.45s ease,
                border-radius 0.45s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gradient-accent);
    width: 30px;
    border-radius: 6px;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: #fff;
    background: var(--gradient-accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(18, 197, 224, 0.35);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 1rem;
    font-weight: 700;
}

/* Section common */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
}

.section-tag-light {
    background: linear-gradient(135deg, #5dd4ff 0%, #12C5E0 55%, #b8ecff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.section-desc {
    max-width: 560px;
}

.bg-light-section {
    background: linear-gradient(180deg, #f8fbff 0%, var(--light-bg) 100%);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* About */
.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    object-fit: cover;
    height: 420px;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    right: -16px;
    background: var(--gradient-accent);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(18, 197, 224, 0.35);
}

.about-badge-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-mini-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-bg);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.about-mini-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
}

.about-mini-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(18, 197, 224, 0.18) 0%, rgba(28, 123, 192, 0.12) 100%);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.about-mini-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.about-mini-card p {
    font-size: 0.8125rem;
    margin: 0;
    color: var(--text-muted);
}

.section-about .about-feature-cards {
    margin-top: 0.25rem;
}

.section-about .about-mini-card {
    padding: 1.65rem 1.5rem;
    gap: 1.15rem;
    align-items: flex-start;
    min-height: 132px;
}

.section-about .about-mini-icon {
    width: 56px;
    height: 56px;
    font-size: 1.45rem;
}

.section-about .about-mini-card h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.45rem;
}

.section-about .about-mini-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Service boxes */
.service-box {
    background: #fff;
    padding: 2rem 1.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.35s ease;
}

.service-box:hover {
    border-color: transparent;
    box-shadow: 0 15px 50px rgba(12, 30, 53, 0.1);
    transform: translateY(-6px);
}

.service-box-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(18, 197, 224, 0.16) 0%, rgba(28, 123, 192, 0.1) 100%);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.35s;
}

.service-box:hover .service-box-icon {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(18, 197, 224, 0.35);
}

.service-box h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.service-box p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.65;
}

.esnaf365-modules .service-box p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.esnaf365-module-group-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent, #0d6efd);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.esnaf365-module-group + .esnaf365-module-group {
    margin-top: 0.5rem;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.service-link:hover {
    color: var(--accent-dark);
}

/* Process */
.section-process {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.section-process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(18, 197, 224, 0.22) 0%, transparent 45%);
    pointer-events: none;
}

.process-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.process-box:hover {
    background: rgba(18, 197, 224, 0.1);
    border-color: rgba(18, 197, 224, 0.3);
}

.process-num {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5dd4ff 0%, #12C5E0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

.process-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.process-box p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
}

.process-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-box li {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.process-box li i {
    color: var(--accent);
    font-size: 0.875rem;
}

/* Stats */
.section-stats {
    background: var(--light-bg);
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-item p {
    margin: 0.5rem 0 0;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9375rem;
}

/* References */
.section-references {
    position: relative;
}

.references-grid {
    max-width: 1100px;
    margin-inline: auto;
}

.references-swiper {
    padding: 0.5rem 0 1rem;
    overflow: visible;
}

.references-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.references-swiper .swiper-slide {
    width: 320px;
    max-width: 85vw;
    height: auto;
}

.reference-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem 1.35rem;
    min-height: 140px;
    box-shadow: 0 8px 30px rgba(31, 42, 136, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(31, 42, 136, 0.1);
}

.reference-card--modern {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    min-height: 0;
    border-radius: 0.75rem;
    border: 1px solid rgba(31, 42, 136, 0.08);
    box-shadow: 0 6px 18px rgba(12, 30, 53, 0.05);
}

.reference-card--modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(12, 30, 53, 0.08);
}

.reference-logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 0.75rem 0.7rem;
    background: #0b0b0b;
    text-decoration: none;
    color: inherit;
}

a.reference-logo-panel:hover {
    opacity: 0.92;
}

.reference-logo-img {
    display: block;
    width: 100%;
    max-width: 130px;
    height: auto;
    object-fit: contain;
}

.reference-card--modern .reference-body {
    padding: 0.7rem 0.75rem 0.85rem;
    text-align: center;
}

.reference-logo {
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.reference-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.reference-sector {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.reference-card--modern .reference-body h3 {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.reference-card--modern .reference-body h3 a {
    color: inherit;
    text-decoration: none;
}

.reference-card--modern .reference-body h3 a:hover {
    color: var(--accent);
}

.reference-card--modern .reference-sector {
    font-size: 0.58rem;
    margin-bottom: 0.3rem;
}

.reference-link {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.reference-link:hover {
    color: var(--navy);
}

.reference-body p,
.reference-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

.reference-card--modern .reference-desc {
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
}

.reference-desc a {
    color: inherit;
    text-decoration: none;
}

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

.website-project-showcase {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(31, 42, 136, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(12, 30, 53, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.website-project-showcase:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(12, 30, 53, 0.1);
}

.website-project-showcase-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.25rem;
    background:
        linear-gradient(160deg, rgba(18, 197, 224, 0.12) 0%, rgba(31, 42, 136, 0.06) 55%, #f7fafc 100%);
    border-right: 1px solid rgba(31, 42, 136, 0.08);
}

.website-project-showcase-logo {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    object-fit: contain;
}

.website-project-showcase-fallback {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-project-showcase-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem 1.6rem;
    text-align: left;
}

.website-project-showcase-sector {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 197, 224, 0.12);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.website-project-showcase-title {
    margin: 0 0 0.45rem;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 700;
}

.website-project-showcase-desc {
    margin: 0 0 0.55rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.website-project-showcase-host {
    margin: 0 0 0.85rem;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .website-project-showcase {
        grid-template-columns: 1fr;
    }

    .website-project-showcase-media {
        min-height: 140px;
        border-right: 0;
        border-bottom: 1px solid rgba(31, 42, 136, 0.08);
    }

    .website-project-showcase-body {
        padding: 1.25rem 1.2rem 1.4rem;
    }
}

/* CTA */
.cta-box {
    background: var(--gradient-brand);
    border-radius: 0.75rem;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(18, 197, 224, 0.28) 0%, rgba(18, 197, 224, 0) 70%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -5%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(93, 212, 255, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    position: relative;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
}

.cta-phone i {
    color: var(--accent);
}

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

/* Page hero (inner pages) */
.page-hero {
    background: var(--gradient-brand);
    color: #fff;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(18, 197, 224, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

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

.page-hero h1 {
    font-weight: 700;
    color: #fff;
}

.page-hero-brand {
    margin: 0;
    line-height: 0;
}

.page-hero-logo-wrap {
    display: inline-block;
    background: #fff;
    padding: 0.55rem 1.15rem;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.page-hero-logo {
    display: block;
    width: auto;
    height: 92px;
    max-width: min(400px, 88vw);
    object-fit: contain;
}

.page-hero .breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.page-hero .breadcrumb-item a:hover {
    color: #fff;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* Service / project page tabs */
.service-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.service-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.service-tab-active {
    background: rgba(18, 197, 224, 0.12);
    border-color: var(--accent);
    color: var(--navy);
}

.service-tab-inactive {
    background: #fff;
    color: var(--text-muted);
}

.service-tab-inactive:hover {
    border-color: rgba(18, 197, 224, 0.45);
    color: var(--navy);
}

/* Inner page compatibility */
.section-label,
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
}

.section-heading {
    font-weight: 700;
    color: var(--navy);
}

.feature-card,
.service-card,
.process-step,
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.feature-card {
    padding: 2rem;
}

.feature-card:hover,
.service-card:hover {
    box-shadow: 0 15px 40px rgba(12, 30, 53, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(18, 197, 224, 0.18) 0%, rgba(28, 123, 192, 0.1) 100%);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3,
.service-card h3,
.process-step h4 {
    color: var(--navy);
    font-weight: 600;
}

.service-card {
    overflow: hidden;
}

.service-card > img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.service-card img.service-card-esnaf365-shot {
    object-fit: cover;
    object-position: top center;
    background: #eef2f7;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    height: 100%;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 18px rgba(18, 197, 224, 0.3);
}

.contact-card {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
}

.contact-aside-cards .contact-card {
    padding: 1.25rem 1.15rem;
}

.contact-aside-cards .contact-card .icon-wrap {
    width: 44px;
    height: 44px;
}

.contact-visual {
    min-height: 280px;
}

.contact-visual-img {
    min-height: 100%;
    max-height: none;
    height: 100%;
    min-height: 420px;
    object-position: center;
}

@media (min-width: 992px) {
    .contact-visual-img {
        min-height: 100%;
        height: 100%;
    }
}

.contact-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 36rem;
}

.contact-form-card .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    font-size: 0.9375rem;
    padding: 0.55rem 0.85rem;
}

.contact-card .icon-wrap {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(18, 197, 224, 0.18) 0%, rgba(28, 123, 192, 0.1) 100%);
    color: var(--accent);
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.contact-card h4 {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
}

.bg-section-alt,
.bg-stats {
    background: var(--light-bg);
}

.img-accent-border {
    position: relative;
    display: inline-block;
}

.img-accent-border::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    border: 3px solid var(--accent);
    border-radius: 0.75rem;
    z-index: -1;
}

.img-accent-border img {
    position: relative;
    z-index: 1;
}

.text-primary,
.text-info {
    color: var(--accent) !important;
}

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

.service-card a:not(.btn):hover {
    color: var(--accent-dark);
}

.service-card .btn-accent,
.service-card .btn-primary,
.pricing-card .btn-accent,
.pricing-card .btn-primary,
.cta-box .btn-accent {
    color: #fff !important;
    text-decoration: none;
}

.service-card .btn-outline-primary,
.pricing-card .btn-outline-primary {
    color: var(--accent);
    text-decoration: none;
}

.service-card .btn-outline-primary:hover,
.pricing-card .btn-outline-primary:hover {
    color: #fff !important;
}

/* Forms */
.card {
    border: 1px solid var(--border) !important;
    border-radius: 0.5rem !important;
}

.card h3, .card h4 {
    color: var(--navy);
}

.form-control,
.form-select {
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(18, 197, 224, 0.15);
}

.form-label {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-alert-success {
    padding: 1rem;
    border-radius: 0.375rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.form-alert-error {
    padding: 1rem;
    border-radius: 0.375rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

/* Footer */
.site-footer {
    background: var(--gradient-brand-soft);
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(18, 197, 224, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.site-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

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

.site-footer .footer-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    background: #ffffff;
    padding: 0.45rem 0.7rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.site-footer .site-logo--footer {
    opacity: 1;
    filter: none;
}

.site-footer .site-logo--footer.site-logo--invert {
    filter: none;
    opacity: 1;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(18, 197, 224, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
}

.cta-section {
    background: transparent;
}

/* Esnaf365 / product pages */
.app-screenshot-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    box-shadow: 0 16px 48px rgba(31, 42, 136, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshot-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(31, 42, 136, 0.14);
}

.app-screenshot {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.app-screenshot-caption {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 0.85rem;
}

.product-showcase {
    background: var(--gradient-brand);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.product-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(18, 197, 224, 0.2) 0%, transparent 45%);
    pointer-events: none;
}

.product-showcase-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-showcase-logo {
    display: block;
    width: auto;
    max-width: min(220px, 90%);
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.product-card-side .product-showcase-logo {
    background: #fff;
    padding: 1rem 1.35rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.product-card-logo {
    display: block;
    width: auto;
    max-width: min(180px, 85%);
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.product-showcase-icon,
.product-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(18, 197, 224, 0.35) 0%, rgba(93, 212, 255, 0.15) 100%);
    color: var(--accent-light);
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.product-showcase-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

.product-showcase-list li i {
    color: var(--accent);
}

.product-card-side {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.product-card-preview {
    background: linear-gradient(180deg, #f4f7fb 0%, #e8eef5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 1.25rem;
    overflow: hidden;
}

.product-card-preview-frame {
    width: 100%;
    max-width: 100%;
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(12, 30, 53, 0.14);
    border: 1px solid rgba(12, 30, 53, 0.08);
    background: #fff;
}

.product-card-preview-shot {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    vertical-align: middle;
}

.service-card .product-showcase-inline-logo {
    width: auto;
    max-width: min(160px, 45vw);
    height: auto;
    max-height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.product-card-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(18, 197, 224, 0.22) 0%, transparent 55%);
    pointer-events: none;
}

.product-card-header {
    height: 100%;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 15px 40px rgba(31, 42, 136, 0.1);
    transform: translateY(-4px);
}

.pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(18, 197, 224, 0.12);
    background: linear-gradient(180deg, #fff 0%, rgba(244, 248, 252, 0.95) 100%);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    box-shadow: 0 4px 14px rgba(18, 197, 224, 0.3);
}

.pricing-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.pricing-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--accent);
    font-weight: 700;
}

.tech-pill {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 0.65rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
}

.py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 991.98px) {
    .main-navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        max-width: none;
    }

    .site-logo--header {
        max-height: 44px;
        max-width: 195px;
    }

    .software-subtabs-inner {
        border-radius: 1rem;
        justify-content: flex-start;
    }

    .nav-dropdown-services .dropdown-menu {
        min-width: 100%;
        width: 100%;
    }

    .services-dropdown-menu.show {
        display: block;
    }

    .services-dropdown-menu > li:first-child,
    .services-dropdown-menu > li:nth-child(2) {
        grid-column: auto;
    }

    .dropdown-service-item {
        min-height: 0;
    }

    .services-dropdown-menu::before {
        display: none;
    }

    .site-footer .footer-brand-link {
        padding: 0.35rem 0.55rem;
    }

    .site-logo--footer {
        max-height: 36px;
        max-width: 168px;
    }

    .hero-swiper {
        height: 70vh;
        min-height: 460px;
    }

    .hero-slide--classic::before {
        background: linear-gradient(
            180deg,
            rgba(10, 18, 38, 0.84) 0%,
            rgba(10, 18, 38, 0.62) 48%,
            rgba(10, 18, 38, 0.28) 100%
        );
    }

    .hero-slide--classic .hero-content {
        max-width: 100%;
        padding: 1rem 1.1rem;
        border-radius: 0.75rem;
    }

    .hero-slide--classic .hero-title {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    }

    .hero-slide--classic .hero-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-slide--split::before {
        background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.88) 0%,
            rgba(15, 23, 42, 0.72) 55%,
            rgba(15, 23, 42, 0.45) 100%
        );
    }

    .hero-split-row {
        padding: 1rem 0 0.5rem;
    }

    .hero-preview-wrap {
        margin: 0.5rem auto 0;
        transform: none;
        max-width: min(420px, 100%);
    }

    .hero-preview-wrap:hover {
        transform: translateY(-3px);
    }

    .hero-slide--split .hero-content {
        text-align: center;
    }

    .about-badge {
        right: 0;
        bottom: 16px;
    }

    .about-image-wrap img {
        height: 320px;
    }

    .product-card-preview {
        min-height: 220px;
        padding: 1rem;
    }

    .product-card-preview-frame {
        max-width: 520px;
        margin: 0 auto;
    }

    .page-hero-logo {
        height: 78px;
        max-width: min(320px, 90vw);
    }

    .page-hero-logo-wrap {
        padding: 0.5rem 1rem;
    }
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

.reference-logo--image {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.35rem;
}

.reference-logo--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content .legal-updated {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    font-size: 0.9rem;
}

.legal-content .legal-table {
    font-size: 0.9rem;
}

.legal-content .legal-table th {
    background: var(--light-bg);
    color: var(--navy);
    font-weight: 600;
}

.legal-content a {
    color: var(--navy-mid);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--accent-dark);
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 1.25rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-legal-link:hover {
    color: #fff;
}

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    padding: 1rem;
    display: none;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-inner {
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(31, 42, 136, 0.12);
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.cookie-consent-icon {
    width: 46px;
    height: 46px;
    border-radius: 0.75rem;
    background: rgba(18, 197, 224, 0.12);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.cookie-consent-body {
    flex: 1 1 280px;
    min-width: 0;
}

.cookie-consent-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.cookie-consent-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.cookie-consent-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.cookie-consent-sep {
    color: #cbd5e1;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cookie-consent-accept {
    min-width: 120px;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-consent-link {
    font-size: 0.85rem;
    color: var(--navy-mid);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.cookie-consent-link:hover {
    color: var(--accent-dark);
}

@media (max-width: 767.98px) {
    .cookie-consent {
        padding: 0.75rem;
    }

    .cookie-consent-inner {
        padding: 1rem;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-accept {
        width: 100%;
    }
}

