* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050d19;
  --bg-deep: #091427;
  --bg-soft: #12284a;
  --ink: #eef6ff;
  --muted: rgba(218, 232, 248, 0.78);
  --blue-1: #1f4d8c;
  --blue-2: #2e72b6;
  --blue-3: #3488ca;
  --blue-4: #5a9fd7;
  --blue-5: #b8d7eb;
  --line: rgba(116, 180, 238, 0.2);
  --line-strong: rgba(157, 214, 255, 0.8);
  --panel: rgba(8, 18, 34, 0.56);
  --panel-strong: rgba(10, 24, 45, 0.82);
  --panel-border: rgba(134, 188, 231, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

html {
  scroll-behavior: smooth;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(52, 136, 202, 0.18), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(90, 159, 215, 0.13), transparent 24%),
    radial-gradient(circle at 72% 78%, rgba(31, 77, 140, 0.18), transparent 30%),
    linear-gradient(180deg, #04101d 0%, #061120 38%, #07162a 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body.overlay-open {
  overflow: hidden;
}

body.loading {
  overflow: hidden;
}

body.content-page .page-loader {
  display: none;
}

body.page-transitioning .nav,
body.page-transitioning main,
body.page-transitioning .footer,
body.page-transitioning .chatbot {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(52, 136, 202, 0.22), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(90, 159, 215, 0.16), transparent 24%),
    linear-gradient(180deg, #04101d 0%, #061120 40%, #07162a 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-core {
  width: min(420px, calc(100vw - 40px));
  padding: 2rem 1.4rem;
  text-align: center;
}

.loader-logo {
  width: 82px;
  height: auto;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 0 18px rgba(184, 215, 235, 0.18));
}

.loader-line {
  position: relative;
  height: 2px;
  width: 100%;
  background: rgba(184, 215, 235, 0.08);
  overflow: hidden;
}

.loader-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(184, 215, 235, 0.95), rgba(90, 159, 215, 0.95), transparent);
  box-shadow: 0 0 18px rgba(184, 215, 235, 0.22);
  animation: loaderSweep 1.6s linear infinite;
}

.loader-text {
  margin-top: 1rem;
  color: rgba(232, 242, 255, 0.82);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 320;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  pointer-events: none;
}

.chatbot > * {
  pointer-events: auto;
}

.chatbot-toggle {
  min-width: 154px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid rgba(46, 114, 182, 0.12);
  background: linear-gradient(135deg, rgba(250, 252, 255, 0.98), rgba(226, 237, 246, 0.98));
  color: #17324f;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 22px 38px rgba(10, 24, 45, 0.18);
  border-radius: 22px;
}

.chatbot-panel {
  width: min(380px, calc(100vw - 24px));
  max-height: min(72vh, 640px);
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid rgba(46, 114, 182, 0.12);
  background:
    radial-gradient(circle at 88% 14%, rgba(90, 159, 215, 0.16), transparent 18%),
    radial-gradient(circle at 16% 82%, rgba(184, 215, 235, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(249, 252, 255, 0.99), rgba(231, 241, 248, 0.98));
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 54px rgba(10, 24, 45, 0.18);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  border-radius: 28px;
}

.chatbot.open .chatbot-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(46, 114, 182, 0.08);
}

.chatbot-header strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #15314f;
}

.chatbot-header p {
  color: rgba(17, 38, 61, 0.7);
  font-size: 0.88rem;
  line-height: 1.5;
}

.chatbot-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(46, 114, 182, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #15314f;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 12px;
}

.chatbot-messages {
  min-height: 180px;
  max-height: 260px;
  overflow: auto;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.chatbot-bubble {
  max-width: 88%;
  padding: 0.8rem 0.9rem;
  line-height: 1.6;
  font-size: 0.92rem;
}

.chatbot-bubble.bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.82);
  color: #17324f;
  border: 1px solid rgba(46, 114, 182, 0.08);
  border-radius: 18px 18px 18px 6px;
}

.chatbot-bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(52, 136, 202, 0.9), rgba(31, 77, 140, 0.88));
  color: #f4fbff;
  font-weight: 600;
  border-radius: 18px 18px 6px 18px;
}

.chatbot-bubble.thinking {
  min-width: 74px;
  text-align: center;
  color: #4b6b8e;
  letter-spacing: 0.24em;
}

.chatbot-bubble.thinking::after {
  content: '...';
  display: inline-block;
  animation: chatbotThinking 1s infinite steps(3, end);
}

.chatbot-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.chatbot-chip {
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(46, 114, 182, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #20466f;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 999px;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0 1rem 1rem;
}

.chatbot-input {
  min-height: 46px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(46, 114, 182, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: #15314f;
  outline: none;
  border-radius: 16px;
}

.chatbot-input::placeholder {
  color: rgba(17, 38, 61, 0.4);
}

.chatbot-send {
  min-width: 88px;
  border: 1px solid rgba(46, 114, 182, 0.1);
  background: linear-gradient(135deg, rgba(52, 136, 202, 0.92), rgba(90, 159, 215, 0.88));
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  border-radius: 16px;
}

.chatbot-botmark,
.chatbot-toggle-bot {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 42px;
  height: 48px;
}

.chatbot-toggle-bot {
  width: 34px;
  height: 40px;
}

.chatbot-antenna {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(61, 133, 194, 0.48), rgba(36, 91, 149, 0.92));
}

.chatbot-antenna::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #ffffff 0%, #8cc5ff 35%, #3f87cb 100%);
  box-shadow: 0 0 12px rgba(111, 187, 255, 0.45);
}

.chatbot-face {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  width: 42px;
  height: 33px;
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(222, 236, 248, 0.96));
  border: 1px solid rgba(46, 114, 182, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(27, 75, 124, 0.16);
}

.chatbot-face::before,
.chatbot-face::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(209, 227, 244, 0.95), rgba(179, 207, 233, 0.92));
}

.chatbot-face::before {
  left: -3px;
}

.chatbot-face::after {
  right: -3px;
}

.chatbot-eye {
  position: relative;
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #bfe4ff 20%, #2c6fb1 58%, #173c68 100%);
  box-shadow: 0 0 12px rgba(49, 118, 186, 0.3);
}

.chatbot-mouth {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 12px;
  height: 6px;
  border-bottom: 2px solid rgba(31, 77, 140, 0.7);
  border-radius: 0 0 10px 10px;
  transform: translateX(-50%);
}

