/* ==========================================
   Sheng Wang Digital Studio
   Homepage V3 CSS — Visual Upgrade
   Dark-tech style + H5 animations
========================================== */


/* =========================
   VARIABLES & RESET
========================= */

:root {

    --navy-900: #081631;
    --navy-800: #0b1f45;
    --navy-700: #103065;
    --blue-500: #1e6ef5;
    --blue-400: #3b82f6;
    --cyan-400: #38bdf8;
    --text-main: #0f172a;
    --text-sub: #55647a;
    --line: #e5eaf2;
    --bg-gray: #f5f8fc;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(13, 38, 76, .08);
    --shadow-hover: 0 18px 45px rgba(13, 38, 76, .16);

}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: Inter, "Segoe UI", Arial, sans-serif;

    color: var(--text-main);

    background: #fff;

    line-height: 1.7;

    overflow-x: hidden;

}


img {

    max-width: 100%;

    display: block;

}


.container {

    width: min(1360px, 92%);

    margin: 0 auto;

}


.container-narrow {

    width: min(820px, 92%);

}


a {

    text-decoration: none;

    color: inherit;

}


/* =========================
   HEADER
========================= */

.header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    z-index: 100;

    padding: 18px 0;

    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;

}


.header.scrolled {

    background: rgba(8, 22, 49, .92);

    backdrop-filter: blur(10px);

    padding: 12px 0;

    box-shadow: 0 4px 24px rgba(0, 0, 0, .25);

}


.nav {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #fff;

}


.logo-mark {

    width: 40px;

    height: 40px;

    color: var(--cyan-400);

    animation: spin-slow 24s linear infinite;

}


.logo-mark svg {

    width: 100%;

    height: 100%;

}


.logo-text {

    font-weight: 700;

    font-size: 19px;

    display: flex;

    flex-direction: column;

    line-height: 1.15;

}


.logo-text em {

    font-style: normal;

    font-weight: 400;

    font-size: 12px;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: rgba(255, 255, 255, .65);

}


.nav-menu > ul {

    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;

}


.nav-item {

    position: relative;

}


.nav-menu a {

    color: rgba(255, 255, 255, .85);

    font-size: 15px;

    font-weight: 500;

    position: relative;

    padding: 4px 0;

    transition: color .25s ease;

    white-space: nowrap;

}


.nav-item > a {

    display: inline-flex;

    align-items: center;

    gap: 5px;

}


.caret {

    width: 12px;

    height: 12px;

    transition: transform .25s ease;

}


.nav-item.has-sub:hover > a .caret,

.nav-item.open > a .caret {

    transform: rotate(180deg);

}


.nav-item > a:not(.btn-small)::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -2px;

    width: 0;

    height: 2px;

    background: var(--cyan-400);

    border-radius: 2px;

    transition: width .3s ease;

}


.nav-item:hover > a {

    color: #fff;

}


.nav-item:hover > a:not(.btn-small)::after {

    width: 100%;

}


/* ---------- Dropdown submenu ---------- */

/* invisible bridge keeps hover alive over the gap */

.nav-item.has-sub::before {

    content: "";

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    height: 20px;

}


.submenu {

    position: absolute;

    top: 100%;


    left: 50%;

    z-index: 20;

    min-width: 232px;

    list-style: none;

    padding: 10px;

    margin: 16px 0 0;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 18px 45px rgba(8, 22, 49, .22);

    opacity: 0;

    visibility: hidden;

    transform: translateX(-50%) translateY(10px);

    transition: opacity .28s ease, transform .28s ease, visibility .28s;

}


.submenu::before {

    content: "";

    position: absolute;

    top: -6px;

    left: 50%;

    width: 14px;

    height: 14px;

    margin-left: -7px;

    background: #fff;

    transform: rotate(45deg);

    border-radius: 3px;

}


.nav-item.has-sub:hover .submenu,

.nav-item.open .submenu {

    opacity: 1;

    visibility: visible;

    transform: translateX(-50%) translateY(0);

}


.submenu a {

    display: block;

    color: var(--navy-800);

    font-size: 14.5px;

    font-weight: 500;

    padding: 10px 14px;

    border-radius: 8px;

    white-space: nowrap;

    transition: background .2s ease, color .2s ease, transform .2s ease;

}


.submenu a::after {

    display: none;

}


.submenu a:hover {

    background: rgba(30, 110, 245, .08);

    color: var(--blue-500);

    transform: translateX(4px);

}


