:root {
    --brand: #0177cf;
    --brand-dark: #015fa6;
    --accent: #fe7200;
    --accent-dark: #e06500;
    --ink: #10283a;
    --deep: #04283f;
    --mist: #f3f8fc;
    --line: #d5e4f0;
    --white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    background: var(--mist);
    color: var(--ink);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    line-height: 1.15;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand);
}

::selection {
    background: var(--brand);
    color: var(--white);
}

.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;
}

.sr-only:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 100;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    clip: auto;
    overflow: visible;
    background: var(--white);
    color: var(--brand);
    box-shadow: 0 4px 20px rgba(16, 40, 58, 0.15);
}

.container {
    width: 100%;
    max-width: 1530px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 24px rgba(16, 40, 58, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
}

.logo img {
    height: clamp(3rem, 8vw, 4.5rem);
    width: auto;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

.nav-desktop a {
    text-decoration: none;
    font-weight: 600;
    color: rgba(16, 40, 58, 0.85);
    transition: color 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
    color: var(--brand);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switch a {
    padding: 0.35rem 0.75rem;
    text-decoration: none;
    color: var(--ink);
}

.lang-switch a.is-active {
    background: var(--brand);
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s, transform 0.15s;
}

.btn-brand {
    background: var(--brand);
    color: var(--white);
}

.btn-brand:hover {
    background: var(--brand-dark);
}

.btn-accent {
    background: var(--accent);
    color: var(--ink);
}

.btn-accent:hover {
    background: var(--accent-dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-white {
    background: var(--white);
    color: var(--brand);
}

.menu-toggle {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 1.35rem;
    color: var(--ink);
    cursor: pointer;
}

.nav-mobile {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--white);
    padding: 0.5rem 1rem 1rem;
}

.nav-mobile.is-open {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.nav-mobile a:last-child {
    border-bottom: none;
}

.hero {
    position: relative;
    color: var(--white);
    background: var(--brand);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(4, 40, 63, 0.55), rgba(1, 119, 207, 0.2));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2rem;
    padding: clamp(5rem, 12vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
    align-items: center;
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin: 0 0 1rem;
}

.hero-lead {
    font-size: 1.125rem;
    max-width: 36rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-panel {
    background: var(--white);
    color: var(--ink);
    padding: 1.75rem;
    box-shadow: 0 24px 48px rgba(4, 40, 63, 0.2);
}

.hero-panel h2 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.25rem;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 1.75rem;
    color: var(--brand);
    font-family: "Bricolage Grotesque", sans-serif;
}

.section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-white {
    background: var(--white);
}

.section-title {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0.25rem 0 0.75rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.check-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.check-list li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.55rem;
    background: var(--accent);
    flex-shrink: 0;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .card-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .card-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .card-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card,
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 40, 58, 0.1);
}

.product-card img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    width: 100%;
    background: linear-gradient(180deg, #e8f2fa 0%, #f3f8fc 100%);
}

.service-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.service-card img[src*="ecommerce-solution"],
.service-card img[src*="Digital-Marketing"] {
    object-fit: contain;
    background: var(--mist);
}

.query-card-image {
    cursor: pointer;
}

.query-card-image:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.product-hero-media img {
    object-fit: contain;
    background: var(--mist);
}

.card-bar {
    height: 4px;
    background: var(--brand);
}

.product-card:hover .card-bar {
    background: var(--accent);
}

.card-body {
    padding: 1.25rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.card-head h3 {
    margin: 0;
    font-size: 1.25rem;
}

.card-head i {
    color: var(--brand);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.5rem;
    background: rgba(1, 119, 207, 0.12);
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.badge-new {
    background: rgba(254, 114, 0, 0.15);
    color: var(--accent-dark);
}

.card-meta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand);
    margin-top: auto;
    padding-top: 1rem;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.card-actions a {
    font-weight: 600;
    font-size: 0.95rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.75rem 0;
}

.tag {
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
    background: var(--mist);
    border: 1px solid var(--line);
}

.cta-band {
    background: var(--deep);
    color: var(--white);
    padding: 2.5rem 0;
}

.cta-band .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.page-hero {
    padding: clamp(5rem, 10vw, 6rem) 0 2.5rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%);
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(16, 40, 58, 0.65);
}

.breadcrumb a {
    text-decoration: none;
}

.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 960px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }
}

.split img {
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px rgba(16, 40, 58, 0.12);
}

.values {
    border-left: 4px solid var(--accent);
    background: var(--mist);
    padding: 1.5rem;
}

.values li {
    list-style: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.values li:last-child {
    border-bottom: none;
}

.step-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .step-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.25rem;
}

.step-num {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.75rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row.two {
        grid-template-columns: 1fr 1fr;
    }
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--line);
    background: var(--mist);
    font: inherit;
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--brand);
    background: var(--white);
}

.alert-success {
    background: rgba(1, 119, 207, 0.1);
    border: 1px solid var(--brand);
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: rgba(254, 114, 0, 0.12);
    border: 1px solid var(--accent);
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

body.query-modal-open {
    overflow: hidden;
}

.query-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.query-modal[hidden] {
    display: none;
}

.query-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 40, 63, 0.72);
    backdrop-filter: blur(4px);
}

.query-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(92vh, 720px);
    overflow: auto;
    background: var(--white);
    border-top: 4px solid var(--accent);
    padding: 1.5rem 1.5rem 1.75rem;
    box-shadow: 0 24px 64px rgba(4, 40, 63, 0.35);
}

.query-modal-dialog h2 {
    margin: 0 0 0.35rem;
    padding-right: 2rem;
}

.query-modal-lead {
    margin: 0 0 1rem;
    color: rgba(16, 40, 58, 0.8);
    font-size: 0.95rem;
}

.query-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: var(--mist);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.15rem;
}

.site-footer {
    background: linear-gradient(180deg, #053049 0%, var(--deep) 100%);
    color: rgba(255, 255, 255, 0.92);
    margin-top: 0;
}

.footer-accent-line {
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
}

.footer-main {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
    }
}

.footer-brand .footer-logo img {
    height: 4rem;
    width: auto;
}

.footer-blurb {
    margin: 1rem 0;
    max-width: 22rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.footer-social {
    display: flex;
    gap: 0.65rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
}

.footer-col h3 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.55rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.15s;
}

.footer-col a:hover,
.footer-more:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.2rem;
    width: 1rem;
}

.footer-cta {
    margin-top: 1.25rem;
    width: 100%;
    max-width: 14rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0 1.25rem;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-inner a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.product-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 960px) {
    .product-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-lead {
    font-size: 1.2rem;
    max-width: 36rem;
    color: rgba(16, 40, 58, 0.85);
}

.product-hero-media img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 24px 48px rgba(16, 40, 58, 0.15);
}

.product-detail-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 960px) {
    .product-detail-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.benefit-panel {
    background: var(--mist);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    padding: 1.75rem;
}

.module-list {
    margin-bottom: 1rem;
}

.product-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.product-chip:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(1, 119, 207, 0.12);
}

.product-chip i {
    color: var(--brand);
    font-size: 1.25rem;
}

.footer-product-chips {
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .nav-desktop,
    .header-actions {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
}
