:root {
  --ccica-red: #c1293c;
  --ccica-red-dark: #8a1a29;
  --ccica-red-soft: #d33f52;
  --ccica-black: #1c1714;
  --ccica-ink: #241d19;
  --ccica-white: #fbfaf8;
  --ccica-cream: #f5efe4;
  --ccica-gold: #c9a24b;
  --ccica-gold-light: #e4c574;
  --ccica-yellow: #f2c230;
  --ccica-muted: #6b6058;

  --shadow-soft: 0 12px 32px rgba(28, 23, 20, 0.1);
  --shadow-lift: 0 16px 40px rgba(28, 23, 20, 0.18);
}

* {
  box-sizing: border-box;
}

/*
  Sin animaciones en toda la plataforma: los cambios de estado (hover,
  focus, colapsar el menú, etc.) son instantáneos, no animados. Incluye
  las transiciones que trae Bootstrap por defecto (navbar, dropdowns).
*/
*, *::before, *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--ccica-white);
  color: var(--ccica-ink);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

body > main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--ccica-black);
}

a {
  color: var(--ccica-red-dark);
}

/* ---------- Navbar ---------- */

.navbar-ccica {
  background-color: rgba(28, 23, 20, 0.97);
  border-bottom: 1px solid rgba(201, 162, 75, 0.35);
  flex-shrink: 0;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  backdrop-filter: blur(6px);
}

.navbar-ccica .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ccica-white) !important;
  letter-spacing: 0.01em;
  font-weight: 700;
  font-size: 1rem;
  white-space: normal;
  line-height: 1.15;
}

.navbar-ccica .navbar-brand img {
  height: 38px;
  width: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ccica-gold);
}

.navbar-ccica .navbar-brand .brand-zh {
  color: var(--ccica-gold-light);
  font-size: 0.78rem;
  display: block;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.navbar-ccica .nav-link {
  color: rgba(251, 250, 248, 0.85) !important;
  letter-spacing: 0.02em;
  font-weight: 500;
  position: relative;
}

.navbar-ccica .nav-link:hover,
.navbar-ccica .nav-link:focus {
  color: var(--ccica-gold-light) !important;
}

.navbar-ccica .navbar-toggler {
  border-color: rgba(201, 162, 75, 0.5);
}

.navbar-ccica .navbar-toggler-icon {
  filter: invert(1);
}

.btn-ccica {
  background-color: var(--ccica-red);
  border: 1px solid var(--ccica-gold);
  color: var(--ccica-white);
  font-weight: 600;
  border-radius: 0.5rem;
}

.btn-ccica:hover {
  background-color: var(--ccica-red-dark);
  color: var(--ccica-gold-light);
  box-shadow: 0 4px 12px rgba(193, 41, 60, 0.3);
}

.btn-ccica-outline {
  background-color: transparent;
  border: 1px solid rgba(251, 250, 248, 0.6);
  color: var(--ccica-white);
  font-weight: 600;
  border-radius: 0.5rem;
}

.btn-ccica-outline:hover {
  background-color: rgba(251, 250, 248, 0.12);
  border-color: var(--ccica-gold);
  color: var(--ccica-gold-light);
}

/* ---------- Hero ---------- */

.hero-ccica {
  position: relative;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, var(--ccica-black) 0%, var(--ccica-ink) 45%, var(--ccica-red-dark) 130%);
  background-size: 24px 24px, cover;
  color: var(--ccica-white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem clamp(3rem, 7vw, 5.5rem);
  text-align: center;
  overflow: hidden;
}

.hero-ccica::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 162, 75, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  max-width: clamp(300px, 68vw, 680px);
  margin: 0 auto 1.75rem;
  padding: clamp(0.6rem, 1.6vw, 1.25rem);
  border-radius: 1.5rem;
  background: var(--ccica-white);
  border: 1px solid rgba(201, 162, 75, 0.5);
  box-shadow: var(--shadow-lift);
}

.hero-banner-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.6rem;
}

.hero-ccica .hero-lead {
  color: rgba(251, 250, 248, 0.85);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0.7rem 1.6rem;
  font-size: 1rem;
}

/* ---------- Sections ---------- */

.section-ccica {
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
}

.section-ccica.bg-cream {
  background-color: var(--ccica-cream);
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-kicker {
  color: var(--ccica-red);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--ccica-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Cards ---------- */

.card-ccica {
  border: 1px solid rgba(28, 23, 20, 0.08);
  border-top: 3px solid var(--ccica-red);
  border-radius: 0.75rem;
  background-color: var(--ccica-white);
}

a .card-ccica:hover,
.card-ccica:hover {
  box-shadow: var(--shadow-soft);
}

.discipline-card {
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
}

.discipline-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ccica-red), var(--ccica-red-dark));
  color: var(--ccica-white);
  font-size: 1.6rem;
}

.discipline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.discipline-card p {
  color: var(--ccica-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.discipline-styles {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0.9rem 0 0;
  border-top: 1px solid rgba(28, 23, 20, 0.08);
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ccica-ink);
}

.discipline-styles li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

.discipline-styles li:last-child {
  margin-bottom: 0;
}

.discipline-styles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ccica-gold);
}

/* ---------- Social ---------- */

.social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(28, 23, 20, 0.06);
  color: var(--ccica-red-dark);
  border: 1px solid rgba(28, 23, 20, 0.1);
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--ccica-red);
  color: var(--ccica-white);
}

.footer-ccica .social-icons a {
  background-color: rgba(251, 250, 248, 0.08);
  color: var(--ccica-white);
  border-color: rgba(251, 250, 248, 0.18);
}

.footer-ccica .social-icons a:hover {
  background-color: var(--ccica-gold);
  color: var(--ccica-black);
}

.social-embed-wrapper {
  max-width: 500px;
  margin: 0 auto;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: var(--ccica-white);
}

.social-embed-wrapper iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  display: block;
}

/* ---------- Footer ---------- */

.footer-ccica {
  background-color: var(--ccica-black);
  color: rgba(251, 250, 248, 0.75);
  padding: 3rem 0 1.25rem;
  border-top: 3px solid var(--ccica-gold);
  flex-shrink: 0;
}

.footer-ccica h5 {
  color: var(--ccica-white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-ccica a {
  color: rgba(251, 250, 248, 0.75);
  text-decoration: none;
}

.footer-ccica a:hover {
  color: var(--ccica-gold-light);
}

.footer-ccica .footer-brand {
  color: var(--ccica-white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-ccica hr {
  border-color: rgba(251, 250, 248, 0.15);
  margin: 2rem 0 1.25rem;
}

.footer-ccica .footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(251, 250, 248, 0.55);
}

/* ---------- Badges ---------- */

.badge-status-active {
  background-color: #1c7c3f;
}

.badge-status-pending {
  background-color: var(--ccica-gold);
  color: var(--ccica-black);
}

.badge-status-suspended {
  background-color: var(--ccica-red);
}

/* ---------- Course banner ---------- */

.course-banner {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: clamp(160px, 30vw, 280px);
}

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

/* ---------- Misc ---------- */

.landing-logo {
  max-width: 560px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}
