/* ==========================================================
   LOUVEIRA TECHNOLOGY — Landing page
   ========================================================== */

:root {
    --bg: #F7F9FC;
    --bg-alt: #EEF3FA;
    --surface: #FFFFFF;
    --ink: #0B1B33;
    --ink-2: #1E2F4A;
    --muted: #4A5A73;
    --border: #E3E8F0;
    --primary: #1D4ED8;
    --primary-600: #1E40AF;
    --accent: #0EA5E9;
    --sky: #38BDF8;
    --gradient: linear-gradient(135deg, #1D4ED8 0%, #0EA5E9 100%);
    --navy-gradient: linear-gradient(135deg, #0B1B33 0%, #13305F 60%, #1D4ED8 130%);
    --whatsapp: #1FAF58;
    --whatsapp-600: #178A45;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 3px rgba(11, 27, 51, .04);
    --shadow: 0 10px 30px -12px rgba(11, 27, 51, .18);
    --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .28);

    --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --header-h: 72px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

strong {
    color: var(--ink);
    font-weight: 600;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 2000;
}

.skip-link:focus {
    left: 8px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}

.btn i {
    font-size: 1.1em;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 10px 18px;
    font-size: .95rem;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(29, 78, 216, .6);
}

.btn-primary:hover {
    background: var(--primary-600);
    box-shadow: 0 12px 26px -8px rgba(29, 78, 216, .7);
}

.btn-ghost {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    border-color: #C9D3E2;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(31, 175, 88, .65);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-600);
}

.btn-outline-light {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .6);
}

/* ---------- Brand ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: .02em;
    color: var(--ink);
}

.brand-sub {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .62rem;
    letter-spacing: .34em;
    color: var(--primary);
    margin-top: 5px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 249, 252, .8);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--border);
    box-shadow: 0 6px 20px -14px rgba(11, 27, 51, .25);
}

.nav {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: .97rem;
    color: var(--muted);
    position: relative;
    padding: 6px 0;
    transition: color .2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* Mobile menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 27, 51, .45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 88vw;
    height: 100%;
    background: var(--surface);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header .brand-mark {
    width: 36px;
    height: 36px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-menu-links {
    padding: 12px;
}

.mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--ink);
    transition: background-color .2s ease;
}

.mobile-menu-links a i {
    width: 22px;
    text-align: center;
    color: var(--primary);
}

.mobile-menu-links a:hover {
    background: var(--bg-alt);
}

.mobile-menu-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 72px 0 96px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(29, 78, 216, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 80%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    right: -160px;
    top: -120px;
    background: radial-gradient(circle, rgba(14, 165, 233, .18), transparent 65%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 24px;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--whatsapp);
    box-shadow: 0 0 0 4px rgba(31, 175, 88, .18);
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: .93rem;
    color: var(--muted);
    font-weight: 500;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust i {
    color: var(--primary);
}

/* Browser mockup */
.hero-visual {
    position: relative;
    padding: 24px 0 40px 24px;
}

.browser {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: #F3F6FA;
    border-bottom: 1px solid var(--border);
}

.b-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D4DCE7;
}

.b-dot:nth-child(1) {
    background: #F87171;
}

.b-dot:nth-child(2) {
    background: #FBBF24;
}

.b-dot:nth-child(3) {
    background: #34D399;
}

.browser-url {
    flex: 1;
    margin-left: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: .78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-url i {
    color: var(--whatsapp);
    font-size: .7rem;
}

.browser-body {
    padding: 22px;
}

.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.mock-logo {
    width: 74px;
    height: 12px;
    border-radius: 6px;
    background: var(--ink);
}

.mock-links {
    display: flex;
    gap: 10px;
}

.mock-links i {
    width: 34px;
    height: 7px;
    border-radius: 4px;
    background: #DCE3EE;
}

.mock-btn {
    width: 56px;
    height: 20px;
    border-radius: 6px;
    background: var(--primary);
}

.mock-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
    align-items: end;
    margin-bottom: 22px;
}

.mock-copy {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mock-line {
    height: 8px;
    border-radius: 4px;
    background: #E2E8F1;
}

.mock-line.strong {
    height: 14px;
    background: var(--ink);
}

.mock-line.strong:nth-child(2) {
    background: var(--gradient);
}

.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }

.mock-cta {
    width: 92px;
    height: 24px;
    border-radius: 7px;
    background: var(--whatsapp);
    margin-top: 6px;
}

.mock-chart {
    height: 118px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-alt);
}

.mock-chart span {
    flex: 1;
    height: var(--h);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--sky), var(--primary));
    opacity: .9;
    transform-origin: bottom;
    animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both;
}

.mock-chart span:nth-child(2) { animation-delay: .08s; }
.mock-chart span:nth-child(3) { animation-delay: .16s; }
.mock-chart span:nth-child(4) { animation-delay: .24s; }
.mock-chart span:nth-child(5) { animation-delay: .32s; }
.mock-chart span:nth-child(6) { animation-delay: .40s; }

