@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --bg-darker: #f8fafc;
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #f1f5f9;
  
  --accent-cyan: #e2b13c; /* Golden Yellow */
  --accent-purple: #004884; /* Deep Blue */
  --accent-blue: #003366;
  
  --text-main: #0f172a; /* Vivid Charcoal Slate */
  --text-muted: #334155; /* Dark Vivid Slate */
  --text-cyan: #004884;
  
  --glow-cyan: 0 4px 20px rgba(226, 177, 60, 0.12);
  --glow-purple: 0 4px 20px rgba(0, 72, 132, 0.06);
  
  --border-cyber: 1px solid rgba(0, 72, 132, 0.1);
  --border-cyber-purple: 1px solid rgba(226, 177, 60, 0.18);
  
  --radius-lg: 16px;
  --radius-md: 8px;
  --radius-sm: 4px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
}

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

body {
  background-color: var(--bg-darker);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 72, 132, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(226, 177, 60, 0.02) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

/* Gov.co top-bar styles */
.top-bar-govco {
  background-color: #3366CC;
  width: 100%;
  padding: 6px 0;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 1000;
}
.govco-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.top-bar-govco img {
  height: 24px;
  width: auto;
  display: block;
}

/* Header & Menu styles */
.main-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 72, 132, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition-normal);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 25px rgba(0, 72, 132, 0.05), 0 0 10px rgba(226, 177, 60, 0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.25));
}

.logo-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  background: linear-gradient(135deg, var(--accent-purple) 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Menu Toggle for Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 10px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--accent-purple);
  background: rgba(0, 72, 132, 0.05);
}

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  max-width: 330px;
  background: var(--bg-dark);
  border: 1px solid rgba(226, 177, 60, 0.25);
  box-shadow: 0 12px 35px rgba(0, 72, 132, 0.14), var(--glow-cyan);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(10px);
  list-style: none;
  z-index: 100;
}

/* Align rightmost dropdown (Gestiones) to the right side of parent item */
.nav-menu > .nav-item:nth-last-child(-n+2) > .dropdown-menu {
  left: auto;
  right: 0;
}

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

.dropdown-item {
  font-size: 0.9rem;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0f172a;
  font-weight: 500;
  border-left: 3px solid transparent;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  color: var(--accent-purple);
  background: rgba(0, 72, 132, 0.08);
  border-left-color: var(--accent-cyan);
  font-weight: 600;
}

/* Submenu Architecture: 1st Level Submenu = Horizontal Flyout, 2nd Level Submenu = Vertical Accordion */

/* 1st Level Submenu (Horizontal Flyout) */
.dropdown-menu > .dropdown-submenu-parent {
  position: relative;
}

.dropdown-menu > .dropdown-submenu-parent > .dropdown-submenu {
  position: absolute;
  top: -6px;
  min-width: 270px;
  max-width: 330px;
  background: var(--bg-dark);
  border: 1px solid rgba(226, 177, 60, 0.25);
  box-shadow: 0 12px 35px rgba(0, 72, 132, 0.15), var(--glow-cyan);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  z-index: 110;
}

/* Default Fly-Right Submenu (for left/center navbar items) */
.nav-menu > .nav-item:not(:nth-last-child(-n+2)) .dropdown-menu > .dropdown-submenu-parent > .dropdown-submenu {
  left: 100%;
  right: auto;
  transform: translateX(10px);
}

.nav-menu > .nav-item:not(:nth-last-child(-n+2)) .dropdown-menu > .dropdown-submenu-parent:hover > .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Fly-Left Submenu (Smart Direction for rightmost navbar items like Gestiones) */
.nav-menu > .nav-item:nth-last-child(-n+2) .dropdown-menu > .dropdown-submenu-parent > .dropdown-submenu {
  left: auto;
  right: 100%;
  transform: translateX(-10px);
}

.nav-menu > .nav-item:nth-last-child(-n+2) .dropdown-menu > .dropdown-submenu-parent:hover > .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* 2nd Level Submenu / 3rd Menu Level Total (Vertical Expansion inside 1st Submenu) */
.dropdown-submenu > .dropdown-submenu-parent {
  position: relative;
}

.dropdown-submenu > .dropdown-submenu-parent > .dropdown-submenu {
  position: static !important;
  display: none;
  width: calc(100% - 16px);
  min-width: 0 !important;
  max-width: 100% !important;
  background: rgba(0, 72, 132, 0.05) !important;
  border: none !important;
  border-left: 3px solid var(--accent-cyan) !important;
  box-shadow: none !important;
  border-radius: var(--radius-sm);
  padding: 4px 0 4px 10px !important;
  margin: 6px 8px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  list-style: none;
}