@keyframes chatbotThinking {
  0% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-1px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
}

.atmosphere-field,
.vector-field,
.gradient-orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.atmosphere-field {
  z-index: 0;
  background:
    radial-gradient(circle at 20% 28%, rgba(184, 215, 235, 0.08), transparent 16%),
    radial-gradient(circle at 75% 26%, rgba(90, 159, 215, 0.12), transparent 18%),
    radial-gradient(circle at 68% 74%, rgba(52, 136, 202, 0.09), transparent 20%),
    radial-gradient(circle at 28% 78%, rgba(31, 77, 140, 0.15), transparent 22%);
  filter: blur(8px);
  animation: driftClouds 18s ease-in-out infinite alternate;
}

.vector-field {
  z-index: 1;
  overflow: hidden;
}

.vector-line {
  position: absolute;
  display: block;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(184, 215, 235, 0.92), rgba(52, 136, 202, 0.8), transparent);
  box-shadow:
    0 0 14px rgba(116, 180, 238, 0.32),
    0 0 26px rgba(116, 180, 238, 0.16);
  opacity: 0;
}

.vector-line::after {
  content: '';
  position: absolute;
  top: -1px;
  right: 14%;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(222, 243, 255, 0.95), transparent);
  filter: blur(1px);
}

.line-a {
  top: 14%;
  width: 36vw;
  left: -42vw;
  animation: streakRight 9s linear infinite;
}

.line-b {
  top: 24%;
  width: 28vw;
  right: -34vw;
  animation: streakLeft 10.5s linear infinite 1.2s;
}

.line-c {
  top: 39%;
  width: 44vw;
  left: -48vw;
  animation: streakRight 7.8s linear infinite 0.8s;
}

.line-d {
  top: 56%;
  width: 22vw;
  right: -28vw;
  animation: streakLeft 8.4s linear infinite 2.4s;
}

.line-e {
  top: 67%;
  width: 40vw;
  left: -46vw;
  animation: streakRight 11.2s linear infinite 2s;
}

.line-f {
  top: 79%;
  width: 26vw;
  right: -32vw;
  animation: streakLeft 7.2s linear infinite 0.4s;
}

.line-g {
  top: 86%;
  width: 18vw;
  left: -24vw;
  animation: streakRight 6.8s linear infinite 3.4s;
}

@keyframes streakRight {
  0% {
    transform: translateX(0) scaleX(0.8);
    opacity: 0;
  }
  12% {
    opacity: 0.92;
  }
  85% {
    opacity: 0.86;
  }
  100% {
    transform: translateX(150vw) scaleX(1.08);
    opacity: 0;
  }
}

@keyframes streakLeft {
  0% {
    transform: translateX(0) scaleX(0.8);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  85% {
    opacity: 0.84;
  }
  100% {
    transform: translateX(-150vw) scaleX(1.06);
    opacity: 0;
  }
}

@keyframes driftClouds {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(1.4vw, -1.2vw, 0) scale(1.03);
  }
}

.gradient-orb {
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
}

.orb-a {
  width: 60vmax;
  height: 60vmax;
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(52, 136, 202, 0.2) 0%, rgba(31, 77, 140, 0.04) 76%);
  animation: floatOrb 19s infinite alternate ease-in-out;
}

.orb-b {
  width: 50vmax;
  height: 50vmax;
  bottom: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(90, 159, 215, 0.14) 0%, rgba(184, 215, 235, 0.03) 84%);
  animation: floatOrb 24s infinite reverse ease-in-out;
}

@keyframes floatOrb {
  0% {
    transform: translate(-14%, -10%) scale(1);
    opacity: 0.42;
  }
  100% {
    transform: translate(18%, 16%) scale(1.18);
    opacity: 0.86;
  }
}

.container {
  max-width: 1300px;
  width: calc(100% - 42px);
  margin: 0 auto;
}

.nav,
.hero,
.footer,
.overlay-shell {
  position: relative;
  z-index: 10;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  padding: 2.1rem 1.8rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  z-index: 100;
  background: transparent;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-logo-nav {
  width: 78px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(116, 180, 238, 0.12));
}

.brand-logo-hero {
  width: min(760px, 92vw);
  margin: 0 auto;
  filter: drop-shadow(0 0 22px rgba(116, 180, 238, 0.18));
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184, 215, 235, 0.28);
  background: rgba(7, 19, 36, 0.28);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.35rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.9rem;
  margin-left: 0.25rem;
  position: relative;
}

.lang-switch::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(184, 215, 235, 0.24), transparent);
  transform: translateY(-50%);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 32px;
  border: 1px solid rgba(184, 215, 235, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(232, 242, 255, 0.78);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.lang-link.active,
.lang-link:hover {
  color: #ffffff;
  border-color: rgba(184, 215, 235, 0.24);
  background: rgba(184, 215, 235, 0.08);
  transform: translateY(-1px);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: -1rem;
}

.nav-group::after {
  content: '';
  position: absolute;
  left: -1rem;
  right: -1rem;
  top: 100%;
  height: 1rem;
}

.nav-parent {
  position: relative;
  color: rgba(232, 242, 255, 0.88);
  background: transparent;
  border: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.35rem 0;
  cursor: pointer;
  transition: color 0.28s ease, transform 0.28s ease;
}

.nav-parent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-5), var(--blue-4));
  box-shadow: 0 0 12px rgba(157, 214, 255, 0.32);
  transition: width 0.28s ease;
}

.nav-group:hover .nav-parent,
.nav-group.open .nav-parent {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-group:hover .nav-parent::after,
.nav-group.open .nav-parent::after {
  width: 100%;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1rem 1.05rem;
  background: rgba(5, 15, 29, 0.82);
  border: 1px solid rgba(184, 215, 235, 0.14);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.nav-group:hover .nav-submenu,
.nav-group.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  width: 100%;
}

.nav-links a {
  position: relative;
  color: rgba(232, 242, 255, 0.88);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.35rem 0;
  transition: color 0.28s ease, transform 0.28s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-5), var(--blue-4));
  box-shadow: 0 0 12px rgba(157, 214, 255, 0.32);
  transition: width 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8.2rem 0 3rem;
}

.main-title {
  margin-bottom: 1.5rem;
}

.title-sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(210, 232, 248, 0.92);
}

