/* royal-online.ro — site de prezentare Royal Consulting */
:root {
  --ink: #1b1d33; --muted: #5c6080; --line: #e3e4ef; --bg: #ffffff; --bg2: #f5f5fb;
  --brand: #3a2a9c; --brand-dark: #271b72; --brand-soft: #ecebfa; --accent: #f2b33d;
  --radius: 12px; --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 1000; }

/* ---------- antet + meniu ---------- */
.site-h { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-h .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo img { height: 50px; width: auto; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; padding: 9px 13px; border-radius: 8px; }
.nav a:hover { background: var(--bg2); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav a.cta { background: var(--brand); color: #fff; margin-left: 6px; }
.nav a.cta:hover { background: var(--brand-dark); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a.cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- secțiuni ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg2); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }

.hero { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, #5a47c8 100%); color: #fff; padding: 84px 0 92px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .slogan { font-style: italic; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; color: var(--accent); margin-bottom: 14px; display: block; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 50px rgba(10, 5, 50, .35); }
.hero-card h3 { margin-bottom: 6px; }
.hero-card ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; }
.hero-card li svg { flex: none; margin-top: 3px; }
.page-hero { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: rgba(255,255,255,.85); margin: 10px 0 0; max-width: 64ch; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } section { padding: 56px 0; } }

.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-soft); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }

.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.form .g2 { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.form input, .form textarea, .form select { width: 100%; min-width: 0; }
.card { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(30, 20, 90, .08); transform: translateY(-2px); }
.card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); padding-left: 20px; margin: 10px 0 0; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.stat { text-align: center; padding: 18px; }
.stat b { display: block; font-size: 2.2rem; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); }

.band { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 36px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0; font-size: 1.6rem; }
.band p { margin: 6px 0 0; color: rgba(255,255,255,.85); }

.code-box { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.code-box input { flex: 1 1 200px; padding: 13px 16px; font-size: 1.1rem; border-radius: 10px; border: 2px solid var(--line); text-transform: uppercase; letter-spacing: .12em; font-family: Consolas, monospace; }
.code-box input:focus { outline: none; border-color: var(--brand); }

/* ---------- contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.contact-list b { display: block; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
.form input, .form textarea, .form select { font: inherit; padding: 11px 13px; border: 1px solid #cfd1e2; border-radius: 9px; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form .hp { position: absolute; left: -5000px; }
.form .gdpr { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form .gdpr input { margin-top: 4px; }
.note { padding: 12px 14px; border-radius: 9px; background: var(--brand-soft); }
.note.ok { background: #dcfce7; color: #14532d; } .note.err { background: #fee2e2; color: #991b1b; }

/* ---------- subsol ---------- */
.site-f { background: #15132b; color: rgba(255,255,255,.75); padding: 52px 0 26px; font-size: .95rem; }
.site-f .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-f h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-f a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-f a:hover { color: #fff; text-decoration: underline; }
.site-f ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-f .logo-f { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 12px; }
.site-f .logo-f img { height: 44px; display: block; }
.site-f .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 800px) { .site-f .cols { grid-template-columns: 1fr; } }
