:root {
    --ms-ink: #080909;
    --ms-panel: #111312;
    --ms-soft: #f4f5f1;
    --ms-white: #ffffff;
    --ms-lime: #b7f000;
    --ms-muted: #7b847b;
    --ms-line: #dfe4dc;
    --ms-radius: 14px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--ms-soft); color: var(--ms-ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body:has(.site-home), body:has(.ms-portfolio), body:has(.ms-contact) { overflow-x: hidden; }
body:has(.site-home) .preloader__monteiro,
body:has(.ms-portfolio) .preloader__monteiro,
body:has(.ms-contact) .preloader__monteiro { display: none !important; }
body:has(.site-home) > .footer__section,
body:has(.site-home) > .subside__barmenu,
body:has(.site-home) > .progress-wrap,
body:has(.site-home) > .social-contact,
body:has(.ms-portfolio) > .footer__section,
body:has(.ms-portfolio) > .subside__barmenu,
body:has(.ms-portfolio) > .progress-wrap,
body:has(.ms-portfolio) > .social-contact,
body:has(.ms-contact) > .footer__section,
body:has(.ms-contact) > .subside__barmenu,
body:has(.ms-contact) > .progress-wrap,
body:has(.ms-contact) > .social-contact { display: none !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

.ms-skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 12px 16px; border-radius: 6px; background: var(--ms-lime); color: var(--ms-ink); font-weight: 700; }
.ms-skip-link:focus { top: 16px; }
.ms-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.ms-kicker, .ms-eyebrow { color: var(--ms-lime); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; font-weight: 800; }
.ms-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 22px; border: 0; border-radius: 8px; background: var(--ms-lime); color: #0a0d08; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.ms-button:hover { color: #0a0d08; background: #d1ff3e; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(183,240,0,.16); }
.ms-button span { font-size: 18px; line-height: 0; }
.ms-button--small { padding: 13px 18px; }
.ms-button--ghost { border: 1px solid rgba(255,255,255,.42); background: transparent; color: #fff; }
.ms-button--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.ms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ms-text-link { display: inline-flex; color: inherit; font-size: 13px; font-weight: 800; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.ms-text-link:hover { color: var(--ms-lime); }
.ms-text-link--lime { color: #6d8d00; }
.ms-whatsapp-float { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 13px 17px 13px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: #20c463; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.24); font-size: 13px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.ms-whatsapp-float i { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #fff; color: #20c463; font-size: 16px; }
.ms-whatsapp-float:hover { color: #fff; background: #19ae56; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.3); }

/* Shared header */
.ms-header { position: absolute; z-index: 20; inset: 0 0 auto; color: #fff; transition: background .3s ease, border-color .3s ease; }
.ms-header.is-scrolled { position: fixed; background: rgba(8,9,9,.88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.1); }
.ms-header__inner { display: flex; align-items: center; gap: 38px; height: 78px; }
.ms-brand { display: block; width: 147px; margin-right: auto; }
.ms-brand img { display: block; width: 100%; height: auto; }
.ms-nav { display: flex; align-items: center; gap: 30px; }
.ms-nav a, .ms-mobile-nav a { color: rgba(255,255,255,.78); font-size: 13px; font-weight: 600; transition: color .2s ease; }
.ms-nav a:hover, .ms-mobile-nav a:hover { color: var(--ms-lime); }
.ms-menu-toggle, .ms-mobile-nav { display: none; }

/* Home */
.site-home { background: var(--ms-soft); }
.ms-hero { position: relative; min-height: 760px; padding: 150px 0 80px; overflow: hidden; color: #fff; background: radial-gradient(circle at 65% 45%, rgba(183,240,0,.13), transparent 24%), radial-gradient(circle at 15% 20%, rgba(255,255,255,.04), transparent 30%), var(--ms-ink); }
.ms-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(183,240,0,.7), transparent); }
.ms-hero__grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 48px; min-height: 540px; }
.ms-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: #a4aaa2; }
.ms-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ms-lime); box-shadow: 0 0 0 5px rgba(183,240,0,.1); }
.ms-hero h1 { max-width: 650px; margin: 0 0 24px; color: #f7f8f5; font: 800 clamp(3.1rem, 6vw, 5.75rem)/.96 Manrope, Inter, sans-serif; letter-spacing: -.075em; }
.ms-highlight { color: var(--ms-lime); }
.ms-hero__copy { max-width: 480px; margin: 0 0 34px; color: #a6aaa5; font-size: 17px; line-height: 1.6; }
.ms-hero__proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; color: #7e887d; font-size: 11px; letter-spacing: .03em; }
.ms-hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.ms-hero__proof span::before { content: "✓"; color: var(--ms-lime); font-weight: 900; }
.ms-hero__visual { position: relative; min-height: 510px; }
.ms-hero-collage { isolation: isolate; }
.ms-hero-shot { position: absolute; overflow: hidden; border: 7px solid #202423; border-radius: 15px; background: #f2f3ef; box-shadow: 0 30px 65px rgba(0,0,0,.55); }
.ms-hero-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ms-hero-shot--main { z-index: 1; top: 25px; right: 0; width: 88%; height: 355px; transform: perspective(1200px) rotateY(-7deg) rotateX(2deg); }
.ms-hero-shot--main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%); pointer-events: none; }
.ms-shot-label { position: absolute; z-index: 2; top: 14px; left: 18px; padding: 7px 10px; border-radius: 999px; background: rgba(8,9,9,.83); color: var(--ms-lime); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ms-hero-shot--phone { z-index: 3; left: 4px; bottom: 24px; width: 160px; height: 310px; transform: rotate(-7deg); }
.ms-hero-shot--small { z-index: 4; right: -8px; bottom: 4px; width: 235px; height: 158px; transform: rotate(4deg); }
.ms-hero-shot--small img { filter: saturate(.78); }
.ms-hero-shot--small strong { position: absolute; inset: auto 14px 12px; color: #fff; font: 700 17px/1.05 Manrope, Inter, sans-serif; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.ms-hero__note { position: absolute; right: 10%; bottom: -2px; color: #606961; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.ms-trust { padding: 26px 0; background: #0d0f0e; color: #8d928c; }
.ms-trust__inner { display: flex; align-items: center; gap: 35px; }
.ms-trust__label { white-space: nowrap; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.ms-logos { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 25px; opacity: .67; }
.ms-logos img { max-width: 110px; max-height: 29px; object-fit: contain; filter: grayscale(1) brightness(2); }
.ms-section { padding: 120px 0; }
.ms-section h2 { max-width: 700px; margin: 12px 0 0; font: 700 clamp(2.1rem,4vw,4rem)/1.04 Manrope, Inter, sans-serif; letter-spacing: -.065em; }
.ms-section p { color: #6d746d; line-height: 1.65; }
.ms-section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.ms-section-intro { max-width: 330px; margin: 0; }
.ms-case { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; padding: 42px 0; border-top: 1px solid var(--ms-line); }
.ms-case + .ms-case { margin-top: 28px; }
.ms-case--reverse .ms-case__visual { order: 2; }
.ms-case__visual { position: relative; display: block; min-height: 315px; overflow: hidden; border-radius: var(--ms-radius); background: #dfe2dc; }
.ms-case__visual img { display: block; width: 100%; height: 100%; min-height: 315px; object-fit: cover; object-position: top; transition: transform .5s ease; }
.ms-case__visual:hover img { transform: scale(1.035); }
.ms-case__visit { position: absolute; right: 18px; bottom: 18px; padding: 10px 13px; border-radius: 999px; background: rgba(8,9,9,.84); color: #fff; font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
.ms-case__visual:hover .ms-case__visit { opacity: 1; transform: translateY(0); }
.ms-case__copy { max-width: 420px; }
.ms-case__meta { color: #7a9d00; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ms-case__title { margin: 14px 0; color: var(--ms-ink); font: 700 clamp(1.7rem,3vw,2.8rem)/1.05 Manrope, Inter, sans-serif; letter-spacing: -.055em; }
.ms-case__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 28px; }
.ms-case__tags span { padding: 7px 9px; border: 1px solid var(--ms-line); border-radius: 999px; color: #687069; font-size: 11px; }
.ms-solutions { color: #fff; background: var(--ms-ink); }
.ms-solutions h2, .ms-solutions p { color: #fff; }
.ms-solutions .ms-section-head { align-items: end; }
.ms-solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ms-solution { display: flex; flex-direction: column; min-height: 295px; padding: 25px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: linear-gradient(145deg,#171a18,#101210); transition: transform .25s ease, border-color .25s ease; }
.ms-solution:hover { border-color: rgba(183,240,0,.55); transform: translateY(-5px); }
.ms-solution__number { color: var(--ms-lime); font-size: 12px; }
.ms-solution__icon { margin: 35px 0 23px; color: var(--ms-lime); font-size: 26px; }
.ms-solution h3 { margin: 0 0 12px; color: #fff; font: 600 18px Manrope, Inter, sans-serif; }
.ms-solution p { margin: 0; color: #9da49d; font-size: 13px; line-height: 1.55; }
.ms-solution a { margin-top: auto; padding-top: 24px; color: var(--ms-lime); font-size: 12px; font-weight: 800; }
.ms-products { background: #fff; }
.ms-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ms-product-card { overflow: hidden; border: 1px solid #e1e6de; border-radius: 12px; background: #f7f8f5; }
.ms-product-card__image { display: block; height: 210px; overflow: hidden; background: #e7ebe4; }
.ms-product-card__image picture, .ms-product-card__image img { display: block; width: 100%; height: 100%; }
.ms-product-card__image img { object-fit: cover; object-position: top; transition: transform .5s ease; }
.ms-product-card:hover .ms-product-card__image img { transform: scale(1.04); }
.ms-product-card__body { padding: 22px; }
.ms-product-card__body > span { color: #789300; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ms-product-card h3 { margin: 12px 0 10px; font: 700 25px/1 Manrope, Inter, sans-serif; letter-spacing: -.055em; }
.ms-product-card p { min-height: 105px; margin: 0 0 20px; font-size: 13px; }
.ms-process { background: #fff; }
.ms-process-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 70px; }
.ms-step { position: relative; padding: 0 22px 0 0; }
.ms-step:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 44px; width: calc(100% - 44px); border-top: 1px dashed #c7ccc4; }
.ms-step__num { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; margin-bottom: 26px; border: 1px solid #dce2d8; border-radius: 50%; background: #effad1; color: #729600; font-size: 11px; font-weight: 800; }
.ms-step h3 { margin: 0 0 12px; font: 600 17px Manrope, Inter, sans-serif; }
.ms-step p { max-width: 180px; margin: 0; font-size: 12px; }
.ms-results { padding: 85px 0; color: #fff; background: #111312; }
.ms-results__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.ms-quote { padding: 27px; border-left: 2px solid var(--ms-lime); border-radius: 0 10px 10px 0; background: #191c1a; }
.ms-quote p { margin: 0 0 20px; color: #e9ebe6; font-size: 16px; line-height: 1.55; }
.ms-quote small { color: #9aa19a; }
.ms-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.ms-metric strong { color: var(--ms-lime); font: 700 clamp(2rem,4vw,3.4rem) Manrope, Inter, sans-serif; letter-spacing: -.06em; }
.ms-metric span { display: block; margin-top: 5px; color: #9aa19a; font-size: 12px; }
.ms-about { padding: 0 0 120px; color: #fff; background: #111312; }
.ms-about__grid { display: grid; grid-template-columns: 1fr .7fr 1fr; gap: 42px; align-items: end; }
.ms-about h2 { margin: 10px 0 18px; color: #fff; font: 700 clamp(2rem,4vw,3.4rem)/1.05 Manrope, Inter, sans-serif; letter-spacing: -.06em; }
.ms-about p { color: #9da49d; font-size: 14px; line-height: 1.6; }
.ms-founder { width: 100%; max-height: 370px; border-radius: 12px; object-fit: cover; object-position: center top; filter: saturate(.75); }
.ms-about__cta { padding: 38px; border-radius: 11px; background: #1a1d1b; }
.ms-about__cta h3 { margin: 0 0 24px; color: #fff; font: 600 26px/1.1 Manrope, Inter, sans-serif; }
.ms-final { padding: 110px 0; background: var(--ms-lime); }
.ms-final__inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.ms-final h2 { max-width: 700px; margin: 10px 0 0; color: var(--ms-ink); font: 800 clamp(2.5rem,6vw,5.6rem)/.95 Manrope, Inter, sans-serif; letter-spacing: -.08em; }
.ms-final p { max-width: 310px; color: #4a5c12; line-height: 1.5; }
.ms-final .ms-button { background: #080909; color: #fff; }
.ms-final .ms-button:hover { background: #252c21; }
.ms-footer { padding: 26px 0; color: #7d857c; background: #080909; font-size: 12px; }
.ms-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.ms-footer img { width: 125px; }
.ms-footer a { color: #cdd1cb; }

/* Portfolio */
.ms-portfolio { min-height: 100vh; background: var(--ms-soft); }
.ms-portfolio-hero, .ms-contact-hero { position: relative; min-height: 500px; padding: 160px 0 85px; color: #fff; background: radial-gradient(circle at 75% 45%, rgba(183,240,0,.13), transparent 27%), var(--ms-ink); }
.ms-portfolio-hero__inner, .ms-contact-hero__inner { display: flex; flex-direction: column; justify-content: end; min-height: 255px; }
.ms-portfolio-hero h1, .ms-contact-hero h1 { max-width: 860px; margin: 18px 0 18px; color: #f7f8f5; font: 800 clamp(3rem,7vw,6.4rem)/.94 Manrope, Inter, sans-serif; letter-spacing: -.08em; }
.ms-portfolio-hero p, .ms-contact-hero p { max-width: 560px; margin: 0; color: #a6aaa5; font-size: 17px; line-height: 1.6; }
.ms-portfolio-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 35px; color: #899289; font-size: 12px; }
.ms-portfolio-hero__meta span::before { content: "•"; margin-right: 8px; color: var(--ms-lime); }
.ms-portfolio-list { padding: 80px 0 120px; }
.ms-portfolio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.ms-filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-filter { padding: 12px 15px; border: 1px solid #d8ded5; border-radius: 999px; background: transparent; color: #606960; cursor: pointer; font-size: 12px; font-weight: 800; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.ms-filter span { margin-left: 4px; opacity: .65; }
.ms-filter:hover, .ms-filter.is-active { border-color: var(--ms-ink); background: var(--ms-ink); color: #fff; }
.ms-portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ms-portfolio-card { overflow: hidden; border: 1px solid #e0e5dd; border-radius: 14px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.ms-portfolio-card:hover { box-shadow: 0 20px 50px rgba(8,9,9,.08); transform: translateY(-4px); }
.ms-portfolio-card__media { position: relative; display: block; height: 315px; overflow: hidden; background: #e7ebe4; }
.ms-portfolio-card__media picture, .ms-portfolio-card__media img { display: block; width: 100%; height: 100%; }
.ms-portfolio-card__media img { object-fit: cover; object-position: top; transition: transform .5s ease; }
.ms-portfolio-card:hover .ms-portfolio-card__media img { transform: scale(1.035); }
.ms-portfolio-card__overlay { position: absolute; right: 18px; bottom: 18px; padding: 10px 13px; border-radius: 999px; background: rgba(8,9,9,.84); color: #fff; font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
.ms-portfolio-card:hover .ms-portfolio-card__overlay { opacity: 1; transform: translateY(0); }
.ms-portfolio-card__body { padding: 25px; }
.ms-portfolio-card__eyebrow { display: flex; justify-content: space-between; gap: 15px; color: #789300; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ms-portfolio-card__eyebrow span:last-child { color: #9ba39a; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.ms-portfolio-card h2 { margin: 14px 0 10px; color: var(--ms-ink); font: 700 30px/1 Manrope, Inter, sans-serif; letter-spacing: -.06em; }
.ms-portfolio-card p { min-height: 68px; margin: 0; font-size: 14px; }
.ms-portfolio-card__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 22px; }
.ms-portfolio-empty { padding: 50px; border: 1px dashed #cbd3c7; border-radius: 12px; color: #6d746d; text-align: center; }
.ms-final--portfolio { margin-top: 0; }

/* Contact */
.ms-contact { min-height: 100vh; background: var(--ms-soft); }
.ms-contact-hero { min-height: 430px; }
.ms-contact-hero__inner { min-height: 190px; }
.ms-contact-content { padding: 85px 0 120px; }
.ms-contact-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 30px; align-items: start; }
.ms-contact-form-card { padding: clamp(26px,4vw,48px); border: 1px solid #e0e5dd; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(8,9,9,.05); }
.ms-contact-card-head { margin-bottom: 30px; }
.ms-contact-card-head h2 { max-width: 600px; margin: 12px 0 0; color: var(--ms-ink); font: 700 clamp(2rem,4vw,3.2rem)/1.04 Manrope, Inter, sans-serif; letter-spacing: -.06em; }
.ms-contact-card-head p { color: #6d746d; }
.ms-contact-selected { display: inline-block; margin: 22px 0 0; padding: 10px 13px; border-radius: 999px; background: #effad1; color: #5f7800 !important; font-size: 12px; }
.ms-contact-form { display: grid; gap: 20px; }
.ms-form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.ms-contact-form label { display: grid; gap: 8px; color: #3c443d; font-size: 12px; font-weight: 800; }
.ms-contact-form input, .ms-contact-form select, .ms-contact-form textarea { width: 100%; border: 1px solid #dce2d9; border-radius: 7px; outline: 0; background: #fbfcfa; color: var(--ms-ink); padding: 14px 15px; font-size: 14px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease; }
.ms-contact-form textarea { resize: vertical; min-height: 150px; }
.ms-contact-form input:focus, .ms-contact-form select:focus, .ms-contact-form textarea:focus { border-color: #8cad00; box-shadow: 0 0 0 3px rgba(183,240,0,.18); }
.ms-button--submit { width: 100%; margin-top: 4px; cursor: pointer; }
.ms-contact-aside { display: grid; gap: 16px; }
.ms-contact-direct { padding: 35px; border-radius: 14px; color: #fff; background: #111312; }
.ms-contact-direct h2 { margin: 12px 0 15px; color: #fff; font: 700 32px/1.03 Manrope, Inter, sans-serif; letter-spacing: -.06em; }
.ms-contact-direct p { margin: 0 0 26px; color: #a6aaa5; line-height: 1.65; }
.ms-contact-details { display: grid; gap: 0; border: 1px solid #e0e5dd; border-radius: 14px; background: #fff; }
.ms-contact-details div { display: grid; gap: 6px; padding: 20px 22px; border-bottom: 1px solid #e9ede7; }
.ms-contact-details div:last-child { border-bottom: 0; }
.ms-contact-details span { color: #7b847b; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ms-contact-details a, .ms-contact-details strong { color: var(--ms-ink); font-size: 14px; font-weight: 700; }
.ms-contact-details a:hover { color: #789300; }

/* Legal pages */
body:has(.ms-legal) { background: var(--ms-soft); color: var(--ms-ink); }
body:has(.ms-legal) > .footer__section, body:has(.ms-legal) > .subside__barmenu, body:has(.ms-legal) > .progress-wrap, body:has(.ms-legal) > .social-contact { display: none !important; }
.ms-legal { min-height: 100vh; background: var(--ms-soft); }
.ms-legal-hero { position: relative; min-height: 430px; padding: 150px 0 80px; color: #fff; background: radial-gradient(circle at 75% 45%,rgba(183,240,0,.12),transparent 26%),var(--ms-ink); }
.ms-legal-hero__inner { display: flex; flex-direction: column; justify-content: end; min-height: 200px; }
.ms-legal-hero h1 { max-width: 820px; margin: 18px 0 16px; color: #f7f8f5; font: 800 clamp(3rem,7vw,6.6rem)/.95 Manrope, Inter, sans-serif; letter-spacing: -.08em; }
.ms-legal-hero p { max-width: 480px; color: #a6aaa5; font-size: 16px; line-height: 1.55; }
.ms-legal-content { padding: 80px 0 115px; }
.ms-legal-card { max-width: 820px; margin: 0 auto; padding: clamp(25px,5vw,70px); border: 1px solid #e0e4dd; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(8,9,9,.05); }
.ms-legal-card p { margin: 0 0 22px; color: #5d655e; font-size: 15px; line-height: 1.8; }
.ms-legal-card p:first-child { color: var(--ms-ink); font-size: 17px; }
.ms-legal-card h1, .ms-legal-card h2, .ms-legal-card h3 { margin: 38px 0 14px; color: var(--ms-ink); font: 700 clamp(1.35rem,2.5vw,1.9rem)/1.15 Manrope, Inter, sans-serif; letter-spacing: -.04em; }
.ms-legal-card strong.h5 { display: block; margin: 38px 0 14px; color: var(--ms-ink); font: 700 clamp(1.35rem,2.5vw,1.9rem)/1.15 Manrope, Inter, sans-serif; letter-spacing: -.04em; }
.ms-legal-card strong.h5 + p { margin-top: 0; }
.ms-legal-footer { padding: 25px 0; color: #7d857c; background: var(--ms-ink); font-size: 12px; }
.ms-legal-footer .ms-shell { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.ms-legal-footer a { color: #d9ded5; font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
    .ms-hero__content { animation: ms-rise .75s cubic-bezier(.2,.7,.2,1) both; }
    .ms-hero__visual { animation: ms-fade .9s .1s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes ms-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ms-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1000px) {
    .ms-hero__grid { grid-template-columns: 1fr; }
    .ms-hero { padding-top: 125px; }
    .ms-hero__visual { min-height: 470px; }
    .ms-solution-grid, .ms-product-grid { grid-template-columns: repeat(2,1fr); }
    .ms-process-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 45px; }
    .ms-step { padding-left: 54px; }
    .ms-step__num { position: absolute; left: 0; top: 0; }
    .ms-step:not(:last-child)::after { top: 40px; left: 15px; width: 1px; height: calc(100% + 12px); border-top: 0; border-left: 1px dashed #c7ccc4; }
    .ms-step p { max-width: none; }
    .ms-results__grid, .ms-about__grid { grid-template-columns: 1fr; gap: 35px; }
    .ms-founder { max-height: 340px; }
    .ms-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .ms-shell { width: min(calc(100% - 40px), 680px); }
    .ms-nav, .ms-header .ms-button { display: none; }
    .ms-menu-toggle { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 0; background: none; }
    .ms-menu-toggle span { width: 24px; border-top: 2px solid #fff; }
    .ms-mobile-nav { padding: 16px 20px 25px; background: #0d0f0e; }
    .ms-mobile-nav a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 18px; }
    .ms-mobile-nav.is-open { display: block; }
    .ms-portfolio-grid { grid-template-columns: 1fr; }
    .ms-portfolio-hero, .ms-contact-hero { padding-top: 125px; }
}

@media (max-width: 600px) {
    .ms-shell { width: calc(100% - 32px); }
    .ms-brand { width: 125px; }
    .ms-hero { min-height: auto; padding-bottom: 55px; }
    .ms-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
    .ms-hero__visual { min-height: 360px; transform: scale(.91); transform-origin: left center; width: 110%; }
    .ms-hero-shot--main { height: 260px; }
    .ms-hero-shot--phone { width: 120px; height: 235px; }
    .ms-hero-shot--small { width: 180px; height: 120px; }
    .ms-hero-shot--small strong { font-size: 14px; }
    .ms-hero__proof { display: grid; gap: 8px; }
    .ms-trust__inner { display: block; }
    .ms-logos { flex-wrap: wrap; justify-content: flex-start; margin-top: 20px; }
    .ms-logos img { max-width: 92px; }
    .ms-section { padding: 80px 0; }
    .ms-section-head { display: block; }
    .ms-section-head .ms-text-link, .ms-section-head .ms-button { margin-top: 25px; }
    .ms-case { grid-template-columns: 1fr; gap: 30px; }
    .ms-case--reverse .ms-case__visual { order: 0; }
    .ms-case__visual, .ms-case__visual img { min-height: 225px; }
    .ms-case__visit, .ms-portfolio-card__overlay { opacity: 1; transform: none; }
    .ms-solution-grid, .ms-product-grid, .ms-metrics { grid-template-columns: 1fr; }
    .ms-product-card__body p { min-height: auto; }
    .ms-final__inner { display: block; }
    .ms-final p { margin: 28px 0; }
    .ms-footer__inner { flex-wrap: wrap; }
    .ms-portfolio-hero h1, .ms-contact-hero h1 { font-size: clamp(3rem,14vw,5rem); }
    .ms-portfolio-list, .ms-contact-content { padding: 55px 0 80px; }
    .ms-portfolio-toolbar { display: block; }
    .ms-portfolio-toolbar > .ms-button { margin-top: 18px; }
    .ms-filter { padding: 10px 12px; }
    .ms-portfolio-card__media { height: 240px; }
    .ms-portfolio-card h2 { font-size: 27px; }
    .ms-portfolio-card__eyebrow { display: grid; gap: 7px; }
    .ms-form-grid { grid-template-columns: 1fr; }
    .ms-contact-form-card, .ms-contact-direct { padding: 25px 20px; }
    .ms-contact-direct h2 { font-size: 28px; }
    .ms-whatsapp-float { right: 16px; bottom: 16px; padding: 13px; }
    .ms-whatsapp-float span { display: none; }
    .ms-legal-hero { min-height: 390px; padding: 125px 0 60px; }
    .ms-legal-content { padding: 45px 0 70px; }
    .ms-legal-card { padding: 25px 22px; }
    .ms-legal-card p { font-size: 14px; }
    .ms-legal-footer .ms-shell { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