.tagline {
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dynamic-line {
  min-height: 2.2rem;
  margin-bottom: 1.8rem;
}

.cursor-neon {
  display: inline-block;
  font-weight: 800;
  color: #dbefff;
  text-shadow: 0 0 18px rgba(157, 214, 255, 0.22);
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 3.2rem;
}

.btn {
  position: relative;
  min-width: 230px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid rgba(157, 214, 255, 0.24);
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(135deg, #2d6ca8 0%, #3f8fcb 46%, #b8d7eb 100%);
  color: #071221;
  border-color: rgba(184, 215, 235, 0.4);
  box-shadow: 0 14px 34px rgba(41, 111, 173, 0.36);
}

.btn-outline {
  background: linear-gradient(135deg, rgba(17, 44, 77, 0.72), rgba(9, 25, 45, 0.82));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.btn:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 215, 235, 0.52);
}

.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(52, 136, 202, 0.42);
}

.btn-outline:hover {
  background: linear-gradient(135deg, rgba(28, 63, 108, 0.82), rgba(10, 28, 50, 0.92));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 4rem;
}

.visit-counter {
  margin: 0 auto 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  background: rgba(8, 20, 38, 0.3);
  backdrop-filter: blur(12px);
}

.visit-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(218, 232, 248, 0.68);
}

.visit-value {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #d7eeff;
}

.service-card {
  display: block;
  width: 280px;
  padding: 2rem 1.4rem;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(10, 22, 41, 0.56), rgba(9, 18, 34, 0.74));
  backdrop-filter: blur(14px);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.34s ease, border-color 0.34s ease, box-shadow 0.34s ease, background 0.34s ease;
  cursor: pointer;
}

.option-card {
  appearance: none;
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle,
.nav-links a,
.nav-parent,
.nav-submenu a,
.page-subnav a,
.page-cta-row .btn,
.page-contact-card a,
.page-map-link,
.overlay-close,
.chatbot-toggle,
.chatbot-close,
.chatbot-chip,
.chatbot-send {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.service-card i {
  display: block;
  margin-bottom: 1rem;
  font-size: 2.8rem;
  color: #cbe7fa;
  text-shadow: 0 0 18px rgba(116, 180, 238, 0.2);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.96rem;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(184, 215, 235, 0.42);
  background: linear-gradient(180deg, rgba(13, 28, 52, 0.84), rgba(8, 20, 38, 0.92));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.overlay-shell {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(90, 159, 215, 0.12), transparent 20%),
    radial-gradient(circle at 82% 80%, rgba(31, 77, 140, 0.18), transparent 28%),
    rgba(3, 9, 18, 0.74);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.overlay-shell.open {
  pointer-events: auto;
}

.overlay-shell.open .overlay-backdrop {
  opacity: 1;
}

.overlay-panel {
  position: absolute;
  inset: 4vh 3vw;
  isolation: isolate;
  border: 1px solid rgba(184, 215, 235, 0.16);
  background:
    linear-gradient(125deg, rgba(184, 215, 235, 0.08), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(90, 159, 215, 0.24), transparent 18%),
    radial-gradient(circle at 14% 76%, rgba(52, 136, 202, 0.18), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(184, 215, 235, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(5, 14, 27, 0.97), rgba(8, 18, 35, 0.95));
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
  opacity: 0;
  transform: perspective(1600px) rotateX(8deg) translateY(28px) scale(0.965);
  transform-origin: center center;
  transition: opacity 0.36s ease, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: auto;
  overflow-x: hidden;
}

.overlay-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(210, 232, 248, 0.06) 18%, transparent 36%),
    linear-gradient(90deg, transparent 0%, rgba(90, 159, 215, 0.14) 50%, transparent 76%);
  mix-blend-mode: screen;
  opacity: 0.46;
  pointer-events: none;
}

.overlay-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 4%, rgba(184, 215, 235, 0.24) 18%, transparent 36%),
    linear-gradient(90deg, transparent 54%, rgba(52, 136, 202, 0.2) 70%, transparent 88%);
  opacity: 0.28;
  pointer-events: none;
  animation: overlaySweep 9s linear infinite;
}

.overlay-panel.open {
  opacity: 1;
  transform: perspective(1600px) rotateX(0deg) translateY(0) scale(1);
}

.overlay-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  background: rgba(6, 16, 30, 0.78);
  border-bottom: 1px solid rgba(184, 215, 235, 0.1);
  backdrop-filter: blur(12px);
}

.overlay-kicker {
  font-size: 0.8rem;
  color: var(--blue-5);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.overlay-close {
  padding: 0.8rem 1rem;
  min-width: 104px;
  border: 1px solid rgba(184, 215, 235, 0.2);
  background: linear-gradient(135deg, rgba(27, 64, 108, 0.74), rgba(10, 23, 42, 0.92));
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 3;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.overlay-body {
  position: relative;
  z-index: 3;
  padding: 2rem;
  overflow-x: hidden;
}

.overlay-grid,
.overlay-grid-large,
.about-stage,
.contact-layout {
  min-width: 0;
}

.overlay-grid > *,
.overlay-grid-large > *,
.about-stage > *,
.contact-layout > * {
  min-width: 0;
}

.overlay-copy {
  max-width: 820px;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.overlay-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  margin-bottom: 0.9rem;
}

.overlay-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.03rem;
}

.overlay-grid,
.overlay-grid-large {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.overlay-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  background:
    linear-gradient(180deg, rgba(47, 101, 161, 0.16), transparent 44%),
    linear-gradient(135deg, rgba(10, 28, 52, 0.82), rgba(8, 20, 38, 0.66));
  backdrop-filter: blur(12px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.overlay-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(184, 215, 235, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(184, 215, 235, 0.08), transparent 30%);
  opacity: 0.75;
  pointer-events: none;
}

.overlay-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.14) 38%, transparent 56%);
  transform: translateX(-130%);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.48s ease, opacity 0.32s ease;
}

.overlay-card i {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  color: #d3ecff;
  margin-bottom: 1rem;
  text-shadow: 0 0 22px rgba(116, 180, 238, 0.26);
}

.overlay-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.overlay-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.7;
}

.overlay-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(184, 215, 235, 0.34);
  box-shadow:
    0 26px 44px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(184, 215, 235, 0.08);
  background:
    linear-gradient(180deg, rgba(73, 133, 199, 0.22), transparent 44%),
    linear-gradient(135deg, rgba(12, 34, 62, 0.92), rgba(10, 24, 45, 0.78));
}

