:root {
  --primary-color: #26b3b4;
  --primary-hover: #1c8a8b;
  --dark-teal: #0b7e7f;
  --secondary-color: #ffffff;
  --text-color: #333333;
  --light-bg: #f5f9fa;
  --border-radius: 8px;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-bg);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-teal) 100%
  );
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(38, 179, 180, 0.3);
  height: 70px;
  display: flex;
  align-items: center;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  height: 100%;
  flex-shrink: 0;
  padding-left: 5px;
}

.logo img {
  height: 40px;
  width: auto;
  max-height: 45px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 100%;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 10px 15px;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.nav-links a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
}

.mobile-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
  width: 32px;
  height: 32px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 6px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.menu-icon {
  width: calc(100% - 12px);
  height: 2px;
  background-color: white;
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  left: 0;
  transition: transform 0.3s ease;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  bottom: -7px;
}

.mobile-menu.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu.active .menu-icon {
  background-color: transparent;
}

.mobile-menu.active .menu-icon::before {
  transform: rotate(45deg) translate(2px, 7px);
}

.mobile-menu.active .menu-icon::after {
  transform: rotate(-45deg) translate(2px, -7px);
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 0.3s ease;
}

.mobile-nav-links {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-teal) 100%
  );
  padding: 80px 25px 30px;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.mobile-nav-links::-webkit-scrollbar {
  width: 4px;
}

.mobile-nav-links::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.mobile-nav-links::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.mobile-nav-links::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.mobile-nav-links.show {
  right: 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 500;
  padding: 15px;
  margin-bottom: 8px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mobile-nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.mobile-nav-links a::after {
  content: "→";
  position: absolute;
  right: 15px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-links a:hover::after {
  opacity: 1;
  transform: translateX(3px);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 1001;
}

.mobile-nav-close:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.mobile-nav-close span {
  position: relative;
  width: 16px;
  height: 16px;
}

.mobile-nav-close span::before,
.mobile-nav-close span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  top: 50%;
  left: 0;
}

.mobile-nav-close span::before {
  transform: rotate(45deg);
}

.mobile-nav-close span::after {
  transform: rotate(-45deg);
}

.section-header {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  padding: 20px 0;
  margin-bottom: 40px;
  text-align: left;
  width: 100%;
}

.section-header h1 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  text-transform: none;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-family: "Open Sans", sans-serif;
  line-height: 1.3;
}

.main-content {
  padding: 60px 0;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  border: none;
  pointer-events: none;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(38, 179, 180, 0.4);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.footer {
  background-color: var(--text-color);
  color: white;
  padding: 50px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 35px;
}

.footer-about p {
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  fill: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-color) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  border-bottom: 1px solid #f8f9fa;
  transition: all 0.3s ease;
  background: white;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: var(--primary-color);
  color: white !important;
  padding-left: 25px;
}

.mobile-dropdown {
  margin-bottom: 8px;
  display: none;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 500;
  padding: 15px;
  margin-bottom: 0;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mobile-dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.dropdown-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.mobile-dropdown-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin-top: 5px;
  margin-bottom: 8px;
}

.mobile-dropdown-menu.active {
  max-height: 400px;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.mobile-dropdown-menu a:last-child {
  border-bottom: none;
}

.mobile-dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding-left: 25px;
  transform: none;
}

@media screen and (max-width: 360px) {
  .mobile-nav-links {
    width: 100vw;
    right: -100vw;
  }

  .mobile-nav-links.show {
    right: 0;
  }
}

@media (hover: none) and (pointer: coarse) {
  .mobile-nav-links a:hover,
  .mobile-dropdown-toggle:hover,
  .mobile-dropdown-menu a:hover {
    transform: none;
  }

  .mobile-nav-links a:active,
  .mobile-dropdown-toggle:active {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .logo img {
    height: 45px;
    max-height: 40px;
  }

  .main-content {
    padding: 40px 0;
  }

  .section-header {
    padding: 15px 0;
    margin-bottom: 30px;
  }

  .section-header h1 {
    font-size: 18px;
  }

  .nav-dropdown {
    display: none;
  }

  .mobile-dropdown {
    display: block;
  }

  .mobile-nav-links > a[href="#"]:nth-of-type(4) {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo img {
    height: 40px;
    max-height: 35px;
  }

  .section-header h1 {
    font-size: 16px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.scroll-trigger {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.org-logo.scroll-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.org-logo.scroll-revealed {
  opacity: 1;
  transform: translateY(0);
}

.org-logo.scroll-revealed:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
}

.org-logo.scroll-revealed {
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media screen and (max-width: 768px) {
  .org-logo.scroll-hidden {
    transform: translateY(20px);
  }
}

@media screen and (max-width: 480px) {
  .org-logo.scroll-hidden {
    transform: translateY(15px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .org-logo.scroll-hidden,
  .org-logo.scroll-revealed {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
}

.mi-perfil-btn {
  display: none;
}