.nav-toggle {

    display: none;

    flex-direction: column;

    gap: 5px;

    background: none;

    border: 0;

    cursor: pointer;

    padding: 6px;

}


.nav-toggle span {

    width: 24px;

    height: 2px;

    background: #fff;

    border-radius: 2px;

    transition: .3s;

}


/* =========================
   HERO
========================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--navy-900);

}


.hero-bg {

    position: absolute;

    inset: 0;

    background: url("../images/banner1.jpg") center / cover no-repeat;

    animation: hero-zoom 18s ease-in-out infinite alternate;

}


@keyframes hero-zoom {

    from { transform: scale(1); }

    to { transform: scale(1.08); }

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(100deg, rgba(6, 17, 40, .88) 0%, rgba(8, 25, 60, .62) 45%, rgba(8, 22, 49, .35) 100%);

}


.hero-particles span {

    position: absolute;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: rgba(56, 189, 248, .55);

    box-shadow: 0 0 12px rgba(56, 189, 248, .8);

    animation: float-up 9s linear infinite;

}


.hero-particles span:nth-child(1) { left: 12%; bottom: -10px; animation-delay: 0s; }

.hero-particles span:nth-child(2) { left: 30%; bottom: -10px; animation-delay: 2.2s; width: 4px; height: 4px; }

.hero-particles span:nth-child(3) { left: 52%; bottom: -10px; animation-delay: 4.4s; }

.hero-particles span:nth-child(4) { left: 70%; bottom: -10px; animation-delay: 1.4s; width: 8px; height: 8px; }

.hero-particles span:nth-child(5) { left: 85%; bottom: -10px; animation-delay: 3.3s; }

.hero-particles span:nth-child(6) { left: 44%; bottom: -10px; animation-delay: 6s; width: 3px; height: 3px; }


@keyframes float-up {

    0% { transform: translateY(0); opacity: 0; }

    12% { opacity: 1; }

    85% { opacity: .8; }

    100% { transform: translateY(-92vh); opacity: 0; }

}


.hero-grid {

    position: relative;

    z-index: 2;

    padding: 150px 0 120px;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 56px;

    align-items: center;

}


/* ---------- Hero right panel (service cards) ---------- */