.overlay-card:hover::after {
  transform: translateX(130%);
  opacity: 1;
}

.overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.contact-actions-panel {
  margin-top: 2rem;
  position: relative;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-actions-panel .btn {
  position: relative;
  z-index: 7;
  pointer-events: auto;
}

.about-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 2.2rem;
  align-items: center;
  z-index: 1;
}

#panel-quienes .about-stage {
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1fr);
  justify-content: stretch;
  gap: 0.4rem;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-inline: 0.9rem;
  overflow: visible;
}

.about-stage::before {
  content: '';
  position: absolute;
  inset: 10% auto auto -4%;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 215, 235, 0.4), transparent);
  box-shadow: 0 0 18px rgba(184, 215, 235, 0.18);
}

.about-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(184, 215, 235, 0.12);
  background:
    radial-gradient(circle at 50% 48%, rgba(90, 159, 215, 0.18), transparent 24%),
    radial-gradient(circle at 18% 16%, rgba(184, 215, 235, 0.1), transparent 20%),
    linear-gradient(135deg, rgba(13, 34, 62, 0.92), rgba(8, 20, 38, 0.76));
  overflow: hidden;
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.28);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 10% 8%;
  border: 1px solid rgba(184, 215, 235, 0.08);
  pointer-events: none;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: auto -10% -18% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 215, 235, 0.24), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.about-logo-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(460px, 78%);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 28px rgba(184, 215, 235, 0.16));
}

.about-orbit {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(184, 215, 235, 0.14);
  background: rgba(8, 24, 43, 0.72);
  color: #d8eeff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.orbit-a {
  top: 14%;
  left: 10%;
}

.orbit-b {
  top: 26%;
  right: 8%;
}

.orbit-c {
  bottom: 14%;
  left: 16%;
}

.about-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(184, 215, 235, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #d9efff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-manifesto {
  position: relative;
  max-width: 62rem;
  padding: 0.3rem 0 0.4rem;
}

.about-manifesto h3 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.05;
  margin-bottom: 1.15rem;
  text-wrap: balance;
  text-shadow: 0 0 28px rgba(90, 159, 215, 0.1);
}

.about-manifesto p {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
  margin-bottom: 1.35rem;
}

.about-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.about-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(184, 215, 235, 0.16);
  background: linear-gradient(135deg, rgba(18, 44, 75, 0.72), rgba(9, 24, 43, 0.52));
  color: #d9efff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.about-lines {
  display: grid;
  gap: 0.7rem;
}

.about-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(184, 215, 235, 0.08);
}

.about-line i {
  font-size: 1.22rem;
  color: #d4ecff;
  margin-top: 0.2rem;
}

.about-line p {
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.97rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 1.3rem;
  position: relative;
  z-index: 1;
}

.contact-highlight {
  position: relative;
  padding: 2.45rem;
  border: 1px solid rgba(184, 215, 235, 0.15);
  background:
    radial-gradient(circle at 12% 16%, rgba(90, 159, 215, 0.18), transparent 18%),
    linear-gradient(135deg, rgba(17, 44, 77, 0.92), rgba(8, 22, 42, 0.82));
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.26);
}

.contact-badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 215, 235, 0.14);
  color: #d8eeff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-highlight h3 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.04;
  margin-bottom: 1rem;
  max-width: 12ch;
}

.contact-highlight p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
  max-width: 30rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  background: rgba(10, 24, 45, 0.66);
}

.contact-chip i {
  font-size: 1.3rem;
  color: #d4ecff;
  margin-top: 0.1rem;
}

.contact-chip h4 {
  font-size: 1.06rem;
  margin-bottom: 0.28rem;
}

.contact-chip p {
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.95rem;
}

.contact-map {
  position: relative;
  min-height: 210px;
  z-index: 6;
  border: 1px solid rgba(184, 215, 235, 0.12);
  overflow: hidden;
  background: rgba(8, 20, 38, 0.7);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.contact-map-link {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.88) contrast(1.02);
  pointer-events: none;
}

.contact-direct {
  position: relative;
  z-index: 5;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 0.35rem 0 0;
}

.contact-direct p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-direct-list {
  display: grid;
  gap: 0.85rem;
}

.contact-chip-compact {
  padding: 0.95rem 1rem;
}

.contact-stack {
  position: relative;
  z-index: 5;
}

#panel-quienes,
#panel-contacto {
  border: 1px solid rgba(38, 82, 128, 0.12);
  background:
    radial-gradient(circle at 84% 16%, rgba(90, 159, 215, 0.16), transparent 18%),
    radial-gradient(circle at 16% 82%, rgba(184, 215, 235, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(244, 249, 253, 0.98), rgba(230, 240, 248, 0.97));
  box-shadow: 0 34px 90px rgba(6, 17, 28, 0.24);
}

#panel-quienes {
  border: 1px solid rgba(184, 215, 235, 0.16);
  background:
    linear-gradient(125deg, rgba(184, 215, 235, 0.08), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(90, 159, 215, 0.24), transparent 18%),
    radial-gradient(circle at 14% 76%, rgba(52, 136, 202, 0.18), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(184, 215, 235, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(5, 14, 27, 0.97), rgba(8, 18, 35, 0.95));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
}

#panel-quienes .overlay-topbar,
#panel-contacto .overlay-topbar {
  background: rgba(236, 244, 250, 0.84);
  border-bottom: 1px solid rgba(38, 82, 128, 0.08);
}

#panel-quienes .overlay-topbar {
  background: rgba(6, 16, 30, 0.78);
  border-bottom: 1px solid rgba(184, 215, 235, 0.1);
}

#panel-quienes .overlay-kicker,
#panel-contacto .overlay-kicker {
  color: #2e72b6;
}

#panel-quienes .overlay-kicker {
  color: var(--blue-5);
}

#panel-quienes .overlay-close,
#panel-contacto .overlay-close {
  border: 1px solid rgba(38, 82, 128, 0.14);
  background: linear-gradient(135deg, rgba(223, 235, 245, 0.96), rgba(204, 222, 238, 0.9));
  color: #0c1b2b;
  box-shadow: 0 10px 20px rgba(41, 76, 108, 0.12);
}

#panel-quienes .overlay-close {
  border: 1px solid rgba(184, 215, 235, 0.2);
  background: linear-gradient(135deg, rgba(27, 64, 108, 0.74), rgba(10, 23, 42, 0.92));
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

