:root {
  --bg: #050510;
  --bg-alt: #0a001a;
  --surface: #12002b;
  --line: #2d1f5c;
  --text: #f5f5fb;
  --muted: #b8b0d4;
  --primary: #8a2be2;
  --primary-strong: #6a11cb;
  --accent: #00a3ff;
  --gradient-brand: linear-gradient(135deg, #00a3ff, #8a2be2);
  --page-gutter: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 18%, rgba(138, 43, 226, 0.22), transparent 44%),
    radial-gradient(circle at 18% 82%, rgba(0, 163, 255, 0.14), transparent 48%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  width: 100%;
  margin: 14px 0 0;
  padding: 10px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 152px;
  max-width: 38vw;
  display: block;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background-color: #151a2c;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 7px 11px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--gradient-brand);
  color: #f6f2ff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  transition: color 180ms ease-out;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.45rem;
}

main {
  width: 100%;
  padding: 0 var(--page-gutter) 64px;
}

section {
  margin-top: 88px;
}

.hero {
  margin-top: 28px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 22%, rgba(138, 43, 226, 0.18), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(0, 163, 255, 0.12), transparent 40%),
    var(--surface);
}

.hero-kicker {
  margin: 0;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 163, 255, 0.35);
  background: rgba(0, 163, 255, 0.08);
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: lowercase;
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.32;
  max-width: 15ch;
}

.hero-description {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.9;
}

.hero-metrics {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-metrics div {
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(15, 8, 32, 0.65);
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  min-height: clamp(360px, 42vh, 520px);
}

.hero-scene {
  position: relative;
  width: min(420px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-panel {
  position: relative;
  z-index: 3;
  width: 78%;
  border-radius: 16px;
  border: 1px solid #4a3a8a;
  background: rgba(10, 6, 24, 0.92);
  padding: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.hero-panel-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5b6fd8;
}

.hero-panel-top p {
  margin: 0 8px 0 auto;
  font-size: 0.72rem;
  color: #c9d2f5;
  font-weight: 700;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hero-mini-card {
  border: 1px solid #3f3478;
  border-radius: 10px;
  padding: 8px;
  background: rgba(138, 43, 226, 0.1);
}

.hero-mini-card small {
  display: block;
  color: #aeb8e6;
  font-size: 0.66rem;
}

.hero-mini-card strong {
  color: #edf1ff;
  font-size: 0.9rem;
}

.hero-panel-chart {
  margin-top: 10px;
  height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.hero-panel-chart div {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: 0.85;
}

.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.35), transparent 68%);
  filter: blur(8px);
  animation: pulse-glow 5s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 2px solid rgba(0, 163, 255, 0.35);
  box-shadow:
    inset 0 0 24px rgba(138, 43, 226, 0.25),
    0 0 30px rgba(0, 163, 255, 0.12);
  animation: spin-slow 18s linear infinite;
}

.hero-badge {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  border: 1px solid #5a4cb0;
  background: rgba(15, 8, 32, 0.9);
  color: #dbe4ff;
}

.hero-badge-code {
  top: 10%;
  left: 4%;
  z-index: 4;
  animation: float-badge 4.8s ease-in-out infinite;
}

.hero-badge-infinity {
  bottom: 8%;
  right: 4%;
  z-index: 4;
  color: var(--accent);
  animation: float-badge 5.6s ease-in-out infinite reverse;
}

.hero-strip {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-strip span {
  border: 1px solid var(--line);
  background: rgba(18, 0, 43, 0.75);
  color: #d8dff8;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 700;
}

html[dir="ltr"] .hero h1,
html[dir="ltr"] .hero-description,
html[dir="ltr"] .section-head p,
html[dir="ltr"] .about p,
html[dir="ltr"] .about-pillars p,
html[dir="ltr"] .contact p {
  max-width: 55ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  font-weight: 800;
  padding: 12px 18px;
  transition:
    transform 160ms ease-out,
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #f4f1ff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(15, 8, 32, 0.55);
}

@keyframes mascot-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes float-badge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
}

.section-head p,
.about p,
.approach p,
.contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  max-width: 67ch;
}

.service-list {
  border-top: 1px solid #313c64;
}

.projects-kicker {
  margin: 0;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(138, 43, 226, 0.45);
  background: rgba(138, 43, 226, 0.12);
  color: #d9c9ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.project-card {
  border: 1px solid #3a2a6e;
  border-radius: 18px;
  overflow: hidden;
  background: #0f0820;
  transition:
    transform 260ms ease-out,
    border-color 220ms ease-out,
    box-shadow 260ms ease-out;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #6a4fd4;
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.16);
}

