/* ==========================================================================
   Instituto Superior ITTAC — hoja de estilos principal
   Diseño institucional, sin dependencias externas.
   ========================================================================== */

:root {
  --ink: #0d0f35;
  --ink-2: #171b4a;
  --body: #333a56;
  --muted: #5d6480;
  --orange: #ff7a00;
  --orange-strong: #e56a00;
  --orange-ink: #a94b00;
  --orange-soft: #fff1e3;
  --blue: #1f247c;
  --blue-2: #2b3199;
  --blue-soft: #edeffb;
  --green: #32cd32;
  --green-ink: #1b6b2a;
  --green-soft: #eaf9ea;
  --paper: #f6f7fb;
  --paper-2: #eef1f8;
  --line: #e2e5ef;
  --line-strong: #cfd4e4;
  --white: #ffffff;
  --danger: #b42318;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 15, 53, 0.05);
  --shadow: 0 10px 30px rgba(13, 15, 53, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 15, 53, 0.14);
  --container: 1180px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--orange-strong);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.02rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin: 0.35em 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

small {
  font-size: 0.86rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container--narrow {
  max-width: 860px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 42px;
}

.brand:hover {
  opacity: 0.86;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 7px;
  color: var(--body);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.nav a:hover,
.nav-trigger:hover {
  color: var(--blue);
  background: var(--paper);
}

.nav a[aria-current="page"],
.nav-trigger[aria-current="page"],
.nav-dropdown[open] > .nav-trigger {
  color: var(--blue);
}

.nav a[aria-current="page"]::after,
.nav-trigger[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

/* Desplegables de navegación */

.nav-dropdown {
  position: relative;
}

.nav-trigger {
  list-style: none;
}

.nav-trigger::-webkit-details-marker {
  display: none;
}

.nav-caret {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] .nav-caret {
  margin-top: 2px;
  transform: rotate(225deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 120;
  min-width: 270px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  white-space: normal;
}

.nav-menu a:hover {
  color: var(--blue);
  background: var(--paper);
}

.nav-menu__note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (hover: hover) and (min-width: 1241px) {
  .nav-dropdown:hover > .nav-menu {
    display: block;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2.5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 10px 0 18px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 28px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--paper-2);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--paper);
}

.mobile-nav a.mobile-nav__child {
  padding-left: 46px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.mobile-nav a.mobile-nav__child:hover,
.mobile-nav a.mobile-nav__child[aria-current="page"] {
  color: var(--blue);
}

.mobile-nav .btn {
  margin: 16px 28px 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.22);
}

.btn--primary:hover {
  background: #ff8a1f;
  border-color: #ff8a1f;
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(255, 122, 0, 0.3);
}

.btn--secondary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 36, 124, 0.2);
}

.btn--secondary:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.btn--outline {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.btn--small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn--block {
  width: 100%;
}

.btn--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #062b12;
}

.btn--whatsapp:hover {
  background: #1fbe5a;
  border-color: #1fbe5a;
  color: #062b12;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.actions--center {
  justify-content: center;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 122, 0, 0.24), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(31, 36, 124, 0.9), transparent 40%),
    radial-gradient(circle at 70% 92%, rgba(50, 205, 50, 0.1), transparent 30%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 58px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 0.4em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero .lead {
  max-width: 62ch;
  color: #c9cee6;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.7;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__chips li {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #dfe3f4;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero__chips li::before {
  content: "✓";
  color: var(--green);
  margin-right: 6px;
  font-weight: 900;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.credential-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(150deg, #1b2056, #090b26);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(-2.5deg);
}

.credential-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  pointer-events: none;
}

.credential-card__top,
.credential-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.credential-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(50, 205, 50, 0.14);
  color: #9cf29c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.credential-card__badge::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  color: #062b12;
  font-size: 0.65rem;
  font-weight: 900;
}

.credential-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

.credential-card__body {
  position: relative;
  z-index: 1;
  padding: 34px 0 28px;
}

