/* MPY Gurus - landing page styles */

:root {
    --navy: #0a2a5e;
    --navy-dark: #041a3f;
    --blue: #0072eb;
    --blue-dark: #0057b8;
    --cyan: #14b9fe;
    --cyan-light: #8fe0ff;
    --ink: #0d1b33;
    --muted: #5d6280;
    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --border: #e7ebf3;
    --brand-gradient: linear-gradient(120deg, var(--navy) 0%, var(--blue) 55%, var(--cyan) 100%);
    --radius: 20px;
    --shadow: 0 14px 40px rgba(10, 26, 58, 0.08);
    --shadow-lg: 0 28px 70px rgba(10, 26, 58, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 106px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection { background: rgba(0, 114, 235, 0.85); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

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

/* Scroll reveal (keyframes, so hover transforms on the same element still work) */
.js [data-reveal]:not(.in) { opacity: 0; }
.js [data-reveal].in { animation: rvUp 0.85s var(--ease) var(--d, 0ms) backwards; }
.js [data-reveal="left"].in { animation-name: rvLeft; }
.js [data-reveal="right"].in { animation-name: rvRight; }
.js [data-reveal="zoom"].in { animation-name: rvZoom; }
@keyframes rvUp { from { opacity: 0; transform: translateY(32px); } }
@keyframes rvLeft { from { opacity: 0; transform: translateX(-36px); } }
@keyframes rvRight { from { opacity: 0; transform: translateX(36px); } }
@keyframes rvZoom { from { opacity: 0; transform: scale(0.94); } }

/* Scroll progress */
.progress {
    position: fixed;
    top: 0; left: 0;
    height: 4px;
    width: 100%;
    z-index: 100;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
}

/* Buttons */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn::before {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn:hover::before { left: 130%; }
.btn-primary {
    background: linear-gradient(120deg, var(--blue), var(--navy));
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 114, 235, 0.32);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(0, 114, 235, 0.45); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(11, 99, 209, 0.3); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35); }

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--border);
    box-shadow: 0 8px 30px rgba(26, 29, 58, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 106px; gap: 20px; transition: height 0.3s var(--ease); }
.scrolled .nav { height: 82px; }
.logo img { height: 82px; width: auto; mix-blend-mode: multiply; transition: height 0.3s var(--ease); }
.scrolled .logo img { height: 62px; }
.logo-fallback { font-weight: 800; font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.93rem; color: var(--muted); }
.nav-links a { position: relative; padding: 8px 16px; border-radius: 999px; transition: color 0.2s ease, background 0.2s ease; }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 2px;
    width: 0; height: 3px;
    border-radius: 3px;
    background: var(--brand-gradient);
    transform: translateX(-50%);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { width: 24px; }
.menu-btn {
    display: none;
    width: 46px; height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 29, 58, 0.06);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 100px;
    background: var(--bg);
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(26, 29, 58, 0.14) 1.2px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    opacity: 0.55;
}
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 110px;
    z-index: -1;
    background: linear-gradient(#fff, rgba(255, 255, 255, 0));
    pointer-events: none;
}
.blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    animation: drift 16s ease-in-out infinite alternate;
}
.blob.b1 { width: 420px; height: 420px; top: -140px; right: -80px; background: var(--cyan); }
.blob.b2 { width: 380px; height: 380px; bottom: -160px; left: -100px; background: var(--navy); animation-delay: -5s; }
.blob.b3 { width: 340px; height: 340px; top: 20%; left: 34%; background: var(--blue); opacity: 0.22; animation-delay: -9s; }
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.15); }
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(26, 29, 58, 0.06);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}
.eyebrow i {
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 0.8rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 800; margin: 22px 0 18px; letter-spacing: -0.5px; }
.rotator { display: grid; }
.rotator span {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.1em;
}
.rotator span.on { opacity: 1; transform: none; transition: opacity 0.5s ease 0.28s, transform 0.6s var(--ease) 0.28s; }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.hero-points i { color: var(--blue); margin-right: 8px; }

/* Hero visual */
.visual { position: relative; min-height: 430px; perspective: 1000px; }
.ribbon {
    position: absolute;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    opacity: 0.95;
    translate: calc(var(--px, 0) * 26px) calc(var(--py, 0) * 26px);
    transition: translate 0.4s ease-out;
    animation: morph 10s ease-in-out infinite alternate;
}
.ribbon.r1 { width: 230px; height: 230px; top: 0; left: 4%; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.ribbon.r2 { width: 210px; height: 210px; bottom: 0; right: 0; background: linear-gradient(135deg, var(--blue), var(--cyan)); animation-delay: -4s; }
.ribbon.r3 { width: 110px; height: 110px; top: 46%; left: -2%; background: linear-gradient(135deg, var(--cyan), var(--cyan-light)); animation-delay: -7s; }
@keyframes morph {
    0% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
    100% { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; }
}
.window {
    position: absolute;
    inset: 46px 6% 46px 10%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius);
    box-shadow: 0 30px 70px rgba(26, 29, 58, 0.26);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.35s ease-out;
    will-change: transform;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; }
