:root {
  --primary: #00994d;
  --primary-hover: #007a3d;
  --accent: #00b359;
  --accent-hover: #009144;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #444444;
  --dark-4: #777777;
  --body: #333333;
  --white: #ffffff;
  --light: #f2f2f2;
  --border: #cccccc;
  --max: 1344px;
  --header-h: 76px;
}
[data-theme="light"] {
  --primary: #00994d;
  --primary-hover: #007a3d;
  --accent: #00b359;
  --accent-hover: #009144;
  --dark: #f5f5f5;
  --dark-2: #e0e0e0;
  --dark-3: #999999;
  --dark-4: #666666;
  --body: #222222;
  --white: #ffffff;
  --light: #ffffff;
  --border: #dddddd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--body);
  background: var(--white);
  font-family: Calibri, "Inter", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ===== HEADER ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.header.scrolled {
  background: rgba(17,17,17,.97);
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.nav-wrap {
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  margin-right: auto; color: var(--white);
}
.brand-logo-wrap { position: relative; display: flex; overflow: hidden; border-radius: 6px; cursor: pointer; }
.brand-logo { width: auto; height: 52px; object-fit: contain; display: block; transition: transform .3s, filter .3s; animation: logoSpin 5s ease-out forwards; }
.brand-logo-wrap:hover .brand-logo { transform: scale(1.08); filter: brightness(1.25); }
.brand-logo-wrap .shine-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,.35) 0%, rgba(255,255,255,.08) 40%, transparent 70%);
}
.brand-logo-wrap:hover .shine-overlay,
.brand-logo-wrap.touching .shine-overlay { opacity: 1; }
@keyframes logoSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(1440deg); } }
.brand strong {
  display: block; font-family: "Montserrat", sans-serif;
  font-size: 14px; line-height: 1.05; text-transform: uppercase;
  letter-spacing: .3px;
}
.brand small {
  display: block; font-size: 9px; line-height: 1.2;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--dark-4);
}

/* Nav links */
.nav { display: flex; gap: 28px; }
.nav a {
  position: relative;
  color: var(--dark-4); font-size: 14px; font-weight: 400;
  letter-spacing: .2px; font-family: "Montserrat", sans-serif;
  transition: color .2s;
  padding: 0 2px;
}
.nav a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
  transform: scaleX(0); transition: transform .2s;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* Language selector */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--dark-3); border-radius: 8px;
  background: transparent; color: var(--dark-4); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  margin-left: 8px;
}
.theme-toggle:hover { background: rgba(255,255,255,.08); border-color: var(--dark-4); color: var(--white); }
.theme-toggle svg { width: 18px; height: 18px; position: absolute; transition: opacity .2s, transform .2s; }
.theme-toggle .theme-moon { opacity: 1; transform: rotate(0); }
.theme-toggle .theme-sun { opacity: 0; transform: rotate(90deg); }
[data-theme="light"] .theme-toggle .theme-moon { opacity: 0; transform: rotate(-90deg); }
[data-theme="light"] .theme-toggle .theme-sun { opacity: 1; transform: rotate(0); }
[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,.06); border-color: var(--dark-3); color: var(--dark); }

.lang-wrap { position: relative; display: flex; align-items: center; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 10px;
  border: 1px solid var(--dark-3); border-radius: 8px;
  background: transparent; color: var(--dark-4);
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.08); border-color: var(--dark-4); }
.lang-chevron { transition: transform .2s; }
.lang-wrap.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 150px; padding: 6px;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.15); z-index: 60;
}
.lang-wrap.open .lang-dropdown { display: block; }
.lang-dropdown button {
  display: block; width: 100%; padding: 7px 12px;
  border: 0; border-radius: 5px; background: transparent;
  color: var(--body); font-size: 13px; text-align: left; cursor: pointer;
  transition: background .15s;
}
.lang-dropdown button:hover { background: var(--light); color: var(--primary); }