@keyframes grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

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

.mock-cards span {
    height: 54px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #F6F8FC);
}

.float-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.code-card {
    left: -8px;
    bottom: 0;
    width: 270px;
    background: #0B1B33;
    border-color: #1B2F50;
    color: #CBD5E1;
    overflow: hidden;
}

.code-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    background: #10233F;
    border-bottom: 1px solid #1B2F50;
}

.code-head .b-dot {
    width: 8px;
    height: 8px;
}

.code-head em {
    margin-left: 8px;
    font-style: normal;
    font-size: .72rem;
    color: #8CA3C4;
}

.code-card pre {
    margin: 0;
    padding: 12px 14px 14px;
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: .76rem;
    line-height: 1.7;
    white-space: pre;
    overflow: hidden;
}

.c-k { color: #7DD3FC; }
.c-f { color: #A5B4FC; }
.c-c { color: #4ADE80; }

.stat-card {
    right: -12px;
    top: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.stat-card strong {
    display: block;
    font-size: .92rem;
}

.stat-card small {
    color: var(--muted);
    font-size: .78rem;
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(31, 175, 88, .12);
    color: var(--whatsapp);
}

/* ---------- Sections ---------- */
.section {
    padding: 104px 0;
    scroll-margin-top: var(--header-h);
}

.section-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--border);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.kicker {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-head h2,
.design-copy h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.section-head p {
    font-size: 1.12rem;
    color: var(--muted);
}

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

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: #CFD9E8;
}

.service-card:hover::before,
.service-card.featured::before {
    opacity: 1;
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #fff;
    background: var(--navy-gradient);
    box-shadow: 0 10px 22px -10px rgba(29, 78, 216, .7);
    flex-shrink: 0;
}

.tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(29, 78, 216, .08);
    padding: 6px 10px;
    border-radius: 999px;
    text-align: right;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-desc {
    color: var(--muted);
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 22px;
    margin-top: auto;
    border-top: 1px dashed var(--border);
}

.feature-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-list i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: .9rem;
    color: var(--primary);
    background: rgba(29, 78, 216, .08);
}

.feature-list strong {
    display: block;
    font-size: .98rem;
    line-height: 1.35;
}

.feature-list span {
    font-size: .92rem;
    color: var(--muted);
}

/* ---------- Design band ---------- */
.design-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.design-copy p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 480px;
}

.design-items {
    display: grid;
    gap: 14px;
}

.design-items li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.design-items li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.d-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #fff;
    background: var(--gradient);
}

.design-items strong {
    display: block;
    font-size: 1.05rem;
}

.design-items div span {
    display: block;
    color: var(--muted);
    font-size: .95rem;
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}

.step-num {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
    background: rgba(29, 78, 216, .08);
    padding: 6px 12px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

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

/* ---------- CTA ---------- */
.cta-section {
    padding-top: 0;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 72px 40px;
    border-radius: 28px;
    background: var(--navy-gradient);
    color: #E2E8F0;
    box-shadow: var(--shadow-lg);
}

.cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%);
    pointer-events: none;
}

.cta-panel > * {
    position: relative;
}

.cta-panel h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-panel p {
    font-size: 1.12rem;
    max-width: 560px;
    margin: 0 auto 32px;
    color: #C7D3E6;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--muted);
    max-width: 340px;
    font-size: .95rem;
}

.footer-col h4 {
    font-size: .95rem;
    margin-bottom: 14px;
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col a {
    color: var(--muted);
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s ease;
    word-break: break-word;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-block: 22px;
    font-size: .88rem;
    color: var(--muted);
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

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

.no-js .reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text {
        text-align: center;
    }

    .lead {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .services {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin: 0 auto;
    }

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

    .design-band {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 860px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .container {
        padding-inline: 18px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 1.12rem;
    }

    .hero {
        padding: 48px 0 72px;
    }

    .section {
        padding: 72px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .lead {
        font-size: 1.08rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-panel {
        padding: 52px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 560px) {
    .hero-visual {
        padding: 12px 0 0;
    }

    .code-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        margin-top: 14px;
    }

    .stat-card {
        right: 8px;
        top: -4px;
        padding: 9px 12px;
    }

    .stat-card small {
        display: none;
    }

    .browser-body {
        padding: 16px;
    }

    .mock-links {
        display: none;
    }

    .mock-chart {
        height: 92px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .design-copy .btn {
        width: 100%;
        white-space: normal;
    }

    .service-card {
        padding: 26px 20px;
    }

    .service-top {
        flex-wrap: wrap;
    }

    .design-items li {
        padding: 16px;
    }
}

@media (max-width: 380px) {
    .brand-sub {
        letter-spacing: .26em;
    }

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