.window-bar span:nth-child(1) { background: var(--navy); }
.window-bar span:nth-child(2) { background: var(--blue); }
.window-bar span:nth-child(3) { background: var(--cyan); }
.window-bar em { margin-left: 10px; flex: 1; height: 18px; border-radius: 9px; background: #fff; border: 1px solid var(--border); }
.window-body { display: grid; grid-template-columns: 46px 1fr; height: calc(100% - 45px); }
.side { background: var(--bg-soft); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; }
.side i { width: 22px; height: 22px; border-radius: 7px; background: var(--border); }
.side i:first-child { background: var(--brand-gradient); }
.main { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border-radius: 12px; padding: 10px; display: grid; gap: 7px; }
.kpi b { display: block; height: 7px; width: 55%; border-radius: 4px; background: rgba(26, 29, 58, 0.18); }
.kpi u { display: block; height: 14px; width: 80%; border-radius: 5px; background: currentColor; text-decoration: none; }
.kpi:nth-child(1) { background: rgba(10, 42, 94, 0.1); color: var(--navy); }
.kpi:nth-child(2) { background: rgba(11, 99, 209, 0.12); color: var(--blue); }
.kpi:nth-child(3) { background: rgba(20, 185, 254, 0.16); color: #0e9dd6; }
.chart { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 9px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.chart i {
    flex: 1;
    height: var(--h);
    border-radius: 7px 7px 0 0;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    transform-origin: bottom;
    animation: barGrow 1.1s var(--ease) both;
    animation-delay: calc(var(--i) * 90ms + 500ms);
}
.chart i:nth-child(3n) { background: linear-gradient(180deg, var(--blue), var(--navy)); }
.chart i:nth-child(5n) { background: linear-gradient(180deg, var(--cyan-light), var(--cyan)); }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    white-space: nowrap;
    translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -18px);
    transition: translate 0.4s ease-out;
}
.float-chip > span { display: flex; align-items: center; gap: 10px; animation: float 5s ease-in-out infinite; }
.float-chip i { font-size: 1rem; }
.float-chip.c1 { top: 10px; right: -6px; }
.float-chip.c1 i { color: var(--navy); }
.float-chip.c2 { bottom: 26px; left: -4px; }
.float-chip.c2 > span { animation-delay: 1.4s; }
.float-chip.c2 i { color: var(--blue); }
.float-chip.c3 { bottom: 118px; right: -14px; }
.float-chip.c3 > span { animation-delay: 2.6s; }
.float-chip.c3 i { color: var(--cyan); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee {
    background: var(--ink);
    color: #fff;
    padding: 20px 0;
    overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.4px; white-space: nowrap; }
.marquee-item i { font-size: 0.8rem; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0, 114, 235, 0.09);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blue);
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; margin: 16px 0 14px; letter-spacing: -0.3px; }
.section-head p { color: var(--muted); }