.hero-panel {

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.hero-panel-card {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    background: rgba(255, 255, 255, .06);

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 12px;

    padding: 18px 18px;

    backdrop-filter: blur(6px);

    position: relative;

    transition: transform .3s ease, background .3s ease, border-color .3s ease;

}


.hero-panel-card:hover {

    transform: translateX(-6px);

    background: rgba(255, 255, 255, .1);

    border-color: rgba(56, 189, 248, .45);

}


.panel-icon {

    flex: none;

    width: 42px;

    height: 42px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.panel-icon svg {

    width: 22px;

    height: 22px;

}


.icon-cyan { background: rgba(56, 189, 248, .14); color: var(--cyan-400); }


.panel-body h4 {

    color: #fff;

    font-size: 15.5px;

    font-weight: 700;

    margin-bottom: 4px;

}


.panel-body p {

    color: rgba(255, 255, 255, .62);

    font-size: 13.5px;

    line-height: 1.55;

}


.panel-tag {

    flex: none;

    align-self: flex-start;

    margin-top: 2px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .5px;

    color: #dbeafe;

    background: linear-gradient(92deg, var(--blue-500), var(--blue-400));

    padding: 3px 10px;

    border-radius: 999px;

    white-space: nowrap;

}


.hero-tagline {

    display: inline-block;

    color: var(--cyan-400);

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 20px;

    padding-left: 44px;

    position: relative;

}


.hero-tagline::before {

    content: "";

    position: absolute;

    left: 0;

    top: 50%;

    width: 32px;

    height: 2px;

    background: var(--cyan-400);

}


.hero h1 {

    color: #fff;

    font-size: clamp(34px, 5.2vw, 60px);

    font-weight: 800;

    line-height: 1.15;

    margin-bottom: 22px;

}


.grad-text {

    background: linear-gradient(92deg, var(--cyan-400), var(--blue-400));

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;

}


.hero-sub {

    color: rgba(255, 255, 255, .78);

    font-size: 17px;

    max-width: 620px;

    margin-bottom: 36px;

}


.hero-buttons {

    display: flex;

    gap: 16px;

    flex-wrap: wrap;

}


.scroll-hint {

    position: absolute;

    left: 50%;

    bottom: 28px;

    transform: translateX(-50%);

    width: 26px;

    height: 42px;

    border: 2px solid rgba(255, 255, 255, .45);

    border-radius: 14px;

    z-index: 2;

}


.scroll-hint span {

    position: absolute;

    left: 50%;

    top: 8px;

    width: 4px;

    height: 8px;

    margin-left: -2px;

    border-radius: 2px;

    background: var(--cyan-400);

    animation: scroll-dot 1.8s ease-in-out infinite;

}


@keyframes scroll-dot {

    0% { transform: translateY(0); opacity: 1; }

    70% { transform: translateY(14px); opacity: 0; }

    100% { transform: translateY(0); opacity: 0; }

}


/* Hero entrance animation */

.reveal-hero {

    opacity: 0;

    transform: translateY(34px);

    animation: hero-in .9s cubic-bezier(.22, .8, .35, 1) forwards;

}


.d1 { animation-delay: .1s; }

.d2 { animation-delay: .25s; }

.d3 { animation-delay: .45s; }

.d4 { animation-delay: .65s; }

.d5 { animation-delay: .85s; }

.d6 { animation-delay: 1.05s; }


@keyframes hero-in {

    to { opacity: 1; transform: translateY(0); }

}


/* =========================
   BUTTONS
========================= */

.btn {

    display: inline-block;

    padding: 14px 34px;

    border-radius: 8px;

    background: linear-gradient(92deg, var(--blue-500), var(--blue-400));

    color: #fff;

    font-weight: 600;

    font-size: 15px;

    box-shadow: 0 8px 24px rgba(30, 110, 245, .35);

    transition: transform .25s ease, box-shadow .25s ease;

    cursor: pointer;

}


.btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 14px 32px rgba(30, 110, 245, .5);

}


.btn-lg {

    padding: 16px 44px;

    font-size: 16px;

}


.btn-outline {

    display: inline-block;

    padding: 13px 33px;

    border-radius: 8px;

    border: 1.5px solid rgba(255, 255, 255, .55);

    color: #fff;

    font-weight: 600;

    font-size: 15px;

    transition: .25s ease;

    cursor: pointer;

}


.btn-outline:hover {

    background: rgba(255, 255, 255, .12);

    border-color: #fff;

    transform: translateY(-3px);

}


.nav-menu .btn-small {

    padding: 13px 32px;

    border-radius: 999px;

    background: linear-gradient(92deg, #2dd4ff, #1e6ef5);

    color: #fff !important;

    font-size: 15px !important;

    font-weight: 700;

    letter-spacing: .3px;

    white-space: nowrap;

    box-shadow: 0 6px 20px rgba(30, 110, 245, .5);

    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;

    animation: cta-glow 2.8s ease-in-out infinite;

}


.nav-menu .btn-small:hover {

    background: linear-gradient(92deg, #45ddff, #3b82f6);

    transform: translateY(-2px);

    box-shadow: 0 10px 28px rgba(45, 212, 255, .55);

    animation: none;

}


@keyframes cta-glow {

    0%, 100% {

        box-shadow: 0 6px 20px rgba(30, 110, 245, .5), 0 0 0 rgba(45, 212, 255, 0);

    }

    50% {

        box-shadow: 0 6px 22px rgba(30, 110, 245, .55), 0 0 16px rgba(45, 212, 255, .5);

    }

}


/* =========================
   SECTION COMMON
========================= */

.section {

    padding: 96px 0;

}


.section.gray {

    background: var(--bg-gray);

}


.section-head {

    text-align: center;

    max-width: 680px;

    margin: 0 auto 56px;

}


.section-label {

    display: inline-block;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: var(--blue-500);

    background: rgba(30, 110, 245, .08);

    padding: 5px 16px;

    border-radius: 999px;

    margin-bottom: 16px;

}


.section-label.light {

    color: var(--cyan-400);

    background: rgba(56, 189, 248, .12);

}


.section-head h2,

.section h2 {

    font-size: clamp(28px, 3.4vw, 40px);

    font-weight: 800;

    line-height: 1.25;

}


.section-head p {

    color: var(--text-sub);

    margin-top: 14px;

}


/* =========================
   SCROLL REVEAL
========================= */

.reveal {

    opacity: 0;

    transform: translateY(36px);

    transition: opacity .8s cubic-bezier(.22, .8, .35, 1), transform .8s cubic-bezier(.22, .8, .35, 1);

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================
   TRUST
========================= */

.trust {

    background: #fff;

    border-bottom: 1px solid var(--line);

    padding: 44px 0;

}


.trust-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    text-align: center;

}


.trust-item strong {

    font-size: 40px;

    font-weight: 800;

    color: var(--navy-800);

}


.trust-item em {

    font-style: normal;

    font-size: 26px;

    font-weight: 800;

    color: var(--blue-500);

    margin-left: 2px;

}


.trust-item span {

    display: block;

    color: var(--text-sub);

    font-size: 14px;

    margin-top: 4px;

}


/* =========================
   CARDS (PROBLEM)
========================= */

.cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}


.card {

    background: #fff;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    padding: 36px 30px;

    transition: transform .3s ease, box-shadow .3s ease;

}


.card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}


.card-icon {

    width: 52px;

    height: 52px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

}


.card-icon svg {

    width: 26px;

    height: 26px;

}


.icon-red { background: rgba(239, 68, 68, .1); color: #ef4444; }

.icon-amber { background: rgba(245, 158, 11, .12); color: #f59e0b; }

.icon-blue { background: rgba(30, 110, 245, .1); color: var(--blue-500); }

.icon-green { background: rgba(16, 185, 129, .1); color: #10b981; }

.icon-purple { background: rgba(139, 92, 246, .1); color: #8b5cf6; }


.card h3 {

    font-size: 19px;

    margin-bottom: 10px;

}


.card p {

    color: var(--text-sub);

    font-size: 15px;

}


/* =========================
   SERVICES
========================= */

.service-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}


.service {

    background: #fff;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: transform .3s ease, box-shadow .3s ease;

}


.service:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}


.service-media {

    height: 180px;

}


.service-body {

    padding: 28px 26px 32px;

}


.service-body h3 {

    font-size: 19px;

    margin: 14px 0 10px;

}


.service-body > p {

    color: var(--text-sub);

    font-size: 15px;

    margin-bottom: 16px;

}


.service-body ul {

    list-style: none;

}


.service-body li {

    color: var(--text-sub);

    font-size: 14.5px;

    padding: 7px 0 7px 26px;

    position: relative;

    border-bottom: 1px dashed var(--line);

}


.service-body li:last-child {

    border-bottom: 0;

}


.service-body li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--blue-500);

    font-weight: 700;

}


/* =========================
   IMAGE PLACEHOLDER (空图占位)
========================= */

.img-placeholder {

    position: relative;

    background:

        linear-gradient(135deg, #dfe8f5 0%, #c9d8ee 50%, #b9cbe8 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.img-placeholder::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(45deg, rgba(255, 255, 255, .35) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, .35) 75%, transparent 75%, transparent);

    background-size: 22px 22px;

    opacity: .5;

}


.img-placeholder::after {

    content: "🖼 " attr(data-label);

    position: relative;

    z-index: 1;

    color: #5b6f92;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: .5px;

    padding: 0 12px;

    text-align: center;

}


.img-placeholder-dark {

    background: linear-gradient(135deg, #16305e 0%, #0e2247 100%);

}


.img-placeholder-dark::after {

    color: rgba(255, 255, 255, .55);

}


/* =========================
   INDUSTRIES
========================= */

.industry-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}


.industry-grid > div {

    background: #fff;

    border: 1px solid var(--line);

    border-radius: 12px;

    padding: 22px 24px;

    font-weight: 600;

    font-size: 16px;

    color: var(--navy-800);

    text-align: center;

    transition: .3s ease;

}


.industry-grid > div:hover {

    border-color: var(--blue-400);

    background: linear-gradient(180deg, #f2f7ff, #fff);

    transform: translateY(-4px);

    box-shadow: var(--shadow);

}


/* =========================
   WHY (DARK)
========================= */

.section.dark {

    background:

        radial-gradient(1000px 500px at 85% -10%, rgba(56, 189, 248, .16), transparent 60%),

        linear-gradient(120deg, var(--navy-900), var(--navy-800));

    color: #fff;

}


.why-grid {

    display: grid;

    grid-template-columns: 1fr 1.15fr;

    gap: 56px;

    align-items: center;

}


.why-media {

    min-height: 360px;

    border-radius: var(--radius);

}


.why-content h2 {

    margin-bottom: 18px;

}


.why-content > p {

    color: rgba(255, 255, 255, .75);

    margin-bottom: 26px;

}


.check-list {

    list-style: none;

    margin-bottom: 32px;

}


.check-list li {

    padding: 9px 0 9px 34px;

    position: relative;

    /* color: rgba(255, 255, 255, .9); */

    font-size: 15.5px;

}


.check-list li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 8px;

    width: 22px;

    height: 22px;

    border-radius: 50%;

    background: rgba(56, 189, 248, .18);

    color: var(--cyan-400);

    font-size: 13px;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================
   PROCESS
========================= */

.process {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

}


.process-step {

    position: relative;

    background: #fff;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    padding: 34px 26px;

    text-align: center;

    transition: .3s ease;

}


.process-step::before {

    content: "";

    position: absolute;

    top: 50%;

    right: -24px;

    width: 24px;

    height: 2px;

    background: repeating-linear-gradient(90deg, var(--blue-400) 0 4px, transparent 4px 8px);

}


.process-step:last-child::before {

    display: none;

}


.process-step:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);

    border-color: var(--blue-400);

}


.step-num {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 54px;

    height: 54px;

    border-radius: 50%;

    background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));

    color: #fff;

    font-weight: 800;

    font-size: 18px;

    margin-bottom: 16px;

    box-shadow: 0 8px 20px rgba(30, 110, 245, .35);

}


