/* =====================================================================
   Fourio Solutions: site styles (light theme)
   ===================================================================== */
:root {
    --bg: #ffffff;
    --bg-soft: #f7f6fb;
    --bg-tint: #f3effa;
    --ink: #16122b;
    --text: #2b2740;
    --muted: #5d5a72;
    --subtle: #8b889d;
    --line: #e8e6ef;
    --line-strong: #d9d6e4;

    --brand: #6b2291;
    --brand-600: #7a2ea6;
    --brand-500: #8e44c4;
    --brand-100: #efe4f8;
    --brand-50: #f8f2fd;
    --cyan: #0e8fa8;
    --cyan-50: #e8f7fa;
    --green: #0f9d6b;
    --green-50: #e7f7f0;
    --amber: #c27a06;
    --amber-50: #fdf4e3;
    --blue: #2563eb;
    --blue-50: #eaf1fe;
    --pink: #b43aa6;
    --pink-50: #fbeef9;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(22, 18, 43, .05), 0 2px 8px rgba(22, 18, 43, .04);
    --shadow-md: 0 10px 30px -12px rgba(22, 18, 43, .18), 0 4px 10px -4px rgba(22, 18, 43, .06);
    --shadow-lg: 0 30px 60px -24px rgba(67, 25, 110, .28), 0 10px 24px -10px rgba(22, 18, 43, .10);
    --nav-h: 76px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg);
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--ink); letter-spacing: -.025em; line-height: 1.15; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: 64px 0; }

#scroll-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0; z-index: 1100; background: linear-gradient(90deg, var(--brand), var(--brand-500), var(--cyan)); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.center::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.hl { color: var(--brand); }
.hl-under { background: linear-gradient(transparent 62%, var(--brand-100) 62%); padding: 0 .08em; }
.lead { font-size: 19px; color: var(--muted); line-height: 1.7; }
.prose p { margin-bottom: 18px; color: var(--muted); font-size: 17px; }
.prose p strong { color: var(--ink); }
.prose h2 { font-size: 30px; margin: 8px 0 16px; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 12px; font-weight: 650; font-size: 15px; line-height: 1.2;
    text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(107, 34, 145, .55); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(107, 34, 145, .6); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--brand-500); color: var(--brand); transform: translateY(-2px); }