.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(58, 42, 110, 0.55);
}

.project-tone-dental {
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.22), rgba(138, 43, 226, 0.08));
}

.project-tone-pharmacy {
  background: linear-gradient(135deg, rgba(220, 60, 80, 0.18), rgba(138, 43, 226, 0.08));
}

.project-tone-consulting {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.22), rgba(0, 163, 255, 0.1));
}

.project-logo {
  margin: 0;
  width: 72px;
  height: 56px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(106, 79, 212, 0.4);
  background: rgba(8, 5, 18, 0.75);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.project-logo-light {
  background: rgba(245, 247, 252, 0.96);
  border-color: rgba(200, 210, 235, 0.5);
}

.project-tag {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 79, 212, 0.45);
  background: rgba(15, 8, 32, 0.45);
  color: #c9d2ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.project-card-body {
  padding: 18px 20px 22px;
}

.project-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: #f0f2ff;
}

.project-card-body > p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.92rem;
}

.project-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.project-features li {
  position: relative;
  padding-inline-start: 18px;
  color: #c8cfe8;
  font-size: 0.86rem;
  line-height: 1.6;
}

.project-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.service-card {
  border: 1px solid #3a2a6e;
  border-radius: 16px;
  padding: 18px;
  background: #0f0820;
  transition:
    transform 260ms ease-out,
    border-color 220ms ease-out,
    box-shadow 260ms ease-out;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #6a4fd4;
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.18);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid #4a3a8a;
  transition: transform 260ms ease-out;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-card-body {
  padding: 0;
}

.service-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--accent);
}

.service-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.92rem;
}

.approach-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.approach-track article {
  position: relative;
  padding: 18px;
  border-left: 1px solid var(--line);
  background-color: #151a2a;
  transition:
    background-color 260ms ease-out,
    transform 260ms ease-out;
}

.approach-track article:last-child {
  border-left: 0;
}

.approach-track h3 {
  margin: 0 0 8px;
}

.approach-track article:hover {
  background-color: #1a2034;
  transform: translateY(-6px);
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background-color: #222942;
  border: 1px solid #3a446f;
  transition:
    transform 260ms ease-out,
    background-color 260ms ease-out,
    border-color 260ms ease-out;
}

.approach-track article:hover .step-icon {
  transform: scale(1.08) rotate(8deg);
  background-color: #2a3360;
  border-color: #6983e4;
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease-out,
    transform 600ms ease-out;
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about {
  padding-top: 0;
}

.about-kicker {
  margin: 0;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(138, 43, 226, 0.45);
  background: rgba(138, 43, 226, 0.12);
  color: #d9c9ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border: 1px solid #3a2a6e;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(138, 43, 226, 0.14), transparent 52%),
    #0f0820;
  box-shadow: 0 24px 48px rgba(5, 9, 20, 0.35);
}

.about-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(138, 43, 226, 0.32), transparent 58%),
    radial-gradient(circle at 20% 80%, rgba(0, 163, 255, 0.16), transparent 44%),
    #0a0618;
  border-left: 1px solid rgba(58, 42, 110, 0.65);
}

html[dir="ltr"] .about-visual {
  border-left: 0;
  border-right: 1px solid rgba(58, 42, 110, 0.65);
}

.about-visual-glow {
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.28), transparent 68%);
  animation: pulse-glow 5s ease-in-out infinite;
}

.about-avatar {
  position: relative;
  z-index: 2;
  width: min(280px, 72%);
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(138, 43, 226, 0.35))
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
  animation: avatar-float 5.5s ease-in-out infinite;
}

.about-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(106, 79, 212, 0.55);
  background: rgba(10, 6, 24, 0.82);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(5, 9, 20, 0.35);
}

.about-chip strong {
  font-size: 1.05rem;
  color: #edf1ff;
  line-height: 1.1;
}

.about-chip span {
  font-size: 0.72rem;
  color: var(--muted);
}

