:root {
  --navy: #12294f;
  --blue: #0aa0f5;
  --green: #6fe07a;
  --bg: #ffffff;
  --alt: #f2f8fd;
  --text: #25344f;
  --muted: #5d6b84;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 41, 79, .09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Heebo", system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #e6eef7; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { height: 72px; margin: 0; width: auto; mix-blend-mode: multiply; }
.menu { display: flex; align-items: center; gap: 24px; font-weight: 500; }
.menu a { text-decoration: none; color: var(--navy); }
.menu a:hover { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: linear-gradient(135deg, var(--blue), #2bc4a0 70%, var(--green)); color: #fff !important; font-weight: 700; padding: 13px 28px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; box-shadow: 0 8px 20px rgba(10,160,245,.28); transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 8px 20px; }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); box-shadow: none; }

/* Hero */
.hero { padding: 72px 0 80px; background: radial-gradient(circle at 15% 20%, rgba(10,160,245,.13), transparent 45%), radial-gradient(circle at 90% 80%, rgba(111,224,122,.18), transparent 45%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: #e3f3fe; color: var(--blue); font-weight: 700; padding: 4px 16px; border-radius: 999px; margin-bottom: 16px; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.2; color: var(--navy); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 20px 0 28px; max-width: 560px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.stats { list-style: none; display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 1.4rem; color: var(--navy); }
.stats span { color: var(--muted); font-size: .95rem; }

.code-card { background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; color: #dbe7ff; transform: rotate(-2deg); }
.dots { display: flex; gap: 6px; margin-bottom: 14px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; }
.dots i:nth-child(2) { background: #ffd166; }
.dots i:nth-child(3) { background: var(--green); }
.code-card pre { font-family: "Fira Code", Consolas, monospace; font-size: .95rem; line-height: 1.8; white-space: pre-wrap; }
.code-card .c { color: #7f93b8; } .code-card .k { color: var(--blue); } .code-card .s { color: var(--green); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--alt); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); font-weight: 800; text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 8px 0 40px; font-size: 1.1rem; }
.sub.left { text-align: start; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.cards.three { margin-top: 40px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid #e9f0f8; transition: transform .2s; }
.card:hover { transform: translateY(-5px); }
.icon { font-size: 2rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #e0f3ff, #e3fbe6); margin-bottom: 14px; }
.card h3 { color: var(--navy); margin-bottom: 6px; }
.card p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split h2 { text-align: start; margin-bottom: 8px; }
.checks { list-style: none; margin: 0 0 28px; }
.checks li { padding-inline-start: 32px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 800; text-align: center; line-height: 22px; font-size: .85rem; }

.device-visual { display: grid; place-items: center; }
.chip { position: relative; width: 240px; height: 240px; border-radius: 28px; background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; box-shadow: var(--shadow); }
.chip b { font-size: 2.6rem; color: #fff; letter-spacing: 2px; direction: ltr; }
.chip span { position: absolute; background: var(--navy); border-radius: 3px; }
.chip span:nth-child(1), .chip span:nth-child(2) { width: 70%; height: 6px; left: 15%; }
.chip span:nth-child(1) { top: -14px; } .chip span:nth-child(2) { bottom: -14px; }
.chip span:nth-child(3), .chip span:nth-child(4) { height: 70%; width: 6px; top: 15%; }
.chip span:nth-child(3) { left: -14px; } .chip span:nth-child(4) { right: -14px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: s; }
.steps li { text-align: center; padding: 8px 12px; }
.steps b { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; font-size: 1.3rem; }
.steps h3 { color: var(--navy); }
.steps p { color: var(--muted); }

/* Contact */
.section.cta { background: linear-gradient(135deg, #e8f5ff, #eafbed); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { text-align: start; }
.contact-line { font-size: 1.15rem; margin-bottom: 8px; }
.contact-line a { text-decoration: none; font-weight: 700; color: var(--navy); }
.note { font-size: .85rem; color: var(--muted); margin-top: 16px; }
.form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; color: var(--navy); }
.form input, .form textarea { font: inherit; padding: 11px 14px; border: 1.5px solid #d5e1ee; border-radius: 10px; background: #fbfdff; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,160,245,.18); }
.form-msg { color: #1b8a3a; font-weight: 500; min-height: 1.4em; }

.footer { background: var(--navy); color: #c9d6ee; padding: 32px 0; text-align: center; }
.footer img { height: 70px; margin: 0 auto 10px; background: #fff; border-radius: 12px; padding: 4px 12px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .split, .contact { grid-template-columns: 1fr; }
  .hero-visual { order: -1; display: none; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 80px; inset-inline: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid #e6eef7; }
  .menu.open { display: flex; }
  .section { padding: 56px 0; }
}

/* Clients page */
.menu a[aria-current="page"] { color: var(--blue); }
.page-hero { padding: 64px 0 24px; text-align: center; background: radial-gradient(circle at 15% 20%, rgba(10,160,245,.13), transparent 45%), radial-gradient(circle at 90% 80%, rgba(111,224,122,.18), transparent 45%); }
.page-hero .lead { margin-inline: auto; }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); gap: 28px; justify-content: center; }
.client { display: block; text-align: center; text-decoration: none; background: #fff; border: 1px solid #e9f0f8; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; transition: transform .2s, box-shadow .2s; }
.client:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(18,41,79,.15); }
.client-logo { height: 220px; display: grid; place-items: center; border-radius: 12px; background: #fff; margin-bottom: 16px; overflow: hidden; }
.client-logo.oro { background: #2f4a33; }
.client-logo img { max-height: 200px; width: auto; object-fit: contain; }
.client-logo.oro img { max-height: 210px; }
.client h3 { color: var(--navy); }
.visit { color: var(--blue); font-weight: 500; direction: ltr; display: inline-block; }
.inline-link { color: var(--blue); font-weight: 700; }

.narrow { width: min(820px, 100% - 32px); }
.about-text { font-size: 1.1rem; margin-top: 16px; text-align: center; color: var(--muted); }
.about-text strong { color: var(--navy); }
.about-text a { color: var(--blue); font-weight: 700; }