.credential-card__label {
  margin: 0 0 6px;
  color: #9ba3c9;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.credential-card__code {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.credential-card__line {
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  margin-bottom: 16px;
}

.credential-card__name {
  margin: 0 0 4px;
  color: var(--white);
  font-weight: 700;
}

.credential-card__course {
  margin: 0;
  color: #aeb5d6;
  font-size: 0.86rem;
}

.credential-card__footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8f97bf;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 52px;
  background: var(--ink);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 122, 0, 0.2), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(31, 36, 124, 0.85), transparent 42%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  max-width: 22ch;
  margin-bottom: 0.35em;
}

.page-hero .lead {
  max-width: 70ch;
  color: #c9cee6;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.page-hero .eyebrow {
  color: #ffb56b;
}

.page-hero--light {
  background: var(--paper);
  color: var(--body);
}

.page-hero--light::before {
  display: none;
}

.page-hero--light h1 {
  color: var(--ink);
}

.page-hero--light .lead {
  color: var(--muted);
}

.page-hero--light .eyebrow {
  color: var(--orange-ink);
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.breadcrumbs {
  padding: 16px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

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

.section {
  padding: 84px 0;
}

.section--tight {
  padding: 54px 0;
}

.section--paper {
  background: var(--paper);
}

.section--dark {
  background: var(--ink);
  color: #c9cee6;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .eyebrow {
  color: #ffb56b;
}

.section--dark .lead {
  color: #b9c0da;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.section-head h2 {
  margin-bottom: 0.45em;
}

.section-head .lead {
  margin-bottom: 0;
}

.eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--orange-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.stat {
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Video embeds 16:9 */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.grid > .card {
  display: flex;
  flex-direction: column;
}

.grid > .card > p:last-child,
.grid > .card > .btn:last-child {
  margin-top: auto;
}

.tier-head {
  min-height: 24px;
  margin-bottom: 8px;
}

.card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.45em;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.icon-box--blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-box--green {
  background: var(--green-soft);
  color: var(--green-ink);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 26px;
  font-size: 0.94rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 0.68rem;
  font-weight: 900;
}

.feature-list--orange li::before {
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
}

.tag--blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.tag--orange {
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.tag--green {
  background: var(--green-soft);
  color: var(--green-ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Course cards
   -------------------------------------------------------------------------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: #ffc48a;
  box-shadow: var(--shadow);
}

.course-card__media {
  aspect-ratio: 1 / 1;
  background: var(--ink);
  display: grid;
  place-items: center;
  padding: 12px;
}

.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.course-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.course-card__body h3 {
  margin-bottom: 0.35em;
  font-size: 1.06rem;
  line-height: 1.3;
}

.course-card__body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.course-card__body h3 a:hover {
  color: var(--blue);
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.course-card__meta span::before {
  content: "·";
  margin-right: 6px;
  color: var(--line-strong);
}

.course-card__meta span:first-child::before {
  display: none;
}

.course-card__desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--paper-2);
}

.course-card__price {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.course-card__price small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Local course cards and filters
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-group + .filter-group {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.filter-btn {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--body);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.is-active,
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.local-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.local-card:hover {
  border-color: #ffc48a;
  box-shadow: var(--shadow);
}

.local-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.local-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.3;
}

.local-card__type {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.local-card .feature-list {
  margin-bottom: 16px;
}

.local-card .feature-list li {
  font-size: 0.84rem;
}

.local-card__phone {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.local-card > .btn:last-child {
  margin-top: auto;
  align-self: flex-start;
}

.local-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.local-card__cta::after {
  content: "→";
  transition: transform 0.15s ease;
}

.local-card__cta:hover::after {
  transform: translateX(3px);
}

.course-count {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   Program cards
   -------------------------------------------------------------------------- */

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--blue));
}

.program-card h3 {
  margin-top: 6px;
}

.program-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.program-card h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.program-card .tag {
  align-self: flex-start;
}

.program-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 14px 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--paper-2);
  border-bottom: 1px solid var(--paper-2);
  font-size: 0.84rem;
}

.program-card__meta dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-card__meta dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.program-card__footer {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Split sections
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: center;
}

.split--wide {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.home-about-visual {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.home-logo {
  display: grid;
  place-items: center;
  padding: 34px 28px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.home-logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.home-about-badge {
  padding: 18px 22px;
  background: var(--orange);
  border-radius: 14px;
  color: var(--ink);
  text-align: center;
}

.home-about-badge strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-about-badge span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel--navy {
  background: var(--ink);
  border-color: var(--ink);
  color: #c9cee6;
}

.panel--navy h2,
.panel--navy h3 {
  color: var(--white);
}

.panel--navy .lead {
  color: #b9c0da;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.94rem;
}

.checklist li::before {
  content: "✓";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 0.7rem;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--orange-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step h3 {
  font-size: 1.04rem;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Course detail
   -------------------------------------------------------------------------- */

.course-hero {
  padding: 26px 0 0;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.course-main h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.course-cover {
  margin: 0 0 26px;
  padding: 16px;
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.course-cover img {
  width: 100%;
  border-radius: 12px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.course-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.buy-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.buy-card__price {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.buy-card__price small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
}

.buy-card__meta {
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--paper-2);
  border-bottom: 1px solid var(--paper-2);
}

.buy-card__meta dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  margin: 0;
  font-size: 0.86rem;
}

.buy-card__meta dt {
  color: var(--muted);
}

.buy-card__meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.buy-card .btn + .btn {
  margin-top: 10px;
}

.buy-card__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.course-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.course-section:first-of-type {
  border-top: 0;
  padding-top: 10px;
}

.course-section h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.module {
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.module summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.module summary::-webkit-details-marker {
  display: none;
}

.module summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
  font-size: 1.1rem;
  line-height: 1;
}

.module[open] summary::after {
  content: "−";
}

.module ul {
  margin: 0;
  padding: 0 18px 18px 38px;
  color: var(--muted);
  font-size: 0.92rem;
}

.module ul li {
  margin: 6px 0;
}

.module__note {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Faculty
   -------------------------------------------------------------------------- */

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faculty-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--orange);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.faculty-card h3 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.faculty-card__role {
  margin: 0 0 12px;
  color: var(--orange-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faculty-card p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--orange);
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
}

blockquote footer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Books
   -------------------------------------------------------------------------- */

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.book-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.book-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 122, 0, 0.16), transparent 40%),
    linear-gradient(150deg, #1b2056, #090b26);
  color: var(--white);
  box-shadow: 6px 8px 0 rgba(13, 15, 53, 0.08);
}

.book-cover small {
  color: #ffb56b;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-cover strong {
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.25;
}

.book-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.book-card__meta {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.book-card__meta span strong {
  color: var(--ink);
}

.book-card__price {
  color: var(--ink);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Events
   -------------------------------------------------------------------------- */

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.event-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.event-card__kind {
  margin: 0 0 10px;
  color: var(--orange-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card h3 {
  font-size: 1.25rem;
}

.event-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.event-card__partners {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--paper-2);
  color: var(--muted);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 860px;
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
  font-size: 1.15rem;
  line-height: 1;
}

.faq[open] summary::after {
  content: "−";
}

.faq__answer {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sede-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.sede-card__flag {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 10px;
}

.sede-card h3 {
  margin-bottom: 2px;
  font-size: 1.08rem;
}

.sede-card__city {
  margin: 0 0 10px;
  color: var(--orange-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sede-card address,
.sede-card__phone {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.sede-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.contact-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.contact-box {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-box h3 {
  font-size: 1rem;
}

.contact-box a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Legal and prose
   -------------------------------------------------------------------------- */

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--body);
}

.prose ul,
.prose ol {
  margin-bottom: 1.2em;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.86rem;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   Callout
   -------------------------------------------------------------------------- */

.callout {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--orange-soft);
  color: #6b3a00;
  font-size: 0.92rem;
}

.callout strong {
  color: #4f2a00;
}

.callout--blue {
  border-left-color: var(--blue);
  background: var(--blue-soft);
  color: #232a6e;
}

.callout--blue strong {
  color: var(--ink);
}

.callout--green {
  border-left-color: var(--green-ink);
  background: var(--green-soft);
  color: #155224;
}

.callout--green strong {
  color: #0d3a18;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  background: linear-gradient(120deg, var(--blue), var(--ink));
  color: var(--white);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 40px solid rgba(255, 122, 0, 0.18);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 6px;
}

.cta-band p {
  margin: 0;
  color: #c9cee6;
}

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

.site-footer {
  padding: 62px 0 24px;
  background: var(--ink);
  color: #b9c0da;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1.1fr;
  gap: 34px;
  padding-bottom: 40px;
}

.footer-brand {
  display: inline-block;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: var(--white);
  border-radius: 10px;
}

.footer-brand img {
  height: 38px;
  width: auto;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  color: #a8b0cf;
  font-size: 0.86rem;
}

.site-footer a {
  color: #c9cee6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 7px 0;
}

.footer-links a {
  font-size: 0.86rem;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  margin: 9px 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-contact strong {
  display: block;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-legal {
  margin-top: 14px;
  color: #8f97bf;
  font-size: 0.76rem;
}

.footer-links--muted,
.footer-contact--muted {
  color: var(--muted);
}

.footer-contact--muted strong {
  color: var(--ink);
}

.footer-contact--muted a {
  color: var(--blue);
}

.note--on-dark {
  color: #a8b0cf;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8f97bf;
  font-size: 0.76rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a {
  color: #a8b0cf;
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #c9cee6;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.social-row a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   WhatsApp float
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #062b12;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  background: #1fbe5a;
  color: #062b12;
}

.wa-float svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.is-hidden {
  display: none !important;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 34px 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.note {
  color: var(--muted);
  font-size: 0.8rem;
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  margin: 8px 0;
  padding-left: 26px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--green-ink);
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .nav,
  .header-actions .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 14px;
  }

  .nav a,
  .nav-trigger {
    padding: 9px 7px;
    font-size: 0.86rem;
  }

  .hero__grid {
    gap: 38px;
  }

  .course-grid,
  .local-grid,
  .faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav,
  .header-actions .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .hero {
    padding: 64px 0 58px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero__visual {
    justify-content: flex-start;
  }

  .credential-card {
    max-width: 420px;
    transform: none;
  }

  .course-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .course-side {
    position: static;
  }

  .buy-card {
    max-width: 560px;
  }

  .split,
  .split--wide {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 58px 0;
  }

  .section--tight {
    padding: 40px 0;
  }

  .page-hero {
    padding: 42px 0 38px;
  }

  .stats {
    margin-top: 20px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .course-grid,
  .local-grid,
  .program-grid,
  .faculty-grid,
  .book-grid,
  .event-grid,
  .contact-grid,
  .contact-band,
  .steps {
    grid-template-columns: 1fr;
  }

  .book-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .book-cover {
    min-height: 140px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .wa-float {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .wa-float {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .wa-float span {
    display: none;
  }

  .filters {
    gap: 12px;
  }

  .filter-group + .filter-group {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 64px;
  }

  .brand img {
    height: 34px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }

  .stat {
    padding: 18px 16px;
  }

  .card,
  .local-card,
  .program-card,
  .event-card,
  .sede-card {
    padding: 20px;
  }

  .credential-card {
    padding: 20px;
  }

  .buy-card {
    padding: 20px;
  }

  .book-card {
    grid-template-columns: 1fr;
  }

  .book-cover {
    min-height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .wa-float,
  .actions,
  .menu-toggle,
  .mobile-nav,
  .breadcrumbs {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
  }

  .section,
  .page-hero,
  .hero {
    padding: 0;
    background: #fff !important;
    color: #000 !important;
  }

  h1,
  h2,
  h3 {
    color: #000 !important;
  }
}
