:root {
    --ink: #0D1E3C;
    --ink-2: #101421;
    --text: #1A2332;
    --muted: #5A6478;
    --surface: #F5F7FB;
    --border: #E3E7EF;
    --white: #fff;
    --primary: #E8631A;
    --primary-hover: #F2784C;
    --cyan: #319DD6;
    --accent: #E8A87C;
    --radius: 14px;
    --shadow: 0 12px 36px rgba(16,20,33,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; color: var(--ink); letter-spacing: -.02em; line-height: 1.12; }
a { color: var(--primary); }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13,30,60,.97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { color: #fff; font-weight: 800; font-family: Manrope, sans-serif; font-size: 20px; text-decoration: none; letter-spacing: -.03em; }
.brand span { color: var(--accent); font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-nav a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 10px; font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(232,99,26,.25); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn--ghost { min-height: 40px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); color: #fff !important; background: transparent; font-size: 14px; border-radius: 8px; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 80px 0 90px;
    background: radial-gradient(circle at 15% 20%, rgba(49,157,214,.18), transparent 35%),
                radial-gradient(circle at 80% 80%, rgba(232,99,26,.16), transparent 38%), var(--ink); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 800; margin: 0 0 18px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 640px; margin: 0 0 30px; }
.hero:after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--primary), var(--accent)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }

/* Sections */
.section { padding: 84px 0; }
.section--surface { background: var(--surface); }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 12px; }
.section__head p { color: var(--muted); margin: 0; }

/* Project cards (home) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { font-size: 1.5rem; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0 0 22px; flex: 1; }
.card .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; margin-bottom: 16px; }
.tag--webinar { background: rgba(49,157,214,.12); color: var(--cyan); }
.tag--pilot { background: rgba(232,99,26,.12); color: var(--primary); }

/* Form card */
.form-card { background: #fff; border-radius: 18px; box-shadow: 0 24px 64px rgba(0,0,0,.18); padding: 30px; color: var(--text); max-width: 460px; }
.form-card__head h2 { font-size: 1.5rem; margin: 0 0 8px; }
.form-card__head p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px;
    font: inherit; font-size: 15px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
.field .err { color: #c0392b; font-size: 13px; margin-top: 5px; }
.field--has-error input, .field--has-error select { border-color: #c0392b; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.phone-row { display: flex; gap: 8px; }
.phone-row .prefix { flex: 0 0 70px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; font-weight: 700; background: var(--surface); }

/* Hero split layout for landing pages */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .form-card { max-width: none; } }

/* Logistics chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.chips span { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.9); font-weight: 600; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 26px; }
.feature .n { font-family: Manrope; font-weight: 800; color: var(--primary); font-size: 14px; }
.feature h3 { font-size: 1.15rem; margin: 8px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* Footer */
.site-footer { background: #0A0D16; color: rgba(255,255,255,.65); padding: 28px 0; font-size: 14px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; margin-left: 16px; }
.site-footer a:hover { color: #fff; }

/* Thank you */
.thanks { text-align: center; max-width: 600px; margin: 0 auto; }
.thanks .badge { width: 76px; height: 76px; border-radius: 50%; background: rgba(46,160,67,.12); color: #2ea043; display: grid; place-items: center; margin: 0 auto 24px; font-size: 38px; }
.btn--whatsapp { background: #25D366; box-shadow: 0 10px 26px rgba(37,211,102,.3); }
.btn--whatsapp:hover { background: #1ebe5b; }

@media (max-width: 600px) {
    .section { padding: 56px 0; }
    .site-nav a:not(.btn) { display: none; }
}

/* Pagina Programari (/programari) */
.prog__title { text-align: center; font-size: clamp(28px, 4vw, 40px); margin: 0 0 28px; }
.prog__empty { text-align: center; color: var(--muted); }
.prog__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 26px; }
.prog__tab { min-height: 50px; padding: 0 26px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-family: inherit; font-weight: 800; font-size: 16px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.prog__tab:hover { border-color: #35589F; }
.prog__tab.is-active { background: #35589F; color: #fff; border-color: #35589F; box-shadow: 0 10px 24px rgba(53,88,159,.22); }
.prog__frame { max-width: 900px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.prog__frame iframe { display: block; width: 100%; height: 680px; border: 0; }
@media (max-width: 640px) { .prog__frame iframe { height: 560px; } }
