:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --primary: #282263;
    --accent: #ED1D25;
    --text: #1b2430;
    --muted: #5c6672;
    --border: #dfe6ee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background: radial-gradient(circle at top right, #e7eef8 0%, #f6f8fb 45%, #ffffff 100%);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    background: #282263
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.4px;
}

.logo img {
    width: 100%;
    height: 44px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.site-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: transparent;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.section-space {
    padding: 5rem 0;
}

.hero {
    padding-top: 6.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: stretch;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

h1 {
    font-size: clamp(2rem, 4.8vw, 3.3rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    line-height: 1.2;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.hero-copy p {
    color: var(--muted);
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.78rem 1.15rem;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.btn-solid {
    color: #ffffff;
    background: var(--primary);
}

.btn-solid:hover {
    background: #282263;
}

.btn-outline {
    color: var(--primary);
    border-color: var(--primary);
    background: #ffffff;
}

.btn-outline:hover {
    background: #e9f0f8;
}

.hero-panel {
    background: linear-gradient(145deg, #282263 0%, #EA1E27 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 18px 34px rgba(12, 73, 118, 0.2);
}

.hero-panel p {
    opacity: 0.95;
}

.hero-panel ul {
    margin-top: 1rem;
    padding-left: 1.1rem;
}

.hero-panel li + li {
    margin-top: 0.45rem;
}

.section-heading {
    margin-bottom: 1.4rem;
}

.about-top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.3rem;
    align-items: end;
    margin-bottom: 1.3rem;
}

.about-intro {
    color: var(--muted);
    background: linear-gradient(135deg, rgba(40, 34, 99, 0.08), rgba(237, 29, 37, 0.08));
    border: 1px solid #d9e2ef;
    border-radius: 16px;
    padding: 1rem 1.1rem;
}

.about-creative-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.about-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.2rem;
    box-shadow: 0 10px 24px rgba(15, 27, 43, 0.06);
}

.about-panel-main {
    grid-column: span 2;
    background: linear-gradient(145deg, #282263 0%, #ed1d25 100%);
    color: #ffffff;
}

.about-panel-main p {
    opacity: 0.95;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.about-highlights span {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.62rem;
    font-size: 0.82rem;
}

.metric-panel {
    display: grid;
    place-content: center;
    text-align: center;
    background: #f8fafc;
}

.metric-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #282263;
    line-height: 1;
}

.metric-label {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    color: #5c6672;
}


.clients-section {
    background: #f9fbff;
    overflow: hidden;
}

.clients-heading {
    text-align: center;
    margin-bottom: 1.8rem;
}

.clients-subline {
    color: var(--muted);
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e1e8f3;
    border-bottom: 1px solid #e1e8f3;
    background: #ffffff;
    padding: 1.1rem 0;
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 0.85rem;
    animation: logo-scroll 26s linear infinite;
}

.client-logo {
    min-width: 220px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid #dfe6ee;
    background: #ffffff;
    color: #111827;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: grid;
    place-items: center;
}

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

.faq-section {
    position: relative;
    background: #fffcfc;
    background-size: auto, 52px 52px, 52px 52px;
}

.faq-wrap {
    max-width: 900px;
}

.faq-heading {
    text-align: center;
    margin-bottom: 1.6rem;
}

.faq-heading p {
    color: var(--accent);
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #d9e2ee;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #111827;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.28rem;
    font-weight: 700;
}

.faq-icon {
    font-size: 1.35rem;
    color: #282263;
}

.faq-answer {
    display: none;
    padding: 0 1.15rem 1rem;
    color: #525f70;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: #282263;
}

.services-section {
    background: #fffcfc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.1rem;
}

.card p {
    color: var(--muted);
}

.product-card {
    padding: 0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 22px rgba(15, 27, 43, 0.08);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 27, 43, 0.15);
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.product-card-body {
    padding: 1rem;
}

.product-card-body h3 {
    font-size: 1rem;
    min-height: 52px;
}

.inquiry-btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #282263 0%, #ea1e27 100%);
    border-radius: 9px;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.inquiry-btn:hover {
    opacity: 0.92;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.1rem;
}

input,
textarea,
button {
    font: inherit;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    padding: 0.72rem 0.86rem;
}

input:focus,
textarea:focus {
    outline: 2px solid #b6ceea;
    border-color: var(--primary);
}

button {
    background: var(--primary);
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    padding: 0.76rem;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #282263;
}

.site-footer {
    margin-top: 1.5rem;
    color: #111827;
}

.footer-top {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 252, 0.97)),
        linear-gradient(90deg, rgba(40, 34, 99, 0.08), rgba(237, 29, 37, 0.08));
    border-top: 1px solid #e3e8f2;
}

.footer-top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background:
        linear-gradient(to right, rgba(16, 24, 40, 0.1) 1px, transparent 1px),
        linear-gradient(to top, rgba(16, 24, 40, 0.1) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    opacity: 0.55;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 1.6rem;
    padding: 3rem 0 7rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #111827;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 120px;
    height: 42px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
}

.footer-brand h3 {
    font-size: 20px;
    max-width: 25ch;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ccd4e0;
    text-decoration: none;
    color: #111827;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: #ffffff;
}

.footer-links h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #282263;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #4b5563;
    margin-bottom: 0.45rem;
}

.footer-links a:hover {
    color: #ed1d25;
}

.footer-bottom {
    text-align: center;
    background: #f4f6fb;
    border-top: 1px solid #dce3ef;
    color: #374151;
    font-size: 0.95rem;
    padding: 1rem 0;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #282263 0%, #ed1d25 100%);
    box-shadow: 0 12px 24px rgba(15, 27, 43, 0.28);
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    filter: brightness(1.05);
}

@media (max-width: 980px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .about-top,
    .about-creative-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-panel-main {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 4rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 74px;
        right: 4%;
        display: none;
        width: min(220px, 92%);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        background: #282263;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        padding: 0.8rem;
    }

    .site-nav.open {
        display: flex;
    }

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

    .product-card img {
        height: 210px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .client-logo {
        min-width: 180px;
        height: 58px;
        font-size: 0.86rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 0.9rem 0.9rem;
    }

    .faq-answer {
        padding: 0 0.9rem 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding-top: 2.3rem;
        padding-bottom: 2.8rem;
    }

    .footer-brand h3 {
        max-width: 100%;
    }

    .footer-links h4 {
        font-size: 1.2rem;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}