#panel-quienes .overlay-copy h2,
#panel-contacto .overlay-copy h2,
#panel-quienes .about-manifesto h3,
#panel-contacto .contact-highlight h3,
#panel-contacto .contact-chip h4 {
  color: #11263d;
}

#panel-quienes .overlay-copy h2 {
  color: var(--ink);
}

#panel-quienes .overlay-copy,
#panel-contacto .overlay-copy {
  max-width: 900px;
  margin-bottom: 2.2rem;
}

#panel-quienes .overlay-copy {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

#panel-quienes .overlay-copy h2,
#panel-contacto .overlay-copy h2 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

#panel-quienes .overlay-copy h2 {
  font-size: clamp(5.4rem, 10vw, 8.6rem);
  text-align: center;
}

#panel-quienes .overlay-copy p,
#panel-contacto .overlay-copy p,
#panel-quienes .about-manifesto p,
#panel-quienes .about-line p,
#panel-contacto .contact-highlight p,
#panel-contacto .contact-chip p {
  color: rgba(17, 38, 61, 0.78);
}

#panel-quienes .overlay-copy p,
#panel-quienes .about-text-block p,
#panel-quienes .about-message-text {
  color: var(--muted);
}

#panel-quienes .overlay-copy p {
  text-align: center;
}

#panel-quienes .about-stage::before {
  inset: 12% auto auto 0;
  width: 18%;
  background: linear-gradient(90deg, rgba(184, 215, 235, 0.28), transparent);
  box-shadow: 0 0 18px rgba(184, 215, 235, 0.14);
}

#panel-quienes .about-kicker,
#panel-quienes .about-ribbon span {
  border: 1px solid rgba(169, 222, 255, 0.16);
  background: rgba(210, 235, 255, 0.1);
  color: #d9efff;
  box-shadow: 0 12px 24px rgba(9, 20, 40, 0.16);
}

#panel-quienes .about-text-block,
.page-about-panel .about-text-block {
  padding: 0.6rem 0 0.4rem;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#panel-quienes .about-interactive-zone,
.page-about-stage .about-interactive-zone {
  justify-self: start;
}

#panel-quienes .about-text-block h2,
.page-about-panel .about-text-block h2 {
  font-size: clamp(3rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 1.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(184, 215, 235, 0.12);
  max-width: 10.5ch;
  color: var(--ink);
}

#panel-quienes .about-text-block p,
.page-about-panel .about-text-block p {
  max-width: 46rem;
  margin-bottom: 1rem;
  line-height: 1.74;
  font-size: 1rem;
}

#panel-quienes .about-accent-line,
.page-about-panel .about-accent-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  margin-top: 0.25rem;
  border: 1px solid rgba(169, 222, 255, 0.14);
  background: rgba(210, 235, 255, 0.08);
  color: #ebf6ff;
  box-shadow: 0 14px 28px rgba(9, 20, 40, 0.18);
}

#panel-quienes .about-accent-line i,
.page-about-panel .about-accent-line i {
  color: #9edbff;
}

#panel-quienes .about-interactive-zone {
  position: relative;
  min-height: 420px;
  padding: 1.75rem;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  justify-self: stretch;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(184, 215, 235, 0), rgba(112, 180, 236, 0.12) 18%, rgba(112, 180, 236, 0.3) 54%, rgba(184, 215, 235, 0.04) 100%) border-box,
    radial-gradient(circle at 18% 20%, rgba(132, 196, 243, 0.18), transparent 18%),
    radial-gradient(circle at 78% 22%, rgba(191, 228, 255, 0.14), transparent 20%),
    linear-gradient(135deg, rgba(12, 35, 66, 0.98), rgba(26, 72, 132, 0.94)) padding-box;
  box-shadow: 0 24px 48px rgba(14, 30, 54, 0.22);
  backdrop-filter: blur(10px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#panel-quienes .about-hover-trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

#panel-quienes .about-hover-trail span {
  position: absolute;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 221, 255, 0), rgba(143, 221, 255, 0.95), rgba(143, 221, 255, 0));
  box-shadow: 0 0 16px rgba(95, 195, 224, 0.22);
  animation: aboutTrailFade 0.8s ease-out forwards;
  transform-origin: center;
}

#panel-quienes .about-interactive-zone::before {
  content: none;
}

#panel-quienes .about-interactive-zone:hover,
#panel-quienes .about-interactive-zone:focus-visible {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(146, 206, 255, 0.32);
  box-shadow: 0 30px 60px rgba(14, 30, 54, 0.3);
  outline: none;
}

#panel-quienes .about-interactive-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  border: 1px solid rgba(214, 234, 255, 0.18);
  background: rgba(217, 239, 255, 0.12);
  box-shadow: 0 18px 38px rgba(9, 20, 40, 0.2);
  font-size: 2.5rem;
  color: #8fddff;
}

#panel-quienes .about-interactive-zone h4 {
  position: relative;
  z-index: 2;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
  color: #f5fbff;
  max-width: 12ch;
}

#panel-quienes .about-interactive-copy {
  position: relative;
  z-index: 2;
  max-width: 26rem;
  color: rgba(232, 244, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
}

#panel-quienes .about-click-hint {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
  color: #9edbff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

#panel-quienes .about-story-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

#panel-quienes .about-story-burst span {
  position: absolute;
  width: 78px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(160, 219, 255, 0), rgba(160, 219, 255, 0.95), rgba(160, 219, 255, 0));
  opacity: 0;
  animation: aboutBurst 1s ease-out forwards;
  transform-origin: center;
}

#panel-quienes .about-click-note {
  position: absolute;
  z-index: 4;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8, 32, 68, 0.98), rgba(16, 54, 107, 0.95));
  color: #f7fbff;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(4, 18, 40, 0.52);
  white-space: nowrap;
  pointer-events: none;
  animation: aboutClickNote 1.2s ease-out forwards;
}

@keyframes aboutBurst {
  0% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--burst-x), var(--burst-y), 0) scale(2.3);
  }
}

@keyframes aboutTrailFade {
  0% {
    opacity: 0.85;
    transform: scale(0.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes aboutClickNote {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scale(0.9);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -48px, 0) scale(1.02);
  }
}

#panel-quienes .about-line {
  border-bottom: 1px solid rgba(38, 82, 128, 0.08);
}

