/* =========================================================
   Applied Software House — front page
   Palette taken from the logo: steel blue + brushed silver
   ========================================================= */
:root {
    --navy-900: #071a2f;
    --navy-800: #0b2545;
    --navy-700: #13355e;
    --blue-600: #1f6fae;
    --blue-500: #2b86c9;
    --blue-400: #4da3dd;
    --blue-100: #e3f0fa;
    --blue-50:  #f2f8fd;
    --silver-400: #a9b4c0;
    --silver-200: #dfe5eb;
    --ink: #0f1d2e;
    --body: #4a5a6c;
    --muted: #7a8898;
    --line: #e4eaf0;
    --bg: #ffffff;
    --green: #16a37a;

    --radius: 18px;
    --shadow-sm: 0 2px 6px rgba(11, 37, 69, .06);
    --shadow: 0 12px 34px -12px rgba(11, 37, 69, .18);
    --shadow-lg: 0 30px 70px -24px rgba(11, 37, 69, .35);
    --grad: linear-gradient(135deg, #1f6fae 0%, #2b86c9 50%, #4da3dd 100%);

    --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.w-100 { width: 100%; }

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-gradient-light {
    background: linear-gradient(135deg, #8fd0ff, #ffffff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 11px 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: var(--font-head);
    font-weight: 700; font-size: 15px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
    white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-primary {
    background: var(--grad); color: #fff;
    box-shadow: 0 10px 24px -10px rgba(31, 111, 174, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(31, 111, 174, .8); }
.btn-ghost { background: #fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue-600); border-color: #bcd7ee; }
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-500); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); }
.btn i { font-size: .9em; transition: transform .2s; }
.btn:hover .fa-arrow-right { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    padding: 14px 0;
    transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(11,37,69,.25);
    padding: 8px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--navy-800); letter-spacing: -.01em; }
.brand-text small { font-size: 11.5px; font-weight: 600; color: var(--blue-600); letter-spacing: .14em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 14px; border-radius: 10px;
    font-weight: 500; font-size: 15px; color: var(--navy-700);
    transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--blue-50); color: var(--blue-600); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .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;
    padding: 150px 0 90px;
    background: linear-gradient(180deg, #f4f9fe 0%, #ffffff 100%);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; background: #cfe6f8; top: -160px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.blob-2 { width: 420px; height: 420px; background: #e6edf4; bottom: -180px; left: -140px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(31,111,174,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31,111,174,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    background: #fff; border: 1px solid #d3e5f4;
    color: var(--blue-600); font-size: 13.5px; font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.eyebrow i { color: var(--green); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; margin: 22px 0 20px; }
#rotator { display: block; min-height: 1.15em; }
#rotator.swap { animation: swapIn .5s ease; }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.lead { font-size: 18.5px; max-width: 560px; color: var(--body); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--navy-700); }
.hero-points i { color: var(--blue-500); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; justify-self: center; display: grid; place-items: center; }
.logo-stage {
    position: relative; z-index: 2;
    width: 78%; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #ffffff 55%, #f1f7fc 100%);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.8);
    display: grid; place-items: center;
}
.hero-logo { width: 78%; mix-blend-mode: multiply; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(31,111,174,.25); }
.orbit-1 { inset: 0; animation: spin 50s linear infinite; }
.orbit-2 { inset: 9%; border-style: solid; border-color: rgba(169,180,192,.35); }
.orbit-1::after {
    content: ""; position: absolute; top: 12%; left: 12%;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--blue-500); box-shadow: 0 0 0 6px rgba(43,134,201,.15);
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
    position: absolute; z-index: 3;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 14px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 14px; color: var(--ink); }
.float-card small { font-size: 12.5px; color: var(--muted); }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.fc-icon.green { background: linear-gradient(135deg, #16a37a, #34c99b); }
.fc-icon.blue { background: var(--grad); }
.fc-1 { left: -6%; bottom: 14%; animation: floaty 7s ease-in-out infinite; }
.fc-2 { right: -4%; top: 10%; animation: floaty 8s ease-in-out infinite .8s; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.trust-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust-logos { display: flex; gap: 48px; flex-wrap: wrap; }
.trust-logos span { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--silver-400); letter-spacing: -.01em; transition: color .2s; }
.trust-logos span:hover { color: var(--navy-700); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-head h2, .split-copy h2, .contact-info h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 16px; }
.section-head p { font-size: 17.5px; }
.kicker {
    display: inline-block;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-600);
    padding: 6px 12px; border-radius: 8px; background: var(--blue-100);
}
.kicker.light { color: #bfe2ff; background: rgba(255,255,255,.08); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    position: relative;
    padding: 32px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
    overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe1f1; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: grid; place-items: center;
    font-size: 22px; color: var(--blue-600);
    background: linear-gradient(135deg, var(--blue-100), #f4f8fb);
    border: 1px solid #d6e7f5;
    margin-bottom: 22px;
    transition: background .3s, color .3s;
}
.service-card:hover .service-icon { background: var(--grad); color: #fff; border-color: transparent; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 15.5px; }

/* FBR dark */
.section-dark { background: radial-gradient(120% 120% at 0% 0%, var(--navy-700) 0%, var(--navy-800) 40%, var(--navy-900) 100%); color: #c4d3e3; overflow: hidden; }
.section-dark h2 { color: #fff; }
.dark-glow { position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(77,163,221,.35), transparent 65%); pointer-events: none; }
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy p { font-size: 17.5px; margin-bottom: 26px; }
.check-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #e3ecf5; font-weight: 500; }
.check-list i { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(77,163,221,.2); color: #8fd0ff; margin-top: 1px; }

.invoice-mock {
    max-width: 420px; margin: 0 auto;
    background: #fff; color: var(--body);
    border-radius: 20px; padding: 26px;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    transition: transform .5s ease;
}
.invoice-mock:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.inv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.inv-brand { display: flex; align-items: center; gap: 10px; }
.inv-brand strong { font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.inv-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--grad); }
.inv-badge { font-size: 12px; font-weight: 600; color: var(--green); background: #e5f7f0; padding: 5px 10px; border-radius: 999px; }
.inv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; background: var(--blue-50); border-radius: 12px; margin-bottom: 18px; }
.inv-meta small { display: block; font-size: 12px; color: var(--muted); }
.inv-meta strong { font-family: var(--font-head); font-size: 14.5px; color: var(--ink); }
.inv-rows { display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.inv-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink); }
.inv-row.muted { color: var(--muted); }
.inv-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.inv-total strong { font-family: var(--font-head); font-size: 22px; color: var(--blue-600); }
.inv-foot { display: flex; justify-content: space-between; align-items: center; }
.qr {
    width: 58px; height: 58px; border-radius: 8px;
    background:
        conic-gradient(from 90deg at 30% 30%, var(--ink) 25%, transparent 0) 0 0 / 14px 14px,
        repeating-linear-gradient(45deg, var(--ink) 0 3px, transparent 3px 7px);
    opacity: .85; border: 4px solid #fff; outline: 1px solid var(--line);
}
.inv-actions { display: flex; gap: 8px; }
.inv-actions span { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }

/* Clients */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.client-card {
    display: flex; flex-direction: column;
    padding: 30px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.client-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.client-avatar {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
}
.client-card h3 { font-size: 19px; }
.tag { font-size: 13px; color: var(--muted); font-weight: 500; }
.tag i { color: var(--blue-500); margin-right: 3px; }
.client-card p { font-size: 15.5px; flex: 1; }
.client-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--blue-600); display: flex; align-items: center; gap: 8px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; max-width: 1040px; margin: 0 auto; }
.price-card {
    position: relative;
    padding: 36px 32px; background: #fff;
    border: 1px solid var(--line); border-radius: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card h3 { font-size: 20px; }
.price-sub { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 46px; color: var(--ink); margin: 22px 0 6px; letter-spacing: -.03em; }
.price span { font-size: 18px; font-weight: 700; color: var(--muted); margin-right: 6px; vertical-align: 18px; }
.price-card ul { list-style: none; padding: 20px 0 0; margin: 18px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.price-card li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); }
.price-card li i { color: var(--blue-500); font-size: 13px; }
.price-card.featured {
    padding: 46px 34px;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.price-card.featured h3, .price-card.featured .price, .price-card.featured li { color: #fff; }
.price-card.featured .price-sub, .price-card.featured .price span { color: #9fb6cd; }
.price-card.featured ul { border-color: rgba(255,255,255,.12); }
.price-card.featured li i { color: #8fd0ff; }
.ribbon {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    padding: 6px 14px; border-radius: 999px;
    background: var(--grad); color: #fff;
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
    box-shadow: 0 8px 20px -8px rgba(31,111,174,.8);
}

/* Gallery */
.gallery { max-width: 1000px; margin: 0 auto; }
.browser { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f4f7fa; border-bottom: 1px solid var(--line); }
.browser-bar > span { width: 12px; height: 12px; border-radius: 50%; background: #e1e6eb; }
.browser-bar > span:nth-child(1) { background: #ff6058; }
.browser-bar > span:nth-child(2) { background: #ffbe2f; }
.browser-bar > span:nth-child(3) { background: #29c840; }
.browser-url { margin-left: 14px; flex: 1; max-width: 360px; padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.browser-url i { font-size: 11px; margin-right: 6px; color: var(--green); }
.browser-view { position: relative; aspect-ratio: 16 / 7.5; background: #fff; }
.g-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: contain; object-position: top center;
    opacity: 0; transform: scale(1.02);
    transition: opacity .6s ease, transform .6s ease;
    cursor: zoom-in;
}
.g-slide.active { opacity: 1; transform: none; z-index: 1; }
.g-nav {
    position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(255,255,255,.95);
    color: var(--navy-800); box-shadow: var(--shadow);
    transition: background .2s, color .2s, transform .2s;
}
.g-nav:hover { background: var(--blue-600); color: #fff; }
.g-nav.prev { left: 16px; }
.g-nav.next { right: 16px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 20px; }
.thumbs button {
    padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    background: #fff; aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-sm); opacity: .55;
    transition: opacity .2s, border-color .2s, transform .2s;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.thumbs button.active { opacity: 1; border-color: var(--blue-500); }

/* CTA */
.cta-wrap { padding: 0 0 20px; }
.cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 56px 60px; border-radius: 28px;
    background: var(--grad);
    box-shadow: 0 30px 60px -28px rgba(31,111,174,.8);
}
.cta::after {
    content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -160px;
    border-radius: 50%; border: 60px solid rgba(255,255,255,.08);
}
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta p { color: #e1f0fc; font-size: 17px; margin-top: 8px; }
.cta .btn { position: relative; z-index: 1; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info p { font-size: 17px; }
.info-list { display: grid; gap: 18px; margin-top: 34px; }
.info-item { display: flex; align-items: center; gap: 16px; }
.info-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); font-size: 19px; flex-shrink: 0; }
.info-item strong { display: block; font-family: var(--font-head); color: var(--ink); }
.info-item small { color: var(--muted); font-size: 14px; }
.info-item small a:hover, a.info-item:hover small { color: var(--blue-600); }
a.info-item { border-radius: 14px; transition: transform .2s; }
a.info-item:hover { transform: translateX(4px); }
.info-icon.wa { background: #e3f8ec; color: #1fa855; font-size: 22px; }

.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.footer-contact a { transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { width: 18px; color: var(--blue-400); }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25d366; color: #fff; font-size: 30px;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
    transition: transform .2s;
}
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.contact-form {
    padding: 36px; background: #fff;
    border: 1px solid var(--line); border-radius: 22px;
    box-shadow: var(--shadow);
    display: grid; gap: 18px;
}

/* Form fields (shared with modal) */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field span { font-size: 13.5px; font-weight: 600; color: var(--navy-700); }
.field input, .field textarea {
    width: 100%; padding: 13px 15px;
    border: 1px solid #d6dfe8; border-radius: 12px;
    background: #fbfcfe; color: var(--ink);
    font: inherit; font-size: 15px;
    transition: border-color .2s, box-shadow .2s, background .2s;
    resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(43,134,201,.15); }
.field input.invalid, .field textarea.invalid { border-color: #e0525a; box-shadow: 0 0 0 4px rgba(224,82,90,.12); }
.form-status { min-height: 1.2em; font-size: 14.5px; font-weight: 600; text-align: center; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #d0414a; }

/* Footer */
.footer { margin-top: 30px; background: var(--navy-900); color: #93a7bc; padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 16px; max-width: 460px; }
.footer-logo { width: 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.footer-logo img { width: 50px; mix-blend-mode: multiply; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 18px; }
.footer-brand p { font-size: 14.5px; margin-top: 4px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 26px; font-size: 14px; }

/* Modal */
.modal, .lightbox {
    position: fixed; inset: 0; z-index: 100;
    display: grid; place-items: center; padding: 20px;
    background: rgba(7, 26, 47, .55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.modal.open, .lightbox.open { opacity: 1; visibility: visible; }
.modal-box {
    position: relative; width: 100%; max-width: 560px;
    max-height: calc(100vh - 40px); overflow-y: auto;
    padding: 34px; background: #fff; border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(.97); transition: transform .35s ease;
}
.modal.open .modal-box { transform: none; }
.modal-box form { display: grid; gap: 16px; }
.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-right: 40px; }
.modal-logo { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.modal-head h3 { font-size: 22px; }
.modal-head p { font-size: 14.5px; color: var(--muted); }
.modal-close {
    position: absolute; top: 18px; right: 18px;
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; color: var(--navy-800);
    transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--blue-50); color: var(--blue-600); }
.modal-close.light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); z-index: 2; }
.lightbox { background: rgba(7, 26, 47, .88); }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .3s; }
.lightbox.open img { transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid, .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links a { padding: 8px 10px; }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed; top: 72px; left: 16px; right: 16px;
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 14px; background: #fff; border-radius: 18px;
        border: 1px solid var(--line); box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .nav-links.open { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: 12px 14px; }
    .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
    .nav-actions .btn { display: none; }
    .nav-toggle { display: flex; }
    .nav { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

    .hero { padding: 120px 0 70px; }
    .hero-inner, .split, .contact { grid-template-columns: 1fr; gap: 48px; }
    .hero-copy { text-align: center; }
    .hero-copy .lead { margin: 0 auto; }
    .hero-buttons, .hero-points { justify-content: center; }
    .hero-visual { max-width: 400px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
    .price-card.featured { order: -1; }
    .cta { flex-direction: column; text-align: center; padding: 44px 28px; }
    .section { padding: 80px 0; }
    .trust-inner { justify-content: center; text-align: center; }
    .trust-logos { justify-content: center; gap: 28px; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .services-grid, .clients-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .thumbs { grid-template-columns: repeat(3, 1fr); }
    .browser-view { aspect-ratio: 4 / 3; }
    .g-nav { width: 38px; height: 38px; }
    .fc-1 { left: 0; bottom: 4%; }
    .fc-2 { right: 0; top: 2%; }
    .float-card { padding: 9px 12px; }
    .float-card small { display: none; }
    .contact-form, .modal-box { padding: 24px; }
    .brand-text small { letter-spacing: .08em; }
    .invoice-mock { transform: none; }
}
