﻿* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
            background: #ffffff;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 20px;
        }

        .container {
            display: grid;
            grid-template-columns: 45% 55%;
            max-width: 1200px;
            width: 100%;
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
            border: 1px solid #e8ecef;
        }

        .info-section {
            background: linear-gradient(165deg, #1e3a8a 0%, #3b82f6 100%);
            padding: 60px 50px;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .info-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 15s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.1); opacity: 0.5; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .container {
            animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .badge {
            animation: fadeInLeft 0.8s ease-out 0.2s both;
        }

        .info-section h1 {
            animation: fadeInLeft 0.8s ease-out 0.3s both;
        }

        .info-section p {
            animation: fadeInLeft 0.8s ease-out 0.4s both;
        }

        .features li {
            opacity: 0;
            animation: fadeInLeft 0.6s ease-out both;
        }

        .features li:nth-child(1) { animation-delay: 0.5s; }
        .features li:nth-child(2) { animation-delay: 0.6s; }
        .features li:nth-child(3) { animation-delay: 0.7s; }
        .features li:nth-child(4) { animation-delay: 0.8s; }

        .form-header {
            animation: fadeInRight 0.8s ease-out 0.3s both;
        }

        .form-group {
            opacity: 0;
            animation: fadeInUp 0.6s ease-out both;
        }

        .form-group:nth-child(1) { animation-delay: 0.4s; }
        .form-group:nth-child(2) { animation-delay: 0.5s; }
        .form-group:nth-child(3) { animation-delay: 0.6s; }
        .form-group:nth-child(4) { animation-delay: 0.7s; }

        .checkbox-group {
            animation: fadeInUp 0.6s ease-out 0.7s both;
        }

        .submit-btn {
            animation: fadeInUp 0.6s ease-out 0.8s both;
        }
        .btn-regreso {
            animation: fadeInUp 0.6s ease-out 0.9s both;
        }
        .note {
            animation: fadeInUp 0.6s ease-out 1s both;
        }

        .info-content {
            position: relative;
            z-index: 1;
        }

        .info-section h1 {
            font-size: 2.8em;
            margin-bottom: 14px;
            line-height: 1.2;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .course-name {
            font-size: 1.05em;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 24px;
        }

        .info-section .highlight {
            color: #ffffff;
            display: block;
        }

        .info-section .red-accent {
            color: #ffffff;
            font-weight: 800;
        }

        .info-section p {
            font-size: 1.05em;
            line-height: 1.7;
            margin-bottom: 32px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
        }

        .features {
            list-style: none;
        }

        .features li {
            padding: 14px 0;
            display: flex;
            align-items: center;
            font-size: 0.95em;
            color: rgba(255, 255, 255, 0.95);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .features li:last-child {
            border-bottom: none;
        }

        .features li:before {
            content: "✓";
            color: #60a5fa;
            font-weight: bold;
            margin-right: 12px;
            font-size: 1.3em;
            background: rgba(96, 165, 250, 0.2);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .form-section {
            padding: 60px 50px;
            background: #ffffff;
        }

        .form-header {
            margin-bottom: 35px;
        }

        .form-section h2 {
            color: #1e293b;
            margin-bottom: 8px;
            font-size: 2em;
            font-weight: 700;
            letter-spacing: -0.3px;
        }

        .form-section .subtitle {
            color: #64748b;
            font-size: 1em;
            font-weight: 400;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            color: #334155;
            font-weight: 600;
            font-size: 0.9em;
            letter-spacing: 0.2px;
        }

        .form-group label .required {
            color: #ef4444;
            margin-left: 2px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 0.95em;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: #f8fafc;
            color: #1e293b;
            font-family: inherit;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #94a3b8;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #3b82f6;
            background: white;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
            transform: translateY(-1px);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 110px;
            line-height: 1.6;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            margin: 28px 0;
            padding: 18px;
            background: #f8fafc;
            border-radius: 10px;
            border: 1px solid #e2e8f0;
        }

        .checkbox-group input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            margin-top: 2px;
            cursor: pointer;
            accent-color: #3b82f6;
            flex-shrink: 0;
        }

        .checkbox-group label {
            margin: 0;
            font-weight: 400;
            font-size: 0.88em;
            color: #475569;
            cursor: pointer;
            line-height: 1.5;
        }

        .checkbox-group a {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }

        .checkbox-group a:hover {
            color: #2563eb;
            text-decoration: underline;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.05em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
            letter-spacing: 0.3px;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .note {
            margin-top: 24px;
            padding: 18px 20px;
            background: #f1f5f9;
            border-left: 4px solid #3b82f6;
            border-radius: 8px;
            font-size: 0.88em;
            color: #475569;
            line-height: 1.6;
        }

        .note strong {
            color: #1e293b;
            font-weight: 600;
        }

        .badge {
            display: inline-block;
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8em;
            font-weight: 600;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .logoigc {
            width: 100%;   
          }
        @media (max-width: 968px) {
            .container {
                grid-template-columns: 1fr;
            }

            .info-section {
                padding: 40px 30px;
            }

            .form-section {
                padding: 40px 30px;
            }

            .info-section h1 {
                font-size: 2.2em;
            }

            body {
                padding: 20px;
            }
            .logoigc {
              width: 100%;  
              margin: 0;
          }
        }

        @media (max-width: 480px) {
            .info-section h1 {
                font-size: 1.8em;
            }

            .form-section h2 {
                font-size: 1.6em;
            }
        }
        .btn-regreso {
            display: block;
            max-width: 150px;
            padding: 10px 12px;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.05em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
            letter-spacing: 0.3px;
            text-decoration: none;
            margin: 0 auto;
            margin-top: 10px;
            text-align: center;
        }
/* CSS de la info de curso (arriba es del Form) */

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── WRAPPER ── */
.course-info {
  color: #1e293b;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
}

/* ── HERO ── */
.course-hero {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #0f2550 0%, #1a3a6e 50%, #1e4d9b 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232, 69, 69, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255, 255, 255, 0.02) 30px,
      rgba(255, 255, 255, 0.02) 60px
    );
}
.hero-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.servir-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}
.hero-badge span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero-content {
  position: relative;
  padding: 1.5rem 2rem;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  background: #e84545;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ── BODY ── */
.course-body {
  padding: 2rem 2.5rem 2.5rem;
}

/* ── INTRO BANNER ── */
.intro-banner {
  background: linear-gradient(135deg, #1a3a6e 0%, #1e4d9b 100%);
  border-left: 4px solid #e84545;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.intro-banner p {
  color: #e8f0fe;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── SECCIONES GRID ── */
.sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.course-section {
  background: #f8faff;
  border: 1px solid #dce8ff;
  border-radius: 12px;
  padding: 1.25rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.course-section:hover {
  box-shadow: 0 6px 24px rgba(26, 58, 110, 0.12);
  transform: translateY(-3px);
  border-color: #a8c0f0;
}
.highlight-section {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e8 100%);
  border-color: #f5a623;
}
.highlight-section .section-icon { background: #f5a623 !important; }
.highlight-section h3             { color: #c47d0a !important; }

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #1a3a6e;
  border-radius: 9px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.course-section:hover .section-icon {
  transform: rotate(-6deg) scale(1.1);
}
.section-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
}
.course-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a6e;
}
.course-section p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

/* ── TEMARIO ── */
.syllabus {
  margin-bottom: 2rem;
}
.syllabus-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #1a3a6e;
}
.syllabus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #e84545;
  border-radius: 9px;
}
.syllabus-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}
.syllabus h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a3a6e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.module {
  display: flex;
  gap: 0.875rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.module:hover {
  border-color: #1a3a6e;
  box-shadow: 0 4px 16px rgba(26, 58, 110, 0.1);
  transform: translateY(-2px);
}
.module-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #dce8ff;
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.2rem;
  transition: color 0.25s ease;
}
.module:hover .module-number { color: #a8c0f0; }
.module-content h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a3a6e;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.module-content ul {
  list-style: none;
  padding: 0;
}
.module-content ul li {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  position: relative;
  padding-left: 0.9rem;
}
.module-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #e84545;
  font-size: 0.7rem;
  top: 0.15em;
}

/* ── DOCENTE ── */
.teacher-block {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, #0f2550 0%, #1a3a6e 60%, #1e4d9b 100%);
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.teacher-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(232, 69, 69, 0.12) 0%, transparent 60%);
}
.teacher-avatar {
  position: relative;
  flex-shrink: 0;
}
.avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  object-fit: cover;
}
.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-placeholder svg {
  width: 38px;
  height: 38px;
  stroke: rgba(255, 255, 255, 0.6);
}
.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  animation: spin-slow 12s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.teacher-content {
  position: relative;
}
.teacher-label {
  font-size: 0.75rem;
  color: #e84545;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.teacher-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.teacher-content p {
  font-size: 0.875rem;
  color: #c7d9f5;
  line-height: 1.65;
}

/* ── Info Curso SECTION ── */
.info-curso {
  max-width: 1200px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-curso{
  max-width: 1200px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 20px;
}
/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .course-body         { padding: 1.5rem 1rem 2rem; }
  .sections-grid,
  .modules-grid        { grid-template-columns: 1fr; }
  .highlight-section   { grid-column: auto; }
  .teacher-block       { flex-direction: column; text-align: center; }
}