:root {
  --bg: #050505;
  --bg-soft: #101010;
  --card: rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.12);
  --text: #ffffff;
  --muted: #cfcfcf;
  --pink: #ff2d96;
  --purple: #8a2be2;
  --white: #ffffff;
  --shadow: 0 0 25px rgba(255, 45, 150, 0.25);
  --radius: 22px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(138, 43, 226, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 45, 150, 0.18), transparent 24%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(20, 4, 24, 0.92), rgba(5, 5, 5, 0.88), rgba(33, 6, 33, 0.92));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.nav {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
  min-width: 220px;
}

.brand-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 35px rgba(255,45,150,0.22);
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.05;
  text-shadow: 0 0 10px rgba(255,45,150,0.18);
}

.brand-text span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);

  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  max-width: 100%;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  color: var(--muted);
  transition: 0.25s ease;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;

  white-space: nowrap;
  flex: 0 0 auto;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 600;
}

.lang-toggle button.active {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 35px rgba(255, 45, 150, 0.25);
  color: var(--white);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

section {
  padding: 90px 0;
}

.page-hero {
  padding-top: 70px;
  padding-bottom: 30px;
}

.centered-head {
  justify-content: center;
  text-align: center;
}

.centered-head p {
  margin: 0 auto;
}

.hero {
  padding-top: 80px;
  padding-bottom: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 0.92rem;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 12ch;
}

.glow {
  color: var(--white);
  text-shadow: 0 0 14px rgba(255, 45, 150, 0.45);
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-card,
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.mini-card {
  padding: 18px;
}

.mini-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.hero-panel {
  padding: 28px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top, rgba(255,45,150,0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(138,43,226,0.16), transparent 24%),
    rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}

.logo-preview {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #000;
  min-height: 380px;
  display: block;
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255,45,150,0.25), transparent 35%),
    linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.55));
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.hero-overlay-content {
  max-width: 520px;
}

.hero-overlay h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(255,45,150,0.45);
}

.hero-overlay p {
  font-size: 0.95rem;
  color: #e6e6e6;
  margin-bottom: 14px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.badge {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.badge strong {
  display: block;
  margin-bottom: 6px;
}

.badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  max-width: 60ch;
}

.trust-grid,
.services-grid,
.stats-grid,
.contact-grid,
.footer-grid,
.apply-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-grid,
.apply-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.trust-card,
.service-card,
.stat-card,
.contact-card,
.apply-card {
  padding: 26px;
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,45,150,0.18), rgba(138,43,226,0.18));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
}

.service-card h3,
.trust-card h3,
.contact-card h3,
.apply-card h3,
.about-text h3,
.about-box h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p,
.trust-card p,
.contact-card p,
.apply-card p,
.about-text p,
.cta-box p {
  color: var(--muted);
}

.gallery-grid {
  align-items: start;
}

