/* NABURIX v2 — design system (Gemini palette + production assets) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-deep: #060B19;
  --bg-surface: #0E172C;
  --bg-surface-hover: #16223F;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --cyan-electric: #00E5FF;
  --blue-tech: #00A3FF;
  --orange-accent: #FF7A00;
  --font-global: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-global);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul { list-style: none; margin: 0; padding: 0; }

img { max-width: 100%; height: auto; }

.nx-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nx-section {
  padding: 90px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nx-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 45px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.nx-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: var(--cyan-electric);
  border-radius: 2px;
}

/* ── Fixed header ── */
.site-header {
  background-color: rgba(6, 11, 25, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .navbar {
  padding: 0;
  min-height: var(--header-height);
}

.site-header .nx-container.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-height);
  flex-wrap: nowrap;
  gap: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-area .logo-img {
  height: 48px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-main);
  text-transform: lowercase;
}

.logo-text .logo-x {
  font-weight: 800;
  font-size: 1.15em; /* un poco más grande que “naburi”, sin el 1.34 anterior */
  display: inline-block;
  line-height: 1;
  /* Misma lógica que DisenoNaburix / tarjetas: izq. naranja, der. cyan */
  background: linear-gradient(90deg, #FF7A00 0 50%, #00B8D9 50% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted) !important;
  padding: 0.5rem 0 !important;
  text-transform: none;
  letter-spacing: 0;
}

.site-header .nav-link:hover {
  color: var(--cyan-electric) !important;
}

.navbar-nav-tools {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-nav-tools .nav-item { list-style: none; }

.tf-navbar-mobile-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.tf-navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.5rem;
}

/* Desktop: menú + idioma a la derecha (idioma al final) */
@media (min-width: 992px) {
  .site-header .navbar-expand-lg .navbar-collapse.tf-navbar-row {
    display: flex !important;
    flex: 1 1 auto;
    flex-basis: auto;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-left: 1rem;
  }

  .site-header .navbar-nav-tools {
    flex: 0 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px 24px;
  }

  .site-header .tf-lang-bar.d-lg-flex {
    display: inline-flex !important;
    margin-left: 0;
    flex-shrink: 0;
    order: 2;
  }

  .site-header .navbar-nav-tools {
    order: 1;
  }

  .site-header .tf-lang-bar .dropdown-menu {
    right: 0;
    left: auto;
  }
}

.tf-navbar-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.tf-navbar-close:hover { color: var(--text-main); }

.tf-navbar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.tf-nav-open { overflow: hidden; }
body.tf-nav-open .tf-navbar-backdrop {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse.tf-navbar-row {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(14, 23, 44, 0.98);
    padding: 4rem 1.5rem 2rem;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: block !important;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .site-header .navbar-collapse.tf-navbar-row.show,
  .site-header .navbar-collapse.tf-navbar-row.collapsing {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .navbar-nav-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .navbar-nav-tools .nav-item { width: 100%; }
  .navbar-nav-tools .nav-link {
    display: block;
    padding: 0.85rem 0 !important;
    font-size: 1.05rem;
  }
  /* Idioma en mobile queda en la barra superior (derecha), no dentro del drawer */
  .site-header #navbarNav > .tf-lang-bar {
    display: none !important;
  }
}

/* ── Hero (hybrid: img SEO + gradient overlay) ── */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 120px) 0 120px;
  text-align: center;
  overflow: hidden;
  min-height: 520px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(255, 122, 0, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, rgba(6, 11, 25, 0.55) 0%, var(--bg-deep) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFF 40%, var(--cyan-electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: none;
}

.hero-lead {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 45px;
}

.nx-btn {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.nx-btn-primary {
  background: linear-gradient(90deg, var(--blue-tech), var(--cyan-electric));
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

.nx-btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #e56a00, var(--orange-accent) 45%, #ffb347);
  box-shadow: 0 6px 28px rgba(255, 122, 0, 0.55), 0 0 40px rgba(255, 179, 71, 0.25);
  color: #1a0a00;
  text-decoration: none;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-highlight {
  border-left: 3px solid var(--orange-accent);
  padding-left: 24px;
  font-style: italic;
  color: var(--text-main) !important;
  font-size: 1.15rem;
  margin: 25px 0;
}

.mission-vision-box {
  background: var(--bg-surface);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mv-item { margin-bottom: 35px; }
.mv-item:last-child { margin-bottom: 0; }

.mv-item h3 {
  font-size: 1.35rem;
  color: var(--cyan-electric);
  margin-bottom: 12px;
  font-weight: 700;
}

.mv-item p, .mv-item li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.values-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 8px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.value-card strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.value-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Health ── */
.health-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(0, 229, 255, 0.015) 50%, var(--bg-deep) 100%);
}

.health-intro {
  color: var(--text-muted);
  margin-bottom: 10px;
  max-width: 850px;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 35px;
}

.health-card {
  background: rgba(14, 23, 44, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.health-card:hover {
  border-color: var(--cyan-electric);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.1);
}

.health-card h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.health-card h3::before {
  content: "//";
  color: var(--cyan-electric);
  font-weight: 700;
}

.health-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ── Cards grid (services & products) ── */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.nx-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.nx-card:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(0, 229, 255, 0.15);
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.nx-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.nx-card-img--contain {
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

.nx-card-body {
  padding: 28px 32px 32px;
  flex: 1;
}

.nx-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.nx-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.nx-card p:last-child { margin-bottom: 0; }

.product-card { position: relative; }
.product-card:hover { border-color: rgba(255, 122, 0, 0.25); }

.product-tag {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-accent);
  font-weight: 700;
  background: rgba(6, 11, 25, 0.75);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── Clients carousel ── */
.clients-section { background: rgba(255, 255, 255, 0.01); text-align: center; }

.clients-carousel-wrap { margin: 40px 0 20px; overflow: hidden; }

.clients-slide {
  display: none;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 40px);
  flex-wrap: nowrap;
  padding: 10px 0;
  min-height: 70px;
  animation: fadeIn 0.4s ease;
}

.clients-slide.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.clients-slide img {
  max-height: 55px;
  width: auto;
  max-width: min(160px, 28vw);
  flex: 0 1 auto;
  object-fit: contain;
  background: transparent;
  filter: grayscale(100%) brightness(1.35);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.clients-slide img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* Logos negros (Kinetic, Domo, Muchnik, M2): invertir a claro sobre fondo dark */
.clients-slide img.client-logo-dark {
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

.clients-slide img.client-logo-dark:hover {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.clients-slide picture {
  display: contents;
}

/* Impercuber: logo B/N → rojo de marca en hover */
.clients-slide .client-logo-impercuber {
  display: inline-block;
  width: min(160px, 28vw);
  height: 55px;
  flex: 0 1 auto;
  flex-shrink: 1;
  background-color: rgba(248, 250, 252, 0.55);
  -webkit-mask-image: url(/images/logo-impercuber.png);
  mask-image: url(/images/logo-impercuber.png);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.clients-slide .client-logo-impercuber:hover {
  background-color: #e30613;
  transform: scale(1.05);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.control-btn {
  cursor: pointer;
  color: var(--text-muted);
  user-select: none;
  background: none;
  border: none;
  font-family: inherit;
  padding: 6px;
  line-height: 0;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.control-btn-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.control-btn:hover { color: var(--cyan-electric); }

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot.active,
.carousel-dot:hover { background: var(--cyan-electric); }

/* ── Contact ── */
.contact-box {
  background: linear-gradient(135deg, var(--bg-surface) 0%, #050A17 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.contact-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-box .contact-lead {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-logo {
  max-width: 220px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.info-item {
  font-size: 1.1rem;
  font-weight: 600;
}

.info-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  text-decoration: none;
}

.info-item a:hover { color: var(--orange-accent); }

#idanchorwhatsapp:hover .icon-svg.linkwhatsapp {
  color: #1ebe57 !important;
}

.contact-location {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.icon-svg.linkwhatsapp {
  color: #25D366 !important;
  width: 1.15em;
  height: 1.15em;
}

.icon-svg.linkmail {
  color: var(--cyan-electric) !important;
  width: 1.15em;
  height: 1.15em;
}

.icon-svg.linkinstagram {
  color: #E4405F !important;
  width: 1.15em;
  height: 1.15em;
}

#idanchormail:hover .icon-svg.linkmail {
  color: var(--orange-accent) !important;
}

#idanchorinstagram:hover .icon-svg.linkinstagram {
  color: #ff6b8a !important;
}

/* ── Footer ── */
.site-footer {
  background-color: #030610;
  padding: 45px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--cyan-electric);
}

/* ── Lang bar, flags, icons ── */
.tf-lang-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.tf-lang-globe {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.tf-lang-bar .dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem 0.35rem;
  color: var(--text-muted) !important;
}

.tf-lang-bar .dropdown-toggle::after { vertical-align: middle; margin-left: 0.35em; }

.tf-flag {
  display: inline-block;
  width: 1.35em;
  height: 1.02em;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.tf-flag-ar { background-image: url(/images/flags/ar.svg); }
.tf-flag-us { background-image: url(/images/flags/us.svg); }
.tf-flag-br { background-image: url(/images/flags/br.svg); }

.site-header .dropdown-menu {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .dropdown-item {
  background: transparent;
  padding: 0.5rem 1rem;
}

.icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-svg--2x { width: 2em; height: 2em; }

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 100;
  background: linear-gradient(90deg, var(--blue-tech), var(--cyan-electric));
  border: none;
  color: var(--bg-deep);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

#btn-back-to-top .icon-svg { color: var(--bg-deep); }

#spinner {
  position: fixed;
  z-index: 1031;
  top: 50%;
  left: 50%;
}

/* Legal / inner pages — same dark graphic line as home */
.legal-header {
  background: rgba(6, 11, 25, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-header.site-header {
  position: relative;
}

.legal-header .nav-link {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
}

.legal-header .nav-link:hover {
  color: var(--cyan-electric) !important;
}

.legal-page {
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 229, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(255, 122, 0, 0.04) 0%, transparent 40%),
    var(--bg-deep);
  min-height: 60vh;
}

.legal-content {
  max-width: 820px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: -20px 0 32px;
}

.legal-body {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.legal-body p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.legal-body strong {
  color: var(--text-main);
}

.legal-body a {
  color: var(--cyan-electric);
}

.legal-body a:hover {
  color: var(--orange-accent);
}

.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan-electric);
  margin: 1.75rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.legal-body h2:first-of-type {
  margin-top: 1.25rem;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.nx-btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.nx-btn-ghost:hover {
  border-color: var(--cyan-electric);
  color: var(--cyan-electric);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .legal-body {
    padding: 28px 22px;
  }
  .legal-actions {
    flex-direction: column;
  }
  .legal-actions .nx-btn {
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .site-header .navbar-nav-tools {
    gap: 16px 18px;
  }
  .site-header .nav-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .nx-section { padding: 70px 0; }
  .hero {
    padding: calc(var(--header-height) + 80px) 0 90px;
    min-height: 440px;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .hero-lead {
    font-size: 1.05rem;
    margin-bottom: 32px;
    padding: 0 4px;
  }
  .nx-section { padding: 56px 0; }
  .nx-section-title {
    font-size: 1.7rem;
    margin-bottom: 28px;
  }
  .health-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mission-vision-box { padding: 28px 22px; }
  .contact-box { padding: 36px 20px; }
  .contact-box h2 { font-size: 1.7rem; }
  .contact-info { flex-direction: column; gap: 16px; }
  .footer-container { flex-direction: column; text-align: center; }
  .clients-slide {
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .clients-slide img {
    max-height: 40px;
    max-width: min(100px, 28vw);
  }
  .clients-slide img.client-logo-dark {
    opacity: 0.92;
  }
  .clients-slide .client-logo-impercuber {
    width: min(100px, 28vw);
    height: 40px;
  }
  .carousel-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nx-container { padding: 0 16px; }
}

@media (max-width: 575.98px) {
  .logo-text { font-size: 1.25rem; }
  .logo-area .logo-img {
    height: 36px;
    max-width: 42px;
  }
  .hero {
    min-height: 380px;
    padding: calc(var(--header-height) + 64px) 0 72px;
  }
  .nx-btn {
    padding: 12px 28px;
    width: 100%;
    max-width: 320px;
  }
  .contact-logo { max-width: 180px; }
}
