/* QualiaSphere / Technologies QualiaSphère — bilingual static company site */
:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --text: #172126;
  --muted: #617078;
  --line: #dfe5e8;
  --accent: #2a6c74;
  --accent-dark: #154a51;
  --soft: #e8f0f1;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246,247,248,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223,229,232,.9);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
  font-size: 1.05rem;
}
.mark {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: inline-block;
  background:
    radial-gradient(circle at 35% 35%, #a8d0cf 0 12%, transparent 13%),
    radial-gradient(circle at 60% 55%, #ffffff 0 10%, transparent 11%),
    linear-gradient(135deg, #153c44, #4d9498);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.nav-right { display: flex; align-items: center; gap: 24px; }
nav { display: flex; gap: 26px; }
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
}
nav a:hover { color: var(--text); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}
.lang-switch a {
  text-decoration: none;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.lang-switch a.active {
  background: var(--text);
  color: white;
}

.hero {
  padding: 110px 0 92px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 78px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 750;
  font-size: .76rem;
}
h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 730;
}
.lede {
  max-width: 700px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.button {
  display: inline-block;
  background: var(--text);
  color: white;
  padding: 12px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 650;
}
.button:hover { background: var(--accent-dark); }
.text-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 650;
}

.visual {
  min-height: 430px;
  position: relative;
}
.orb { position: absolute; border-radius: 50%; }
.orb-a {
  width: 330px; height: 330px;
  right: 40px; top: 22px;
  background: linear-gradient(140deg, #b9d6d5, #5f9da2);
}
.orb-b {
  width: 185px; height: 185px;
  left: 5px; bottom: 25px;
  background: linear-gradient(140deg, #dce8e9, #9fc1c2);
}
.orb-c {
  width: 95px; height: 95px;
  right: 0; bottom: 10px;
  background: #254f57;
}
.visual-card {
  position: absolute;
  left: 52px;
  right: 0;
  bottom: 56px;
  padding: 28px 30px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 24px 70px rgba(25,52,58,.15);
}
.visual-card strong {
  display: block;
  margin-top: 5px;
  font-size: 1.35rem;
  letter-spacing: -.025em;
}
.visual-card p { margin: 7px 0 0; color: var(--muted); }
.mini-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .7rem;
  color: var(--muted);
  font-weight: 750;
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}
.alt { background: var(--surface); }
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.copy { font-size: 1.08rem; color: var(--muted); }
.copy p:first-child { margin-top: 3px; }

.cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  min-height: 250px;
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.card-number {
  display: block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  margin-bottom: 56px;
}
.card h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.card p { margin-bottom: 0; color: var(--muted); }

.contact-section { background: var(--text); color: white; }
.contact-section .eyebrow { color: #9fc7c8; }
.contact-copy { color: #bdc7cb; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 80px;
  align-items: end;
}
.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  padding: 28px;
}
.contact-card a {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
  text-decoration: none;
}
.contact-card a:hover { text-decoration: underline; }
.location-label { display: block; margin-top: 22px; }
.contact-card p { margin: 3px 0 0; color: #d7dfe1; }

.legal-name {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #d7dfe1;
  font-size: .94rem;
}

footer {
  padding: 26px 0;
  background: #10181b;
  color: #9eaaae;
  font-size: .87rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-row p { margin: 0; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: white; }

.legal-page main { min-height: 75vh; }
.legal-wrap {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
  padding: 92px 0;
}
.legal-wrap h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.legal-wrap h2 {
  margin-top: 42px;
  font-size: 1.4rem;
  letter-spacing: -.025em;
}
.legal-wrap p, .legal-wrap li { color: var(--muted); }
.legal-wrap .effective { margin: 18px 0 34px; }

@media (max-width: 900px) {
  .nav-right { gap: 14px; }
  nav { gap: 16px; }
}
@media (max-width: 820px) {
  nav { display: none; }
  .hero { padding-top: 76px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .visual { min-height: 340px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-number { margin-bottom: 30px; }
}
@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 64px; }
  .hero { padding: 62px 0 70px; }
  .visual { min-height: 300px; }
  .orb-a { width: 250px; height: 250px; }
  .visual-card { left: 18px; bottom: 30px; }
  .footer-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .brand span:last-child { font-size: .95rem; }
}

.footer-links{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-end}.footer-links a{text-decoration:none}.footer-links a:hover{color:white}
