/* ==========================================================================
   RAOC & RAOC OTEC - CSS DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-navy: #0F172A;
  --navy-dark: #0A0F1D;
  --navy-card: #1E293B;
  --navy-light: #1E2A57;
  --brand-orange: #F97316;
  --orange-hover: #EA580C;
  --orange-light: #FFEDD5;
  --accent-blue: #38BDF8;
  --accent-emerald: #10B981;
  --accent-purple: #8B5CF6;
  
  /* Neutral Tones */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.15);
  --shadow-xl: 0 20px 35px rgba(15, 23, 42, 0.22);
  --shadow-glow: 0 0 25px rgba(249, 115, 22, 0.35);
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset & Base Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate-900);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-orange { color: var(--brand-orange); }
.text-navy { color: var(--navy-light); }
.bg-navy { background-color: var(--primary-navy); }
.bg-light { background-color: var(--slate-50); }
.text-gradient {
  background: linear-gradient(135deg, var(--brand-orange), #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-blue {
  background: linear-gradient(135deg, #38BDF8, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--slate-100);
}
::-webkit-scrollbar-thumb {
  background: var(--slate-400);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-orange);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1rem 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  padding: 0.6rem 0;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrapper:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.header.scrolled .logo-img {
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--slate-300);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-orange);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-aula-virtual {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-aula-virtual:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--brand-orange), #EA580C);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-aula-virtual:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand-orange), #EA580C);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  transition: var(--transition-fast);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--navy-dark);
  z-index: 1001;
  padding: 5rem 2rem 2rem;
  transition: var(--transition-normal);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slate-300);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at top right, #1E2A57 0%, #0F172A 60%, #0A0F1D 100%);
  color: #fff;
  padding: 9rem 0 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background animated glow shapes */
.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 12s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--brand-orange);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-300);
  margin-bottom: 2.2rem;
  max-width: 90%;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), #EA580C);
  color: #fff;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-green {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-orange);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Glassmorphism Card in Hero */
.hero-card-container {
  position: relative;
}

.hero-glass-card {
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-orange), var(--accent-blue), var(--accent-emerald));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  font-size: 1.5rem;
}

.hero-card-title {
  font-size: 1.25rem;
  color: #fff;
}

.hero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-200);
}

.hero-list-item i {
  color: var(--accent-emerald);
  margin-top: 0.25rem;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: floatMini 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  top: -20px;
  right: -20px;
}

.floating-badge-2 {
  bottom: -25px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatMini {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   SECTION HEADINGS & COMMON COMPONENTS
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: var(--brand-orange);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Dark Section variant */
.section-dark {
  background-color: var(--primary-navy);
  color: #fff;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-subtitle {
  color: var(--slate-300);
}

/* ==========================================================================
   CORE SERVICES SECTION (RAOC CONSULTORÍA)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-light), var(--brand-orange));
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(249, 115, 22, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: var(--slate-100);
  color: var(--navy-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--brand-orange);
  color: #fff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--slate-200);
  padding-top: 1rem;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li i {
  color: var(--brand-orange);
  font-size: 0.8rem;
}

/* ==========================================================================
   FRAMEWORKS & SECTORS BADGES
   ========================================================================== */
.frameworks-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-top: 4rem;
  border: 1px solid var(--slate-200);
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.framework-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 1.2rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-fast);
}

.framework-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: var(--brand-orange);
}

.framework-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-light);
  margin-bottom: 0.3rem;
}

.framework-desc {
  font-size: 0.82rem;
  color: var(--slate-600);
}

/* Sectors Grid */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.sector-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0.8rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-fast);
  color: #fff;
}

.sector-chip:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--brand-orange);
  transform: translateY(-4px);
}

.sector-chip i {
  font-size: 1.8rem;
  color: var(--brand-orange);
  margin-bottom: 0.6rem;
  display: block;
}

.sector-chip span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   OTEC SPECIAL SECTION (LÍNEA DE NEGOCIOS DESTACADA)
   ========================================================================== */
.otec-hero-banner {
  background: linear-gradient(135deg, #1E2A57 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: #fff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin-bottom: 5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.otec-hero-banner::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.otec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.otec-title {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.otec-desc {
  font-size: 1.2rem;
  color: var(--slate-200);
  max-width: 850px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.otec-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.otec-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.otec-feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition-fast);
}

.otec-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-orange);
}

.otec-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--brand-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.otec-feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.otec-feature-text {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Virtual Classroom Callout Box */
.aula-virtual-card {
  background: linear-gradient(135deg, #10B981, #047857);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.aula-virtual-card::before {
  content: '\f19d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 14rem;
  opacity: 0.12;
  color: #fff;
}

.aula-virtual-text h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.aula-virtual-text p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.btn-aula-large {
  background: #fff;
  color: #047857;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-aula-large:hover {
  background: var(--slate-900);
  color: #fff;
  transform: scale(1.05);
}

/* Mission & Vision Cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.mv-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--brand-orange);
  border-top: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition-fast);
}

.mv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-light);
}

.mv-card h3 i {
  color: var(--brand-orange);
}

/* ==========================================================================
   COURSES CATALOG (MODULAR & EXPANDABLE)
   ========================================================================== */
.courses-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  background: #fff;
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  background: var(--slate-100);
  border: none;
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.search-box i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(249, 115, 22, 0.3);
}

.course-card-header {
  background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
  color: #fff;
  padding: 1.8rem;
  position: relative;
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.course-icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

.course-card-title {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.3;
}

.course-card-body {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-card-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.85rem;
  color: var(--slate-500);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.course-meta-item i {
  color: var(--brand-orange);
}

.course-card-footer {
  padding: 1.2rem 1.8rem;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   COURSE DETAIL MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #fff;
  width: 100%;
  max-width: 650px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
  color: #fff;
  padding: 2.5rem 2rem 2rem;
}

.modal-title {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.modal-body {
  padding: 2rem;
}

.modal-info-pills {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.info-pill {
  background: var(--slate-100);
  color: var(--navy-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.info-pill i {
  color: var(--brand-orange);
}

/* ==========================================================================
   PHP CONTACT FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--brand-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 1.1rem;
  color: var(--navy-light);
  margin-bottom: 0.2rem;
}

.contact-info-text {
  color: var(--slate-600);
  font-size: 0.95rem;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate-800);
  outline: none;
  transition: var(--transition-fast);
  background: var(--slate-50);
}

.form-control:focus {
  border-color: var(--brand-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

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

.honeypot {
  display: none !important;
}

/* Toast Notifications */
.toast-alert {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.toast-alert.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-alert.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy-dark);
  color: var(--slate-400);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.6;
  color: var(--slate-400);
}

.footer-heading {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .otec-grid-2col, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
}

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

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .aula-virtual-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition-fast);
  text-decoration: none;
  animation: pulseWa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
  color: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-5px);
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