#panel-quienes .about-message-card {
  position: relative;
  margin-top: 1.6rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid rgba(169, 222, 255, 0.14);
  background: linear-gradient(135deg, rgba(20, 58, 108, 0.92), rgba(31, 83, 149, 0.88));
  box-shadow: 0 18px 36px rgba(9, 20, 40, 0.22);
  overflow: hidden;
}

#panel-quienes .about-message-card-outside {
  margin: 1.35rem 0 0;
  width: min(100%, 1280px);
  z-index: 1;
  border-radius: 28px;
}

#panel-quienes .about-message-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #9edbff, rgba(95, 195, 224, 0.52));
}

#panel-quienes .about-message-text {
  margin: 0;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(233, 244, 255, 0.94);
}

#panel-quienes .about-line i,
#panel-contacto .contact-chip i {
  color: #2e72b6;
}

#panel-contacto .contact-highlight {
  border: 1px solid rgba(184, 215, 235, 0.14);
  background:
    radial-gradient(circle at 12% 16%, rgba(90, 159, 215, 0.14), transparent 18%),
    linear-gradient(135deg, rgba(12, 34, 62, 0.95), rgba(8, 21, 40, 0.86));
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.26);
}

#panel-contacto .contact-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 215, 235, 0.14);
  color: #d8eeff;
}

#panel-contacto .contact-chip {
  border: 1px solid rgba(184, 215, 235, 0.12);
  background: rgba(10, 24, 45, 0.72);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

#panel-contacto .contact-map {
  min-height: 240px;
  border: 1px solid rgba(184, 215, 235, 0.12);
  background: rgba(8, 20, 38, 0.7);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  border-radius: 26px;
}

#panel-contacto .btn-outline {
  color: var(--ink);
  border-color: rgba(184, 215, 235, 0.18);
  background: linear-gradient(135deg, rgba(19, 47, 82, 0.84), rgba(11, 24, 44, 0.92));
}

#panel-quienes .about-visual,
#panel-contacto .contact-highlight,
#panel-contacto .contact-chip {
  border-radius: 28px;
}

#panel-contacto {
  border: 1px solid rgba(184, 215, 235, 0.16);
  background:
    linear-gradient(125deg, rgba(184, 215, 235, 0.08), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(90, 159, 215, 0.24), transparent 18%),
    radial-gradient(circle at 14% 76%, rgba(52, 136, 202, 0.18), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(184, 215, 235, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(5, 14, 27, 0.97), rgba(8, 18, 35, 0.95));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
}

#panel-contacto .overlay-topbar {
  background: rgba(6, 16, 30, 0.78);
  border-bottom: 1px solid rgba(184, 215, 235, 0.1);
}

#panel-contacto .overlay-kicker {
  color: var(--blue-5);
}

#panel-contacto .overlay-close {
  border: 1px solid rgba(184, 215, 235, 0.2);
  background: linear-gradient(135deg, rgba(27, 64, 108, 0.74), rgba(10, 23, 42, 0.92));
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

#panel-contacto .overlay-copy {
  max-width: 780px;
  margin-bottom: 1.2rem;
}

#panel-contacto .overlay-copy h2,
#panel-contacto .contact-chip h4 {
  color: var(--ink);
}

#panel-contacto .overlay-copy p,
#panel-contacto .contact-highlight p,
#panel-contacto .contact-chip p {
  color: var(--muted);
}

#panel-contacto .contact-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 1rem;
  align-items: start;
}

#panel-contacto .contact-direct {
  padding-top: 0.25rem;
}

#panel-contacto .contact-direct p {
  max-width: 36rem;
}

#panel-contacto .contact-stack {
  display: grid;
  gap: 0.8rem;
}

#panel-contacto .contact-location-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  background: rgba(10, 24, 45, 0.72);
  border-radius: 22px;
}

#panel-contacto .contact-location-note i {
  font-size: 1.1rem;
  color: #d4ecff;
}

#panel-contacto .contact-location-note strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.16rem;
}

#panel-contacto .contact-location-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

#panel-contacto .contact-chip-compact {
  background: rgba(10, 24, 45, 0.58);
}

#panel-contacto .contact-map {
  min-height: 190px;
}

#panel-contacto .contact-map iframe {
  min-height: 190px;
}

.footer {
  text-align: center;
  padding: 2.4rem 1rem 3rem;
  color: rgba(218, 232, 248, 0.72);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.24s ease, color 0.24s ease, text-shadow 0.24s ease;
}

.socials i {
  font-size: 1.45rem;
}

.socials a:hover,
.socials a:focus-visible,
.socials i:hover {
  color: #d7eeff;
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(116, 180, 238, 0.22);
}

.page-shell {
  position: relative;
  z-index: 1;
  padding-top: 8.8rem;
  padding-bottom: 4rem;
}

.page-hero {
  position: relative;
  padding: 1rem 0 2.2rem;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(184, 215, 235, 0.14);
  background: rgba(9, 23, 42, 0.42);
  color: #d8eeff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.page-lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.page-section {
  margin-top: 2rem;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.3rem;
  align-items: start;
}

.page-panel {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(47, 101, 161, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(10, 28, 52, 0.82), rgba(8, 20, 38, 0.7));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.page-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(90, 159, 215, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(184, 215, 235, 0.06), transparent 34%);
  pointer-events: none;
}

.page-panel > * {
  position: relative;
  z-index: 1;
}

.page-about-stage {
  align-items: stretch;
}

.page-about-panel {
  border: 1px solid rgba(184, 215, 235, 0.14);
  background:
    linear-gradient(125deg, rgba(184, 215, 235, 0.06), transparent 22%),
    radial-gradient(circle at 20% 76%, rgba(52, 136, 202, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(5, 14, 27, 0.97), rgba(8, 18, 35, 0.94));
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.28);
}

.page-about-zone {
  min-height: 460px;
}

.page-about-message {
  width: min(100%, 1280px);
}