.process-step h3 {

    font-size: 18px;

    margin-bottom: 8px;

}


.process-step p {

    color: var(--text-sub);

    font-size: 14px;

}


/* =========================
   CASE
========================= */

.case-box {

    display: grid;

    grid-template-columns: 1.15fr 1fr;

    background: #fff;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

}


.case-media {

    min-height: 340px;

}


.case-body {

    padding: 48px 44px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

}


.case-tag {

    font-size: 12.5px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--blue-500);

    margin-bottom: 12px;

}


.case-body h3 {

    font-size: 28px;

    margin-bottom: 14px;

}


.case-body p {

    color: var(--text-sub);

    margin-bottom: 26px;

}


/* =========================
   BLOG
========================= */

.blog-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}


.blog-grid article {

    background: #fff;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    overflow: hidden;

    transition: .3s ease;

}


.blog-grid article:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}


.blog-media {

    height: 170px;

}


.blog-body {

    padding: 24px 24px 28px;

}


.blog-body span {

    font-size: 12.5px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: var(--blue-500);

}


.blog-body h3 {

    font-size: 17.5px;

    line-height: 1.45;

    margin: 10px 0 8px;

}


.blog-body p {

    color: var(--text-sub);

    font-size: 14.5px;

}


.blog-body em {

    display: inline-block;

    font-style: normal;

    font-weight: 600;

    font-size: 14px;

    color: var(--blue-500);

    margin-top: 14px;

    transition: transform .25s ease;

}


