/* ==========================================================================
   Mobile CRM Technologies — Design System
   ========================================================================== */

:root {
  --navy-950: #0c0836;
  --navy-900: #130a4d;
  --navy-800: #1a1064;
  --navy-700: #241a80;
  --purple-600: #7c4ff2;
  --purple-500: #8b5cf6;
  --purple-400: #a56bfb;
  --pink-400: #ec9fe0;
  --pink-300: #f3c1e8;
  --lavender-100: #f1edff;
  --ink-900: #14112b;
  --ink-700: #3d3a56;
  --ink-500: #6b6885;
  --ink-300: #a5a2bd;
  --surface-0: #ffffff;
  --surface-50: #f8f7fd;
  --surface-100: #f1edfb;
  --border-100: #e7e3f5;

  --gradient-brand: linear-gradient(120deg, var(--purple-600) 0%, var(--purple-400) 45%, var(--pink-400) 100%);
  --gradient-dark: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);

  --shadow-sm: 0 2px 8px rgba(20, 17, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 17, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 17, 43, 0.16);
  --shadow-glow: 0 20px 50px rgba(124, 79, 242, 0.35);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-en: "Inter", "Noto Sans Khmer", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-km: "Noto Sans Khmer", "Battambang", "Khmer OS", sans-serif;
  --font-base: var(--font-en);

  --container: 1200px;
}

html[lang="km"] {
  --font-base: var(--font-km);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink-900);
  background: var(--surface-0);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.lang-km {
  font-family: var(--font-km);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-700);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--surface-50);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--lavender-100);
  color: var(--purple-600);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-head p {
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(124, 79, 242, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--purple-600);
  border: 1.5px solid var(--border-100);
}

.btn-outline:hover {
  border-color: var(--purple-500);
  background: var(--lavender-100);
}

.btn-block {
  width: 100%;
}

/* Topbar
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: #fff;
}

.topbar .icon-chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-switch button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

.lang-switch button.active {
  background: #fff;
  color: var(--navy-900);
}

/* Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(19, 10, 77, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar.scrolled .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: all 0.25s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--gradient-dark);
  overflow: hidden;
  padding: 120px 0 140px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero::before {
  width: 480px;
  height: 480px;
  background: var(--purple-500);
  top: -180px;
  right: -120px;
}

.hero::after {
  width: 380px;
  height: 380px;
  background: var(--pink-400);
  bottom: -160px;
  left: -100px;
  opacity: 0.35;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 22px;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--purple-400), var(--pink-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.hero-card .brand-mark {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin-bottom: 26px;
  box-shadow: 0 16px 40px rgba(124, 79, 242, 0.5);
}

.hero-metric {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metric:last-child {
  border-bottom: none;
}

.hero-metric strong {
  color: #fff;
  font-size: 1.5rem;
  display: block;
}

.hero-metric span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

/* Stats bar
   ========================================================================== */
.stats {
  background: var(--surface-0);
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.stats-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: 1px solid var(--border-100);
}

.stat-item {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--border-100);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item strong {
  display: block;
  font-size: 2.2rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.stat-item span {
  color: var(--ink-500);
  font-size: 0.92rem;
  font-weight: 500;
}

/* About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-panel {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 42px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--purple-500);
  filter: blur(60px);
  opacity: 0.5;
  top: -80px;
  right: -80px;
}

.about-panel .brand-mark {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.about-panel-list {
  position: relative;
  z-index: 2;
}

.about-panel-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-panel-list li:first-child {
  border-top: none;
}

.about-panel-list b {
  display: block;
  color: #fff;
}

.about-panel-list span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.about-content h5 {
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 700;
}

.about-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-feature .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lavender-100);
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.92rem;
  margin: 0;
}

/* Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-100);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  aspect-ratio: 1 / 1;
  background: var(--surface-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--purple-500);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.06);
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 10, 77, 0) 60%, rgba(19, 10, 77, 0.45) 100%);
  pointer-events: none;
}


.team-info {
  padding: 22px 16px 26px;
}

.team-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.team-info span {
  color: var(--purple-600);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border-100);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.contact-info-card .icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card h4 {
  font-size: 1rem;
  color: var(--purple-600);
  margin-bottom: 6px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-700);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-100);
}

.contact-map {
  min-height: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

.contact-form {
  padding: 48px;
}

.contact-form h3 {
  font-size: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-700);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-100);
  background: var(--surface-50);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink-900);
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.lang-km .field input,
body.lang-km .field textarea {
  font-family: var(--font-km);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-top: 14px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #eafbf1;
  color: #1a8f4c;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--pink-400);
  opacity: 0.3;
  filter: blur(70px);
  border-radius: 50%;
  top: -120px;
  right: 10%;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  max-width: 520px;
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 2;
  margin: 0;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* Footer
   ========================================================================== */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand img {
  height: 38px;
  margin-bottom: 20px;
}

.footer p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.footer h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.65);
  align-items: flex-start;
}

.footer-contact i {
  color: var(--purple-400);
  margin-top: 3px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-row a:hover {
  background: var(--gradient-brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile nav panel
   ========================================================================== */
.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 86vw);
  height: 100vh;
  background: var(--navy-900);
  z-index: 1100;
  padding: 26px 24px;
  transition: right 0.35s ease;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
}

.mobile-panel.open {
  right: 0;
}

.mobile-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-panel a.nav-item {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 40, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-100);
    padding-bottom: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-right .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .topbar-left small:nth-child(2) {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .contact-form {
    padding: 32px 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 40px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