.dropdown-submenu > .dropdown-submenu-parent:hover > .dropdown-submenu {
  display: block !important;
}

.dropdown-submenu .dropdown-submenu .dropdown-item {
  font-size: 0.85rem;
  padding: 6px 12px;
  color: #1e293b;
  font-weight: 500;
  border-left: none;
}

.dropdown-submenu .dropdown-submenu .dropdown-item:hover {
  background: rgba(0, 72, 132, 0.1);
  color: var(--accent-purple);
  font-weight: 600;
}



/* Hero Section */
.hero-section {
  position: relative;
  padding: 100px 0 80px 0;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 72, 132, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 72, 132, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-glow-1 {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(226, 177, 60, 0.1) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-title-main {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--accent-purple);
}

.hero-subtitle-main {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Button styles */
.btn {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #003366 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 72, 132, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 72, 132, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-purple);
  border: 1px solid rgba(0, 72, 132, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  border-color: var(--accent-purple);
  background: rgba(0, 72, 132, 0.05);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.holo-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed var(--accent-cyan);
  position: relative;
  animation: spin 60s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.holo-circle-inner {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid var(--accent-purple);
  box-shadow: 0 0 20px rgba(75, 156, 211, 0.15);
  animation: spin-reverse 45s linear infinite;
}

.holo-shield {
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(13, 27, 49, 0.95);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--glow-cyan), inset 0 0 15px rgba(212, 175, 55, 0.15);
  animation: pulse 5s ease-in-out infinite;
}

.holo-shield img {
  width: 75px;
  height: auto;
  filter: drop-shadow(0 2px 5px rgba(212, 175, 55, 0.3));
}

/* Feature Cards Section */
.features-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
  color: var(--accent-purple);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cyber-card {
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 8px 30px rgba(0, 72, 132, 0.04);
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  opacity: 0.7;
  transition: var(--transition-normal);
}

.cyber-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 72, 132, 0.08), 0 0 15px rgba(226, 177, 60, 0.08);
  background: var(--bg-hover);
}

.cyber-card:hover::before {
  height: 6px;
}

.card-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 25px;
  text-shadow: var(--glow-cyan);
  display: inline-block;
}

.cyber-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent-purple);
}

.cyber-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.card-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link:hover {
  gap: 12px;
  text-shadow: var(--glow-cyan);
}

/* News Section Styles */
.news-section {
  padding: 80px 0;
  background: rgba(0, 72, 132, 0.015);
  border-top: 1px solid rgba(0, 72, 132, 0.05);
  border-bottom: 1px solid rgba(0, 72, 132, 0.05);
  position: relative;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 72, 132, 0.04);
  transition: var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 72, 132, 0.08), 0 0 15px rgba(226, 177, 60, 0.08);
}

.news-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-img {
  transform: scale(1.08);
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 8, 17, 0.9) 100%);
}

.news-content {
  padding: 25px;
}

.news-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--accent-purple);
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Call to Action Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.cta-content {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #002244 100%);
  color: #ffffff;
  border: 1px solid rgba(226, 177, 60, 0.35);
  box-shadow: 0 15px 45px rgba(0, 72, 132, 0.18), inset 0 0 20px rgba(226, 177, 60, 0.05);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(226, 177, 60, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 35px auto;
}

/* Allies Logo Slider */
.logos-slider-section {
  padding: 60px 0;
  border-top: 1px solid rgba(0, 72, 132, 0.05);
  background: rgba(0, 72, 132, 0.01);
}

.logos-slider-container {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 30px;
}

.logos-slider {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.logos-slide-track {
  display: flex;
  width: calc(240px * 20);
  animation: scrollLogos 35s linear infinite;
  gap: 40px;
}

.logos-slide {
  width: 200px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 72, 132, 0.06);
  border-radius: var(--radius-md);
  padding: 15px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 72, 132, 0.02);
}

.logos-slide:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 72, 132, 0.02);
  box-shadow: 0 0 10px rgba(226, 177, 60, 0.1);
}

.logos-slide img {
  max-height: 45px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0.9) opacity(0.85);
  transition: var(--transition-fast);
}

