/* ==========================================================
   BASE VISUAL — UCSUR INTERFACULTADES 2026
   ========================================================== */
:root {
  --orange: #ff8200;
  --orange-dark: #db7000;
  --navy: #204491;
  --navy-2: #314f9e;
  --sky: #21a0db;
  --ink: #3d3b36;
  --muted: #6e7582;
  --line: #e2e7f0;
  --soft: #f5f8fc;
  --white: #ffffff;
  --green: #138a59;
  --shadow: 0 16px 45px rgba(32, 68, 145, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #f9fbff;
}
a { text-decoration: none; color: inherit; }
button, input, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* Barra superior GHJ */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.topbar .container {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot { opacity: .45; }

/* Cabecera solo con Logo */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo-white {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.footer-logo-wrap {
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.footer-logo-wrap .brand-logo {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
}
.nav-links a {
  padding: 8px 4px;
  transition: .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 12px 18px !important;
  border-radius: 12px;
}
.mobile-menu {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

/* Botones generales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 130, 0, .24);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}
.btn-blue { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--orange);
  text-transform: uppercase;
}
.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 46px;
  line-height: 1;
  text-transform: uppercase;
  margin: 8px 0 12px;
  color: var(--navy);
}
.section-copy {
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
}

/* Footer */
.footer {
  margin-top: 90px;
  background: #17387d;
  color: #fff;
  padding: 36px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer p {
  color: #d5dff0;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.footer-admin-link {
  color: #d9e3f3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  transition: .2s ease;
}
.footer-admin-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

@media(max-width: 850px) {
  .mobile-menu { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 25px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .footer .container { flex-direction: column; text-align: center; }
}