/* =========================================================
   Full Solutions — One Page Site
   Corporate palette: #0e5995 (primary), #354667 (deep), #333 (text), #fff
   ========================================================= */

:root {
    --primary: #0e5995;
    --primary-dark: #0a4275;
    --deep: #354667;
    --text: #333333;
    --muted: #6c7689;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --bg-soft-2: #eef2f8;
    --border: #e3e8f0;
    --shadow-sm: 0 4px 14px rgba(14, 89, 149, 0.08);
    --shadow-md: 0 12px 30px rgba(14, 89, 149, 0.12);
    --shadow-lg: 0 24px 60px rgba(53, 70, 103, 0.18);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--deep);
    line-height: 1.2;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--text); }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--deep); }

img { max-width: 100%; height: auto; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--primary); }
.accent-light { color: #74b8f0; }

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(14, 89, 149, 0.08);
    border-radius: 100px;
}
.eyebrow.light {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.section { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* =================== BUTTONS =================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(14, 89, 149, 0.3);
}
.btn-primary:hover { background: var(--deep); color: #fff; box-shadow: 0 14px 30px rgba(53, 70, 103, 0.35); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-light {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.btn-light:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 36px; font-size: 1.02rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* =================== HEADER =================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition);
    background: rgba(255, 255, 255, 0);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 6px 20px rgba(53, 70, 103, 0.08);
    backdrop-filter: blur(10px);
    padding: 12px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand-logo { height: 60px; width: auto; transition: filter var(--transition); }

/* Logo white when over hero */
.site-header:not(.scrolled) .brand-logo {
    filter: brightness(0) invert(1);
}

.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
}
.main-nav a {
    padding: 10px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.site-header.scrolled .main-nav a { color: var(--deep); }
.site-header.scrolled .main-nav a:hover { color: var(--primary); background: rgba(14, 89, 149, 0.08); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: #fff;
    margin: 0 auto;
    transition: all var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--deep); }

/* =================== HERO =================== */
.hero {
    position: relative;
    padding: 180px 0 140px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0e5995 0%, #354667 100%), url('../images/hero-bg.jpg') center/cover fixed;
    background-blend-mode: overlay;
    z-index: -2;
}
/* .hero-bg::after {
    content: '';
    position: absolute; inset: 0;
   background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.4;
    mix-blend-mode: screen;
} */
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(116, 184, 240, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
.hero-shape {
    position: absolute;
    bottom: -1px; left: 0; right: 0; height: 80px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 .accent { color: #74b8f0; }
.hero .lead {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    max-width: 720px;
}
.hero-stats li {
    padding-left: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stats li:last-child { border-right: none; }
.hero-stats strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
}
.hero-stats span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =================== ABOUT =================== */
.about { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--deep)), url('../images/about-bg.jpg') center/cover;
    background-blend-mode: overlay;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/about-bg.jpg') center/cover;
    border-radius: var(--radius-lg);
    opacity: 0.5;
}
.about-badge {
    position: absolute;
    bottom: -30px; right: -20px;
    background: #fff;
    padding: 24px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary);
    z-index: 2;
}
.about-badge strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.6rem;
    color: var(--primary);
    line-height: 1;
    font-weight: 800;
}
.about-badge span { color: var(--muted); font-size: 0.92rem; }

.check-list { margin: 22px 0 28px; }
.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 20px; height: 20px;
    background: var(--primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* =================== UNITS =================== */
.units { background: var(--bg-soft); }
.unit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.unit-card {
    background: #fff;
    padding: 44px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.unit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--deep));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.unit-card:hover::before { transform: scaleX(1); }
.unit-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--deep) 100%);
    color: #fff;
}
.unit-card.highlight h3,
.unit-card.highlight .unit-number { color: #fff; }
.unit-card.highlight p { color: rgba(255, 255, 255, 0.85); }
.unit-card.highlight .unit-icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.unit-card.highlight .unit-link { color: #fff; }
.unit-card.highlight::before { background: rgba(255, 255, 255, 0.5); transform: scaleX(1); }

.unit-icon {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: rgba(14, 89, 149, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all var(--transition);
}
.unit-icon svg { width: 30px; height: 30px; }
.unit-card:hover .unit-icon { transform: scale(1.08) rotate(-3deg); }

.unit-number {
    position: absolute;
    top: 30px; right: 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    color: rgba(14, 89, 149, 0.08);
    line-height: 1;
}
.unit-card.highlight .unit-number { color: rgba(255, 255, 255, 0.18); }

.unit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}
.unit-link .arrow { transition: transform var(--transition); }
.unit-link:hover .arrow { transform: translateX(4px); }

/* =================== SERVICES =================== */
.services { background: var(--bg); }
.service-block {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}
.service-block:last-of-type { border-bottom: none; }
.service-block.reverse > :first-child { order: 2; }
.service-text h3 { margin-bottom: 16px; }
.service-features {
    display: grid;
    gap: 18px;
}
.feature-item {
    background: var(--bg-soft);
    padding: 28px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: all var(--transition);
}
.feature-item:hover {
    transform: translateX(8px);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.feature-icon svg { width: 24px; height: 24px; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}
.two-col h4 { color: var(--deep); }

/* Tech stack */
.tech-stack {
    background: var(--bg-soft);
    padding: 60px;
    border-radius: var(--radius-lg);
    margin: 60px 0;
}
.tech-stack .section-head h3 { margin-top: 8px; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 36px;
}
.tech-card {
    background: #fff;
    padding: 30px 26px;
    border-radius: var(--radius);
    text-align: left;
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.tech-icon {
    width: 52px; height: 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--deep));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.tech-icon svg { width: 26px; height: 26px; }
.tech-card h4 { margin-bottom: 8px; }
.tech-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* =================== AI SECTION =================== */
.ai-section {
    background: linear-gradient(135deg, var(--deep) 0%, var(--primary) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ai-section::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.ai-section::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(116, 184, 240, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}
.ai-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 70px;
    align-items: center;
}
.ai-content h2 { color: #fff; }
.ai-content p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.ai-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.ai-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}
.ai-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-5px);
}
.ai-card h3 {
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(116, 184, 240, 0.5);
}
.ai-card ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
}
.ai-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 8px; height: 8px;
    background: #74b8f0;
    border-radius: 50%;
}