/* Mobile hamburger */
.menu {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--dark-3); border-radius: 8px;
  background: transparent; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  cursor: pointer;
}
.menu span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 1px; transition: transform .2s, opacity .2s; }
.menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu.open span:nth-child(2) { opacity: 0; }
.menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: min(100vh, 800px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(17,17,17,.95) 0%, rgba(26,26,26,.8) 60%, rgba(68,68,68,.4) 100%);
  z-index: 1;
}
.blueprint {
  position: absolute; inset: 0; z-index: 1;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .7fr;
  align-items: center; gap: 60px;
  padding: calc(var(--header-h) + 56px) 0 72px;
}
.overline {
  margin-bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--dark-4);
}
.hero h1 {
  max-width: 680px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08; margin-bottom: 22px;
}
.hero-title-highlight { color: var(--dark-4); }
.hero-text {
  max-width: 580px; margin-bottom: 32px;
  color: var(--dark-4); font-size: 18px; line-height: 1.5;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  border-radius: 8px;
  font-size: 14px; font-weight: 400; letter-spacing: .5px;
  text-transform: uppercase;
  transition: all .2s; cursor: pointer;
  font-family: "Montserrat", sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary); color: var(--white);
  border: 1px solid transparent;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline {
  border: 1px solid var(--dark-4); color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

.hero-brand { display: flex; justify-content: center; align-items: center; }
.hero-brand img { width: min(100%, 420px); object-fit: contain; transition: transform .4s, filter .4s; }
.hero-brand:hover img { transform: scale(1.04); filter: brightness(1.1); }

/* Hero strip */
.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(17,17,17,.6);
  backdrop-filter: blur(8px);
}
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-grid span {
  min-height: 64px; display: flex; align-items: center;
  font-size: 14px; font-weight: 300; color: var(--dark-4);
}
.strip-grid span + span {
  padding-left: 30px; border-left: 1px solid rgba(255,255,255,.1);
}

/* ===== STATS ===== */
.stats {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 28px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats-item { display: flex; flex-direction: column; gap: 2px; }
.stats-item strong {
  font-family: "Montserrat", sans-serif;
  font-size: 30px; color: var(--white);
}
.stats-item span {
  font-size: 12px; color: var(--dark-4);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 400;
}

/* ===== SECTION GENERICS ===== */
.section { padding: 96px 0; scroll-margin-top: var(--header-h); }
.label {
  margin-bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
}
.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18; margin-bottom: 20px;
}
.heading.center { text-align: center; margin-bottom: 48px; }
.intro { max-width: 560px; margin: 0 auto; color: var(--body); font-size: 18px; }

/* ===== COMPANY ===== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-copy { color: var(--body); font-size: 18px; line-height: 1.5; }
.about-copy p + p { margin-top: 18px; }
.about-copy strong { color: var(--dark); }
.company-data {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 32px;
}
.company-data span {
  padding: 14px; border-radius: 8px;
  background: var(--light); border: 1px solid var(--border);
  color: var(--dark); font-size: 13px; font-weight: 400;
}
.company-data small { display: block; margin-bottom: 4px; color: var(--body); font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }

/* ===== TEAM ===== */
.team { background: var(--light); border-bottom: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
.team-card { text-align: center; padding: 24px; }
.team-photo {
  width: 160px; height: 160px; border-radius: 50%;
  margin: 0 auto 22px; overflow: hidden;
  border: 3px solid var(--white); box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: "Montserrat", sans-serif; font-size: 20px; margin-bottom: 4px; color: var(--dark); }
.team-role {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent); margin-bottom: 14px;
}
.team-desc { color: var(--body); font-size: 16px; line-height: 1.5; max-width: 380px; margin: 0 auto; }
.team-desc-sub { color: var(--dark-3); font-size: 13px; margin-bottom: 12px; }
.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 8px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--dark-3); font-size: 13px; font-weight: 400;
  transition: all .2s;
}
.team-linkedin:hover { border-color: var(--primary); color: var(--primary); background: var(--light); }

