:root {
  --bg: #0b1223;
  --bg-alt: #0f1a33;
  --card: rgba(2, 6, 23, 0.75);
  --stroke: rgba(148, 163, 184, 0.18);

  --text: #e5e7eb;
  --muted: #a3b2c7;

  --accent: #38bdf8;
  --accent-2: #a78bfa;

  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(56, 189, 248, 0.18), transparent 55%),
              radial-gradient(1000px 600px at 0% 20%, rgba(167, 139, 250, 0.14), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px; top: 12px;
  background: var(--accent);
  color: #020617;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(15, 26, 51, 0.82);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark { color: var(--accent); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; letter-spacing: 0.2px; }
.brand-tag { font-size: 0.85rem; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
}
.nav a:hover {
  border-color: var(--stroke);
  background: rgba(2, 6, 23, 0.25);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(167, 139, 250, 0.85));
  color: #020617 !important;
  font-weight: 800;
  border: none !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 1.2rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
}

/* Hero */
.hero {
  padding: 4.2rem 0 3.2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.kicker {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.25);
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 0.8rem;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(167, 139, 250, 0.85));
  color: #020617;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(2, 6, 23, 0.25);
  border-color: var(--stroke);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(2, 6, 23, 0.35); }

.badges {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}
.badge {
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.22);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.hero-card {
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.45);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.hero-card-row:last-of-type { border-bottom: none; }

.hero-card-cta {
  display: inline-block;
  margin-top: 0.9rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--accent);
}

/* Sections */
.section { padding: 4rem 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(15, 26, 51, 0.75), rgba(15, 26, 51, 0.55));
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section-head { text-align: center; margin-bottom: 2.2rem; }
.section-sub { color: var(--muted); max-width: 70ch; margin: 0.6rem auto 0; }

h2 { margin: 0; font-size: 2rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.card {
  border: 1px solid var(--stroke);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(2, 6, 23, 0.82);
}

.icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.22);
  margin-bottom: 0.75rem;
  font-weight: 900;
  color: var(--accent);
}

.mini-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.muted { color: var(--muted); }
.fineprint { color: var(--muted); font-size: 0.92rem; margin-top: 1rem; }
.center { text-align: center; }

/* Expertise split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.panel {
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.35);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.checklist {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.lang-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 0.7rem;
}
.lang-pill {
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.25);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
}

.quality { margin-top: 1.2rem; }
.process.compact { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--muted); }

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 860px;
  display: grid;
  gap: 1rem;
}
.timeline li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.35);
  border-radius: var(--radius);
  padding: 1rem;
}
.step {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 900;
  background: rgba(167, 139, 250, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.22);
  color: #d8c8ff;
}

.testimonials { margin-top: 3rem; }
.testimonials-grid { margin-top: 1rem; }
.quote {
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.35);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.quote blockquote {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-weight: 650;
}
.quote figcaption { color: var(--muted); }

/* Accordion */
.accordion {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(2, 6, 23, 0.25);
}

.acc-item {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: transparent;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.acc-item:last-of-type { border-bottom: none; }
.acc-icon { color: var(--accent); font-weight: 900; }

.acc-panel {
  display: none;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.form {
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.35);
  border-radius: var(--radius);
  padding: 1.2rem;
}

label span {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.55);
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.form textarea { min-height: 140px; resize: vertical; }

.form input:focus,
.form textarea:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.helper {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.form-note { margin-top: 0.8rem; }

.contact-card {
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.35);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.9rem 0 1rem;
}

.btn-small {
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.25);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}
.btn-small:hover { background: rgba(2, 6, 23, 0.35); }

.contact-meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.legal-box {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.22);
}

/* Footer */
.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--stroke);
  background: rgba(15, 26, 51, 0.55);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 0 1rem;
  flex-wrap: wrap;
}

.footer-brand { font-weight: 900; }
.footer-right { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.footer-right a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
}
.footer-right a:hover {
  border-color: var(--stroke);
  color: var(--text);
}

.footer-bottom {
  padding: 0.8rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .nav {
    display: none;
    position: absolute;
    right: 4%;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(15, 26, 51, 0.96);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 0.4rem;
    width: min(360px, 92vw);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { margin: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
  .card { transition: none; }
}