.page-about-zone {
  position: relative;
  min-height: 420px;
  padding: 1.75rem;
  width: 100%;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(184, 215, 235, 0), rgba(112, 180, 236, 0.12) 18%, rgba(112, 180, 236, 0.3) 54%, rgba(184, 215, 235, 0.04) 100%) border-box,
    radial-gradient(circle at 18% 20%, rgba(132, 196, 243, 0.18), transparent 18%),
    radial-gradient(circle at 78% 22%, rgba(191, 228, 255, 0.14), transparent 20%),
    linear-gradient(135deg, rgba(12, 35, 66, 0.98), rgba(26, 72, 132, 0.94)) padding-box;
  box-shadow: 0 24px 48px rgba(14, 30, 54, 0.22);
  backdrop-filter: blur(10px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-about-zone::before {
  content: none;
}

.page-about-zone:hover,
.page-about-zone:focus-visible {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(146, 206, 255, 0.32);
  box-shadow: 0 30px 60px rgba(14, 30, 54, 0.3);
  outline: none;
}

.page-about-zone .about-hover-trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.page-about-zone .about-hover-trail span {
  position: absolute;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 221, 255, 0), rgba(143, 221, 255, 0.95), rgba(143, 221, 255, 0));
  box-shadow: 0 0 16px rgba(95, 195, 224, 0.22);
  animation: aboutTrailFade 0.8s ease-out forwards;
  transform-origin: center;
}

.page-about-zone .about-interactive-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  border: 1px solid rgba(214, 234, 255, 0.18);
  background: rgba(217, 239, 255, 0.12);
  box-shadow: 0 18px 38px rgba(9, 20, 40, 0.2);
  font-size: 2.5rem;
  color: #8fddff;
}

.page-about-zone h4 {
  position: relative;
  z-index: 2;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
  color: #f5fbff;
  max-width: 12ch;
}

.page-about-zone .about-interactive-copy {
  position: relative;
  z-index: 2;
  max-width: 26rem;
  color: rgba(232, 244, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.page-about-zone .about-click-hint {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
  color: #9edbff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page-about-zone .about-story-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.page-about-zone .about-story-burst span {
  position: absolute;
  width: 78px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(160, 219, 255, 0), rgba(160, 219, 255, 0.95), rgba(160, 219, 255, 0));
  opacity: 0;
  animation: aboutBurst 1s ease-out forwards;
  transform-origin: center;
}

.page-about-zone .about-click-note {
  position: absolute;
  z-index: 4;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8, 32, 68, 0.98), rgba(16, 54, 107, 0.95));
  color: #f7fbff;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(4, 18, 40, 0.52);
  white-space: nowrap;
  pointer-events: none;
  animation: aboutClickNote 1.2s ease-out forwards;
}

.page-about-message {
  position: relative;
  margin-top: 1.6rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid rgba(169, 222, 255, 0.14);
  background: linear-gradient(135deg, rgba(20, 58, 108, 0.92), rgba(31, 83, 149, 0.88));
  box-shadow: 0 18px 36px rgba(9, 20, 40, 0.22);
  overflow: hidden;
  border-radius: 28px;
}

.page-about-message::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #9edbff, rgba(95, 195, 224, 0.52));
}

.page-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-micro-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  border-radius: 999px;
  background: rgba(11, 26, 47, 0.44);
  color: #d8eeff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

.page-panel h3 {
  font-size: 1.28rem;
  margin-bottom: 0.7rem;
}

.page-panel p {
  color: var(--muted);
  line-height: 1.78;
}

.page-note {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  border-radius: 22px;
  background: rgba(17, 42, 72, 0.54);
}

.page-list,
.page-checklist,
.page-contact-list {
  display: grid;
  gap: 0.82rem;
  margin-top: 1rem;
}

.page-list-item,
.page-check,
.page-contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(184, 215, 235, 0.1);
  border-radius: 22px;
  background: rgba(9, 24, 44, 0.56);
}

.page-list-item i,
.page-check i,
.page-contact-card i {
  color: #8fddff;
  margin-top: 0.1rem;
  font-size: 1.05rem;
}

.page-card-grid,
.page-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-card {
  position: relative;
  padding: 1.35rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(59, 120, 187, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(10, 28, 52, 0.82), rgba(8, 20, 38, 0.66));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.page-card i {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 2rem;
  color: #cbe7fa;
}

.page-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.7rem;
}

.page-card p {
  color: var(--muted);
  line-height: 1.7;
}

.page-stat {
  padding: 1.25rem 1rem;
  border: 1px solid rgba(184, 215, 235, 0.1);
  border-radius: 22px;
  background: rgba(11, 28, 50, 0.54);
}

.page-stat strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.45rem;
  color: #eef8ff;
}