/* ===== SOLUTIONS ===== */
.solutions {
  position: relative;
  background: var(--dark);
  color: var(--white);
}
.solutions .label { color: var(--dark-4); }
.solutions .intro { color: var(--dark-4); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-panel {
  padding: 28px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; background: rgba(17,17,17,.5);
  backdrop-filter: blur(8px); transition: background .2s, border-color .2s;
}
.service-panel:hover { background: rgba(17,17,17,.7); border-color: rgba(255,255,255,.2); }
.service-panel { position: relative; overflow: hidden; }
.service-panel img {
  opacity: 0; animation: logoFadeIn .6s ease forwards;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .35s;
  position: relative; z-index: 1;
}
.service-panel:hover img { transform: scale(1.2) rotate(-4deg); filter: brightness(1.25) contrast(1.1); }
.service-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .5s;
  pointer-events: none;
}
.service-panel:hover::after { transform: translateX(100%); }
@keyframes logoFadeIn {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}
.service-panel:nth-child(1) img { animation-delay: .0s; }
.service-panel:nth-child(2) img { animation-delay: .05s; }
.service-panel:nth-child(3) img { animation-delay: .1s; }
.service-panel:nth-child(4) img { animation-delay: .15s; }
.service-panel:nth-child(5) img { animation-delay: .2s; }
.service-panel:nth-child(6) img { animation-delay: .25s; }
.service-panel:nth-child(7) img { animation-delay: .3s; }
.service-panel:nth-child(8) img { animation-delay: .35s; }
.service-panel:nth-child(9) img { animation-delay: .4s; }
.service-panel:nth-child(10) img { animation-delay: .45s; }
.service-panel:nth-child(11) img { animation-delay: .5s; }
.service-panel:nth-child(12) img { animation-delay: .55s; }
.service-panel:nth-child(13) img { animation-delay: .6s; }
.service-panel:nth-child(14) img { animation-delay: .65s; }
.service-panel:nth-child(15) img { animation-delay: .7s; }
.service-panel:nth-child(16) img { animation-delay: .75s; }
.service-panel:nth-child(17) img { animation-delay: .8s; }
.service-panel:nth-child(18) img { animation-delay: .85s; }
.service-panel:nth-child(19) img { animation-delay: .9s; }
.service-panel:nth-child(20) img { animation-delay: .95s; }
.service-panel:nth-child(21) img { animation-delay: 1.0s; }
.service-panel:nth-child(22) img { animation-delay: 1.05s; }
.service-panel:nth-child(23) img { animation-delay: 1.1s; }
.service-panel:nth-child(24) img { animation-delay: 1.15s; }
.service-panel:nth-child(25) img { animation-delay: 1.2s; }
.panel-label {
  margin-bottom: 12px; color: var(--dark-4);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.service-panel h3 { margin-bottom: 20px; font-size: 22px; line-height: 1.3; }
.service-list li {
  position: relative; padding: 9px 0 9px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--dark-4); font-size: 16px;
}
.service-list li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* ===== EXPERTISE ===== */
.expertise {
  position: relative;
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.expertise .heading { max-width: 600px; margin-bottom: 44px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card {
  padding: 30px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.work-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.work-tag {
  color: var(--accent); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px;
}
.work-card h3 { margin-bottom: 22px; font-size: 20px; line-height: 1.3; }
.work-card li {
  position: relative; padding: 10px 0 10px 18px;
  border-top: 1px solid var(--border);
  color: var(--body); font-size: 14px;
}
.work-card li::before {
  content: ""; position: absolute; top: 18px; left: 2px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ===== MISSION ===== */
.mission { background: var(--white); border-bottom: 1px solid var(--border); }
.mission-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; }
.mission blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 0 20px 28px;
  color: var(--dark);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400; line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-dark .label { color: var(--dark-4); }
.section-dark .intro { color: var(--dark-4); }
.section-dark .section-title { color: var(--white); }

.cta-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: var(--white); text-align: center;
}
.cta-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  margin-bottom: 12px;
}
.cta-section p { color: var(--dark-4); margin-bottom: 28px; font-size: 18px; }
.cta-section .btn-primary { background: var(--white); color: var(--dark); }
.cta-section .btn-primary:hover { background: var(--light); }

/* ===== CONTACT ===== */
.contact {
  padding: 88px 0; scroll-margin-top: var(--header-h);
  background: var(--dark); color: var(--white);
}
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 72px; }
.contact .label { color: var(--dark-4); }
.contact-note { margin-top: 16px; color: var(--dark-4); font-size: 18px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-panel { display: grid; gap: 12px; }
.contact-item, .contact-address {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 88px; padding: 16px 22px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  transition: border-color .2s, background .2s;
}
.contact-item small, .contact-address small {
  margin-bottom: 4px; color: var(--dark-4);
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.contact-item strong { font-size: 18px; font-weight: 600; }
.contact-item span { margin-top: 2px; color: var(--dark-4); font-size: 14px; }
.contact-address p { color: var(--dark-4); font-size: 15px; }
.contact-item:hover { border-color: var(--dark-4); background: rgba(255,255,255,.04); }
.contact-item.whatsapp { background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.25); }

/* ===== FOOTER ===== */
.footer { padding: 24px 0; color: var(--body); border-top: 1px solid var(--border); font-size: 14px; }
.footer-inner { display: flex; justify-content: center; gap: 16px; }

/* ===== BACK TO TOP ===== */
.backtotop {
  position: fixed; bottom: 24px; left: 24px; z-index: 999;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.backtotop.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.backtotop-btn {
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: var(--light); color: var(--accent); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: background .2s, color .2s, transform .2s;
}
.backtotop-btn:hover { background: var(--accent); color: var(--white); transform: scale(1.06); }
.backtotop-btn svg { width: 22px; height: 22px; }

/* ===== CHATBOT ===== */
.chatbot {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.chatbot-balloon {
  border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  padding: 12px 24px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  animation: balloonPulse 2s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}
.chatbot-balloon:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,.35); }
.chatbot-balloon.open { display: none; }
@keyframes balloonPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.chatbot-box {
  display: none; flex-direction: column; width: 340px; max-height: 460px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18); overflow: hidden;
  animation: chatIn .25s ease;
}
.chatbot-box.open { display: flex; }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.chatbot-header { background: var(--primary); color: var(--white); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.chatbot-header strong { font-size: 16px; }
.chatbot-header span { font-size: 12px; opacity: .8; }
.chatbot-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 360px; }
.chatbot-messages { display: flex; flex-direction: column; gap: 8px; }
.chatbot-msg { padding: 10px 14px; border-radius: 8px; font-size: 14px; line-height: 1.5; max-width: 92%; animation: msgIn .2s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chatbot-msg.bot { background: #f1f5f9; color: #1e293b; align-self: flex-start; border-bottom-left-radius: 2px; }
.chatbot-msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }
.chatbot-msg .msg-name { font-size: 11px; font-weight: 600; opacity: .7; margin-bottom: 2px; }
.chatbot-input { display: flex; flex-direction: column; gap: 8px; }
.chatbot-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chatbot-options button {
  padding: 8px 16px; border: 1.5px solid var(--primary); border-radius: 20px;
  background: transparent; color: var(--primary); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .15s; font-family: Calibri, "Inter", sans-serif;
}
.chatbot-options button:hover { background: var(--primary); color: #fff; }
.chatbot-feedback { font-size: 13px; color: #2e7d32; min-height: 20px; }
.chatbot-input-group { display: flex; gap: 6px; }
.chatbot-rpa-input {
  flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-family: Calibri, "Inter", sans-serif; font-size: 14px; outline: none;
  background: #f8fafc; color: #1a2332;
}
.chatbot-rpa-input:focus { border-color: var(--primary); }
.chatbot-rpa-send {
  padding: 10px 16px; border: none; border-radius: 8px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; font-family: "Montserrat", sans-serif;
}
.chatbot-rpa-send:hover { background: var(--primary-hover); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .menu { display: inline-flex; }
  .nav {
    display: none; position: fixed; top: var(--header-h); left: 16px; right: 16px;
    padding: 10px; background: var(--dark-2); color: var(--dark-4);
    border: 1px solid var(--dark-3); border-radius: 8px; flex-direction: column;
    box-shadow: 0 12px 36px rgba(0,0,0,.3);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; color: var(--dark-4); }
  .nav a::after { display: none; }
  .nav a:hover, .nav a.active { color: var(--accent); }
  .lang-btn { padding: 0 8px; font-size: 10px; min-height: 34px; }
  .lang-btn .lang-chevron { display: none; }
  .hero-layout { grid-template-columns: 1fr .6fr; gap: 36px; }
  .about-grid, .contact-grid, .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .brand strong { font-size: 12px; }
  .brand-logo-wrap .brand-logo { width: 48px; height: 44px; }
  .hero { min-height: 100svh; }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; padding-top: calc(var(--header-h) + 24px); padding-bottom: 36px; }
  .hero-content { order: 2; }
  .hero-brand { order: 1; max-width: 200px; margin: 0 auto; }
  .hero h1 { font-size: clamp(28px, 10vw, 38px); }
  .hero-text { font-size: 15px; }
  .strip-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .strip-grid span { min-height: 36px; font-size: 12px; }
  .strip-grid span + span { padding-left: 0; border-left: none; }
  .stats { padding: 20px 0; }
  .stats-grid { gap: 12px; }
  .stats-item strong { font-size: 22px; }
  .stats-item span { font-size: 10px; }
  .section { padding: 48px 0; }
  .heading.center { margin-bottom: 32px; }
  .intro { font-size: 15px; }
  .service-grid, .work-grid, .company-data { grid-template-columns: 1fr; }
  .service-panel { padding: 18px; }
  .panel-label { font-size: 10px; }
  .service-panel h3 { font-size: 18px; }
  .service-panel p:not(.panel-label) { font-size: 13px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-card { padding: 16px; }
  .team-photo { width: 120px; height: 120px; }
  .team-name { font-size: 17px; }
  .team-desc { font-size: 14px; }
  .work-grid { gap: 10px; }
  .work-card { padding: 18px 16px; }
  .work-card h3 { font-size: 17px; }
  .work-card p { font-size: 13px; }
  .faq-list .faq-item button { padding: 14px 16px; font-size: 14px; }
  .faq-list .faq-item .faq-answer { padding: 0 16px 14px; font-size: 13px; }
  .mission blockquote { padding-left: 18px; }
  .contact-item strong { font-size: 15px; }
  .contact-note { font-size: 15px; }
  .footer-inner { flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; }
  .btn { min-height: 44px; padding: 0 22px; font-size: 12px; }
}
@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .brand-logo-wrap .brand-logo { width: 40px; height: 36px; }
  .brand strong { font-size: 10px; }
  .brand small { font-size: 7px; letter-spacing: 1.2px; }
  .theme-toggle { width: 34px; height: 34px; margin-left: 4px; }
  .theme-toggle svg { width: 16px; height: 16px; }
  .hero h1 { font-size: clamp(24px, 9vw, 32px); }
  .hero-text { font-size: 14px; }
  .hero-brand { max-width: 160px; }
  .section { padding: 36px 0; }
  .heading.center { margin-bottom: 24px; }
  .section-title { font-size: clamp(22px, 7vw, 28px); }
  .service-panel { padding: 14px; }
  .service-panel h3 { font-size: 16px; }
  .work-card { padding: 14px 12px; }
  .work-tag { font-size: 9px; }
  .team-photo { width: 100px; height: 100px; }
  .company-data { gap: 6px; }
  .company-data span { padding: 10px; font-size: 11px; }
  .chatbot { bottom: 12px; right: 12px; }
  .chatbot-balloon { padding: 10px 18px; font-size: 13px; }
  .chatbot-box { width: calc(100vw - 24px); max-height: 75vh; }
  .chatbot-body { max-height: 55vh; }
  .faq-list .faq-item button { padding: 12px 14px; font-size: 13px; }
  .faq-list .faq-item .faq-answer { padding: 0 14px 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .brand-logo-wrap .shine-overlay { display: none; }
}