.logos-slide:hover img {
  filter: grayscale(0) brightness(1.1) opacity(1);
}

.gov-slider-arrow {
  background: #ffffff;
  border: 1px solid rgba(0, 72, 132, 0.1);
  color: var(--accent-purple);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  z-index: 50;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-fast);
}

.gov-slider-arrow:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  box-shadow: var(--glow-cyan);
}

.gov-slider-arrow.prev { left: -20px; }
.gov-slider-arrow.next { right: -20px; }

/* Footer Styles */
footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(0, 72, 132, 0.08);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  background: rgba(0, 72, 132, 0.05);
  border: 1px solid rgba(0, 72, 132, 0.12);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-main);
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-cyan);
}

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

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

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-contact-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info i {
  color: var(--accent-cyan);
  margin-top: 4px;
}

.footer-map-wrapper {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 72, 132, 0.08);
  height: 140px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.govco-footer-strip {
  background-color: #004884;
  padding: 15px 0;
  width: 100%;
  position: relative;
  z-index: 10;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.govco-footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.govco-footer-logos {
  display: flex;
  align-items: center;
  gap: 15px;
}

.govco-logo-co img {
  height: 35px;
  width: auto;
}

.govco-logo-gov img {
  height: 30px;
  width: auto;
}

.govco-separator {
  color: #ffffff;
  font-size: 28px;
  font-weight: 300;
  margin: 0 5px;
  opacity: 0.8;
}

/* Horizonte / Nosotros Page Styling */
.nosotros-layout {
  padding: 120px 0 80px 0;
}

.nosotros-tabs-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-top: 40px;
}

.nosotros-tabs-menu {
  list-style: none;
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 20px;
  height: fit-content;
}

.tab-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  color: var(--accent-cyan);
  background: rgba(212, 175, 55, 0.05);
}

.tab-btn.active {
  box-shadow: inset 3px 0 0 var(--accent-cyan);
}

.nosotros-tab-content-panel {
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 50px;
  min-height: 450px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 72, 132, 0.05);
  display: none;
  animation: fadeFrame 0.4s ease-out forwards;
}

.nosotros-tab-content-panel.active {
  display: block;
}

.panel-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent-purple);
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
}

.panel-header-title i {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.policy-img-frame {
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--glow-cyan);
}

.policy-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.text-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Transparencia layout styling */
.transparencia-layout {
  padding: 120px 0 80px 0;
}

.transparencia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.transparencia-section-card {
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 72, 132, 0.04);
  transition: var(--transition-normal);
}

.transparencia-section-card:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-hover);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 15px rgba(212, 175, 55, 0.08);
}

.transparencia-section-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding-bottom: 12px;
}

.transparencia-section-card h3 i {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.doc-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.doc-item-link {
  background: rgba(10, 20, 36, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.doc-item-link:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--accent-cyan);
  color: #fff;
}

.doc-item-link .title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-item-link .title-wrapper i {
  font-size: 1.15rem;
  color: var(--accent-cyan);
}

.doc-item-link .icon-go {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.doc-item-link:hover .icon-go {
  color: var(--accent-cyan);
  transform: translateX(3px);
  text-shadow: var(--glow-cyan);
}

/* Circulares Page Styling */
.circulares-layout {
  padding: 120px 0 80px 0;
}

.search-filter-bar {
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 25px 30px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 72, 132, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 20px 14px 45px;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(0, 72, 132, 0.15);
}

.search-input-wrapper i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-purple);
}

.filter-tab-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.filter-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent-purple);
  color: #ffffff;
  background: var(--accent-purple);
  box-shadow: 0 4px 12px rgba(0, 72, 132, 0.15);
}

.circulares-list-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.circular-row {
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: var(--transition-fast);
  animation: fadeFrame 0.3s ease-out forwards;
}

.circular-row:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-hover);
  box-shadow: 0 0 15px rgba(226, 177, 60, 0.12);
}

.circular-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.circular-year-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(226, 177, 60, 0.12);
  color: var(--accent-purple);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 177, 60, 0.3);
  margin-top: 2px;
  flex-shrink: 0;
}

.circular-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.circular-title-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-purple);
  line-height: 1.35;
}