.gallery-card {
  overflow: hidden;
  padding: 0;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.before-after-grid {
  display: grid;
  gap: 22px;
}

.before-after-card {
  padding: 26px;
}

.before-after-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.before-after-images img {
  width: 100%;
  border-radius: 18px;
  min-height: 280px;
  object-fit: cover;
}

.ba-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.88rem;
  color: var(--white);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.about-box,
.about-text,
.cta-box,
.contact-form,
.apply-form {
  padding: 30px;
}

.about-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.about-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.why-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
  color: var(--white);
  text-shadow: 0 0 10px rgba(255,45,150,0.3);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-box {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(255,45,150,0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(138,43,226,0.18), transparent 30%),
    rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 14px;
}

.cta-box p {
  max-width: 65ch;
  margin: 0 auto 24px;
}

form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.94rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-list,
.footer-links {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-item,
.footer-links a {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.faq-item strong {
  display: block;
  margin-bottom: 8px;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer,
.simple-footer {
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  margin-bottom: 24px;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-brand-row {
  margin-bottom: 14px;
}

.footer-note {
  color: #9a9a9a;
  text-align: center;
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255,255,255,0.18);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

[data-lang] {
  display: none;
}

html[lang="en"] [data-lang="en"],
html[lang="es"] [data-lang="es"] {
  display: block;
}

html[lang="en"] .inline-en,
html[lang="es"] .inline-es {
  display: inline;
}

html[lang="en"] .inline-es,
html[lang="es"] .inline-en {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-wrap,
  .contact-grid,
  .apply-grid,
  .footer-grid,
  .services-grid,
  .trust-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
    min-height: 128px;
  }

  .nav-links,
  .nav-actions {
    justify-content: center;
  }

  .hero-grid,
  .about-wrap,
  .contact-grid,
  .apply-grid,
  .footer-grid,
  .services-grid,
  .trust-grid,
  .stats-grid,
  .field-row,
  .hero-badges,
  .before-after-images {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 92px;
    height: 92px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    border-radius: 24px;
  }

  section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 50px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}
.contact-form {
  max-width: 600px;
  margin: auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  color: #fff;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 10px #ff00cc;
}
.thank-you-buttons {
  justify-content: center;
}
.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 24px;
}

.fade-in {
  animation: fadeInUp 0.8s ease both;
  will-change: transform, opacity;
}

.fade-delay-1 {
  animation-delay: 0.12s;
}

.fade-delay-2 {
  animation-delay: 0.24s;
}

.fade-delay-3 {
  animation-delay: 0.36s;
}

.fade-delay-4 {
  animation-delay: 0.48s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ABOUT SECTION ONLY */
.about-text,
.about-box {
  min-height: 100%;
}

.about-text h3,
.about-box h2 {
  margin-bottom: 14px;
}

.about-text > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.about-list {
  gap: 14px;
}

.about-list div {
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  line-height: 1.8;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-list div:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.about-list strong {
  color: var(--white);
}

.why-stack {
  gap: 16px;
}

.why-card {
  padding: 20px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.why-card:first-child {
  border-top: none;
  padding-top: 6px;
}

.why-card .icon {
  margin-bottom: 14px;
}

.why-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.about-box .why-card p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 52ch;
}
/* ===== MOBILE FIX FOR HEADER + CAREERS PAGE ===== */
@media (max-width: 820px) {
  .topbar {
    padding: 0;
  }

  .container {
    width: min(94%, var(--max));
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    min-height: auto;
    padding: 14px 0 18px;
  }

  .brand {
    min-width: 0;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
    padding: 6px;
    border-radius: 18px;
  }

  .brand-text {
    min-width: 0;
    flex: 1;
  }

  .brand-text strong {
    font-size: 1.05rem;
    line-height: 1.05;
  }

  .brand-text span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border-radius: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.92rem;
    padding: 9px 12px;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    align-items: center;
  }

  .lang-toggle {
    width: 100%;
    justify-self: stretch;
  }

  .lang-toggle button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .nav-actions .btn,
  .nav-actions .btn-primary {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: 0.95rem;
    text-align: center;
  }

  .page-hero {
    padding-top: 44px;
    padding-bottom: 18px;
  }

  .page-hero h1,
  .page-hero h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .page-hero p {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 0;
  }

  .section-head {
    margin-bottom: 24px;
    text-align: center;
    align-items: center;
  }

  .apply-grid,
  .contact-grid,
  .about-wrap,
  .services-grid,
  .trust-grid,
  .stats-grid,
  .footer-grid,
  .before-after-images,
  .hero-badges,
  .hero-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .apply-card,
  .apply-form,
  .contact-card,
  .contact-form,
  .about-text,
  .about-box,
  .cta-box,
  .before-after-card,
  .service-card,
  .trust-card,
  .stat-card {
    padding: 22px 18px;
  }

  .faq-item {
    padding: 16px 16px;
  }

  .contact-form,
  .apply-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .form-group input,
  .form-group textarea,
  input,
  textarea,
  select {
    font-size: 16px;
  }

  .hero-buttons,
  .thank-you-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .thank-you-buttons .btn {
    width: 100%;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}
/* ===== EXTRA FIX FOR MOBILE MENU VISIBILITY ===== */
@media (max-width: 820px) {
  .nav-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    padding: 8px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 18px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 8px 10px;
  }

  .container.nav {
    width: min(96%, var(--max));
  }
}
@media (max-width: 820px) {
  .brand-text strong {
    font-size: 0.98rem;
  }

  .brand-text span {
    font-size: 0.74rem;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }
}
/* ===== FINAL MOBILE HEADER FIX: SHOW FULL MENU ===== */
@media (max-width: 820px) {
  .container.nav {
    width: min(96%, var(--max));
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-height: auto;
    padding: 14px 0 18px;
  }

  .brand {
    min-width: 0;
    width: 100%;
    gap: 12px;
    align-items: center;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
    padding: 6px;
    border-radius: 18px;
  }

  .brand-text {
    min-width: 0;
    flex: 1;
  }

  .brand-text strong {
    font-size: 1rem;
    line-height: 1.05;
  }

  .brand-text span {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  /* MENU COMPLETO EN 2 FILAS */
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 20px;
    overflow: visible;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.88rem;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    align-items: center;
  }

  .lang-toggle {
    width: 100%;
  }

  .lang-toggle button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .nav-actions .btn,
  .nav-actions .btn-primary {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.95rem;
    text-align: center;
  }
}