.blog-grid article:hover em {

    transform: translateX(6px);

}


/* =========================
   FAQ
========================= */

.faq details {

    background: #fff;

    border: 1px solid var(--line);

    border-radius: 12px;

    margin-bottom: 14px;

    overflow: hidden;

    transition: .3s ease;

}


.faq details[open] {

    border-color: var(--blue-400);

    box-shadow: var(--shadow);

}


.faq summary {

    list-style: none;

    cursor: pointer;

    padding: 20px 56px 20px 24px;

    font-weight: 600;

    font-size: 16.5px;

    position: relative;

}


.faq summary::-webkit-details-marker {

    display: none;

}


.faq summary::after {

    content: "+";

    position: absolute;

    right: 22px;

    top: 50%;

    transform: translateY(-50%);

    width: 28px;

    height: 28px;

    border-radius: 50%;

    background: rgba(30, 110, 245, .08);

    color: var(--blue-500);

    font-size: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .3s ease;

}


.faq details[open] summary::after {

    content: "−";

    background: var(--blue-500);

    color: #fff;

}


.faq details p {

    padding: 0 24px 22px;

    color: var(--text-sub);

    font-size: 15px;

}


/* =========================
   CTA
========================= */

.cta {

    position: relative;

    padding: 120px 0;

    text-align: center;

    overflow: hidden;

    background: var(--navy-900);

}


.cta-bg {

    position: absolute;

    inset: 0;

    background: url("../images/banner2.jpg") center / cover no-repeat;

}


.cta-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(180deg, rgba(6, 17, 40, .85), rgba(8, 25, 60, .78));

}