.about-chip-years {
  top: 18%;
  right: 10%;
}

.about-chip-support {
  bottom: 16%;
  left: 10%;
}

html[dir="ltr"] .about-chip-years {
  right: auto;
  left: 10%;
}

html[dir="ltr"] .about-chip-support {
  left: auto;
  right: 10%;
}

.about-content {
  padding: 28px 30px;
  display: grid;
  align-content: center;
  gap: 22px;
}

.about-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.about-pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(58, 42, 110, 0.55);
}

.about-pillars li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-pillar-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9b7cff;
  padding-top: 3px;
}

.about-pillars h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: #f0f2ff;
}

.about-pillars p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.92rem;
}

.about-quote {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border-inline-start: 3px solid var(--primary);
  background: rgba(138, 43, 226, 0.1);
}

.about-quote p {
  margin: 0;
  color: #e8e4ff;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-cta {
  width: fit-content;
}

.careers {
  padding-top: 0;
}

.careers-kicker {
  margin: 0;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 163, 255, 0.35);
  background: rgba(0, 163, 255, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.careers-form {
  border: 1px solid #3a2a6e;
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(145deg, rgba(138, 43, 226, 0.1), transparent 55%),
    #0f0820;
  box-shadow: 0 24px 48px rgba(5, 9, 20, 0.35);
}

.careers-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.careers-field {
  display: grid;
  gap: 8px;
}

.careers-field-full {
  margin-top: 16px;
}

.careers-field span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8e4ff;
}

.careers-field-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.careers-field-label small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.careers-field input,
.careers-field select,
.careers-field textarea {
  width: 100%;
  border: 1px solid #4a3a8a;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(8, 5, 18, 0.85);
  color: #f0f2ff;
  font-family: inherit;
  font-size: 0.92rem;
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out;
}

.careers-field input:focus,
.careers-field select:focus,
.careers-field textarea:focus {
  outline: none;
  border-color: #6a4fd4;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.careers-field textarea {
  resize: vertical;
  min-height: 110px;
}

.careers-field select {
  cursor: pointer;
}

.careers-file-field input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

.careers-file-field small {
  color: var(--muted);
  font-size: 0.78rem;
}

.careers-form-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.careers-form-actions .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.careers-status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.careers-status.is-success {
  color: #9ae6b4;
}

.careers-status.is-error {
  color: #fca5a5;
}

.careers-status.is-loading {
  color: #c9d2ff;
}

.contact {
  padding-top: 0;
}

.contact-kicker {
  margin: 0;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 163, 255, 0.35);
  background: rgba(0, 163, 255, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border: 1px solid #3a2a6e;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 163, 255, 0.12), transparent 52%),
    #0f0820;
  box-shadow: 0 24px 48px rgba(5, 9, 20, 0.35);
}

.contact-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 32px 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 163, 255, 0.22), transparent 58%),
    radial-gradient(circle at 20% 85%, rgba(138, 43, 226, 0.18), transparent 44%),
    #0a0618;
  border-left: 1px solid rgba(58, 42, 110, 0.65);
}

html[dir="ltr"] .contact-panel {
  border-left: 0;
  border-right: 1px solid rgba(58, 42, 110, 0.65);
}

.contact-panel-glow {
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.2), transparent 68%);
  animation: pulse-glow 5s ease-in-out infinite;
  pointer-events: none;
}

.contact-panel-logo {
  position: relative;
  z-index: 1;
  width: min(148px, 56%);
  display: block;
}

.contact-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: #f0f2ff;
}

.contact-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.94rem;
  max-width: 36ch;
}

.contact-main-cta {
  position: relative;
  z-index: 1;
  width: fit-content;
}

.contact-panel-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-whatsapp-cta:hover {
  border-color: rgba(37, 211, 102, 0.55);
  color: #25d366;
}

.contact-grid {
  display: grid;
  gap: 14px;
  padding: 28px 30px;
  align-content: center;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(58, 42, 110, 0.65);
  background: rgba(15, 8, 32, 0.72);
  text-decoration: none;
  color: inherit;
  transition:
    transform 220ms ease-out,
    border-color 220ms ease-out,
    box-shadow 220ms ease-out,
    background-color 220ms ease-out;
}