/* =================== DIFFERENTIAL / PROCESS =================== */
.differential { background: var(--bg-soft); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12%; right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.process-step {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: all var(--transition);
    z-index: 1;
    border: 1px solid var(--border);
}
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--deep));
    color: #fff;
    border-radius: 50%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 22px;
    box-shadow: 0 8px 18px rgba(14, 89, 149, 0.3);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* =================== CTA =================== */
.cta-section {
    position: relative;
    padding: 90px 0;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--deep) 100%), url('../images/cta-bg.jpg') center/cover;
    background-blend-mode: overlay;
    z-index: -1;
}
.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/cta-bg.jpg') center/cover;
    opacity: 0.35;
}
.cta-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cta-text h2 { color: #fff; margin-bottom: 14px; }
.cta-text p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.05rem; }
.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}
.cta-mail { color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.cta-mail:hover { color: #fff; }

/* =================== CONTACT =================== */
.contact { background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-list { margin-top: 30px; }
.contact-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: none; }
.contact-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(14, 89, 149, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list strong {
    display: block;
    color: var(--deep);
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.contact-list a, .contact-list span { color: var(--text); }
.contact-list a:hover { color: var(--primary); }

.contact-card {
    background: linear-gradient(135deg, var(--primary), var(--deep));
    color: #fff;
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}
.contact-card h3 { color: #fff; margin-bottom: 12px; }
.contact-card p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }
.contact-card .btn { background: #fff; color: var(--primary); }
.contact-card .btn:hover { background: rgba(255, 255, 255, 0.9); }
.contact-card-foot {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-card-foot span { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }
.contact-card-foot a { color: #fff; font-weight: 700; }
.contact-card-foot a:hover { color: #74b8f0; }

/* =================== FOOTER =================== */
.site-footer {
    background: var(--deep);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 50px;
    padding-bottom: 50px;
}
.footer-brand .footer-logo {
    height: 66px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 0.92rem; line-height: 1.7; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* =================== SCROLL TOP =================== */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 900;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--deep); color: #fff; transform: translateY(-4px); }

/* =================== REVEAL =================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =================== TECHNOLOGIES (LOGOS) =================== */
.technologies { background: var(--bg); }
.tech-logos-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 22px;
    margin-top: 10px;
}
.tech-logo-card {
    background: #fff;
    padding: 28px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    transition: all var(--transition);
    min-height: 160px;
}
.tech-logo-card img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.tech-logo-card span {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--deep);
    text-align: center;
    line-height: 1.3;
}
.tech-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* =================== CLIENTS =================== */
.clients { background: var(--bg-soft); }
.clients-group { margin-bottom: 60px; }
.clients-group:last-child { margin-bottom: 0; }
.clients-group-head {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}
.clients-group-title {
    display: inline-block;
    color: var(--deep);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 10px 26px;
    background: #fff;
    border-radius: 100px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.03em;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.client-card {
    background: #fff;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    aspect-ratio: 1.5 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.client-card img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;

    opacity: 0.85;
    transition: all var(--transition);
}
.client-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.client-card:hover img {

    opacity: 1;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
    .about-grid, .ai-grid, .cta-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .ai-cards { grid-template-columns: 1fr 1fr; }
    .cta-actions { align-items: flex-start; }
    .contact-card { position: static; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-grid::before { display: none; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .tech-logos-grid { grid-template-columns: repeat(4, 1fr); }
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .hero { padding: 140px 0 100px; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: 280px; height: 100vh;
        background: #fff;
        padding: 90px 30px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
    .main-nav a { color: var(--deep); display: block; width: 100%; }
    body.nav-open .main-nav { transform: translateX(0); }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--deep); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--deep); }
    .header-cta { display: none; }

    .unit-grid, .tech-grid, .ai-cards, .process-grid, .two-col { grid-template-columns: 1fr; }
    .tech-logos-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .service-block { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
    .service-block.reverse > :first-child { order: 0; }

    .tech-stack { padding: 40px 24px; }

    .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero-stats li { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 16px; }
    .hero-stats li:last-child { grid-column: span 2; border-bottom: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }

    .about-badge { bottom: -20px; right: 20px; padding: 18px 22px; }
    .about-badge strong { font-size: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.7rem; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-logo { height: 48px; }
}
