/* styles.css - Estilos completos de UTEDYC NAIXWORK */
:root {
  --blue-950: #081a3d;
  --blue-900: #0b2158;
  --blue-800: #0d3b8c;
  --blue-700: #124aab;
  --blue-600: #1866db;
  --blue-100: #e9f0ff;
  --paper: #f6f8fc;
  --ink: #0b1220;
  --ink-60: rgba(11, 18, 32, .62);
  --gold: #e8a63d;
  --gold-dark: #c6841f;
  --white: #ffffff;
  --line: rgba(11, 18, 32, .09);
  --radius: 18px;
  --ease: cubic-bezier(.22, .9, .32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Personalizado */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #174b8d;
}

.eyebrow {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #72b1eb;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #72b1eb;
  display: inline-block;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--blue-950);
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

p {
  margin: 0;
  line-height: 1.65;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}

.btn-primary {
  background: #2d97f9;
  color: #ffffff;
  box-shadow: 0 10px 24px -8px #0045815e;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -8px #ffffffa6;
  background: #ffffff;
  color: #2d97f9;
}

.btn-outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
  border-color: #fff;
}

.btn-ghost-blue {
  border-color: var(--blue-800);
  color: var(--blue-800);
}
.btn-ghost-blue:hover {
  background: var(--blue-800);
  color: #fff;
  transform: translateY(-3px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header.scrolled {
  padding: 12px 0;
  background: #00559fd9;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 150px;
  width: auto;
  transition: filter .3s;
}

@media (min-width: 768px) {
  .brand img {
    margin-left: 0px;
  }
}
@media (max-width: 768px) {
  .brand img {
    height: 100px !important;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  margin-left: 20px;
}
.brand-text b {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.brand-text span {
  font-size: 11px;
  font-weight: 600;
  color: #6cb8ff;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .brand-text {
    display: none;
  }
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main-nav > ul > li {
  position: relative;
}
nav.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  transition: background .3s, color .3s;
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li > a:focus-visible {
  background: rgba(255, 255, 255, .12);
  color: #6cb8ff;
}
nav.main-nav .chev {
  width: 9px;
  height: 9px;
  transition: transform .3s var(--ease);
}
nav.main-nav li.has-drop:hover .chev,
nav.main-nav li.has-drop:focus-within .chev {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 50px -18px rgba(8, 26, 61, .4);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
li.has-drop:hover .dropdown,
li.has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--blue-950);
  transition: background .25s;
}
.dropdown a:hover {
  background: var(--blue-100);
}
.dropdown a b {
  font-size: 13.5px;
  font-weight: 700;
}
.dropdown a small {
  font-size: 11.5px;
  color: var(--ink-60);
  font-weight: 500;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-cta .btn {
  padding: 11px 22px;
  font-size: 13px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.burger span:nth-child(1) {
  top: 16px;
}
.burger span:nth-child(2) {
  top: 22px;
}
.burger span:nth-child(3) {
  top: 28px;
}
.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--blue-950);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 152px 32px 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-panel.open {
  transform: translateY(0);
}
.mobile-panel a {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mobile-panel .sub-links {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
}
.mobile-panel .sub-links a {
  font-size: 16px;
  font-weight: 600;
  color: #6cb8ff;
  border-bottom: none;
  padding: 8px 0;
}
.mobile-panel .socials {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--blue-950);
  color: #fff;
  overflow: hidden;
  padding-top: 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: zoomOutEntrance 12s ease-out forwards;
}
@keyframes zoomOutEntrance {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 26, 61, .97) 12%, rgba(8, 26, 61, .86) 42%, rgba(13, 59, 140, .55) 75%, rgba(232, 166, 61, .25) 100%);
}

.hero-ribbon {
  position: absolute;
  top: -40px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 2px dashed #ffffff26;
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 25px 0 90px;
}
@media (max-width: 768px) {
  .hero-inner {
    padding: 62px 25px 100px 25px;
  }
}

.hero h1 {
  font-size: clamp(42px, 7vw, 48px);
  line-height: 1.04;
  color: #fff;
  max-width: 820px;
}
.hero h1 em {
  font-style: normal;
  color: #6cb8ff;
}

.hero-motto {
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: .01em;
}

.hero-lead {
  margin-top: 18px;
  max-width: 520px;
  font-size: 17px;
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
}

.hero-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.meta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 260px;
}
.meta-item .ic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.meta-item .ic svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}
.meta-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.meta-item span,
.meta-item a {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
  line-height: 1.5;
}
.meta-item a:hover {
  color: #6cb8ff;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-socials {
  margin-top: 44px;
  display: flex;
  gap: 14px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s var(--ease);
}
.social-btn svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}
.social-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-4px);
}
.social-btn:hover svg {
  fill: var(--blue-950);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
}
.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(#fff, transparent);
  animation: scrolldown 1.8s infinite;
}
@keyframes scrolldown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 20px;
  margin-top: 40px;
}
.reveal.d1 {
  transition-delay: .08s;
}
.reveal.d2 {
  transition-delay: .16s;
}
.reveal.d3 {
  transition-delay: .24s;
}
.reveal.d4 {
  transition-delay: .32s;
}

