/* ─── Reset & Tokens ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:           #000;
  --text:         #f5f5f7;
  --muted:        #86868b;
  --accent:       #0071e3;
  --accent-hover: #0077ed;

  --glass-bg:     rgba(255 255 255 / 0.07);
  --glass-border: rgba(255 255 255 / 0.14);
  --glass-shadow: 0 8px 40px rgba(0 0 0 / 0.5);

  --radius-card:  24px;
  --radius-pill:  980px;
}

/* ─── Light mode tokens ───────────────────────────────────────── */
body.light {
  --bg:           #f5f5f7;
  --text:         #1d1d1f;
  --muted:        #6e6e73;

  --glass-bg:     rgba(255 255 255 / 0.55);
  --glass-border: rgba(0 0 0 / 0.08);
  --glass-shadow: 0 8px 40px rgba(0 0 0 / 0.1);
}

/* ─── Smooth theme transition ─────────────────────────────────── */
.theme-transitioning,
.theme-transitioning * {
  transition:
    background-color 0.35s ease,
    color            0.35s ease,
    border-color     0.35s ease,
    box-shadow       0.35s ease !important;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Noise overlay ───────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── Shared ──────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  background: linear-gradient(160deg, #fff 30%, #666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 56px;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn-solid {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-solid:hover { background: var(--accent-hover); transform: scale(1.02); }

.btn-glass {
  display: inline-block;
  padding: 14px 28px;
  background: rgba(255 255 255 / 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(255 255 255 / 0.2);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-glass:hover { background: rgba(255 255 255 / 0.16); transform: scale(1.02); }

/* ─── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  padding: 0 24px;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  background: rgba(0 0 0 / 0.65);
  border-bottom: 1px solid rgba(255 255 255 / 0.08);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ─── Theme toggle button ─────────────────────────────────────── */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.theme-btn:hover {
  color: var(--text);
  transform: scale(1.1) rotate(15deg);
}
.theme-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── Language toggle button ─────────────────────────────────── */
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 36px;
  flex-shrink: 0;
  padding: 0 10px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.lang-btn:hover {
  color: var(--text);
  transform: scale(1.1) rotate(15deg);
}

/* Icon visibility per mode */
body:not(.light) .icon-moon { display: none; }
body.light       .icon-sun  { display: none; }

.nav-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* ─── Mobile menu toggle button ──────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: 0 -8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  color: var(--accent);
  font-weight: 500;
}

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.orb-blue {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(0,113,227,0.55) 0%, transparent 70%);
  top: -180px; left: -200px;
  animation: drift 10s ease-in-out infinite;
}
.orb-purple {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(130,80,255,0.45) 0%, transparent 70%);
  bottom: -120px; right: -120px;
  animation: drift 13s ease-in-out infinite reverse;
}
.orb-teal {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(0,199,190,0.35) 0%, transparent 70%);
  top: 55%; left: 55%;
  animation: drift 16s ease-in-out infinite 3s;
}

@keyframes drift {
  0%,100% { transform: translate(0, 0); }
  33%      { transform: translate(28px, -36px); }
  66%      { transform: translate(-20px, 24px); }
}

/* Hero text */
.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-title {
  font-size: clamp(60px, 10vw, 130px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: #fff;
  margin-bottom: 24px;
}

.title-gradient {
  background: linear-gradient(135deg, #63b3ff 0%, #a78bfa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255 255 255 / 0.4));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Services ────────────────────────────────────────────────── */
.services {
  padding: 120px 0 140px;
  position: relative;
}
.services .eyebrow,
.services .section-title { text-align: center; }
.services .section-title { margin-bottom: 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Glass Card */
.glass-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 40px 32px 36px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

/* top-edge highlight (light reflection) */
.glass-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255 255 255 / 0.35) 50%, transparent 90%);
}

.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(255 255 255 / 0.11);
  border-color: rgba(255 255 255 / 0.22);
  box-shadow: 0 24px 64px rgba(0 0 0 / 0.55);
}

/* Per-card ambient glow */
.card-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  top: -40px; right: -40px;
  transition: opacity 0.4s;
  pointer-events: none;
}
.glass-card:hover .card-glow { opacity: 0.25; }

.glow-blue   { background: #0071e3; }
.glow-purple { background: #8250ff; }
.glow-teal   { background: #00c7be; }
.glow-orange { background: #ff9f0a; }

/* Icon */
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.card-icon svg { width: 100%; height: 100%; }

.glass-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}
.glass-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Contact ─────────────────────────────────────────────────── */
.contact { padding: 0 0 140px; }

.contact-glass {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 64px 56px;
  box-shadow: var(--glass-shadow);
}
.contact-glass::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255 255 255 / 0.3) 50%, transparent 90%);
}

.contact-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,113,227,0.25) 0%, transparent 70%);
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
  pointer-events: none;
}

.contact-glass .section-title { margin-bottom: 16px; }

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-sub {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 28px;
}

/* Address line */
.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.contact-address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* Map */
.contact-map { width: 100%; }

/* Contact Left section */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(255 255 255 / 0.07);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form select {
  background-image: url('data:image/svg+xml;utf8,<svg fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M6 9l6 6 6-6" stroke="%2386868b" stroke-width="1.5"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  color-scheme: dark;
}

.contact-form select option {
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 8px 12px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255 255 255 / 0.11);
  border-color: rgba(0 113 227 / 0.5);
}

.contact-form select {
  cursor: pointer;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 12px;
}

.contact-map {
  width: 100%;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transition: filter 0.35s ease;
}