.btn-whatsapp { background: #128c55; color: #fff; box-shadow: 0 8px 20px -8px rgba(18, 140, 85, .55); }
.btn-whatsapp:hover { background: #0f7a4a; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--brand); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--brand-600); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
    background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 18, 43, .35); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { display: flex; align-items: center; flex: none; }
.brand-logo img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > button {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
    font-size: 15px; font-weight: 550; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
    transition: color .2s, background .2s;
}
.main-nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button { color: var(--brand); background: var(--brand-50); }
.main-nav > a[aria-current="page"], .nav-drop.current > button { color: var(--brand); }
.nav-drop { position: relative; }
.nav-drop > button svg { transition: transform .2s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
    width: 560px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-drop.open .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-panel a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.nav-panel a:hover { background: var(--bg-soft); }
.nav-panel .ico { width: 38px; height: 38px; }
.nav-panel strong { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.nav-panel span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 990; background: #fff; overflow-y: auto;
    padding: 16px 20px 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); font-size: 17px; }
.mobile-menu .group-label { display: block; margin: 22px 4px 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.mobile-menu .ico { width: 34px; height: 34px; }
.mobile-menu .btn { width: 100%; margin-top: 22px; justify-content: center; border-bottom: 0; }
.mobile-menu .btn-primary { color: #fff; }

/* ---------- Icons ---------- */
.ico {
    width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center;
    color: var(--c, var(--brand)); background: var(--c50, var(--brand-50)); border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 18%, transparent);
}
.c-brand { --c: var(--brand); --c50: var(--brand-50); }
.c-cyan { --c: var(--cyan); --c50: var(--cyan-50); }
.c-green { --c: var(--green); --c50: var(--green-50); }
.c-amber { --c: var(--amber); --c50: var(--amber-50); }
.c-blue { --c: var(--blue); --c50: var(--blue-50); }
.c-pink { --c: var(--pink); --c50: var(--pink-50); }

/* ---------- Chips / tags / status ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 12.5px; font-weight: 550; line-height: 1; padding: 7px 10px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c, var(--brand)); background: var(--c50, var(--brand-50)); padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 30px; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.delivered { color: var(--green); background: var(--green-50); }
.status.active { color: var(--blue); background: var(--blue-50); }
.status.active::before { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); } 70% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; flex: none; animation: pulse-g 2s infinite; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(15, 157, 107, .5); } 70% { box-shadow: 0 0 0 8px rgba(15, 157, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 157, 107, 0); } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.card.hover:hover, a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 80px) 0 80px; position: relative; overflow-x: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(22, 18, 43, .09) 1px, transparent 1px); background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: -1; opacity: .55; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 24px; }
.hero .lead { max-width: 580px; margin-bottom: 32px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; color: var(--muted); font-size: 14.5px; }
.trust-row .item { display: inline-flex; align-items: center; gap: 8px; }
.trust-row strong { color: var(--ink); }
.trust-row .sep { width: 1px; height: 18px; background: var(--line-strong); }
.stars { color: #f5a524; letter-spacing: 1px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px; border-radius: 40px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 550; color: var(--text); text-decoration: none; }
.hero-badge b { background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 30px; }
.hero-badge:hover { border-color: var(--line-strong); }

.hero-visual { position: relative; }
.hero-visual .window { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.float-card {
    position: absolute; z-index: 2; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-md); animation: bob 6s ease-in-out infinite; min-width: 190px;
}
.float-card .k { font-size: 11.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); }
.float-card .v { font-weight: 700; font-size: 14.5px; margin-top: 3px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--nav-h) + 64px) 0 64px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin-bottom: 20px; max-width: 900px; }
.page-hero .lead { max-width: 700px; margin-bottom: 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--subtle); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs li { list-style: none; display: flex; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: var(--line-strong); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.stat { padding: 28px; display: flex; gap: 16px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat-lbl { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.35; }

/* ---------- Platforms / marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.platform { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; color: var(--subtle); white-space: nowrap; transition: color .2s, border-color .2s; }
.platform:hover { color: var(--ink); border-color: var(--line-strong); }
.platform i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--brand)); opacity: .7; }

/* ---------- Service cards ---------- */
.service-card { padding: 30px; display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.service-card h3 { font-size: 21px; margin: 22px 0 10px; }
.service-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.service-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.service-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); }
.service-card li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--c50, var(--brand-50)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b2291' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.service-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 15px; color: var(--c, var(--brand)); }
.service-card:hover .more svg { transform: translateX(4px); }
.more svg { transition: transform .25s var(--ease); }

/* ---------- Thumbnails / mockups ---------- */
.thumb { position: relative; overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 10; }
.thumb > svg.mock, .thumb > picture, .thumb > img, .thumb > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.thumb img { object-fit: cover; object-position: top center; }
.thumb > svg.mock, .thumb img { transition: transform .7s var(--ease); }

/* ---------- Work / project cards ---------- */
.work-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; text-align: left; height: 100%; text-decoration: none; color: inherit; }
a.card, .contact-line { text-decoration: none; color: inherit; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.work-card:hover .thumb img, .work-card:hover .thumb > svg.mock { transform: scale(1.04); }
.work-card .thumb { border-bottom: 1px solid var(--line); }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.work-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.work-card .client { font-size: 13.5px; font-weight: 600; color: var(--brand); margin-bottom: 10px; }
.work-card .desc { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-card .chips { margin-bottom: 18px; }
.work-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; color: var(--brand); }
.work-card:hover .more svg { transform: translateX(4px); }
.work-card.hidden { display: none; }
.work-card.pop { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Featured split ---------- */
.featured { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; margin-bottom: 28px; }
.featured.flip .featured-media { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.featured-media { position: relative; min-height: 460px; border-right: 1px solid var(--line); background: var(--bg-soft); }
.featured-media .thumb { position: absolute; inset: 0; aspect-ratio: auto;
    background: radial-gradient(ellipse at 88% 0%, rgba(142, 68, 196, .18), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(14, 143, 168, .10), transparent 60%),
                radial-gradient(rgba(22, 18, 43, .09) .9px, transparent .9px) 0 0 / 14px 14px, #f7f6fb; }
.featured-media .thumb > svg.mock > rect { display: none; } /* panel background replaces the mockup's own */
.featured-body { padding: 44px; display: flex; flex-direction: column; }
.featured-body h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; margin: 16px 0 14px; }
.featured-body > p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.result { padding: 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.result b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; line-height: 1.3; color: var(--ink); }
.result span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.featured-foot { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.featured:hover .thumb > svg.mock, .featured:hover .thumb img { transform: scale(1.025); }

/* ---------- Tabs ---------- */
.tabs-wrap { position: sticky; top: var(--nav-h); z-index: 900; padding: 14px 0; margin-bottom: 30px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.tabs-wrap.stuck { border-bottom-color: var(--line); box-shadow: 0 10px 24px -20px rgba(22, 18, 43, .5); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 30px; cursor: pointer; white-space: nowrap; font-size: 14.5px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line-strong); transition: all .2s; }
.tab:hover { color: var(--ink); border-color: var(--subtle); }
.tab .count { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 20px; background: var(--bg-soft); color: var(--subtle); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab[aria-selected="true"] .count { background: rgba(255, 255, 255, .18); color: #fff; }
.load-more-wrap { text-align: center; margin-top: 44px; }
.load-more-wrap .note { display: block; margin-top: 12px; font-size: 14px; color: var(--subtle); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { padding: 28px 24px; position: relative; }
.step-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 800; color: var(--brand); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; }
.checklist li { display: flex; gap: 14px; }
.checklist li .ico { width: 40px; height: 40px; border-radius: 10px; }
.checklist b { display: block; color: var(--ink); font-size: 16px; }
.checklist span { color: var(--muted); font-size: 15px; }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; }
.estimator-form { padding: 44px; }
.estimator-out { padding: 44px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.estimator-out h3 { color: #fff; }
.field { margin-bottom: 26px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field output { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--brand); font-size: 18px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(107, 34, 145, .35); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.big-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(40px, 5vw, 58px); letter-spacing: -.03em; line-height: 1; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.out-box { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.out-box .k { font-size: 12.5px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.out-box .v { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; margin-top: 4px; }
.fine { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b2291' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: 72px 40px; text-align: center; color: #fff; background: radial-gradient(ellipse at 20% 0%, #8e44c4 0%, transparent 55%), radial-gradient(ellipse at 90% 100%, #0e8fa8 0%, transparent 50%), #3a1152; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; max-width: 780px; margin: 0 auto 16px; }
.cta-band p { color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 620px; margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-secondary { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-primary:hover { background: var(--brand-50); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 14px; text-decoration: none; }
.contact-line strong { display: block; color: var(--ink); font-size: 16px; }
.contact-line span { color: var(--muted); font-size: 14.5px; }
.form { padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-50); }
.form .field { margin-bottom: 18px; }
.form-status { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; background: var(--green-50); color: var(--green); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #120f22; color: rgba(255, 255, 255, .7); padding: 80px 0 36px; font-size: 15px; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-logo img { height: 36px; margin-bottom: 18px; }
.site-footer address { font-style: normal; display: grid; gap: 8px; margin-top: 18px; }
.site-footer address span { display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ---------- Floating WhatsApp ---------- */
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 950; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 60px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); font-weight: 650; font-size: 14px; transition: transform .25s var(--ease); }
.float-wa:hover { transform: translateY(-3px); }
.float-wa .bubble { width: 42px; height: 42px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; }
.float-wa small { display: block; font-size: 11.5px; color: var(--green); font-weight: 700; letter-spacing: .03em; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; background: rgba(22, 18, 43, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-panel { width: 100%; max-width: 920px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(22, 18, 43, .5); animation: rise .35s var(--ease); position: relative; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.modal-close:hover { border-color: var(--brand-500); color: var(--brand); }
.modal .thumb { aspect-ratio: 16 / 8; border-bottom: 1px solid var(--line); }
.modal .thumb.fullshot { aspect-ratio: auto; min-height: 320px; max-height: 480px; overflow-y: auto; background: #fff; }
.modal .thumb.fullshot img { position: relative; height: auto; object-fit: initial; }
.fullshot-hint { position: sticky; bottom: 12px; float: right; margin: -44px 12px 0 0; z-index: 2; font-size: 12px; font-weight: 650; color: #fff; background: rgba(22, 18, 43, .8); padding: 7px 12px; border-radius: 20px; pointer-events: none; }
.modal-body { padding: 32px 36px 36px; }
.modal-body h3 { font-size: 28px; font-weight: 800; margin: 14px 0 6px; }
.modal-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 22px; }
.modal-body h4 { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 12px; font-weight: 700; }
.modal-body .overview { color: var(--text); font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
.built { list-style: none; display: grid; gap: 10px; }
.built li { position: relative; padding-left: 28px; font-size: 15px; color: var(--muted); }
.built li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d6b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.side-block { padding: 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 14px; }
.outcome { display: flex; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 550; }
.outcome + .outcome { margin-top: 10px; }
.outcome i { font-style: normal; color: var(--brand); }
.live-link { display: inline-flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 650; color: var(--cyan); text-decoration: none; margin-top: 6px; }
.live-link:hover { text-decoration: underline; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .18s; } .d4 { transition-delay: .24s; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
    .main-nav, .header-actions .btn-secondary { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero-grid, .split, .contact-grid, .estimator { grid-template-columns: 1fr; }
    .hero-visual { max-width: 640px; width: 100%; margin: 0 auto; }
    .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .featured, .featured.flip { grid-template-columns: 1fr; }
    .featured.flip .featured-media { order: 0; border-left: 0; }
    .featured-media { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    :root { --nav-h: 68px; }
    body { font-size: 15.5px; }
    .container { padding: 0 16px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 36px; }
    .section-head p, .lead { font-size: 16.5px; }
    .brand-logo img { height: 32px; }
    .header-actions .btn-whatsapp span { display: none; }
    .header-actions .btn-whatsapp { padding: 10px; }
    .hero { padding: calc(var(--nav-h) + 44px) 0 56px; }
    .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
    .trust-row .sep { display: none; }
    .float-card { display: none; }
    .float-card.keep { display: block; right: 8px !important; left: auto !important; bottom: -22px !important; top: auto !important; min-width: 0; padding: 10px 12px; }
    .page-hero { padding: calc(var(--nav-h) + 36px) 0 48px; }
    .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; gap: 16px; }
    .stat { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .stat-num { font-size: 24px; }
    .featured-body, .estimator-form, .estimator-out, .form { padding: 26px 20px; }
    .results, .out-grid { grid-template-columns: 1fr; }
    .featured-foot .btn { flex: 1 1 100%; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .tabs-wrap { margin-left: -16px; margin-right: -16px; }
    .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
    .tabs::-webkit-scrollbar { display: none; }
    .tab { scroll-snap-align: start; padding: 9px 14px; font-size: 14px; }
    .cta-band { padding: 52px 22px; border-radius: 18px; }
    .modal { padding: 0; }
    .modal-panel { border-radius: 0; min-height: 100%; }
    .modal-body { padding: 24px 18px 96px; }
    .modal-body h3 { font-size: 23px; }
    .modal-cols { grid-template-columns: 1fr; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .float-wa { padding: 6px; right: 14px; bottom: 14px; }
    .float-wa .txt { display: none; }
    .faq summary { padding: 18px; font-size: 16px; }
    .faq .answer { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
