@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/montserrat.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/opensans.woff2') format('woff2');
}

:root {
  --navy: #0C1C4A;
  --navy-dark: #06102D;
  --gold: #66B3E5;
  --gold-light: #A9DDF5;
  --blue-mid: #18366F;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --bg-light: #F5F7FA;
  --bg-white: #ffffff;
  --border: #AEADB3;
  --radius: 8px;
  --transition-theme: background 0.3s, color 0.3s, border-color 0.3s;
}
[data-theme="dark"] {
  --navy: #0C1C4A;
  --navy-dark: #000000;
  --gold: #66B3E5;
  --gold-light: #A9DDF5;
  --blue-mid: #18366F;
  --text: #ffffff;
  --text-light: #AEADB3;
  --bg-light: #06102D;
  --bg-white: #000000;
  --border: #AEADB3;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg-white);
  transition: var(--transition-theme);
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  width: 100%;
  margin: 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.nav-logo span { color: #fff; font-weight: 400; }
.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: #cdd6e8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.nav-links a.nav-home {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links a.nav-home svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.nav-links a:hover { color: var(--gold); background: rgba(102,179,229,0.1); }
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(102,179,229,0.55);
  border-radius: 50%;
  background: rgba(102,179,229,0.08);
  color: #cdd6e8;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 0.55rem;
  border: 1px solid rgba(102,179,229,0.55);
  border-radius: 4px;
  background: rgba(102,179,229,0.08);
  color: #cdd6e8;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.search-toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.language-toggle:hover,
.language-toggle:focus-visible,
.search-toggle:hover,
.search-toggle:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
  outline: none;
}
.site-search-panel {
  position: fixed;
  top: 72px;
  right: 1rem;
  z-index: 140;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  width: min(520px, calc(100vw - 2rem));
  padding: 0.65rem;
  border: 1px solid rgba(102,179,229,0.36);
  border-radius: 8px;
  background: var(--bg-white);
  box-shadow: 0 16px 40px rgba(0,0,0,0.24);
}
.site-search-panel[hidden] { display: none; }
.site-search-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-light);
  color: var(--text);
  font: 500 0.92rem 'Open Sans', sans-serif;
}
.site-search-input:focus {
  border-color: var(--gold);
  outline: none;
}
.site-search-count {
  min-width: 3.4rem;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}