.page-stat span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.page-cta-row,
.page-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.page-map {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(184, 215, 235, 0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.page-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-map-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.page-contact-card a,
.page-subnav a {
  color: inherit;
  text-decoration: none;
}

.page-contact-card a:hover,
.page-subnav a:hover,
.page-subnav a.active {
  color: #ffffff;
}

.page-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(184, 215, 235, 0.12);
  border-radius: 999px;
  background: rgba(10, 25, 46, 0.44);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes loaderSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes overlaySweep {
  0% {
    transform: translateX(-18%);
    opacity: 0;
  }
  12% {
    opacity: 0.2;
  }
  88% {
    opacity: 0.24;
  }
  100% {
    transform: translateX(18%);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .overlay-grid,
  .overlay-grid-large {
    grid-template-columns: 1fr 1fr;
  }

  .about-stage,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-grid,
  .page-card-grid,
  .page-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    align-items: center;
    padding: 1rem 1rem 0;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    width: min(320px, calc(100vw - 2rem));
    max-height: calc(100vh - 110px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1rem 1.1rem;
    background: rgba(5, 15, 29, 0.82);
    border: 1px solid rgba(184, 215, 235, 0.14);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.26);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-parent {
    font-size: 0.84rem;
    letter-spacing: 0.14em;
  }

  .nav-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switch {
    padding-left: 0;
    margin-left: 0;
  }

  .lang-switch::before {
    content: none;
  }

  .nav-parent {
    width: 100%;
    text-align: left;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    width: 100%;
    gap: 0.72rem;
    padding: 0.9rem 0 0.1rem 0.9rem;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    transform: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
  }

  .nav-group:hover .nav-submenu,
  .nav-group.open .nav-submenu {
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 240px;
  }

  .hero {
    padding-top: 8.6rem;
    min-height: auto;
  }

  .page-hero {
    padding-top: 0.2rem;
  }

  .overlay-panel {
    inset: 2vh 2vw;
    border-radius: 28px;
  }
}

@media (max-width: 800px) {
  .hero {
    padding-bottom: 2.4rem;
  }

  .title-sub {
    letter-spacing: 0.24em;
  }

  .overlay-body {
    padding: 1.3rem;
  }

  .overlay-copy {
    margin-bottom: 1.5rem;
  }

  .overlay-copy h2 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

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

  .page-shell {
    padding-top: 8rem;
  }

  .page-grid,
  .page-card-grid,
  .page-stat-grid {
    grid-template-columns: 1fr;
  }

  .page-about-stage {
    gap: 1rem;
  }

  .page-map {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 22px);
  }

  .brand-logo-nav {
    width: 70px;
  }

  .brand-logo-hero {
    width: min(94vw, 540px);
  }

  .page-shell {
    padding-top: 7.4rem;
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .page-lead {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .page-panel {
    padding: 1.2rem;
    border-radius: 24px;
  }

  .page-panel p,
  .page-card p,
  .page-note p,
  .page-contact-card p,
  .page-list-item p,
  .page-check p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .page-panel h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .page-micro-kicker {
    margin-bottom: 0.8rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .page-cta-row,
  .page-subnav {
    flex-direction: column;
  }

  .page-cta-row .btn,
  .page-subnav a {
    width: 100%;
    justify-content: center;
  }

  .page-contact-card,
  .page-list-item,
  .page-check {
    padding: 0.9rem;
    gap: 0.75rem;
  }

  .page-about-message,
  .page-note {
    padding: 1rem;
    border-radius: 22px;
  }

  .page-map {
    min-height: 220px;
    border-radius: 22px;
  }

  .main-title {
    margin-bottom: 1.1rem;
  }

  .title-sub {
    font-size: 0.86rem;
    line-height: 1.5;
    letter-spacing: 0.18em;
  }

  .tagline {
    font-size: 1rem;
    line-height: 1.55;
  }

  .dynamic-line {
    min-height: 3rem;
    margin-bottom: 1.35rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
    margin: 1.35rem 0 2.2rem;
  }

  .btn {
    min-width: 0;
    width: 100%;
    padding: 0.95rem 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .services {
    margin-top: 2.3rem;
    gap: 1rem;
  }

  .service-card {
    width: 100%;
    padding: 1.45rem 1.15rem;
  }

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

  .overlay-grid,
  .overlay-grid-large {
    grid-template-columns: 1fr;
  }

  .overlay-panel {
    inset: 1.2vh 1.8vw;
  }

  .overlay-topbar {
    padding: 0.95rem 1rem;
  }

  .overlay-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .overlay-close {
    min-width: 88px;
    padding: 0.72rem 0.85rem;
    font-size: 0.84rem;
  }

  .overlay-body {
    padding: 1rem;
  }

  #panel-quienes .overlay-copy,
  #panel-contacto .overlay-copy {
    margin-bottom: 1.4rem;
  }

  #panel-quienes .overlay-copy h2,
  #panel-contacto .overlay-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 0.98;
  }

  #panel-quienes .about-stage {
    gap: 1rem;
  }

  .about-manifesto,
  .contact-highlight {
    padding: 1.35rem;
  }

  .about-visual {
    min-height: 360px;
  }

  .about-logo-mark {
    width: min(340px, 76%);
  }

  #panel-quienes .about-interactive-zone {
    min-height: 420px;
    padding: 1.35rem;
  }

  .about-ribbon {
    gap: 0.65rem;
  }

  .about-ribbon span {
    width: 100%;
    justify-content: center;
    padding: 0.72rem 0.85rem;
    font-size: 0.78rem;
  }

  .contact-actions-panel {
    display: grid;
    gap: 0.75rem;
  }

  .contact-actions-panel .btn {
    width: 100%;
  }

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

  .contact-map {
    min-height: 260px;
  }

  #panel-quienes .about-message-card {
    margin-top: 1.2rem;
    padding: 1.1rem 1rem 1.2rem;
  }

  .visit-counter {
    gap: 0.55rem;
    padding: 0.65rem 0.9rem;
  }

  .footer {
    padding: 2rem 1rem 2.6rem;
  }

  .footer p {
    line-height: 1.65;
  }

  .socials {
    gap: 1.35rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
  }

  .chatbot {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
  }

  .chatbot-toggle {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    align-self: flex-end;
    min-height: 54px;
    padding: 0.7rem 0.95rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .chatbot-panel {
    width: 100%;
    max-height: min(68vh, 560px);
    border-radius: 24px;
  }

  .chatbot-messages {
    max-height: 220px;
  }

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

  .chatbot-send {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0.9rem 0.75rem 0;
  }

  .nav-links {
    right: 0.75rem;
    width: calc(100vw - 1.5rem);
    padding: 0.9rem 0.9rem 1rem;
  }

  .brand-logo-nav {
    width: 62px;
  }

  .hero {
    padding-top: 7.9rem;
  }

  .title-sub {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .tagline {
    font-size: 0.94rem;
  }

  .service-card {
    padding: 1.3rem 1rem;
  }

  .service-card i {
    font-size: 2.3rem;
  }

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

  .page-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .page-panel {
    padding: 1rem;
  }

  .page-panel h2 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .page-contact-card,
  .page-list-item,
  .page-check {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .page-contact-card i,
  .page-list-item i,
  .page-check i {
    margin-top: 0;
  }

  .overlay-panel {
    inset: 0.8vh 1.2vw;
    border-radius: 22px;
  }

  .overlay-topbar {
    gap: 0.75rem;
    padding: 0.82rem 0.82rem 0.78rem;
  }

  .overlay-close {
    min-width: 76px;
    padding: 0.65rem 0.78rem;
  }

  #panel-quienes .overlay-copy h2,
  #panel-contacto .overlay-copy h2 {
    font-size: 2rem;
  }

  .about-visual {
    min-height: 320px;
  }

  .about-logo-mark {
    width: min(280px, 72%);
  }

  #panel-quienes .about-message-text,
  #panel-quienes .about-interactive-copy,
  #panel-quienes .about-text-block p {
    font-size: 0.92rem;
  }

  #panel-quienes .about-interactive-zone {
    min-height: 380px;
    padding: 1.15rem;
  }

  .contact-highlight h3,
  .about-manifesto h3 {
    max-width: none;
  }

  .contact-chip {
    padding: 0.95rem 0.92rem;
    gap: 0.8rem;
  }

  .contact-map {
    min-height: 220px;
  }

  .page-map {
    min-height: 200px;
  }

  .chatbot {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .chatbot-toggle {
    min-height: 50px;
    padding: 0.65rem 0.88rem;
  }

  .chatbot-panel {
    max-height: min(70vh, 520px);
  }
}