.cta-inner {

    position: relative;

    z-index: 2;

}


.cta h2 {

    color: #fff;

    font-size: clamp(26px, 3.6vw, 40px);

    max-width: 760px;

    margin: 0 auto 18px;

}


.cta p {

    color: rgba(255, 255, 255, .75);

    max-width: 560px;

    margin: 0 auto 36px;

}


/* =========================
   FOOTER
========================= */

.footer {

    background: #050e22;

    color: rgba(255, 255, 255, .7);

    padding: 64px 0 0;

}


.footer-grid {

    display: grid;

    grid-template-columns: 1.6fr 1fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 48px;

}


.footer-brand h3 {

    color: #fff;

    font-size: 20px;

    margin-bottom: 10px;

}


.footer-brand p {

    font-size: 14.5px;

}


.footer-col h4 {

    color: #fff;

    font-size: 15px;

    margin-bottom: 16px;

    letter-spacing: 1px;

}


.footer-col a {

    display: block;

    font-size: 14.5px;

    padding: 5px 0;

    color: rgba(255, 255, 255, .6);

    transition: .25s ease;

}


.footer-col a:hover {

    color: var(--cyan-400);

    transform: translateX(4px);

}


.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, .08);

    padding: 22px 0;

    font-size: 13.5px;

    color: rgba(255, 255, 255, .4);

}


/* =========================
   ANIMATIONS
========================= */

@keyframes spin-slow {

    to { transform: rotate(360deg); }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 960px) {

    .cards,

    .service-grid,

    .blog-grid,

    .industry-grid {

        grid-template-columns: 1fr 1fr;

    }


    .process {

        grid-template-columns: 1fr 1fr;

    }


    .process-step::before {

        display: none;

    }


    .trust-grid {

        grid-template-columns: 1fr 1fr;

        gap: 32px;

    }


    .why-grid,

    .case-box {

        grid-template-columns: 1fr;

    }


    .hero-grid {

        grid-template-columns: 1fr;

        gap: 48px;

    }


    .footer-grid {

        grid-template-columns: 1fr 1fr;

    }

}


@media (max-width: 640px) {

    .cards,

    .service-grid,

    .blog-grid,

    .industry-grid,

    .process {

        grid-template-columns: 1fr;

    }


    .nav-menu {

        position: fixed;

        top: 64px;

        right: 4%;

        background: rgba(8, 22, 49, .97);

        border-radius: 12px;

        padding: 18px 22px;

        min-width: 220px;

        max-height: calc(100vh - 90px);

        overflow-y: auto;

        box-shadow: 0 20px 50px rgba(0, 0, 0, .4);

        opacity: 0;

        pointer-events: none;

        transform: translateY(-12px);

        transition: .3s ease;

    }


    .nav-menu > ul {

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

    }


    .nav-menu.open {

        opacity: 1;

        pointer-events: auto;

        transform: translateY(0);

    }


    .nav-item > a {

        display: flex;

        justify-content: space-between;

    }


    .nav-item > a::after {

        display: none;

    }


    /* Submenu becomes an accordion inside the mobile drawer */

    .submenu {

        position: static;

        min-width: 0;

        margin: 4px 0 8px;

        padding: 4px 0 4px 12px;

        background: transparent;

        box-shadow: none;

        border-left: 1px solid rgba(255, 255, 255, .14);

        border-radius: 0;

        opacity: 1;

        visibility: visible;

        transform: none;

        display: none;

    }


    .submenu::before {

        display: none;

    }


    .nav-item.open .submenu {

        display: block;

        animation: submenu-in .3s ease forwards;

    }


    @keyframes submenu-in {

        from { opacity: 0; transform: translateY(-6px); }

        to { opacity: 1; transform: translateY(0); }

    }


    .submenu a {

        color: rgba(255, 255, 255, .72);

        font-size: 14px;

        padding: 8px 10px;

    }


    .submenu a:hover {

        background: rgba(56, 189, 248, .1);

        color: var(--cyan-400);

    }


    .nav-menu .btn-small {

        display: block;

        text-align: center;

        margin-top: 10px;

    }


    .nav-toggle {

        display: flex;

    }


    .hero-grid {

        padding: 130px 0 110px;

    }


    .panel-tag {

        display: none;

    }


    .section {

        padding: 68px 0;

    }


    .footer-grid {

        grid-template-columns: 1fr;

    }

}