.site-search-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(102,179,229,0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.site-search-home {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.site-search-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.site-search-action:hover,
.site-search-action:focus-visible {
  background: var(--gold);
  color: var(--navy-dark);
  outline: none;
}
.site-search-mark {
  border-radius: 3px;
  background: rgba(102,179,229,0.35);
  color: inherit;
  padding: 0.02em 0.08em;
}
.site-search-mark.is-active {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 0 0 2px rgba(12,28,74,0.18);
}
.site-search-pages {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.site-search-pages:empty { display: none; }
.site-search-pages__label {
  color: var(--text-light);
  font-size: 0.76rem;
  font-weight: 700;
}
.site-search-page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(102,179,229,0.34);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
}
.site-search-page-link:hover,
.site-search-page-link:focus-visible {
  border-color: var(--gold);
  background: rgba(102,179,229,0.16);
  color: var(--navy-dark);
  outline: none;
}
.site-search-page-link span {
  color: var(--text-light);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav-social a,
.nav-social button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #AEADB3;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-social svg { width: 15px; height: 15px; fill: currentColor; }
.nav-social a.social-facebook { color: #AEADB3; }
.nav-social a.social-x     { color: #AEADB3; }
.nav-social a.social-yt    { color: #AEADB3; }
.nav-social a.social-email { color: #AEADB3; }
.nav-social button.social-tiktok { color: #AEADB3; }
.nav-social a.social-whatsapp { color: #AEADB3; }
.nav-social a.social-blog { color: #AEADB3; }
.nav-social a.social-blog img { filter: grayscale(1) opacity(0.65); transition: filter 0.2s; }
.nav-social a.social-blog:hover img,
.nav-social a.social-blog:focus-visible img { filter: none; }
.nav-social a.social-facebook:hover { color: #1877f2; background: rgba(24,119,242,0.14); }
.nav-social a.social-x:hover     { color: #000;    background: #fff; }
.nav-social a.social-yt:hover    { color: #ff0000; background: rgba(255,255,255,0.08); }
.nav-social a.social-email:hover { color: #ea4335; background: rgba(234,67,53,0.12); }
.nav-social button.social-tiktok:hover,
.nav-social button.social-tiktok:focus-visible {
  color: #ff0050;
  background: rgba(255,0,80,0.12);
}
.nav-social a.social-whatsapp:hover,
.nav-social a.social-whatsapp:focus-visible {
  color: #25d366;
  background: rgba(37,211,102,0.12);
}
.nav-social a.social-blog:hover,
.nav-social a.social-blog:focus-visible {
  color: #ff5722;
  background: rgba(255,87,34,0.12);
}
.nav-social [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  padding: 0.22rem 0.45rem;
  border-radius: 4px;
  background: #fff;
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
}
.nav-social [data-tooltip]:hover::after,
.nav-social [data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 44%, #1f6d9e 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(102,179,229,0.24), rgba(102,179,229,0.08)),
    url('/images/img-02.webp') center/cover no-repeat;
  opacity: 0.2;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero img.hero-logo {
  width: 170px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #D7EAF7;
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECTIONS ── */
section { padding: 5rem 1.5rem; }
section:nth-child(even) { background: var(--bg-light); }
.container { max-width: 1100px; margin: 0 auto; }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem auto 0;
}
.section-header p {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 1.1rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.section-link:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-1px);
}

/* ── MISION / VISION ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.content-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.content-block p { color: var(--text-light); margin-bottom: 1rem; }
.content-block .highlight-box {
  background: var(--navy);
  color: #fff;
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1rem;
  margin: 1.5rem 0;
}
.img-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(12,28,74,0.18);
  position: relative;
}
.img-frame img { width: 100%; display: block; }
.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px rgba(102,179,229,0.3);
}

/* ── VALORES ── */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.8rem 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  list-style: none;
}
.valor-card {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}
.valor-card::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  margin-top: 0.55rem;
  background: var(--gold);
  border-radius: 50%;
}
.valor-num { display: none; }
.valor-card h4 { font-size: inherit; font-weight: inherit; color: inherit; }

/* ── OBJETIVOS ── */
.objetivos-list {
  display: grid;
  gap: 0.95rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.8rem 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  list-style: none;
}
.objetivo-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
}
.objetivo-item::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  margin-top: 0.55rem;
  background: var(--gold);
  border-radius: 50%;
}
.objetivo-num { display: none; }
.objetivo-item p { font-size: inherit; font-weight: inherit; color: inherit; }

/* ── SERVICIOS ── */
.servicios-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: center;
}
.tab-btn {
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--navy);
  color: #fff;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.servicio-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.servicio-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.servicio-card ul { list-style: none; padding: 0; }
.servicio-card li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.25rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.servicio-card li:last-child { border-bottom: none; }
.servicio-card li::before {
  content: '›';
  color: var(--gold);
  font-weight: 700;
  margin-right: 0.4rem;
}
.capacitacion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.capacitacion-intro {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}
.tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ── CLIENTES ── */
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.2rem 1.3rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(12,28,74,0.08);
  padding: 1.4rem;
}
.cliente-item {
  min-height: 44px;
  border-bottom: 1px solid rgba(174,173,179,0.35);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
}
.cliente-item:hover { color: var(--navy); }
.cliente-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── ALIADOS ── */
.aliados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.2rem 1.3rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(12,28,74,0.08);
  padding: 1.4rem;
}
.aliado-card {
  min-height: 44px;
  border-bottom: 1px solid rgba(174,173,179,0.35);
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
}
.aliado-card::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.aliado-card:hover { color: var(--navy); }

/* ── CONTACTO ── */
#contacto { background: var(--navy); }
#contacto .section-header h2 { color: #fff; }
#contacto .section-label { color: var(--gold-light); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.contact-card { text-align: center; }
.contact-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--gold);
}
.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.contact-card h4 {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.contact-card p, .contact-card a {
  color: #D7EAF7;
  font-size: 0.92rem;
}
.contact-card a:hover { color: var(--gold); }
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #D7EAF7;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social-btn.social-facebook:hover { border-color: #1877f2; color: #1877f2; background: rgba(24,119,242,0.14); }
.social-btn.social-x:hover { border-color: #fff; color: #000; background: #fff; }
.social-btn.social-yt:hover { border-color: #ff0000; color: #ff0000; background: rgba(255,255,255,0.08); }
.social-btn.social-email:hover { border-color: #ea4335; color: #ea4335; background: rgba(234,67,53,0.12); }
.social-btn.social-tiktok:hover,
.social-btn.social-tiktok:focus-visible { border-color: #ff0050; color: #ff0050; background: rgba(255,0,80,0.12); }
.social-btn.social-whatsapp:hover,
.social-btn.social-whatsapp:focus-visible { border-color: #25d366; color: #25d366; background: rgba(37,211,102,0.12); }
.social-btn.social-blog:hover,
.social-btn.social-blog:focus-visible { border-color: #ff5722; color: #ff5722; background: rgba(255,87,34,0.12); }
.contact-rtn-wrap {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.contact-rtn-text {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  padding: 2rem 1.5rem;
  text-align: center;
  color: #6a82a0;
  font-size: 0.85rem;
}
footer strong { color: var(--gold); }
.footer-rtn { margin-top: 0.4rem; font-size: 0.8rem; color: #ffffff; }
.footer-privacy { margin-top: 0.8rem; }
.footer-privacy-link { color: #66B3E5; font-size: 0.8rem; }

/* ── VISITAS ── */
.visits-widget-wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  font-family: 'Montserrat', sans-serif;
}
.visits-widget-wrap [hidden] {
  display: none !important;
}
.visits-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  min-width: 112px;
  min-height: 34px;
  padding: 0.36rem 0.72rem;
  border: 1px solid rgba(12,28,74,0.08);
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  box-shadow: 0 20px 42px rgba(12,28,74,0.16), 0 1px 2px rgba(12,28,74,0.08);
  font: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.visits-widget:hover,
.visits-widget[aria-expanded="true"] {
  box-shadow: 0 18px 38px rgba(12,28,74,0.2), 0 1px 2px rgba(12,28,74,0.08);
}
.visits-widget:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.visits-widget__dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #66B3E5;
  box-shadow: 0 0 0 0 rgba(102,179,229,0.55);
  animation: visitsPulse 1.8s ease-out infinite;
}
.visits-widget__content {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  line-height: 1;
}
.visits-widget__count {
  min-width: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 0;
}
.visits-widget__label {
  margin-top: 0;
  color: #666;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.visits-widget.is-loading .visits-widget__count {
  color: #777;
}
.visits-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.8rem);
  width: min(330px, calc(100vw - 1.5rem));
  padding: 1.25rem 1.25rem 1.05rem;
  border: 1px solid rgba(12,28,74,0.08);
  border-radius: 12px;
  background: #fff;
  color: #1f1f1f;
  box-shadow: 0 22px 46px rgba(12,28,74,0.16), 0 2px 8px rgba(12,28,74,0.08);
  text-align: left;
}
.visits-panel__head {
  margin-bottom: 1.15rem;
  color: #000;
  font-size: 1.1rem;
  font-weight: 900;
}
.visits-panel__list {
  display: grid;
  gap: 1.05rem;
}
.visits-country {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}
.visits-country__name {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  overflow: hidden;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.visits-country__name span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.visits-country__flag {
  flex: 0 0 auto;
  width: 1.6rem;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
}
.visits-country__count {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
}
.visits-panel__state {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
}
@keyframes visitsPulse {
  0% { box-shadow: 0 0 0 0 rgba(102,179,229,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(102,179,229,0); }
  100% { box-shadow: 0 0 0 0 rgba(102,179,229,0); }
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #AEADB3;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); background: rgba(102,179,229,0.08); }
.theme-toggle svg { width: 16px; height: 16px; fill: currentColor; pointer-events: none; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* ── DARK MODE OVERRIDES ── */
[data-theme="dark"] .section-header h2 { color: var(--text); }
[data-theme="dark"] .content-block h3 { color: var(--text); }
[data-theme="dark"] .valor-card h4 { color: var(--text); }
[data-theme="dark"] .valores-grid {
  background: #000000;
  border-color: #3f4652;
  border-top-color: var(--gold);
}
[data-theme="dark"] .valor-card {
  color: #ffffff;
  box-shadow: none;
}
[data-theme="dark"] .servicio-card h4 { color: var(--gold); }
[data-theme="dark"] .servicio-card li { border-bottom-color: var(--border); }
[data-theme="dark"] .tab-btn { border-color: var(--gold); color: var(--gold); }
[data-theme="dark"] .tab-btn.active,
[data-theme="dark"] .tab-btn:hover { background: var(--gold); color: var(--navy-dark); }
[data-theme="dark"] .content-block .highlight-box { background: #06102D; }
[data-theme="dark"] #contacto { background: #000000; }
[data-theme="dark"] .aliado-card { color: var(--text); border-left-color: var(--gold); }
[data-theme="dark"] .cliente-item:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] footer { background: #000000; }
[data-theme="dark"] .nav-links { background: #000000; }
[data-theme="dark"] .visits-widget,
[data-theme="dark"] .visits-panel {
  background: #fff;
  border-color: rgba(255,255,255,0.16);
}

/* ── MEDIA ── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.media-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.media-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.media-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.media-desc {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0;
}
@media (max-width: 900px) {
  .media-grid { grid-template-columns: 1fr; }
}

/* ── CAROUSEL ── */
.carousel-section { margin: 0; padding: 0; background: #000; }
.carousel { position: relative; overflow: hidden; width: 100%; }
.carousel-track { display: flex; transition: transform 2.6s ease; height: 380px; will-change: transform; }
.carousel-slide { flex: 0 0 100%; width: 100%; position: relative; overflow: hidden; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transform-origin: center;
}
.carousel-slide img.carousel-img--no-scale {
  transform: none;
}
.carousel-caption {
  position: absolute;
  right: 0;
  bottom: 30%;
  max-width: 60%;
  padding: 0.75rem 1.5rem;
  background: rgba(12, 28, 74, 0.72);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: right;
}
.carousel-caption--sky {
  background: rgba(102, 179, 229, 0.72);
}
.carousel-caption--tourism {
  max-width: 68%;
  text-align: center;
}
.carousel-caption--artisan {
  max-width: 64%;
  text-align: center;
}
.carousel-caption--office {
  max-width: 66%;
  text-align: center;
}
.carousel-caption--image-translation {
  display: none;
}
[data-language="en"] .carousel-caption--image-translation {
  display: block;
}
[data-language="pt"] .carousel-caption--image-translation {
  display: block;
}
.carousel-caption--training,
.carousel-caption--enterprise {
  top: 19%;
  right: 0;
  bottom: auto;
  width: 40%;
  max-width: none;
  min-height: 86px;
  background: #1f3f82;
  font-size: 1.08rem;
  text-align: center;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
}
.carousel-caption--enterprise {
  top: 3%;
  right: 0;
  width: 47%;
  min-height: 106px;
  background: #1f3f82;
}
[data-language="en"] .carousel-caption--training,
[data-language="en"] .carousel-caption--enterprise {
  display: flex;
}
[data-language="pt"] .carousel-caption--training,
[data-language="pt"] .carousel-caption--enterprise {
  display: flex;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.18); border: none; color: #fff;
  font-size: 2.5rem; line-height: 1; cursor: pointer;
  padding: 0.2rem 0.7rem; z-index: 10;
  transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(12, 28, 74, 0.75); }
.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }
.carousel-toggle {
  top: auto;
  right: 0.75rem;
  bottom: 0.75rem;
  transform: none;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  z-index: 11;
  transition: background 0.2s;
}
.carousel-toggle:hover { background: rgba(12, 28, 74, 0.75); }
.carousel-dots { position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 10; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; padding: 0; transition: background 0.2s; }
.carousel-dot.active { background: #fff; }
@media (max-width: 768px) {
  .carousel-track { height: 220px; }
  .carousel-caption {
    max-width: 80%;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }
  .carousel-caption--training,
  .carousel-caption--enterprise {
    top: 14%;
    width: 78%;
    min-height: 68px;
  }
  .carousel-caption--enterprise { top: 2%; width: 76%; }
  .visits-widget-wrap {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .visits-widget {
    min-width: 104px;
    min-height: 32px;
    padding: 0.32rem 0.64rem;
    gap: 0.36rem;
  }
  .visits-widget__dot {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
  }
  .visits-widget__content { gap: 0.36rem; }
  .visits-widget__count { font-size: 0.82rem; }
  .visits-widget__label { font-size: 0.76rem; }
  .visits-panel {
    width: min(300px, calc(100vw - 1.5rem));
    padding: 1.05rem 1rem 0.95rem;
  }
  .visits-panel__head {
    margin-bottom: 0.95rem;
    font-size: 1rem;
  }
  .visits-panel__list { gap: 0.9rem; }
  .visits-country__name,
  .visits-country__count {
    font-size: 0.92rem;
  }
  .visits-country__flag {
    width: 1.35rem;
    font-size: 1.08rem;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none !important; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--navy-dark); padding: 0; gap: 0; z-index: 100; }
  .nav-links.open { display: flex !important; }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links .nav-home-item { display: none !important; }
  .nav-links li a,
  .nav-links li .language-toggle,
  .nav-links li .search-toggle { display: flex !important; align-items: center; width: 100%; min-height: 38px; padding: 0.5rem 1.35rem !important; border-radius: 0 !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; font-size: 0.86rem !important; font-weight: 500 !important; letter-spacing: 0.3px; justify-content: flex-start; background: transparent; }
  .nav-links li .search-toggle svg { width: 16px; height: 16px; }
  .site-search-panel {
    top: 68px;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }
  .hamburger { display: flex; }
  .nav-social {
    display: none !important;
  }
  .nav-mobile-actions {
    display: flex;
  }
  .nav-mobile-actions .language-toggle {
    min-width: 44px;
  }
  .nav-mobile-actions .search-toggle {
    flex: 0 0 32px;
  }
  .theme-toggle {
    display: none !important;
  }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .valores-grid {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }
  .objetivos-list {
    padding: 1.35rem;
  }
  section { padding: 3.5rem 1rem; }
}