/* Section titles */
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-head p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-60);
  font-weight: 500;
}

/* Beneficios */
.beneficios {
  padding: 120px 0 100px;
  background: var(--paper);
  position: relative;
}
.beneficios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.benefit-card {
  position: relative;
  border-radius: 24px;
  padding: 44px 38px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-8px);
}
.benefit-card.nac {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  color: #fff;
  box-shadow: 0 30px 50px -24px rgba(13, 59, 140, .55);
}
.benefit-card.exc {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -28px rgba(8, 26, 61, .25);
}
.benefit-card .num {
  position: absolute;
  top: 32px;
  right: 38px;
  font-size: 80px;
  font-weight: 800;
  opacity: .12;
  line-height: 1;
}
.benefit-card.nac .num {
  color: #fff;
}
.benefit-card.exc .num {
  color: var(--blue-800);
}
.benefit-card h3 {
  font-size: 26px;
  font-weight: 800;
}
.benefit-card.nac h3 {
  color: #fff;
}
.benefit-card p.desc {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  max-width: 340px;
}
.benefit-card.nac p.desc {
  color: rgba(255, 255, 255, .78);
}
.benefit-card.exc p.desc {
  color: var(--ink-60);
}
.benefit-card .btn {
  margin-top: 26px;
  align-self: flex-start;
}

/* Autoridades */
.autoridades {
  padding: 110px 0 130px;
  background: var(--blue-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.autoridades::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
  top: -220px;
  left: -220px;
}
.autoridades .section-head h2 {
  color: #fff;
}
.autoridades .section-head p {
  color: rgba(255, 255, 255, .6);
}

.aut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.aut-col-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6cb8ff;
  margin-bottom: 22px;
  display: block;
}
.aut-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.aut-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.aut-list li .role {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  flex: none;
  width: 44%;
}
.aut-list li .name {
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: #fff;
}

.aut-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.aut-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}
.aut-tab-btn.active,
.aut-tab-btn:hover {
  background: #fff;
  color: var(--blue-950);
  border-color: #fff;
}

.person-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.person-grid.active {
  display: grid;
}
.person-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 16px 18px;
  transition: background .3s, transform .3s;
}
.person-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px);
}
.person-card .avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.person-card b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.person-card span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
  margin-top: 2px;
}

@media (max-width: 820px) {
  .person-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .person-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: var(--paper);
  padding: 70px 0 30px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img {
  height: 110px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 620px;
}
.footer-col b {
  display: block;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-800);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-60);
  margin-bottom: 10px;
  transition: color .25s;
}
.footer-col a:hover {
  color: var(--blue-800);
}
.footer-bottom {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}
.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--blue-800);
}
.footer-socials a:hover {
  background: var(--blue-800);
}
.footer-socials a:hover svg {
  fill: #fff;
}
.footer-fine {
  font-size: 12.5px;
  color: var(--ink-60);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 980px) {
  nav.main-nav,
  .header-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .beneficios-grid {
    grid-template-columns: 1fr;
  }
  .aut-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero {
    padding-top: 110px;
  }
}
@media (max-width: 560px) {
  .hero-meta {
    gap: 20px;
  }
  .meta-item {
    max-width: 100%;
  }
  .aut-list li .role {
    width: 52%;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: none;
  }
}

/* Preloader */
#page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spinPreloader 1s linear infinite;
}
@keyframes spinPreloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}