/* Services */
#services { background: var(--bg-soft); position: relative; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 30px 30px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(26, 29, 58, 0.04);
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.card::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--accent, var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card > * { position: relative; }
.card .num {
    position: absolute;
    top: 22px; right: 26px;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 28%, transparent);
    transition: -webkit-text-stroke-color 0.3s ease;
}
.card:hover .num { -webkit-text-stroke-color: var(--accent); }
.card .icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: var(--accent);
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #fff));
    box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 38%, transparent);
    margin-bottom: 22px;
    transition: transform 0.4s var(--ease);
}
.card:hover .icon { transform: rotate(-8deg) scale(1.1); }
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--muted); }
.card .more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
}
.card .more i { transition: transform 0.3s var(--ease); }
.card:hover .more i { transform: translateX(6px); }
.card.navy { --accent: var(--navy); }
.card.blue { --accent: var(--blue); }
.card.cyan { --accent: #0ea5d8; }

/* Why / Tech */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1020px; margin: 0 auto; }
.tech-item {
    position: relative;
    text-align: center;
    padding: 40px 28px 34px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.tech-item::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.tech-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tech-item:hover::before { opacity: 1; }
.tech-item .icon {
    position: relative;
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    background: var(--accent);
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff));
    box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 40%, transparent);
}
.tech-item .icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: ring 2.8s ease-out infinite;
}
.tech-item:nth-child(2) .icon::after { animation-delay: 0.9s; }
.tech-item:nth-child(3) .icon::after { animation-delay: 1.8s; }
@keyframes ring { 0% { transform: scale(0.85); opacity: 0.7; } 100% { transform: scale(1.35); opacity: 0; } }
.tech-item .icon .letter { font-family: inherit; font-weight: 800; font-size: 1.9rem; line-height: 1; }
.tech-item h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.tech-item p { font-size: 0.93rem; color: var(--muted); }
.tech-item.navy { --accent: var(--navy); }
.tech-item.blue { --accent: var(--blue); }
.tech-item.cyan { --accent: #0ea5d8; }

/* Process */
#process { background: var(--bg-soft); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 12.5%; right: 12.5%;
    height: 3px;
    border-radius: 3px;
    background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px);
    opacity: 0.35;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step .num {
    position: relative;
    width: 68px; height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.35rem;
    color: #fff;
    background: var(--brand-gradient);
    box-shadow: 0 12px 26px rgba(11, 99, 209, 0.28), 0 0 0 7px var(--bg-soft);
    transition: transform 0.4s var(--ease);
}
.step:hover .num { transform: scale(1.12) rotate(-6deg); }
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* Contact CTA */
#contact { padding: 60px 0 100px; }
.cta {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 76px 32px;
    text-align: center;
    color: #fff;
    background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 45%, var(--cyan) 78%, var(--navy) 100%);
    background-size: 220% 100%;
    animation: shift 12s ease-in-out infinite alternate;
    box-shadow: 0 30px 70px rgba(4, 26, 63, 0.35);
}
@keyframes shift { to { background-position: 100% 0; } }
.cta::before, .cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: drift 14s ease-in-out infinite alternate;
}
.cta::before { width: 340px; height: 340px; top: -150px; left: -100px; background: rgba(20, 185, 254, 0.35); }
.cta::after { width: 380px; height: 380px; bottom: -190px; right: -90px; background: rgba(4, 26, 63, 0.45); animation-delay: -6s; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: 12px; }
.cta p { max-width: 520px; margin: 0 auto; opacity: 0.92; }
.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 28px;
    font-size: clamp(1.6rem, 4.6vw, 2.7rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: transform 0.3s var(--ease);
}
.cta-phone:hover { transform: scale(1.04); }
.cta-phone i {
    position: relative;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.cta-phone i::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: ring 2s ease-out infinite;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Footer */
footer { position: relative; padding: 36px 0 32px; text-align: center; font-size: 0.88rem; color: var(--muted); background: var(--bg); }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-gradient); }
footer .logo img { height: 52px; margin: 0 auto 12px; }
.foot-tagline { font-size: 0.78rem; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); opacity: 0.7; margin-bottom: 18px; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 14px; font-weight: 500; }
.foot-links a:hover { color: var(--blue); }

/* Floating buttons */
.fab {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 60;
    width: 58px; height: 58px;
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem;
    background: linear-gradient(120deg, var(--blue), var(--navy));
    box-shadow: 0 10px 26px rgba(0, 114, 235, 0.45);
}
.fab::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--blue);
    animation: ring 2s ease-out infinite;
}
.totop {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 55;
    width: 48px; height: 48px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 1.3rem;
    background: var(--ink);
    box-shadow: 0 10px 26px rgba(26, 29, 58, 0.3);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease), background 0.2s ease;
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--blue); }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .visual { min-height: 400px; max-width: 500px; margin: 0 auto; width: 100%; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .tech { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 680px) {
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 16px 18px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(26, 29, 58, 0.1);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.3s var(--ease);
    }
    .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links a { padding: 14px 16px; font-size: 1rem; }
    .nav-links a::after { display: none; }
    .nav-links a.active { background: rgba(0, 114, 235, 0.08); color: var(--blue); }
    .nav { height: 88px; }
    .scrolled .nav { height: 70px; }
    .logo img { height: 66px; }
    .scrolled .logo img { height: 52px; }
    .hero { padding: 44px 0 64px; }
    section { padding: 68px 0; }
    .cards { grid-template-columns: 1fr; }
    .visual { min-height: 360px; }
    .float-chip.c3 { display: none; }
    .cta { padding: 54px 20px; border-radius: 24px; }
    .fab { display: flex; }
    .totop { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .js [data-reveal]:not(.in) { opacity: 1; }
    .rotator span:first-child { opacity: 1; transform: none; }
}
