:root {
    --navy-950: #050d18;
    --navy-900: #071423;
    --navy-850: #0a1a2d;
    --navy-800: #0c2037;
    --blue: #2687ff;
    --cyan: #41d9ff;
    --red: #e31c2b;
    --red-dark: #bb0f1d;
    --green: #18a957;
    --ink: #111b2e;
    --muted: #5f6b7b;
    --line: #e4e9f0;
    --soft: #f6f8fb;
    --white: #fff;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 10px 30px rgba(7, 20, 35, .08);
    --shadow: 0 22px 60px rgba(7, 20, 35, .14);
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

svg {
    width: 1.25em;
    height: 1.25em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.8rem, 5.2vw, 5.6rem);
    letter-spacing: -.055em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.55rem);
    letter-spacing: -.04em;
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -.02em;
}

h1 em,
h2 em {
    color: var(--red);
    font-style: normal;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.narrow-container {
    max-width: 880px;
}

.section {
    position: relative;
    padding: 100px 0;
}

.section--soft {
    background: var(--soft);
}

.sr-only,
.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: -80px;
    left: 20px;
    padding: 10px 18px;
    color: var(--white);
    background: var(--red);
    border-radius: 0 0 8px 8px;
    transition: top .2s;
}

.skip-link:focus {
    top: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--red);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #ff6d79;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 18px;
}

.section-heading p {
    max-width: 670px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--center p {
    margin-inline: auto;
}

.section-heading--light {
    color: var(--white);
}

.section-heading--light p {
    color: #aab8cc;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button svg,
.text-link svg {
    width: 18px;
    height: 18px;
}

.button--large {
    min-height: 54px;
    padding: 15px 26px;
}

.button--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--red), #f02e3c);
    box-shadow: 0 12px 30px rgba(227, 28, 43, .25);
}

.button--primary:hover {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    box-shadow: 0 16px 36px rgba(227, 28, 43, .32);
}

.button--dark {
    color: var(--white);
    background: var(--navy-900);
}

.button--light {
    color: var(--navy-900);
    background: var(--white);
}

.button--outline-light {
    color: var(--white);
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .42);
}

.button--outline-light:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--white);
}

.button--whatsapp {
    color: var(--white);
    background: var(--green);
}

.button--block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--red);
    font-size: .88rem;
    font-weight: 800;
}

.text-link--light {
    color: #ff7b86;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.topbar {
    position: relative;
    z-index: 101;
    color: #d8e1ef;
    background: var(--navy-950);
    font-size: .78rem;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
}

.topbar__contacts,
.socials {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar__contacts a,
.footer-contact a,
.footer-contact > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar a:hover {
    color: var(--white);
}

.socials {
    gap: 9px;
}

.socials a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
}

.socials svg {
    width: 13px;
    height: 13px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(228, 233, 240, .88);
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
    box-shadow: 0 10px 35px rgba(7, 20, 35, .09);
}

.header__inner {
    display: flex;
    min-height: 86px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
}

.brand img {
    width: 64px;
    height: 60px;
    object-fit: contain;
}

.brand span {
    display: flex;
    flex-direction: column;
}

.brand strong {
    color: var(--navy-900);
    font-size: .94rem;
    letter-spacing: -.02em;
}