/* Dark mode: invert + hue-rotate makes Google Maps look dark */
body:not(.light) .map-frame {
  filter: invert(92%) hue-rotate(180deg) saturate(0.85);
}

/* Responsive: stack on narrow screens */
@media (max-width: 820px) {
  .contact-body {
    grid-template-columns: 1fr;
  }
  .contact-left { gap: 24px; }
  .map-wrapper { padding-bottom: 56%; }
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255 255 255 / 0.08);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ─── Animations ──────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Light mode overrides ────────────────────────────────────── */

/* Navbar */
body.light .navbar.scrolled {
  background: rgba(255 255 255 / 0.8);
  border-bottom-color: rgba(0 0 0 / 0.1);
}

/* Orbs — tone down on a light canvas */
body.light .orb-blue   { background: radial-gradient(circle, rgba(0,113,227,0.22)   0%, transparent 70%); }
body.light .orb-purple { background: radial-gradient(circle, rgba(130,80,255,0.16)  0%, transparent 70%); }
body.light .orb-teal   { background: radial-gradient(circle, rgba(0,199,190,0.14)   0%, transparent 70%); }

/* Hero text */
body.light .hero-title { color: #1d1d1f; }

body.light .hero-scroll-hint span {
  background: linear-gradient(to bottom, transparent, rgba(0 0 0 / 0.25));
}

/* Section title gradient (white→grey → dark→grey) */
body.light .section-title {
  background-image: linear-gradient(160deg, #1d1d1f 30%, #aaa 100%);
}

/* Glass button on light bg */
body.light .btn-glass {
  background: rgba(0 0 0 / 0.06);
  border-color: rgba(0 0 0 / 0.14);
  color: #1d1d1f;
}
body.light .btn-glass:hover { background: rgba(0 0 0 / 0.1); }

/* Card hover shadow */
body.light .glass-card:hover {
  background: rgba(255 255 255 / 0.85);
  border-color: rgba(0 0 0 / 0.12);
  box-shadow: 0 24px 64px rgba(0 0 0 / 0.12);
}

/* Footer border */
body.light .footer { border-top-color: rgba(0 0 0 / 0.1); }

/* Light mode select dropdown */
body.light .contact-form select {
  color-scheme: light;
}

body.light .contact-form select option {
  background: #f5f5f7;
  color: #1d1d1f;
}

/* ─── About page ──────────────────────────────────────────────── */

/* Logo as anchor (about page) */
a.nav-logo { text-decoration: none; }

/* Active nav link */
.nav-active { color: var(--text) !important; font-weight: 600; }

/* Hero override — compact height */
.about-hero {
  min-height: 65vh;
  padding: 140px 24px 80px;
}

.about-title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}

/* Story section */
.about-story { padding: 80px 0 0; }

.about-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 48px 56px;
  box-shadow: var(--glass-shadow);
  margin-bottom: 48px;
}
.about-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255 255 255 / 0.3) 50%, transparent 90%);
}

.about-card-glow {
  position: absolute;
  width: 420px; height: 280px;
  background: radial-gradient(ellipse, rgba(0,113,227,0.12) 0%, transparent 70%);
  top: -80px; right: -40px;
  filter: blur(60px);
  pointer-events: none;
}

.about-para {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.about-para:last-child { margin-bottom: 0; }
.about-para-sm { font-size: 15px; margin-bottom: 28px; }

/* Clients */
.about-clients {
  position: relative;
  text-align: center;
  padding-bottom: 80px;
}
.about-clients .eyebrow {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Attache logo background */
.attache-logo-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.08;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.about-clients:hover .attache-logo-bg {
  opacity: 0.18;
}

.attache-logo-img {
  width: 280px;
  height: auto;
  filter: brightness(1.3);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.badge-row-left { justify-content: flex-start; }

.client-badge {
  display: inline-block;
  padding: 10px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.client-badge:hover {
  background: rgba(255 255 255 / 0.11);
  border-color: rgba(255 255 255 / 0.22);
  transform: translateY(-2px);
}

.tech-badge {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* Capabilities & tech grid */
.about-capabilities { padding: 80px 0 100px; }

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.capability-block {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  box-shadow: var(--glass-shadow);
}
.capability-block::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255 255 255 / 0.3) 50%, transparent 90%);
}

.capability-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.capability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.capability-list li {
  font-size: 15px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Philosophy */
.about-philosophy { padding: 0 0 140px; }

.philosophy-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 64px 72px;
  box-shadow: var(--glass-shadow);
  text-align: center;
}
.philosophy-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255 255 255 / 0.3) 50%, transparent 90%);
}

.philosophy-quote {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
}

body.light .about-title { color: #1d1d1f; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
    order: -1;
  }

  .nav-right {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle.active ~ .nav-right {
    background: var(--bg);
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-toggle.active ~ .nav-right {
    max-height: 500px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .nav-links li {
    list-style: none;
    text-align: center;
  }

  .nav-links li:nth-child(2) {
    display: none;
  }

  .nav-toggle.active ~ .nav-right .nav-links li:nth-child(2) {
    display: block;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255 255 255 / 0.08);
  }

  /* Theme and lang buttons: side by side, centered */
  .nav-right > .theme-btn,
  .nav-right > .lang-btn {
    margin: 0 6px;
    flex-shrink: 0;
  }

  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    flex-basis: 100%;
    order: -1;
  }

  .services-grid { grid-template-columns: 1fr; }
  .contact-glass { padding: 40px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .about-card { padding: 32px 24px; }
  .philosophy-card { padding: 40px 24px; }
}