.circular-asunto {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.circular-asunto strong {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 768px) {
  .circular-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .circular-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Contact & PQRDS styling */
.contacto-layout {
  padding: 120px 0 80px 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-top: 40px;
}

.contacto-info-panel {
  background: var(--bg-card);
  border: var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contacto-info-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  margin-bottom: 25px;
  color: var(--accent-purple);
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.contacto-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  text-shadow: var(--glow-cyan);
  flex-shrink: 0;
}

.contacto-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.contacto-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contacto-map-frame {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  height: 250px;
}

.pqrds-form-panel {
  background: var(--bg-card);
  border: var(--border-cyber-purple);
  box-shadow: 0 0 25px rgba(75, 156, 211, 0.05);
  border-radius: var(--radius-lg);
  padding: 45px;
  position: relative;
}

.pqrds-form-panel::before {
  content: 'PLATAFORMA PQRDS';
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--accent-purple);
  letter-spacing: 1px;
}

.pqrds-form-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  margin-bottom: 10px;
  color: var(--accent-purple);
}

.pqrds-form-panel p.subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.cyber-form-group {
  margin-bottom: 20px;
}

.cyber-form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.cyber-input, .cyber-textarea, .cyber-select {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 72, 132, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.cyber-input:focus, .cyber-textarea:focus, .cyber-select:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(75, 156, 211, 0.2);
}

.cyber-textarea {
  resize: vertical;
  min-height: 120px;
}

.cyber-help-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.cyber-checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem !important;
  line-height: 1.4;
  color: var(--text-main) !important;
}

.cyber-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-purple);
  cursor: pointer;
}

.cyber-file-input {
  padding: 8px 12px;
  background: var(--bg-hover);
  font-size: 0.85rem;
}

.btn-captcha-refresh:hover {
  background: var(--accent-purple) !important;
  color: #ffffff !important;
  border-color: var(--accent-purple) !important;
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #3182ce 100%);
  color: #fff;
  border: none;
  width: 100%;
  box-shadow: var(--glow-purple);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(75, 156, 211, 0.6);
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.03); opacity: 1; filter: drop-shadow(0 2px 15px rgba(212, 175, 55, 0.3)); }
  100% { transform: scale(1); opacity: 0.95; }
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-240px * 10)); }
}

@keyframes fadeFrame {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-title-main {
    font-size: 2.8rem;
  }
  .hero-desc {
    margin: 0 auto 35px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .features-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nosotros-tabs-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    flex-direction: column;
    padding: 40px 20px;
    gap: 15px;
    align-items: flex-start;
    overflow-y: auto;
    transition: var(--transition-normal);
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }
  .dropdown-menu, .dropdown-submenu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    padding-left: 20px;
    display: none;
  }
  .nav-item.open > .dropdown-menu {
    display: block;
  }
  .dropdown-submenu-parent.open > .dropdown-submenu {
    display: block;
  }
  .features-grid, .news-grid, .contacto-grid, .transparencia-grid {
    grid-template-columns: 1fr;
  }
  .search-filter-bar {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .filter-tab-buttons {
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Noticias Modal Styles
   ========================================================================== */
.news-modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.news-modal.open {
  display: flex;
  opacity: 1;
}

.news-modal-content {
  background-color: var(--bg-card);
  border: 1px solid rgba(0, 72, 132, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 72, 132, 0.12);
  width: 100%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.3s ease-out;
  padding: 35px;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.news-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: var(--text-muted);
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  outline: none;
  line-height: 1;
}

.news-modal-close:hover {
  color: var(--accent-purple);
}

.news-modal-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
}

.news-modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--accent-purple);
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-modal-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-transform: uppercase;
}

.news-modal-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.news-modal-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.active-filter-btn {
  background: var(--accent-purple) !important;
  color: white !important;
  border-color: var(--accent-purple) !important;
}

/* Hero Slider Styles */
.hero-slider-container {
  width: 100%;
  max-width: 500px;
  height: 380px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 72, 132, 0.15), 0 0 20px rgba(226, 177, 60, 0.05);
  border: 2px solid rgba(226, 177, 60, 0.2);
}

.hero-slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 72, 132, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 12px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid rgba(226, 177, 60, 0.3);
  z-index: 3;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 72, 132, 0.1);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--accent-purple);
  color: #fff;
  border-color: var(--accent-purple);
}

.slider-arrow.prev {
  left: 15px;
}

.slider-arrow.next {
  right: 15px;
}

.slider-dots {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--accent-cyan);
  transform: scale(1.2);
}

/* Hero Background Slider Styles */
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 36, 72, 0.82) 0%,
    rgba(0, 18, 36, 0.78) 55%,
    rgba(15, 23, 42, 0.7) 100%
  );
  z-index: 2;
}