.brand small {
    max-width: 132px;
    color: var(--muted);
    font-size: .55rem;
    line-height: 1.25;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.primary-nav > a,
.nav-dropdown > button {
    position: relative;
    padding: 30px 0;
    color: #253248;
    background: transparent;
    border: 0;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-dropdown > button {
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-nav > a::after,
.nav-dropdown > button::after {
    position: absolute;
    right: 50%;
    bottom: 21px;
    left: 50%;
    height: 2px;
    content: "";
    background: var(--red);
    transition: left .2s, right .2s;
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after,
.nav-dropdown:hover > button::after,
.nav-dropdown > button[aria-expanded="true"]::after {
    right: 0;
    left: 0;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    visibility: hidden;
    top: calc(100% + 1px);
    left: 50%;
    min-width: 290px;
    padding: 16px;
    opacity: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    transform: translate(-50%, 10px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.nav-dropdown:hover > .dropdown-panel,
.nav-dropdown:focus-within > .dropdown-panel,
.nav-dropdown.is-open > .dropdown-panel {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.mega-panel {
    left: auto;
    right: -340px;
    display: grid;
    width: min(940px, calc(100vw - 40px));
    grid-template-columns: repeat(3, 1fr) 220px;
    gap: 20px;
    padding: 26px;
    transform: translateY(10px);
}

.nav-dropdown:hover > .mega-panel,
.nav-dropdown:focus-within > .mega-panel,
.nav-dropdown.is-open > .mega-panel {
    transform: translateY(0);
}

.menu-label {
    margin-bottom: 10px;
    color: var(--red);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    color: #344159;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 650;
}

.dropdown-panel a:hover {
    color: var(--red);
    background: #fff5f6;
}

.dropdown-panel a svg {
    flex: 0 0 auto;
    color: var(--red);
}

.mega-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 22px;
    color: var(--white);
    background: linear-gradient(150deg, var(--navy-900), #122c4c);
    border-radius: 14px;
}

.mega-cta span {
    color: #a9b9cf;
    font-size: .73rem;
}

.mega-cta strong {
    margin: 5px 0 18px;
    font-size: 1.05rem;
}

.mega-cta a {
    padding: 0;
    color: #ff7782;
}

.header-actions,
.mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .button {
    min-height: 42px;
    padding: 10px 17px;
    font-size: .74rem;
    text-transform: uppercase;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 11px;
    color: #344159;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: .76rem;
    font-weight: 700;
}

.nav-toggle,
.mobile-nav-actions {
    display: none;
}

.flash {
    margin-top: 18px;
    padding: 13px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.flash--success {
    color: #116536;
    background: #e9f9f0;
    border: 1px solid #bcead0;
}

.flash--error {
    color: #8c1821;
    background: #fff0f2;
    border: 1px solid #f5c5ca;
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-900);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(64, 131, 210, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(64, 131, 210, .18) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-grid::after {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at center, transparent 0, var(--navy-900) 72%);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    opacity: .22;
    border-radius: 50%;
    filter: blur(90px);
}

.hero-glow--red {
    bottom: -300px;
    left: -170px;
    background: var(--red);
}

.hero-glow--blue {
    top: 80px;
    right: -280px;
    background: var(--blue);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 720px;
    align-items: center;
    grid-template-columns: .92fr 1.08fr;
    gap: 60px;
    padding-block: 72px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #b7c6d9;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-kicker i {
    width: 32px;
    height: 2px;
    background: var(--red);
}

.hero h1 {
    max-width: 700px;
    margin-bottom: 24px;
    font-size: clamp(3.2rem, 5vw, 5.5rem);
}

.hero__copy > p {
    max-width: 610px;
    margin-bottom: 32px;
    color: #b7c6d9;
    font-size: 1.13rem;
}

.hero-metrics {
    display: flex;
    gap: 24px;
    margin-top: 42px;
}

.hero-metrics > div {
    display: grid;
    min-width: 120px;
    grid-template-columns: 40px auto;
    grid-template-rows: auto auto;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.hero-metrics > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.hero-metrics span {
    display: grid;
    width: 36px;
    height: 36px;
    grid-row: 1 / 3;
    place-items: center;
    color: #ff6673;
    border: 1px solid rgba(227, 28, 43, .55);
    border-radius: 50%;
}

.hero-metrics strong {
    font-size: 1.5rem;
    line-height: 1;
}

.hero-metrics small {
    margin-top: 5px;
    color: #a8b6c9;
    font-size: .72rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.browser-card {
    position: absolute;
    top: 18px;
    right: 0;
    width: 82%;
    overflow: hidden;
    background: #0a1b30;
    border: 1px solid rgba(126, 165, 214, .46);
    border-radius: 18px;
    box-shadow: 0 45px 100px rgba(0, 0, 0, .45);
}

.browser-bar {
    display: flex;
    align-items: center;
    height: 38px;
    gap: 6px;
    padding: 0 14px;
    color: #66829f;
    background: #11243c;
    font-size: .66rem;
}

.browser-bar i {
    width: 8px;
    height: 8px;
    background: #ff625d;
    border-radius: 50%;
}

.browser-bar i:nth-child(2) {
    background: #ffc044;
}

.browser-bar i:nth-child(3) {
    background: #31c957;
}

.browser-bar span {
    margin-left: 10px;
}

.browser-content {
    padding: 20px;
}

.browser-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: #e8eef8;
    font-size: .72rem;
}

.browser-nav span {
    color: #7690ad;
}

.dashboard-hero {
    min-height: 260px;
    padding: 36px;
    background: radial-gradient(circle at 80% 20%, rgba(45, 140, 255, .34), transparent 34%), linear-gradient(135deg, #102b4a, #091522);
    border: 1px solid rgba(66, 126, 195, .18);
    border-radius: 12px;
}

.dashboard-hero small {
    display: block;
    color: var(--cyan);
    text-transform: uppercase;
}

.dashboard-hero strong {
    display: block;
    max-width: 330px;
    margin-top: 10px;
    font-size: 1.75rem;
    line-height: 1.2;
}

.mini-bars {
    display: flex;
    height: 70px;
    align-items: flex-end;
    gap: 9px;
    margin-top: 36px;
}

.mini-bars i {
    width: 22px;
    height: 20%;
    background: linear-gradient(var(--blue), var(--cyan));
    border-radius: 4px 4px 0 0;
}

.mini-bars i:nth-child(2) {
    height: 45%;
}

.mini-bars i:nth-child(3) {
    height: 35%;
}

.mini-bars i:nth-child(4) {
    height: 72%;
}

.mini-bars i:nth-child(5) {
    height: 58%;
}

.mini-bars i:nth-child(6) {
    height: 92%;
}

.floating-card {
    position: absolute;
    z-index: 4;
    padding: 17px;
    background: rgba(11, 30, 51, .92);
    border: 1px solid rgba(120, 162, 211, .34);
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .34);
    backdrop-filter: blur(14px);
}

.score-card {
    top: 192px;
    left: 0;
    width: 150px;
}

.score-card > span {
    display: block;
    color: #a8b6c9;
    font-size: .65rem;
}

.score-card strong {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 14px auto;
    place-items: center;
    font-size: 1.35rem;
    border: 7px solid #24c56b;
    border-left-color: rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.score-card strong small {
    font-size: .55rem;
}

.score-card i {
    display: block;
    height: 4px;
    margin-top: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .09);
    border-radius: 10px;
}

.score-card i b {
    display: block;
    width: 86%;
    height: 100%;
    background: #24c56b;
}

.score-card i:nth-of-type(2) b {
    width: 72%;
}

.analytics-card {
    top: 92px;
    right: -22px;
    width: 230px;
}

.analytics-card div {
    display: grid;
    grid-template-columns: 1fr auto;
}

.analytics-card span {
    color: #9db0c8;
    font-size: .65rem;
}

.analytics-card strong {
    grid-row: 2;
    font-size: 1.35rem;
}

.analytics-card small {
    grid-row: 2;
    color: #2bd879;
    font-size: .62rem;
}

.analytics-card svg {
    width: 100%;
    height: 70px;
    margin-top: 8px;
}

.chart-line {
    fill: none;
    stroke: #2d8cff;
    stroke-width: 3;
}

.chart-area {
    fill: url("#chartFill");
    opacity: .55;
}

.workflow-card {
    right: 18px;
    bottom: 56px;
    width: 78%;
    color: var(--ink);
    background: rgba(255, 255, 255, .97);
    border-color: var(--white);
}

.workflow-card > strong {
    font-size: .76rem;
}

.workflow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.workflow-row > span {
    display: flex;
    width: 21%;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.workflow-row svg {
    color: var(--blue);
}

.workflow-row small {
    font-size: .52rem;
    font-weight: 700;
}

.workflow-row b {
    color: #8794a7;
}

.hero-service-tags {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 12px;
}

.hero-service-tags span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: #a9bbd1;
    background: rgba(7, 20, 35, .75);
    border: 1px solid rgba(104, 148, 201, .2);
    border-radius: 9px;
    font-size: .62rem;
}

.hero-service-tags svg {
    color: var(--cyan);
}

.trust-strip {
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-strip p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.industry-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.industry-row span {
    color: #8a95a5;
    font-size: .85rem;
    font-weight: 800;
}

.services-section {
    background: linear-gradient(to bottom, #fff, #f7f9fc);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(7, 20, 35, .035);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.service-card:hover {
    border-color: rgba(227, 28, 43, .28);
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.service-card .icon-box {
    margin-bottom: 20px;
}

.service-card h3,
.service-card h2 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: .84rem;
}

.service-card .text-link {
    margin-top: auto;
}

.icon-box {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: var(--red);
    background: #fff0f2;
    border-radius: 13px;
}

.icon-box--2 {
    color: #2173d8;
    background: #ecf4ff;
}

.icon-box--3 {
    color: #199653;
    background: #eaf9f1;
}

.icon-box--4 {
    color: #7a3fe0;
    background: #f3edff;
}

.portfolio-section,
.testimonial-section {
    overflow: hidden;
    background: var(--navy-900);
}

.portfolio-section::before,
.testimonial-section::before {
    position: absolute;
    width: 640px;
    height: 640px;
    content: "";
    opacity: .13;
    background: var(--blue);
    border-radius: 50%;
    filter: blur(120px);
}

.portfolio-section::before {
    top: -360px;
    right: -200px;
}

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

.portfolio-card {
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(125, 160, 204, .22);
    border-radius: var(--radius);
    transition: transform .25s, border-color .25s;
}

.portfolio-card:hover {
    border-color: rgba(74, 160, 255, .55);
    transform: translateY(-5px);
}

.portfolio-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #10243c;
}

.portfolio-card__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s ease;
}

.portfolio-card:hover .portfolio-card__media img {
    transform: scale(1.03);
}

.portfolio-card__media > span {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 10px;
    color: var(--white);
    background: rgba(7, 20, 35, .88);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    font-size: .66rem;
    font-weight: 800;
}

.portfolio-card__body {
    padding: 25px;
    color: var(--white);
}

.portfolio-card__body h3,
.portfolio-card__body h2 {
    margin-bottom: 9px;
    font-size: 1.25rem;
}

.portfolio-card__body p {
    color: #9fb0c5;
    font-size: .86rem;
}

.metric-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 16px 0;
}

.metric-chips span {
    padding: 5px 9px;
    color: #a9c7e9;
    background: rgba(45, 140, 255, .08);
    border: 1px solid rgba(83, 154, 235, .2);
    border-radius: 30px;
    font-size: .64rem;
    font-weight: 800;
}

.portfolio-grid--light .portfolio-card {
    background: var(--white);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.portfolio-grid--light .portfolio-card__body {
    color: var(--ink);
}

.portfolio-grid--light .portfolio-card__body p {
    color: var(--muted);
}

.portfolio-grid--light .metric-chips span {
    color: #32659a;
    background: #edf6ff;
}

.split-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.agency-visual {
    position: relative;
    min-height: 480px;
    padding: 52px;
    background: linear-gradient(145deg, #eef4fb, #fff);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.agency-visual::before {
    position: absolute;
    top: 38px;
    right: 38px;
    bottom: 38px;
    left: 38px;
    content: "";
    background: radial-gradient(circle at 30% 20%, rgba(227, 28, 43, .2), transparent 22%), radial-gradient(circle at 75% 70%, rgba(38, 135, 255, .24), transparent 26%);
    border-radius: 20px;
    filter: blur(1px);
}

.agency-visual__screen {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 330px;
    padding: 17px;
    background: var(--navy-900);
    border: 8px solid #15253a;
    border-radius: 20px;
    box-shadow: 0 35px 60px rgba(7, 20, 35, .28);
    grid-template-columns: 50px 1fr;
    gap: 16px;
    transform: perspective(900px) rotateY(5deg);
}

.screen-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: #10243c;
    border-radius: 10px;
}

.screen-sidebar i {
    height: 24px;
    background: rgba(255, 255, 255, .08);
    border-radius: 6px;
}

.screen-main {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: var(--white);
    background: linear-gradient(140deg, #0f2947, #071423);
    border-radius: 10px;
}

.screen-main span {
    position: relative;
    z-index: 2;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: .95;
}

.screen-main span:nth-child(2) {
    color: var(--red);
}

.screen-main span:nth-child(3) {
    color: var(--cyan);
}

.screen-main div {
    position: absolute;
    right: -40px;
    width: 190px;
    height: 190px;
    border: 30px solid rgba(38, 135, 255, .14);
    border-radius: 50%;
}

.agency-badge {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
    display: flex;
    width: 180px;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.agency-badge strong {
    color: var(--red);
    font-size: 1.7rem;
}

.agency-badge span {
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.3;
}

.about-copy > p {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 28px 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-list li > svg {
    flex: 0 0 auto;
    margin-top: 3px;
    padding: 4px;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
}

.check-list span {
    color: var(--muted);
}

.check-list strong {
    color: var(--ink);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px 0;
}

.about-stats div {
    padding: 16px;
    background: var(--soft);
    border-radius: 10px;
}

.about-stats strong,
.about-stats span {
    display: block;
}

.about-stats strong {
    color: var(--navy-900);
    font-size: 1.35rem;
}

.about-stats span {
    color: var(--muted);
    font-size: .66rem;
}

.process-section {
    background: var(--soft);
}

.process-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.process-row::before {
    position: absolute;
    top: 40px;
    right: 10%;
    left: 10%;
    height: 1px;
    content: "";
    background: repeating-linear-gradient(90deg, #c9d2df 0, #c9d2df 6px, transparent 6px, transparent 12px);
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step > span {
    position: absolute;
    z-index: 2;
    top: -6px;
    left: calc(50% + 20px);
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border: 3px solid var(--soft);
    border-radius: 50%;
    font-size: .6rem;
    font-weight: 900;
}

.process-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    place-items: center;
    color: var(--red);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.process-icon svg {
    width: 28px;
    height: 28px;
}

.process-step h3 {
    margin-bottom: 9px;
}

.process-step p {
    color: var(--muted);
    font-size: .76rem;
}

.results-section {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.results-grid {
    display: grid;
    align-items: center;
    grid-template-columns: .75fr 1.25fr;
    gap: 60px;
}

.results-copy p {
    margin-bottom: 28px;
    color: #a9bad0;
}

.results-dashboard {
    padding: 24px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(124, 163, 209, .2);
    border-radius: var(--radius);
    box-shadow: 0 35px 70px rgba(0, 0, 0, .25);
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.kpi-row div {
    display: grid;
    padding: 14px;
    background: rgba(255, 255, 255, .04);
    border-radius: 10px;
}

.kpi-row span {
    color: #93a8c1;
    font-size: .62rem;
}

.kpi-row strong {
    margin-top: 5px;
    font-size: 1.3rem;
}

.kpi-row small {
    color: #2bd879;
    font-size: .62rem;
}

.big-chart {
    margin-top: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, .025);
    border-radius: 10px;
}

.big-chart > span {
    color: #b8c7da;
    font-size: .7rem;
    font-weight: 700;
}

.big-chart svg {
    width: 100%;
    height: 180px;
}

.training-section {
    background: #fff;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.training-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(7, 20, 35, .04);
    transition: transform .25s, box-shadow .25s;
}

.training-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.training-number {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #edf0f4;
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1;
}

.training-card .icon-box {
    margin-bottom: 22px;
}

.training-card p {
    color: var(--muted);
    font-size: .82rem;
}

.training-card ul {
    display: grid;
    gap: 7px;
    padding: 0;
    margin: 20px 0;
    color: #3f4c60;
    list-style: none;
    font-size: .75rem;
}

.training-card li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.training-card li svg {
    color: var(--green);
}

.testimonial-section::before {
    right: 30%;
    bottom: -450px;
}

.testimonial-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    margin: 0;
    padding: 28px;
    color: var(--white);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(126, 164, 210, .2);
    border-radius: var(--radius);
}

.stars {
    margin-bottom: 16px;
    color: #ffbf34;
    letter-spacing: .1em;
}

.testimonial-card > p {
    color: #c3cfde;
    font-size: .91rem;
}

.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.testimonial-card footer > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--red), #7b0e17);
    border-radius: 50%;
    font-weight: 900;
}

.testimonial-card footer div {
    display: flex;
    flex-direction: column;
}

.testimonial-card footer small {
    color: #889bb4;
    font-size: .68rem;
}

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

.blog-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(7, 20, 35, .04);
}

.blog-card > a {
    display: block;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .35s;
}

.blog-card:hover img {
    transform: scale(1.035);
}

.blog-card__body {
    padding: 25px;
}

.blog-card__body > span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--red);
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-card h3,
.blog-card h2 {
    font-size: 1.18rem;
}

.blog-card p {
    color: var(--muted);
    font-size: .83rem;
}

.blog-card small {
    display: block;
    margin-bottom: 18px;
    color: #8b96a6;
    font-size: .68rem;
}

.faq-section {
    background: var(--soft);
}

.accordion {
    display: grid;
    gap: 10px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.accordion-item button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: var(--ink);
    background: transparent;
    border: 0;
    font-weight: 800;
    text-align: left;
}

.accordion-item button span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: var(--red);
    background: #fff1f2;
    border-radius: 50%;
    transition: transform .2s;
}

.accordion-item button[aria-expanded="true"] span {
    transform: rotate(45deg);
}

.accordion-item > div {
    padding: 0 20px 18px;
}

.accordion-item > div p {
    margin: 0;
    color: var(--muted);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    color: var(--white);
    background: radial-gradient(circle at 82% 28%, rgba(38, 135, 255, .35), transparent 26%), radial-gradient(circle at 6% 90%, rgba(227, 28, 43, .25), transparent 25%), var(--navy-900);
}

.page-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .18;
    background-image: linear-gradient(rgba(85, 137, 197, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 137, 197, .2) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, black, transparent);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 20px;
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.page-hero p {
    max-width: 720px;
    margin-bottom: 0;
    color: #b5c4d8;
    font-size: 1.12rem;
}

.page-hero--compact {
    padding: 76px 0;
}

.page-hero--compact h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.detail-hero-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 280px;
    gap: 60px;
}

.detail-symbol {
    display: grid;
    width: 230px;
    height: 230px;
    place-items: center;
    color: #ff7180;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 42px;
    transform: rotate(7deg);
}

.detail-symbol svg {
    width: 100px;
    height: 100px;
    transform: rotate(-7deg);
}

.content-sidebar {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr 350px;
    gap: 64px;
}

.prose {
    color: #354257;
    font-size: 1.04rem;
}

.prose h2 {
    margin-top: 42px;
    font-size: 1.9rem;
}

.prose h3 {
    margin-top: 32px;
}

.prose p,
.prose li {
    color: #4f5d71;
}

.prose li {
    margin-bottom: 9px;
}

.sidebar-card {
    position: sticky;
    top: 112px;
    padding: 30px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.sidebar-card h2 {
    font-size: 1.65rem;
}

.sidebar-card p {
    color: var(--muted);
}

.sidebar-card > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--red);
    font-weight: 800;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-grid div {
    padding: 18px;
    background: var(--soft);
    border-radius: 10px;
}

.info-grid span,
.info-grid strong {
    display: block;
}

.info-grid span {
    color: var(--muted);
    font-size: .72rem;
}

.listing-group {
    margin-bottom: 60px;
}

.listing-group__title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    color: var(--navy-900);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.listing-group__title i {
    height: 1px;
    flex: 1;
    background: var(--line);
}

.metric-chips--hero span {
    color: #d4e5fa;
    background: rgba(38, 135, 255, .1);
}

.case-cover {
    width: 100%;
    margin-bottom: 55px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.case-columns article {
    padding: 28px;
    background: var(--soft);
    border-radius: var(--radius);
}

.case-columns article > span {
    color: var(--red);
    font-weight: 900;
}

.case-columns h2 {
    margin: 13px 0;
    font-size: 1.5rem;
}

.case-columns p {
    color: var(--muted);
}

.case-note {
    margin-top: 35px;
    padding: 22px;
    color: #645015;
    background: #fff9e7;
    border: 1px solid #f3dfa3;
    border-radius: 12px;
}

.case-note p {
    margin: 4px 0 0;
}

.article-header {
    padding: 95px 0;
    color: var(--white);
    background: var(--navy-900);
    text-align: center;
}

.article-header h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.article-header p {
    color: #afbdd0;
    font-size: 1.08rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #8399b4;
    font-size: .76rem;
}

.article-body {
    padding: 70px 0;
}

.article-body > img {
    width: 100%;
    margin-bottom: 45px;
    border-radius: var(--radius);
}

.author-box,
.founder-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 24px;
    background: var(--soft);
    border-radius: var(--radius);
}

.author-box > div,
.founder-avatar {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-weight: 900;
}

.author-box p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.author-box span {
    color: var(--muted);
    font-size: .75rem;
}

.value-panel {
    display: grid;
    gap: 16px;
}

.value-panel > div {
    padding: 28px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.value-panel span {
    color: var(--red);
    font-weight: 900;
}

.value-panel h3 {
    margin: 10px 0;
}

.value-panel p {
    margin: 0;
    color: var(--muted);
}

.founder-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    font-size: 2rem;
}

.founder-card h3 {
    margin: 5px 0 10px;
    font-size: 1.65rem;
}

.founder-card p {
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 60px;
}

.contact-details > p {
    color: var(--muted);
}

.contact-cards {
    display: grid;
    gap: 12px;
    margin: 30px 0;
}

.contact-cards > a,
.contact-cards > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.contact-cards > a > span,
.contact-cards > div > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--red);
    background: #fff1f2;
    border-radius: 10px;
}

.contact-cards div div {
    display: flex;
    flex-direction: column;
}

.contact-cards small {
    color: var(--muted);
}

.contact-cards strong {
    font-size: .87rem;
}

.map-frame {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: var(--radius);
}

.form-panel {
    padding: 35px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.lead-form .form-heading {
    margin-bottom: 28px;
}

.lead-form .form-heading h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.lead-form .form-heading p {
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-grid label {
    display: grid;
    gap: 7px;
    color: #344159;
    font-size: .76rem;
    font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #dce2ea;
    border-radius: 9px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(38, 135, 255, .12);
}

.form-span {
    grid-column: 1 / -1;
}

.checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.checkbox input {
    width: 17px;
    height: 17px;
}

.checkbox span {
    color: var(--muted);
    font-weight: 500;
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 14px;
}

.form-submit small {
    color: var(--muted);
    font-size: .67rem;
}

.legal-content {
    min-height: 300px;
}

.not-found {
    display: grid;
    min-height: 70vh;
    place-items: center;
    padding: 80px 0;
    text-align: center;
}

.not-found span {
    color: #edf0f4;
    font-size: 10rem;
    font-weight: 950;
    line-height: 1;
}

.not-found h1 {
    margin-top: -35px;
    font-size: 2.5rem;
}

.not-found p {
    color: var(--muted);
}

.final-cta {
    padding: 45px 0;
    color: var(--white);
    background: linear-gradient(120deg, var(--red-dark), var(--red));
}

.final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta h2 {
    max-width: 770px;
    margin-bottom: 10px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.final-cta p {
    margin: 0;
    color: #ffd2d6;
}

.site-footer {
    padding-top: 70px;
    color: #aab9cd;
    background: var(--navy-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 45px;
}

.brand--footer strong {
    color: var(--white);
}

.brand--footer small {
    color: #91a3ba;
}

.footer-brand > p {
    max-width: 280px;
    margin: 22px 0;
    font-size: .8rem;
}

.socials--footer {
    justify-content: flex-start;
}

.site-footer h3 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: .85rem;
}

.footer-grid > div:not(.footer-brand) > a,
.footer-grid > div:not(.footer-brand) > span {
    display: flex;
    margin-bottom: 10px;
    color: #94a5bb;
    font-size: .75rem;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-contact svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #ff6875;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .68rem;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.floating-action,
.back-to-top {
    position: fixed;
    z-index: 80;
    right: 22px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(7, 20, 35, .24);
}

.floating-action--whatsapp {
    bottom: 82px;
    background: var(--green);
    font-weight: 900;
}

.floating-action--call {
    bottom: 140px;
    background: var(--red);
}

.back-to-top {
    visibility: hidden;
    right: 23px;
    bottom: 22px;
    opacity: 0;
    background: var(--navy-900);
    transition: opacity .2s, visibility .2s;
}

.back-to-top.is-visible {
    visibility: visible;
    opacity: 1;
}

.modal {
    position: fixed;
    z-index: 1000;
    visibility: hidden;
    inset: 0;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 9, 17, .72);
    backdrop-filter: blur(8px);
}

.modal__dialog {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 30px), 780px);
    max-height: calc(100vh - 40px);
    padding: 34px;
    margin: 20px auto;
    overflow: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
    transform: translateY(20px);
    transition: transform .2s;
}

.modal.is-open .modal__dialog {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--ink);
    background: var(--soft);
    border: 0;
    border-radius: 50%;
}

.modal__intro {
    padding-right: 50px;
}

.modal__intro h2 {
    margin-bottom: 8px;
    font-size: 2rem;
}

.modal__intro p {
    color: var(--muted);
}

.reveal {
    opacity: 1;
    transform: none;
}

.has-reveal .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.has-reveal .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .has-reveal .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1180px) {
    .primary-nav {
        gap: 14px;
    }

    .primary-nav > a,
    .nav-dropdown > button {
        font-size: .68rem;
    }

    .brand span {
        display: none;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-panel {
        right: -400px;
    }
}

@media (max-width: 980px) {
    .topbar {
        display: none;
    }

    .header__inner {
        min-height: 74px;
    }

    .nav-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        margin-left: auto;
        place-items: center;
        color: var(--navy-900);
        background: var(--soft);
        border: 1px solid var(--line);
        border-radius: 9px;
    }

    .nav-toggle__close {
        display: none;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__open {
        display: none;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__close {
        display: block;
    }

    .primary-nav {
        position: absolute;
        visibility: hidden;
        top: 100%;
        right: 0;
        left: 0;
        display: block;
        max-height: calc(100vh - 74px);
        padding: 18px 20px 28px;
        overflow: auto;
        opacity: 0;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }

    .primary-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .primary-nav > a,
    .nav-dropdown > button {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 13px 4px;
        font-size: .8rem;
    }

    .primary-nav > a::after,
    .nav-dropdown > button::after {
        display: none;
    }

    .dropdown-panel,
    .mega-panel {
        position: static;
        display: none;
        visibility: visible;
        width: 100%;
        min-width: 0;
        padding: 12px;
        opacity: 1;
        box-shadow: none;
        border-radius: 10px;
        transform: none;
    }

    .mega-panel {
        grid-template-columns: 1fr;
    }

    .nav-dropdown:hover > .dropdown-panel {
        display: none;
    }

    .nav-dropdown.is-open > .dropdown-panel {
        display: grid;
        transform: none;
    }

    .mega-cta {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        margin-top: 18px;
    }

    .hero__inner,
    .split-grid,
    .results-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero__inner {
        padding-top: 85px;
    }

    .hero-visual {
        min-height: 560px;
    }

    .service-grid,
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid {
        gap: 55px;
    }

    .process-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-row::before {
        display: none;
    }

    .testimonial-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 72px 0;
    }

    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .brand img {
        width: 54px;
        height: 52px;
    }

    .hero,
    .hero__inner {
        min-height: auto;
    }

    .hero__inner {
        gap: 35px;
        padding-block: 72px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .hero-metrics > div {
        display: flex;
        min-width: 0;
        align-items: center;
        flex-direction: column;
        padding: 10px 5px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 10px;
    }

    .hero-metrics span {
        display: none;
    }

    .hero-metrics strong {
        font-size: 1.25rem;
    }

    .hero-visual {
        min-height: 430px;
    }

    .browser-card {
        width: 95%;
    }

    .analytics-card {
        top: 74px;
        right: -5px;
        width: 190px;
    }

    .score-card {
        top: 220px;
        width: 125px;
    }

    .workflow-card {
        right: 0;
        bottom: 45px;
        width: 88%;
    }

    .hero-service-tags {
        display: none;
    }

    .industry-row {
        justify-content: center;
    }

    .service-grid,
    .training-grid,
    .portfolio-grid,
    .testimonial-grid,
    .blog-grid,
    .process-row,
    .case-columns,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 220px;
    }

    .agency-visual {
        min-height: 390px;
        padding: 30px;
    }

    .agency-visual__screen {
        min-height: 280px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .process-step {
        display: grid;
        grid-template-columns: 70px 1fr;
        text-align: left;
    }

    .process-icon {
        width: 58px;
        height: 58px;
        grid-row: 1 / 3;
        margin: 0;
    }

    .process-step > span {
        top: -8px;
        left: 40px;
    }

    .process-step p {
        margin: 0;
    }

    .kpi-row {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 80px 0;
    }

    .detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .detail-symbol {
        display: none;
    }

    .info-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-span {
        grid-column: auto;
    }

    .form-submit,
    .final-cta__inner,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .article-meta {
        flex-wrap: wrap;
    }

    .founder-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .final-cta__inner {
        display: flex;
    }

    .footer-brand {
        grid-column: auto;
    }

    .floating-action {
        right: 15px;
    }

    .back-to-top {
        right: 15px;
    }

    .modal__dialog {
        padding: 25px 18px;
    }
}