a.contact-card:hover {
  transform: translateY(-3px);
  border-color: #6a4fd4;
  background: rgba(138, 43, 226, 0.12);
  box-shadow: 0 14px 28px rgba(138, 43, 226, 0.14);
}

.contact-card-static {
  cursor: default;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid #4a3a8a;
}

.contact-card-icon-wa {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
}

a.contact-card-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.12);
}

.contact-card small {
  display: block;
  margin-bottom: 4px;
  color: #9b7cff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.contact-card strong,
.contact-card p {
  margin: 0;
  color: #edf1ff;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  width: 100%;
  padding: 26px var(--page-gutter) 40px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid #2e385f;
  border-radius: 14px;
  background: #131a2b;
}

.footer-grid h4 {
  margin: 0 0 10px;
  color: #e7ebfe;
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
  display: block;
  background: transparent;
}

.footer-grid p {
  margin: 0;
  line-height: 1.8;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: #c2cbee;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #f2f5ff;
}

.footer-copy {
  margin-top: 12px;
}

.chatbot-wrap {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 100;
}

html[dir="ltr"] .chatbot-wrap {
  right: auto;
  left: 18px;
}

.chatbot-trigger {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(138, 43, 226, 0.55);
  background: radial-gradient(circle at 50% 35%, rgba(138, 43, 226, 0.22), rgba(10, 6, 24, 0.95));
  box-shadow:
    0 0 0 4px rgba(138, 43, 226, 0.1),
    0 16px 30px rgba(5, 9, 20, 0.48);
  cursor: pointer;
  overflow: hidden;
  animation: chatbot-bounce 2.8s ease-in-out infinite;
  padding: 10px;
}

.chatbot-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.chatbot-panel {
  position: absolute;
  bottom: 86px;
  right: 0;
  width: min(330px, 88vw);
  border: 1px solid #3a4576;
  border-radius: 16px;
  background: #12182a;
  box-shadow: 0 24px 46px rgba(4, 8, 20, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 200ms ease-out,
    transform 200ms ease-out;
}

html[dir="ltr"] .chatbot-panel {
  right: auto;
  left: 0;
}

.chatbot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px;
  border-bottom: 1px solid #2f3960;
  background: #171f34;
}

.chatbot-title-group strong {
  display: block;
  font-size: 0.95rem;
}

.chatbot-title-group small {
  color: var(--muted);
}

.chatbot-close {
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  background: #263054;
  color: #e8ecff;
}

.chatbot-body {
  padding: 12px;
  max-height: 240px;
  overflow-y: auto;
}

.chat-msg {
  margin: 0 0 8px;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.chat-msg.bot {
  background: #1f2743;
  color: #dbe4ff;
}

.chat-msg.user {
  background: #7b5ce1;
  color: #f6f3ff;
}

.chatbot-actions {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #2f3960;
}

.chat-quick {
  border: 1px solid #39457a;
  background: #1a2340;
  color: #dbe4ff;
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
  text-align: start;
  font-family: inherit;
}

.chat-quick:hover {
  background: #252f55;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes avatar-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-7px) rotate(-1deg);
  }
  65% {
    transform: translateY(-3px) rotate(1deg);
  }
}

@keyframes chatbot-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (min-width: 1280px) {
  .about-shell,
  .contact-shell {
    grid-template-columns: 1fr 1.15fr;
  }

  .about-visual,
  .contact-panel {
    min-height: 460px;
  }
}

@media (max-width: 920px) {
  .hero-shell,
  .approach-track,
  .footer-grid,
  .about-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .about-visual,
  .contact-panel {
    min-height: 320px;
    border-left: 0;
    border-bottom: 1px solid rgba(58, 42, 110, 0.65);
  }

  html[dir="ltr"] .about-visual,
  html[dir="ltr"] .contact-panel {
    border-right: 0;
  }

  .about-content,
  .contact-grid {
    padding: 24px 20px;
  }

  .careers-form-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-scene {
    width: min(360px, 100%);
  }

  .approach-track article {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .approach-track article:last-child {
    border-bottom: 0;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    background-color: #121726;
    border-radius: 14px;
  }

  .site-nav.open {
    display: flex;
  }

  .lang-switch {
    order: 2;
  }

  .menu-btn {
    display: block;
  }

  .chatbot-wrap {
    right: 12px;
    bottom: 12px;
  }
}