/* Make sure container content sits on top */
.hero-container {
  position: relative;
  z-index: 3;
}

/* Style overrides for contrast on background image */
.hero-content-text {
  color: #ffffff;
}

.hero-content-text .hero-title-main {
  color: #ffffff !important;
  font-size: 2.6rem !important;
  margin-bottom: 15px !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

.hero-content-text .hero-desc {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.95rem !important;
  margin-bottom: 25px !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-content-text .hero-subtitle-main {
  color: var(--accent-cyan) !important; /* Gold */
  font-size: 0.85rem !important;
  margin-bottom: 10px !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-content-text .btn-secondary {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.hero-content-text .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
}

/* ==========================================================================
   Interactive Quick Banner Section (Botones Dinámicos de Colores)
   ========================================================================== */
/* ==========================================================================
   Interactive Quick Banner Section (Accesos Directos Académicos)
   ========================================================================== */
.quick-banner-section {
  background: linear-gradient(-45deg, #0f172a, #1e1b4b, #0369a1, #312e81, #0f766e);
  background-size: 400% 400%;
  animation: dynamicGradientBg 14s ease infinite;
  border-top: 3px solid rgba(56, 189, 248, 0.4);
  border-bottom: 3px solid rgba(168, 85, 247, 0.4);
  padding: 35px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

@keyframes dynamicGradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.quick-banner-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.quick-banner-motto {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 10px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.quick-banner-motto i {
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

.quick-banner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.quick-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 14px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
}

.quick-banner-btn i {
  font-size: 1.15rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-banner-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  background: #ffffff;
}

.quick-banner-btn:hover i {
  transform: scale(1.25) rotate(5deg);
}

/* Highlighted Green Button (Matrículas) */
.quick-banner-btn.btn-highlight-green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  border-color: #4ade80;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: pulse-green 2.5s infinite;
}

.quick-banner-btn.btn-highlight-green i {
  color: #ffffff;
}

.quick-banner-btn.btn-highlight-green:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  border-color: #86efac;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.7);
}

/* Button Color Variants */
.quick-banner-btn.btn-accent-blue {
  border-color: #60a5fa;
}
.quick-banner-btn.btn-accent-blue i {
  color: #2563eb;
}

.quick-banner-btn.btn-accent-purple {
  border-color: #c084fc;
}
.quick-banner-btn.btn-accent-purple i {
  color: #9333ea;
}

.quick-banner-btn.btn-accent-orange {
  border-color: #fb923c;
}
.quick-banner-btn.btn-accent-orange i {
  color: #ea580c;
}

.quick-banner-btn.btn-accent-teal {
  border-color: #2dd4bf;
}
.quick-banner-btn.btn-accent-teal i {
  color: #0d9488;
}

.quick-banner-btn.btn-accent-amber {
  border-color: #fbbf24;
}
.quick-banner-btn.btn-accent-amber i {
  color: #d97706;
}

.quick-banner-btn.btn-accent-indigo {
  border-color: #818cf8;
}
.quick-banner-btn.btn-accent-indigo i {
  color: #4f46e5;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (max-width: 768px) {
  .quick-banner-motto {
    font-size: 1rem;
    padding: 8px 18px;
  }
  .quick-banner-grid {
    gap: 10px;
  }
  .quick-banner-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 11px 16px;
  }
}

/* ==========================================================================
   Respuesta de Oficios Page Styling
   ========================================================================== */
.oficios-tab-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: var(--text-muted);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.oficios-tab-btn:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  transform: translateY(-2px);
}

.oficios-tab-btn.active {
  background: var(--accent-purple);
  color: #ffffff;
  border-color: var(--accent-purple);
  box-shadow: 0 6px 20px rgba(0, 72, 132, 0.25);
}

.oficio-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  border-top: 5px solid var(--accent-cyan);
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.oficio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 72, 132, 0.12);
  border-top-color: var(--accent-purple);
}

.oficio-card-badge {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.oficio-card-icon {
  width: 55px;
  height: 55px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.oficio-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-bottom: 10px;
}

.oficio-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.oficio-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #002b55 0%, #004884 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.oficio-card-link:hover {
  background: linear-gradient(135deg, #004884 0%, #0077c8 100%);
  box-shadow: 0 4px 15px rgba(0, 72, 132, 0.3);
  transform: scale(1.02);
}





