:root {
    --navy: #0a1f44;
    --navy-2: #13306b;
    --blue: #1d4ed8;
    --blue-hover: #1e40af;
    --blue-soft: #eff4ff;
    --text: #0f172a;
    --muted: #5b6475;
    --line: #e4e8ef;
    --bg: #ffffff;
    --bg-alt: #f6f8fb;
    --radius: 12px;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition: background .2s, border-color .2s, color .2s;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { border-color: var(--line); background: #fff; color: var(--text); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; letter-spacing: .2px; }
.brand-text small { font-size: 12px; color: var(--muted); }

.menu { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.menu a:not(.btn) { color: var(--muted); }
.menu a:not(.btn):hover { color: var(--navy); }

/* Hero */
.hero {
    background:
        linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%);
    border-bottom: 1px solid var(--line);
    padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-2);
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.12;
    font-family: var(--serif);
    letter-spacing: -.015em;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
}
h1 span { color: var(--blue); font-style: italic; }

.hero-copy > p { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 11px no-repeat;
    flex-shrink: 0;
}

.hero-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(10, 31, 68, .14);
    overflow: hidden;
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
}
.status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #15803d; background: #f0fdf4; padding: 4px 10px; border-radius: 99px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }

.panel-list { list-style: none; }
.panel-list li { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.panel-list strong { display: block; font-size: 15px; }
.panel-list small { color: var(--muted); font-size: 13px; }


.panel-foot { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-alt); }
.panel-foot div { padding: 16px 22px; }
.panel-foot div + div { border-left: 1px solid var(--line); }
.panel-foot strong { display: block; font-size: 16px; white-space: nowrap; color: var(--navy); }
.panel-foot small { font-size: 12px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; scroll-margin-top: 76px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 620px; margin-bottom: 48px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.01em; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.service:hover { border-color: #c7d2fe; box-shadow: 0 12px 24px -12px rgba(10, 31, 68, .15); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--blue-soft); margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3, .product h3, .steps h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service p, .product p, .steps p { font-size: 15px; color: var(--muted); }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.product:hover { border-color: var(--blue); box-shadow: 0 12px 24px -12px rgba(29, 78, 216, .25); }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.cat { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px; }
.product p { flex: 1; margin-bottom: 16px; font-size: 14px; }
.product-top img { width: 56px; height: 56px; border-radius: 13px; border: 1px solid var(--line); }
.panel-list img { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); flex-shrink: 0; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.stack span { font-size: 11px; font-weight: 600; color: var(--navy-2); background: var(--blue-soft); padding: 3px 8px; border-radius: 5px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.product:hover .more svg { transform: translateX(3px); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps li { padding: 32px 28px; background: #fff; }
.steps li + li { border-left: 1px solid var(--line); }
.steps span { display: block; font-size: 14px; font-weight: 800; color: var(--blue); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--blue-soft); }

/* CTA */
.cta { background: var(--navy); color: #fff; padding: 72px 0; scroll-margin-top: 76px; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #b8c4dc; font-size: 17px; }

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn svg { width: 20px; height: 20px; fill: currentColor; margin-right: 8px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }

.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .3);
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Footer */
.footer { background: #071631; color: #b8c4dc; padding-top: 64px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand-light .brand-mark { background: var(--blue); }
.brand-light strong { color: #fff; }
.brand-light small { color: #8a98b5; }
.footer-about { margin-top: 16px; max-width: 280px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-panel { max-width: 520px; }
    .services { grid-template-columns: repeat(2, 1fr); }
    .products { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps li:nth-child(3) { border-left: 0; }
    .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) { .products { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .menu a:not(.btn) { display: none; }
    .brand-text small { display: none; }
    .hero { padding: 56px 0 64px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .section { padding: 64px 0; }
    .services, .products, .steps { grid-template-columns: 1fr; }
    .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
    .panel-foot div { padding: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .cta-actions .btn { flex: 1 1 100%; }
}

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