/* ==========================================================================
   iTech Solution – Main Stylesheet
   ========================================================================== */

:root {
    --primary: #0a6cf5;
    --primary-dark: #0549b8;
    --sky: #13a8ff;
    --navy: #0b2a5b;
    --ink: #0f1a2e;
    --text: #4a5568;
    --muted: #7a8699;
    --line: #e5eaf2;
    --bg: #ffffff;
    --bg-alt: #f4f8fe;
    --dark: #0a1630;
    --gradient: linear-gradient(135deg, #13a8ff 0%, #0a6cf5 50%, #0b2a5b 100%);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(10, 40, 90, .08);
    --shadow-lg: 0 24px 60px rgba(10, 40, 90, .15);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.6em;
    border-radius: 999px;
    font-weight: 700; font-size: .95rem; font-family: inherit;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--sky), var(--primary)); color: #fff; box-shadow: 0 10px 24px rgba(10, 108, 245, .3); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(10, 108, 245, .4); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { color: var(--primary-dark); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { color: var(--primary); background: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--primary);
    background: rgba(10, 108, 245, .08);
    padding: .45em 1em; border-radius: 999px;
    margin-bottom: 1.1rem;
}

.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .5em; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #c9d5ea; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 1rem; }
.topbar a { color: #c9d5ea; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar-info i { color: var(--sky); margin-right: .4em; }
.topbar-social { display: flex; gap: 1rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 40, 90, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { height: 50px; width: auto; }
.brand-text { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > ul { list-style: none; display: flex; gap: .4rem; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: flex; align-items: center; gap: .4em;
    padding: .6em 1em; border-radius: 999px;
    color: var(--ink); font-weight: 600; font-size: .96rem;
}
.main-nav > ul > li > a i { font-size: .65rem; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--primary); background: rgba(10, 108, 245, .07); }

.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 250px; list-style: none; margin: 0; padding: .6rem;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: .8em; padding: .7em .9em; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .94rem; }
.dropdown a i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(10,108,245,.08); color: var(--primary); }
.dropdown a:hover, .dropdown a.active { background: var(--bg-alt); color: var(--primary); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 90px 0 110px;
    background: radial-gradient(1200px 600px at 85% -10%, rgba(19, 168, 255, .16), transparent 60%),
                radial-gradient(900px 500px at -10% 110%, rgba(10, 108, 245, .10), transparent 60%),
                #fff;
}
.hero-shape { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-shape-1 { width: 380px; height: 380px; right: -120px; top: 60px; background: radial-gradient(circle, rgba(19,168,255,.18), transparent 70%); animation: float 9s ease-in-out infinite; }
.hero-shape-2 { width: 240px; height: 240px; left: 40%; bottom: -80px; background: radial-gradient(circle, rgba(10,108,245,.14), transparent 70%); animation: float 11s ease-in-out infinite reverse; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }

.hero-trust { display: flex; align-items: center; gap: 1rem; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; box-shadow: var(--shadow); }
.avatars img:first-child { margin-left: 0; }
.hero-trust small { color: var(--muted); font-weight: 600; }
.stars { color: #ffb400; font-size: .85rem; letter-spacing: 2px; }

.hero-visual { position: relative; }
.hero-image { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); border: 8px solid #fff; }
.hero-image img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.float-card {
    position: absolute; display: flex; align-items: center; gap: .8rem;
    background: #fff; padding: .9rem 1.2rem; border-radius: 16px; box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}
.float-card i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--gradient); color: #fff; font-size: 1.1rem; }
.float-card strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: .8rem; }
.float-card-1 { left: -30px; bottom: 40px; }
.float-card-2 { right: -20px; top: 30px; animation-delay: -3s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Page hero ---------- */
.page-hero {
    position: relative; overflow: hidden;
    padding: 48px 0 44px; text-align: center; color: #d8e6ff;
    background: var(--gradient);
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 22px 22px; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .35em; }
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.02rem; line-height: 1.6; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5em; font-size: .8rem; line-height: 1.4; margin-bottom: .7rem; background: rgba(255,255,255,.12); padding: .25em .9em; border-radius: 999px; }
.breadcrumb a { color: #fff; }
.breadcrumb i { font-size: .6rem; opacity: .7; }

/* ---------- Stats ---------- */
.stats { margin-top: -55px; position: relative; z-index: 2; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 2rem 1rem;
}
.stat { text-align: center; padding: .5rem 1rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong, .stat span { font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat p { margin: .4rem 0 0; font-weight: 600; color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #b8c6de; position: relative; overflow: hidden; }
.section-dark::before {
    content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px;
    background: radial-gradient(circle, rgba(19, 168, 255, .2), transparent 65%);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; position: relative; }
.section-head p { font-size: 1.08rem; }
.section-head.light h2 { color: #fff; }
.section-head.light .eyebrow { background: rgba(19,168,255,.15); color: var(--sky); }

.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Service cards */
.service-card {
    position: relative; background: #fff; padding: 2.4rem 2rem; border-radius: var(--radius);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(10,108,245,.3); }
.service-card.featured { background: var(--gradient); border: 0; color: #dce9ff; }
.service-card.featured h3, .service-card.featured .link-arrow { color: #fff; }
.service-card.featured .service-icon { background: rgba(255,255,255,.18); color: #fff; }
.service-card.featured .check-list li::before { color: #fff; }
.service-card .link-arrow { margin-top: auto; }
.service-card.small { padding: 2rem 1.8rem; }
.service-card.small p { margin: 0; }

.service-icon {
    width: 64px; height: 64px; display: grid; place-items: center;
    border-radius: 18px; font-size: 1.6rem; margin-bottom: 1.4rem;
    background: linear-gradient(135deg, rgba(19,168,255,.14), rgba(10,108,245,.14)); color: var(--primary);
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.check-list li { position: relative; padding-left: 1.8em; margin-bottom: .5em; font-weight: 500; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--primary); font-size: .85em; top: .15em; }
.check-list.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media > img { border-radius: 24px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.media-badge {
    position: absolute; right: -20px; bottom: -24px;
    background: var(--gradient); color: #fff; padding: 1.3rem 1.6rem; border-radius: 18px;
    display: flex; align-items: center; gap: .9rem; box-shadow: var(--shadow-lg);
}
.media-badge strong { font-size: 2.4rem; line-height: 1; }
.media-badge span { font-size: .88rem; line-height: 1.35; font-weight: 600; }
.service-row + .service-row { margin-top: 110px; }

.feature-list { display: grid; gap: 1.4rem; margin-top: 2rem; }
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature h4 { margin-bottom: .25em; }
.feature p { margin: 0; font-size: .96rem; }
.feature-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--gradient); color: #fff; font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(10,108,245,.25);
}

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.mini-stats div { background: var(--bg-alt); border-radius: 14px; padding: 1.1rem; text-align: center; }
.mini-stats strong { display: block; font-size: 1.7rem; color: var(--primary); line-height: 1.1; }
.mini-stats span { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2.2rem 1.6rem; text-align: center; transition: transform .3s, box-shadow .3s;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-step > i { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.process-step p { margin: 0; font-size: .95rem; }
.step-num {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--gradient); color: #fff; font-weight: 800; font-size: .82rem;
    padding: .3em .9em; border-radius: 999px;
}

/* Tech */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.tech {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px; padding: 1.5rem 1rem; text-align: center;
    transition: background .3s, transform .3s, border-color .3s;
}
.tech:hover { background: rgba(19,168,255,.1); border-color: rgba(19,168,255,.4); transform: translateY(-4px); }
.tech i { font-size: 2.2rem; color: var(--sky); display: block; margin-bottom: .6rem; }
.tech span { font-weight: 600; font-size: .9rem; color: #e4ecfa; }

/* Testimonials */
.testimonial {
    margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative;
}
.testimonial::after { content: '\201C'; position: absolute; top: 10px; right: 26px; font-size: 5rem; line-height: 1; color: rgba(10,108,245,.1); font-family: Georgia, serif; }
.testimonial blockquote { margin: 1rem 0 1.5rem; font-size: 1rem; color: var(--ink); }
.testimonial figcaption { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.testimonial figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption strong { display: block; color: var(--ink); }
.testimonial figcaption span { font-size: .85rem; color: var(--muted); }

/* About */
.mv-card { background: #fff; border-radius: var(--radius); padding: 2.6rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mv-card p { margin: 0; }
.value-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card > i { font-size: 1.7rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.value-card p { margin: 0; font-size: .95rem; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: var(--shadow); padding-bottom: 1.4rem; transition: transform .3s; }
.team-card:hover { transform: translateY(-6px); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 1.2rem; }
.team-card h4 { margin-bottom: .1em; }
.team-card span { color: var(--primary); font-weight: 600; font-size: .9rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(10,108,245,.3); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.5rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--primary); transition: transform .3s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.3rem; margin: 0; }

/* CTA */
.cta-band { padding: 0 0 100px; }
.cta-band:first-child, .section-alt + .cta-band { padding-top: 100px; }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    background: var(--gradient); border-radius: 28px; padding: 3.5rem; color: #d8e6ff;
    position: relative; overflow: hidden;
}
.cta-inner::before {
    content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
    right: -100px; top: -160px; background: rgba(255,255,255,.08);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4em; }
.cta-inner p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.contact-info h2 { margin-bottom: .3em; }
.info-card {
    display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; margin-top: 1rem;
    border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
a.info-card:hover { border-color: var(--primary); box-shadow: var(--shadow); color: var(--ink); }
.info-card small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.info-card strong { word-break: break-word; }
.info-card .info-sub { display: block; font-size: .9rem; color: var(--text); line-height: 1.5; }

.contact-form-wrap { background: #fff; border-radius: 24px; padding: 2.6rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
    padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-alt);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(10,108,245,.12);
}
.form-group textarea { resize: vertical; }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.alert { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.4rem; font-weight: 500; }
.alert i { margin-top: .3em; }
.alert ul { margin: 0; padding: 0; list-style: none; }
.alert-success { background: #e8f8ef; color: #17693a; border: 1px solid #bfe8cf; }
.alert-error { background: #fdecec; color: #a12828; border: 1px solid #f5c2c2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #9fb0cc; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 60px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.2rem; }
.footer-brand img { height: 46px; background: #fff; border-radius: 12px; padding: 5px; }
.footer-brand span { font-size: 1.6rem; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.footer-brand strong { color: var(--sky); }
.site-footer h4 { color: #fff; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .7rem; }
.site-footer a { color: #9fb0cc; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); transition: background .2s; }
.footer-social a:hover { background: var(--primary); }
.footer-contact li { display: flex; gap: .8rem; align-items: flex-start; }
.footer-contact i { color: var(--sky); margin-top: .35em; width: 16px; }
.footer-contact small { display: block; font-size: .78rem; color: #6f82a3; }
.footer-contact a { word-break: break-word; line-height: 1.6; }
.footer-contact .office-label { display: block; color: #fff; font-weight: 600; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.4rem 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gradient); color: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { gap: 1rem; }
}

@media (max-width: 960px) {
    :root { --header-h: 72px; }
    .brand-icon { height: 42px; }
    .brand-text { height: 36px; }

    .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h));
        flex-direction: column; align-items: stretch; gap: 1rem;
        background: #fff; padding: 1.5rem 20px 2rem; overflow-y: auto;
        transform: translateX(100%); transition: transform .35s ease;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > ul { flex-direction: column; gap: .2rem; }
    .main-nav > ul > li > a { padding: .9em 1em; font-size: 1.05rem; border-radius: 12px; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
    .nav-cta { width: 100%; }
    body.nav-open { overflow: hidden; }

    .hero { padding: 60px 0 100px; }
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .split.reverse .split-media { order: 0; }
    .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .cards-3, .process { grid-template-columns: 1fr 1fr; }
    .cards-4 { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
    .stat:nth-child(2) { border-right: 0; }
    .section { padding: 80px 0; }
    .service-row + .service-row { margin-top: 80px; }
    .media-badge { right: 16px; }
}

@media (max-width: 640px) {
    .topbar-social { display: none; }
    .topbar-info { gap: .3rem 1rem; padding: .5rem 0; font-size: .8rem; }
    .brand-icon { height: 36px; }
    .brand-text { height: 30px; }

    .cards-2, .cards-3, .cards-4, .process, .form-row, .mini-stats, .check-list.two-col { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .float-card { padding: .7rem .9rem; }
    .float-card-1 { left: 0; bottom: -20px; }
    .float-card-2 { right: 0; top: -20px; }
    .hero-image { transform: none; }
    .stat strong, .stat span { font-size: 2.1rem; }
    .cta-inner { padding: 2.4rem 1.6rem; }
    .contact-form-wrap { padding: 1.8rem 1.3rem; }
    .mv-card { padding: 2rem; }
    .section { padding: 64px 0; }
    .process { row-gap: 32px; }
    .btn-lg { width: 100%; }
}
